/* 苏苏大屏 · 主页左右广告屏 (soft white + silver + rose-gold, 3D, LED crawl)
   命名空间全部以 sbb- 开头，不覆盖站点任何已有样式。 */

#susu-billboard {
  --sbb-rose-1: #fff4f6;
  --sbb-rose-2: #ffe3ea;
  --sbb-rose-3: #f6c3cf;
  --sbb-rose-4: #e8a2b3;
  --sbb-rose-5: #c9788d;
  --sbb-ink: #3b2f35;
  --sbb-screen: #171316;
  --sbb-s: 1;
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}
#susu-billboard[hidden],
#susu-billboard[data-base-ui-inert] { display: none !important; }
#susu-billboard *, #susu-billboard *::before, #susu-billboard *::after { box-sizing: border-box; }
#susu-billboard button { font: inherit; }

/* ------------------------------------------------------------------ unit */
.sbb-unit {
  position: absolute;
  width: 264px;
  height: 480px;
  opacity: 0;
  --tx: 0px;
  --ry: 0deg;
  transform: translateX(var(--tx)) scale(var(--sbb-s));
  transition: opacity .6s ease, transform .9s cubic-bezier(.2, .9, .25, 1.15);
  pointer-events: none;
}
.sbb-on .sbb-unit { opacity: 1; --tx: 0px !important; }

:is(.sbb-full, .sbb-rail) .sbb-unit { top: var(--sbb-top, calc(50% - 262px)); }
:is(.sbb-full, .sbb-rail) .sbb-unit[data-side="left"]  { left: 16px;  transform-origin: left center;  --ry: 24deg;  --tx: -44px; }
:is(.sbb-full, .sbb-rail) .sbb-unit[data-side="right"] { right: 16px; transform-origin: right center; --ry: -24deg; --tx: 44px; }
:is(.sbb-full, .sbb-rail) .sbb-unit[data-side="mini"] { display: none; }
/* rail: 主页正文给两侧大屏让出栏位 (宽度由 JS 算好写进 --sbb-rail) */
html.sbb-rails body { padding-left: var(--sbb-rail, 0px) !important; padding-right: var(--sbb-rail, 0px) !important; }

.sbb-mini .sbb-unit[data-side="left"],
.sbb-mini .sbb-unit[data-side="right"] { display: none; }
.sbb-mini .sbb-unit[data-side="mini"] {
  right: 18px; top: 148px; bottom: auto;
  transform-origin: right top; --ry: -24deg; --tx: 40px;
}
.sbb-bar .sbb-unit { display: none; }

.sbb-glow {
  position: absolute; left: -16px; right: -16px; top: -10px; height: 450px;
  border-radius: 48px;
  background: radial-gradient(closest-side, rgba(255, 168, 193, .62), rgba(255, 204, 218, 0) 72%);
  filter: blur(16px);
  animation: sbb-pulse 3.4s ease-in-out infinite;
  pointer-events: none;
}
.sbb-floor {
  position: absolute; left: 14%; right: 14%; top: 438px; height: 16px;
  background: radial-gradient(ellipse at center, rgba(201, 120, 141, .5), rgba(201, 120, 141, 0) 70%);
  filter: blur(3px);
  animation: sbb-floor 6s ease-in-out infinite;
  pointer-events: none;
}
.sbb-float { position: absolute; inset: 0 0 auto 0; height: 430px; animation: sbb-bob 6s ease-in-out infinite; pointer-events: none; }
.sbb-persp { position: absolute; left: 0; top: 0; width: 264px; height: 430px; perspective: 900px; pointer-events: none; }
.sbb-rig {
  position: relative; width: 264px; height: 430px;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--ry) + var(--sbb-ty, 0deg))) rotateX(calc(4deg + var(--sbb-tx, 0deg)));
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  pointer-events: auto;
}
.sbb-rig:hover { transform: rotateY(calc(var(--ry) * .3)) rotateX(0deg) translateZ(18px); }

/* 3D slab: front / back / four sides, 18px thick */
.sbb-face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.sbb-back  { inset: 0; border-radius: 24px; background: linear-gradient(160deg, #e6ebf2, #c3ccd8); transform: rotateY(180deg) translateZ(20px); }
.sbb-side-l, .sbb-side-r { top: 12px; height: 406px; width: 40px; left: 50%; margin-left: -20px;
  background: linear-gradient(180deg, #fbfcfe, #d9dfe8 45%, #b8c2d0); }
.sbb-side-r { transform: rotateY(90deg) translateZ(132px); }
.sbb-side-l { transform: rotateY(-90deg) translateZ(132px); }
.sbb-side-t, .sbb-side-b { left: 12px; width: 240px; height: 40px; top: 50%; margin-top: -20px;
  background: linear-gradient(90deg, #f6c3cf, #fde9ee 50%, #e8a2b3); }
.sbb-side-t { transform: rotateX(90deg) translateZ(215px); }
.sbb-side-b { transform: rotateX(-90deg) translateZ(215px); }

.sbb-frame {
  inset: 0; border-radius: 24px; padding: 10px 12px 12px;
  display: flex; flex-direction: column;
  transform: translateZ(20px); transform-style: preserve-3d;
  background: linear-gradient(150deg, #ffffff 0%, #fde9ee 24%, #f3cdd7 52%, #fff7f9 70%, #e9b9c6 100%);
  box-shadow:
    inset 0 0 0 1px rgba(214, 150, 168, .6),
    inset 0 0 0 2.5px rgba(255, 255, 255, .95),
    inset 0 -3px 8px rgba(190, 110, 130, .28);
}
.sbb-persp::before { content: ''; position: absolute; left: 20px; right: 8px; top: 26px; bottom: -10px; border-radius: 30px; background: rgba(150, 80, 105, .36); filter: blur(20px); pointer-events: none; }
.sbb-frame > .sbb-screen { transform: translateZ(7px); }
.sbb-frame > .sbb-top, .sbb-frame > .sbb-dots { transform: translateZ(9px); }
.sbb-frame > .sbb-tick { transform: translateZ(11px); }
.sbb-top { display: flex; justify-content: space-between; align-items: center; height: 20px; margin-bottom: 8px; padding: 0 4px; }
.sbb-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .08em; color: #b25a74;
}
.sbb-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff6f93; box-shadow: 0 0 8px #ff6f93; animation: sbb-blink 1.4s ease-in-out infinite; }
.sbb-count { font-size: 11px; font-weight: 700; color: #b9899a; font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- screen */
.sbb-screen {
  position: relative; width: 100%; aspect-ratio: 3 / 4; flex: 0 0 auto;
  border-radius: 14px; overflow: hidden; background: var(--sbb-screen); isolation: isolate;
  box-shadow: 0 0 0 3px #eef2f7, 0 0 0 4.5px rgba(150, 165, 185, .55), inset 0 0 22px rgba(0, 0, 0, .55);
}
.sbb-slide {
  position: absolute; inset: 0; display: block; visibility: hidden; opacity: 0;
  color: #fff; text-decoration: none; cursor: default; overflow: hidden;
}
.sbb-slide[href] { cursor: pointer; }
.sbb-slide.is-out { visibility: visible; opacity: 1; z-index: 1; }
.sbb-slide.is-on { visibility: visible; opacity: 1; z-index: 2; }
.sbb-slide.is-in { visibility: visible; opacity: 1; z-index: 3; animation: sbb-wipe-d .9s cubic-bezier(.65, 0, .25, 1) both; }
.sbb-slide.is-in.w2 { animation-name: sbb-wipe-r; }
.sbb-bg {
  position: absolute; inset: -12%; background-size: cover; background-position: center;
  filter: blur(18px) saturate(1.25) brightness(.9); transform: scale(1.1);
}
.sbb-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sbb-slide[data-fit="cover"] .sbb-img { object-fit: cover; }
.sbb-slide[data-fit="contain"] .sbb-img { object-fit: contain; }
.sbb-slide[data-fit="cover"].is-on .sbb-img,
.sbb-slide[data-fit="cover"].is-in .sbb-img { animation: sbb-kb 10s ease-out both; }
.sbb-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 19, 22, .82) 0%, rgba(23, 19, 22, .35) 30%, rgba(23, 19, 22, 0) 52%); }
.sbb-cap { position: absolute; left: 12px; right: 12px; bottom: 11px; display: block; }
.sbb-cap b {
  display: block; font-size: 16px; line-height: 1.25; font-weight: 800; letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55); overflow-wrap: anywhere;
}
.sbb-cap em {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 3px; font-style: normal; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5); overflow-wrap: anywhere;
}
.sbb-go {
  position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 99px;
  font-size: 11px; font-weight: 700; color: #b25a74; background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.sbb-slide[href]:hover .sbb-go, .sbb-slide[href]:focus-visible .sbb-go { opacity: 1; transform: none; }
.sbb-slide:focus-visible { outline: 3px solid #ff8fab; outline-offset: -3px; }

/* 招租占位屏 */
.sbb-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 18px; cursor: pointer; border: 0; width: 100%;
  color: #fff3f6; background:
    radial-gradient(circle at 30% 20%, rgba(255, 190, 208, .35), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(200, 220, 245, .28), transparent 55%),
    linear-gradient(160deg, #2a2025, #171316);
}
.sbb-empty svg { width: 86px; height: auto; filter: drop-shadow(0 6px 14px rgba(255, 150, 180, .4)); animation: sbb-bob 3.6s ease-in-out infinite; }
.sbb-empty b { font-size: 17px; letter-spacing: .08em; color: #ffd6df; text-shadow: 0 0 10px rgba(255, 140, 170, .7); }
.sbb-empty span { font-size: 12px; line-height: 1.5; color: rgba(255, 238, 243, .78); }
.sbb-empty u { text-decoration: none; margin-top: 2px; padding: 7px 14px; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: #b25a74; background: linear-gradient(160deg, #fff, #ffe0e8); }

.sbb-led {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .3) 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .0) 0 .9px, rgba(0, 0, 0, .2) 1.6px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 3px);
  background-size: 100% 100%, 4px 4px, 100% 3px;
  opacity: .42;
}
.sbb-gloss {
  position: absolute; inset: -20% -70%; z-index: 6; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .34) 50%, transparent 58%);
  transform: translateX(-80%); animation: sbb-gloss 8s ease-in-out infinite;
}
.sbb-scan {
  position: absolute; left: 0; right: 0; height: 28%; top: -28%; z-index: 5; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .6), transparent); mix-blend-mode: screen;
}
.sbb-scan.go { animation: sbb-scan .9s linear; }

.sbb-tick {
  position: relative; margin-top: 10px; height: 26px; border-radius: 9px; overflow: hidden; flex: 0 0 auto;
  background: #1d171a; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .65), 0 0 0 1.5px rgba(255, 255, 255, .85);
}
.sbb-tick-in {
  display: flex; width: max-content; white-space: nowrap; line-height: 26px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #ffd6df; text-shadow: 0 0 7px rgba(255, 140, 170, .9);
  animation: sbb-crawl var(--dur, 26s) linear infinite;
}
.sbb-tick-in span { padding: 0 16px; }
.sbb-rig:hover .sbb-tick-in { animation-play-state: paused; }

.sbb-dots { display: flex; justify-content: center; align-items: center; gap: 6px; height: 14px; margin-top: 8px; flex: 0 0 auto; }
.sbb-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: #e3b3bf; cursor: pointer; transition: width .3s ease, background .3s ease; }
.sbb-dot.on { width: 18px; background: linear-gradient(90deg, #ff8fab, #e7728f); }

.sbb-cta {
  position: absolute; left: 50%; top: 446px; transform: translateX(-50%); pointer-events: auto; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 8px 18px; border-radius: 99px; border: 1px solid #f3bccb;
  font-size: 13px; font-weight: 800; color: #b25a74;
  background: linear-gradient(160deg, #ffffff, #ffe3ea);
  box-shadow: 0 8px 18px -8px rgba(201, 120, 141, .7), inset 0 1px 0 #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sbb-cta:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 12px 22px -8px rgba(201, 120, 141, .8), inset 0 1px 0 #fff; }
.sbb-cta:active { transform: translateX(-50%) scale(.97); }

.sbb-hide {
  position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; z-index: 6;
  display: grid; place-items: center; cursor: pointer; pointer-events: auto; padding: 0;
  font-size: 13px; line-height: 1; color: #b25a74; border: 1px solid #f3bccb; background: #fff;
  box-shadow: 0 4px 10px rgba(201, 120, 141, .35); opacity: 0; transition: opacity .2s ease;
}
.sbb-unit:hover .sbb-hide { opacity: 1; }

.sbb-shark { position: absolute; left: 50%; top: -42px; width: 84px; margin-left: -42px; z-index: 5; pointer-events: none; animation: sbb-bob 5s ease-in-out infinite; }
.sbb-shark svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 5px rgba(120, 80, 95, .28)); }
.sbb-sp { position: absolute; z-index: 5; font-style: normal; color: #ffb3c6; text-shadow: 0 0 8px rgba(255, 160, 190, .9); pointer-events: none; animation: sbb-twinkle 2.6s ease-in-out infinite; }
.sbb-sp.a { top: 40px; right: -9px; font-size: 18px; }
.sbb-sp.b { top: 300px; left: -10px; font-size: 14px; animation-delay: .9s; }
.sbb-sp.c { top: 150px; right: -12px; font-size: 11px; animation-delay: 1.6s; }

.sbb-reopen {
  position: absolute; bottom: 16px; pointer-events: auto; cursor: pointer; z-index: 2;
  padding: 8px 14px; border-radius: 99px; border: 1px solid #f3bccb; font-size: 12.5px; font-weight: 800; color: #b25a74;
  background: linear-gradient(160deg, #fff, #ffe5ec); box-shadow: 0 10px 22px -10px rgba(201, 120, 141, .8);
}
.sbb-full .sbb-reopen { left: 16px; }
.sbb-mini .sbb-reopen { right: 18px; top: 148px; bottom: auto; }
.sbb-bar .sbb-reopen { display: none; }

/* ------------------------------------------------------- mobile bar */
.sbb-barwrap { display: none; }
.sbb-bar .sbb-barwrap {
  display: flex; align-items: center; gap: 10px; position: absolute; left: 10px; right: 10px; bottom: 10px; height: 60px; padding: 6px 10px 6px 6px;
  border-radius: 18px; pointer-events: auto; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .96), rgba(255, 232, 238, .96));
  border: 1px solid #f3c7d3; box-shadow: 0 12px 28px -12px rgba(201, 120, 141, .75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--sbb-ink); text-decoration: none;
}
.sbb-barwrap a, .sbb-barwrap a:hover, .sbb-barwrap a:visited { color: inherit; text-decoration: none; }
.sbb-bar-img { flex: 0 0 auto; width: 44px; height: 48px; border-radius: 11px; object-fit: cover; background: #f5dbe2; }
.sbb-bar-tx { flex: 1 1 auto; min-width: 0; }
.sbb-bar-tx b { display: block; font-size: 13.5px; line-height: 1.3; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbb-bar-tx em { display: block; font-style: normal; font-size: 11.5px; line-height: 1.35; color: #8a6f79; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbb-bar-x { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 0; background: #fff; color: #b25a74; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(201, 120, 141, .3); }
.sbb-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #ffb3c6, #e7728f); transform-origin: left; animation: sbb-prog var(--iv, 6.5s) linear infinite; }

/* ----------------------------------------------------------- panel */
#sbb-panel {
  position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; padding: 14px;
  background: rgba(255, 233, 240, .58); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: inherit; color: #3b2f35; -webkit-font-smoothing: antialiased;
}
#sbb-panel.open { display: flex; animation: sbb-fade .25s ease both; }
#sbb-panel *, #sbb-panel *::before, #sbb-panel *::after { box-sizing: border-box; }
.sbb-card {
  position: relative; width: min(900px, 100%); max-height: min(90vh, 780px); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: linear-gradient(180deg, #ffffff, #fff7f9);
  border: 1.5px solid #f6d3dc; box-shadow: 0 40px 80px -30px rgba(201, 120, 141, .7), 0 0 0 6px rgba(255, 255, 255, .55);
  animation: sbb-pop .35s cubic-bezier(.2, .9, .25, 1.2) both;
}
.sbb-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px 8px; }
.sbb-head svg { width: 46px; height: auto; flex: 0 0 auto; }
.sbb-head h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; color: #a24a64; }
.sbb-head p { margin: 2px 0 0; font-size: 12.5px; color: #9a7f89; }
.sbb-x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #f3c7d3; background: #fff; color: #b25a74; font-size: 16px; cursor: pointer; flex: 0 0 auto; }
.sbb-tabs { display: flex; gap: 8px; padding: 6px 20px 0; flex-wrap: wrap; }
.sbb-tab { padding: 8px 16px; border-radius: 99px; border: 1.5px solid #f3d3dc; background: #fff; color: #9a6a79; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.sbb-tab.on { background: linear-gradient(160deg, #ffe9ef, #ffd0dc); border-color: #e8a2b3; color: #a24a64; }
.sbb-body { padding: 14px 20px 20px; overflow: auto; flex: 1 1 auto; }

.sbb-form { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.sbb-pv { position: sticky; top: 0; }
.sbb-pvframe {
  position: relative; border-radius: 20px; padding: 8px;
  background: linear-gradient(150deg, #fff, #fde9ee 30%, #f1c5d0 60%, #fff7f9);
  box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1px rgba(214, 150, 168, .6), 0 18px 30px -16px rgba(201, 120, 141, .6);
}
.sbb-pvscreen { position: relative; aspect-ratio: 3 / 4; border-radius: 13px; overflow: hidden; background: linear-gradient(160deg, #3a2d34, #1d1519); color: #fff; cursor: pointer; }
.sbb-pvscreen:not(.has) .sbb-shade, .sbb-pvscreen:not(.has) .sbb-cap { display: none; }
.sbb-pvscreen .sbb-bg, .sbb-pvscreen .sbb-img { display: none; }
.sbb-pvscreen.has .sbb-bg[data-on="1"], .sbb-pvscreen.has .sbb-img { display: block; }
.sbb-pvscreen[data-fit="cover"] .sbb-img { object-fit: cover; }
.sbb-pvscreen[data-fit="contain"] .sbb-img { object-fit: contain; }
.sbb-pvhint { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; color: #ffd6df; font-size: 12.5px; line-height: 1.5; }
.sbb-pvhint b { font-size: 15px; color: #fff; }
.sbb-pvscreen.has .sbb-pvhint { display: none; }
.sbb-pvscreen.drag { outline: 3px dashed #ff8fab; outline-offset: -6px; }
.sbb-pvnote { margin: 10px 2px 0; font-size: 11.5px; line-height: 1.6; color: #9a7f89; }

.sbb-fields { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sbb-lab { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: #7b5563; }
.sbb-lab small { font-weight: 600; color: #b79aa5; }
.sbb-in {
  width: 100%; border: 1.5px solid #f0cfd8; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; line-height: 1.5;
  background: #fff; color: inherit; outline: none; resize: none;
}
.sbb-in:focus { border-color: #e8a2b3; box-shadow: 0 0 0 3px rgba(255, 160, 185, .28); }
.sbb-seg { display: flex; gap: 6px; }
.sbb-seg button { flex: 1; padding: 9px 6px; border-radius: 11px; border: 1.5px solid #f0cfd8; background: #fff; color: #7b5563; font-size: 13px; cursor: pointer; }
.sbb-seg button.on { background: linear-gradient(160deg, #ffe9ef, #ffd3de); border-color: #e8a2b3; color: #a24a64; font-weight: 800; }
.sbb-rules { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 12px; line-height: 1.7; color: #8a6f79; background: #fff2f5; border: 1px dashed #f0bccb; }
.sbb-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sbb-btn {
  padding: 11px 22px; border-radius: 99px; border: 0; cursor: pointer; font-size: 14px; font-weight: 800; color: #fff;
  background: linear-gradient(160deg, #ff9db6, #e7728f); box-shadow: 0 10px 20px -10px rgba(231, 114, 143, .9);
}
.sbb-btn:disabled { opacity: .55; cursor: wait; }
.sbb-btn.ghost { color: #a24a64; background: #fff; border: 1.5px solid #f0cfd8; box-shadow: none; }
.sbb-btn.sm { padding: 6px 12px; font-size: 12px; }
.sbb-btn.warn { background: linear-gradient(160deg, #ffffff, #fff0f0); color: #c0475a; border: 1.5px solid #f3c0c8; box-shadow: none; }

.sbb-msg { padding: 28px 12px; text-align: center; color: #9a7f89; font-size: 14px; line-height: 1.8; }
.sbb-msg svg { width: 96px; margin-bottom: 8px; }
.sbb-list { display: flex; flex-direction: column; gap: 10px; }
.sbb-row { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; border: 1.5px solid #f6dbe3; background: #fff; }
.sbb-row img { width: 54px; height: 72px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: #f5dbe2; }
.sbb-row-main { flex: 1 1 auto; min-width: 0; }
.sbb-row-main b { display: block; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.sbb-row-main span { display: block; font-size: 12px; color: #9a7f89; line-height: 1.6; overflow-wrap: anywhere; }
.sbb-chip { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; margin-right: 6px; background: #ffe3ea; color: #a24a64; }
.sbb-chip.ok { background: #e4f6ec; color: #2f7d57; }
.sbb-chip.off { background: #eef0f3; color: #6b7480; }
.sbb-row-main .sbb-chip { display: inline-block; padding: 1px 8px; margin-right: 6px; font-size: 11px; line-height: 1.5; color: #a24a64; }
.sbb-row-main .sbb-chip.ok { color: #2f7d57; }
.sbb-row-main .sbb-chip.off { color: #6b7480; }
.sbb-chip.bad { background: #fde8eb; color: #cf4a5f; }
.sbb-row-main .sbb-chip.bad { color: #cf4a5f; }
a.sbb-btn { display: inline-block; text-decoration: none; }
.sbb-row-act { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
.sbb-cfg { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; padding: 10px 12px; border-radius: 14px; background: #fff2f5; border: 1px dashed #f0bccb; font-size: 13px; }
.sbb-cfg input[type="number"] { width: 70px; padding: 5px 8px; border-radius: 9px; border: 1.5px solid #f0cfd8; font: inherit; }
.sbb-toast {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; max-width: calc(100% - 40px);
  padding: 10px 18px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #fff; background: #e7728f;
  box-shadow: 0 12px 26px -10px rgba(231, 114, 143, .9); animation: sbb-pop .25s ease both;
}
.sbb-toast.ok { background: #38a878; }

@media (max-width: 720px) {
  .sbb-form { grid-template-columns: 1fr; gap: 16px; }
  .sbb-pv { position: static; max-width: 230px; margin: 0 auto; }
  .sbb-row { flex-wrap: wrap; }
  .sbb-row-act { flex-direction: row; width: 100%; }
}


#sbb-panel button, #sbb-panel input, #sbb-panel textarea { font-family: inherit; }

/* --------------------------------------------------------- keyframes */
@keyframes sbb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes sbb-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes sbb-floor { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.88); opacity: .6; } }
@keyframes sbb-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes sbb-twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }
@keyframes sbb-wipe-d { from { clip-path: inset(0 0 100% 0); filter: brightness(1.7) saturate(1.3); } to { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes sbb-wipe-r { from { clip-path: inset(0 100% 0 0); filter: brightness(1.7) saturate(1.3); } to { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes sbb-scan { 0% { top: -28%; opacity: 1; } 100% { top: 100%; opacity: .15; } }
@keyframes sbb-kb { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes sbb-gloss { 0%, 55% { transform: translateX(-80%); } 85%, 100% { transform: translateX(80%); } }
@keyframes sbb-crawl { to { transform: translateX(-50%); } }
@keyframes sbb-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sbb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sbb-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  #susu-billboard *, #sbb-panel * { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .sbb-tick-in { animation: none !important; }
}
@media print { #susu-billboard, #sbb-panel { display: none !important; } }

/* ======================================================= 文字效果 (v6) ======================================================= */
.sbb-cap[data-ts] { --sbb-round: "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", "Yuanti SC", "YouYuan", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; font-family: var(--sbb-round); }
.sbb-cap[data-ts] b, .sbb-cap[data-ts] em { font-family: inherit; }

/* —— 霓虹灯管: 深色底 + 发光灯管边框 + 轻微闪烁, 灯牌两根吊线 —— */
.sbb-slide[data-ts="neon"] .sbb-shade, .sbb-pvscreen[data-ts="neon"] .sbb-shade, .sbb-fxbox[data-ts="neon"] .sbb-shade { background: radial-gradient(ellipse at 50% 52%, rgba(14, 8, 18, .38) 0%, rgba(14, 8, 18, .78) 100%); }
.sbb-cap[data-ts="neon"] { left: 14px; right: 14px; bottom: auto; top: 54%; transform: translateY(-50%); text-align: center; }
.sbb-neon {
  position: relative; display: block; padding: 11px 10px 10px; border-radius: 18px; border: 2.5px solid var(--tc);
  background: rgba(10, 6, 14, .34);
  box-shadow: 0 0 4px var(--tc), 0 0 14px var(--tc), 0 0 30px var(--tc), inset 0 0 8px var(--tc), inset 0 0 18px rgba(255, 255, 255, .05);
  animation: sbb-neon-box 4.6s infinite;
}
.sbb-neon::before, .sbb-neon::after { content: ''; position: absolute; top: -22px; width: 2px; height: 20px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .7)); }
.sbb-neon::before { left: 26%; } .sbb-neon::after { right: 26%; }
.sbb-cap[data-ts="neon"] b {
  display: block; font-size: var(--fs, 22px); line-height: 1.22; font-weight: 800; letter-spacing: .05em; color: #fff; overflow-wrap: anywhere;
  text-shadow: 0 0 2px #fff, 0 0 6px #fff, 0 0 12px var(--tc), 0 0 22px var(--tc), 0 0 38px var(--tc), 0 0 60px var(--tc);
  animation: sbb-neon-tx 4.6s infinite;
}
.sbb-cap[data-ts="neon"] em {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 16px; font-style: normal; font-size: 12.5px; line-height: 1.4; color: #fff;
  text-shadow: 0 0 5px var(--tc), 0 0 12px var(--tc); overflow-wrap: anywhere;
}
@keyframes sbb-neon-tx { 0%, 17%, 22%, 61%, 65%, 100% { opacity: 1; } 18%, 62% { opacity: .5; } 20% { opacity: .85; } 63% { opacity: .72; } }
@keyframes sbb-neon-box { 0%, 17%, 22%, 61%, 65%, 100% { opacity: 1; } 18%, 62% { opacity: .62; } 20% { opacity: .9; } }

/* —— LED 灯板: 黑色点阵板 + 银色边框, 标题点阵发光并滚动 (太长时) —— */
.sbb-slide[data-ts="led"] .sbb-shade, .sbb-pvscreen[data-ts="led"] .sbb-shade, .sbb-fxbox[data-ts="led"] .sbb-shade { background: linear-gradient(0deg, rgba(10, 6, 8, .78) 0%, rgba(10, 6, 8, .25) 38%, rgba(10, 6, 8, 0) 60%); }
.sbb-cap[data-ts="led"] { left: 9px; right: 9px; bottom: 11px; }
.sbb-ledboard {
  display: block; padding: 8px 8px 7px; border-radius: 10px; background-color: #0b0708;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .16) 0 30%, transparent 40%); background-size: 3px 3px;
  box-shadow: 0 0 0 2px #dfe4ea, 0 0 0 3.5px #8f9aa8, inset 0 0 14px #000, 0 8px 16px rgba(0, 0, 0, .55);
  position: relative; overflow: hidden;
}
.sbb-ledboard::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 38%); }
.sbb-ledrow { display: block; overflow: hidden; white-space: nowrap; filter: drop-shadow(0 0 3px var(--tc)) drop-shadow(0 0 7px var(--tc)); }
.sbb-ledrow + .sbb-ledrow { margin-top: 5px; }
.sbb-ledtx {
  display: inline-block; font-size: 21px; line-height: 1.3; font-weight: 900; letter-spacing: .06em; color: var(--tc);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 58%, rgba(0, 0, 0, .25) 72%, transparent 80%); mask-image: radial-gradient(circle at 50% 50%, #000 0 58%, rgba(0, 0, 0, .25) 72%, transparent 80%);
  -webkit-mask-size: 3px 3px; mask-size: 3px 3px;
}
.sbb-ledrow.s .sbb-ledtx { font-size: 12.5px; line-height: 1.4; letter-spacing: .04em; color: #fff; font-weight: 800; -webkit-mask-image: none; mask-image: none; opacity: .92; }
.sbb-ledrow.s { filter: drop-shadow(0 0 4px var(--tc)); }
.sbb-ledtrack { display: inline-flex; animation: sbb-led-run var(--dur, 8s) linear infinite; will-change: transform; }
.sbb-ledtrack .sbb-ledtx { padding-right: 44px; }
@keyframes sbb-led-run { to { transform: translateX(-50%); } }

/* —— 灯泡招牌: 深色招牌 + 一圈交替闪烁的灯泡 —— */
.sbb-slide[data-ts="bulb"] .sbb-shade, .sbb-pvscreen[data-ts="bulb"] .sbb-shade, .sbb-fxbox[data-ts="bulb"] .sbb-shade { background: linear-gradient(0deg, rgba(20, 10, 12, .8) 0%, rgba(20, 10, 12, .3) 42%, rgba(20, 10, 12, 0) 64%); }
.sbb-cap[data-ts="bulb"] { left: 12px; right: 12px; bottom: 16px; text-align: center; }
.sbb-bulb {
  position: relative; display: block; padding: 17px 16px 15px; border-radius: 14px;
  background: linear-gradient(180deg, #3a2328, #1f1215); box-shadow: 0 0 0 2px var(--tc), 0 0 16px var(--tc), inset 0 0 14px rgba(0, 0, 0, .6), 0 10px 18px rgba(0, 0, 0, .5);
}
.sbb-bulb::before, .sbb-bulb::after {
  content: ''; position: absolute; inset: 3px; border-radius: 10px; pointer-events: none;
  background-image:
    radial-gradient(circle, #fffbe0 0 2.4px, #ffd76a 2.6px 3.4px, rgba(255, 215, 106, 0) 4.2px), radial-gradient(circle, #fffbe0 0 2.4px, #ffd76a 2.6px 3.4px, rgba(255, 215, 106, 0) 4.2px),
    radial-gradient(circle, #fffbe0 0 2.4px, #ffd76a 2.6px 3.4px, rgba(255, 215, 106, 0) 4.2px), radial-gradient(circle, #fffbe0 0 2.4px, #ffd76a 2.6px 3.4px, rgba(255, 215, 106, 0) 4.2px);
  background-size: 14px 9px, 14px 9px, 9px 14px, 9px 14px; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  filter: drop-shadow(0 0 3px #ffd76a) drop-shadow(0 0 6px var(--tc));
  animation: sbb-bulb-a 1.1s steps(1) infinite;
}
.sbb-bulb::after {
  background-position: 7px 0, 7px 100%, 0 7px, 100% 7px; animation-name: sbb-bulb-b;
}
@keyframes sbb-bulb-a { 0%, 100% { opacity: 1; } 50% { opacity: .12; } }
@keyframes sbb-bulb-b { 0%, 100% { opacity: .12; } 50% { opacity: 1; } }
.sbb-cap[data-ts="bulb"] b {
  display: block; font-size: var(--fs, 20px); line-height: 1.2; font-weight: 900; letter-spacing: .05em; color: #fff3c4; overflow-wrap: anywhere;
  text-shadow: 0 0 6px var(--tc), 0 0 14px var(--tc), 0 2px 0 rgba(0, 0, 0, .45);
}
.sbb-cap[data-ts="bulb"] em {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-style: normal; font-size: 12px; line-height: 1.4;
  color: #ffe9b8; overflow-wrap: anywhere;
}

/* —— 软糖气泡字: 白边贴纸 + 彩色糖果字, 逐字弹跳 —— */
.sbb-slide[data-ts="bubble"] .sbb-shade, .sbb-pvscreen[data-ts="bubble"] .sbb-shade, .sbb-fxbox[data-ts="bubble"] .sbb-shade { background: linear-gradient(0deg, rgba(30, 14, 22, .5) 0%, rgba(30, 14, 22, .12) 40%, rgba(30, 14, 22, 0) 62%); }
.sbb-cap[data-ts="bubble"] { left: 10px; right: 10px; bottom: 26px; text-align: center; }
.sbb-cap[data-ts="bubble"] .sbb-bub { display: block; font-size: var(--fs, 26px); line-height: 1.25; font-weight: 900; letter-spacing: .02em; overflow-wrap: anywhere; }
.sbb-bub i {
  display: inline-block; font-style: normal; color: var(--tc); position: relative;
  text-shadow: 2.5px 0 #fff, -2.5px 0 #fff, 0 2.5px #fff, 0 -2.5px #fff, 1.8px 1.8px #fff, -1.8px 1.8px #fff, 1.8px -1.8px #fff, -1.8px -1.8px #fff,
    0 5px 0 rgba(120, 50, 80, .28), 0 9px 14px rgba(0, 0, 0, .3);
  animation: sbb-hop 1.9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .1s);
}
@keyframes sbb-hop { 0%, 55%, 100% { transform: translateY(0) rotate(0deg) scale(1); } 22% { transform: translateY(-8px) rotate(-5deg) scale(1.08); } 38% { transform: translateY(0) rotate(3deg) scale(.97); } }
.sbb-cap[data-ts="bubble"] em {
  display: inline-block; max-width: 100%; margin-top: 10px; padding: 3px 12px; border-radius: 99px; font-style: normal; font-size: 12px; font-weight: 800; line-height: 1.4;
  color: #b25a74; background: rgba(255, 255, 255, .93); box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
  display: -webkit-inline-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
  .sbb-neon, .sbb-cap[data-ts="neon"] b, .sbb-bub i, .sbb-bulb::before, .sbb-bulb::after, .sbb-ledtrack { animation: none !important; }
  .sbb-bulb::after { opacity: 0; }
}

/* —— 视频幻灯片 —— */
.sbb-slide[data-kind="video"] .sbb-img { animation: none !important; }

/* —— 投放面板: 文字效果 / 视频预览 / 上传进度 —— */
.sbb-seg.wrap button { flex: 1 1 0; min-width: 0; padding: 9px 2px; white-space: nowrap; }
@media (max-width: 640px) { .sbb-seg.wrap { flex-wrap: wrap; } .sbb-seg.wrap button { flex: 1 1 28%; } }
.sbb-colors { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 10px; transition: opacity .2s; }
.sbb-colors.off { opacity: .35; pointer-events: none; }
.sbb-cdot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; padding: 0; cursor: pointer; box-shadow: 0 0 0 1.5px #ecc3cf, 0 3px 6px rgba(201, 120, 141, .35); transition: transform .15s; }
.sbb-cdot:hover { transform: scale(1.12); }
.sbb-cdot.on { box-shadow: 0 0 0 2.5px #e7728f, 0 3px 8px rgba(201, 120, 141, .5); transform: scale(1.12); }
.sbb-pvscreen.isvid img.sbb-img { display: none !important; }
.sbb-pvscreen:not(.isvid) video.sbb-pvvid { display: none !important; }
.sbb-pvscreen[data-fit="cover"] video.sbb-pvvid { object-fit: cover; }
.sbb-pvscreen[data-fit="contain"] video.sbb-pvvid { object-fit: contain; }
.sbb-pvbusy { position: absolute; inset: 0; z-index: 6; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(29, 21, 25, .86); color: #fff; font-size: 13px; font-weight: 800; text-align: center; padding: 14px; line-height: 1.5; }
.sbb-pvscreen.busy .sbb-pvbusy { display: flex; }
.sbb-pvscreen.busy .sbb-pvhint { display: none; }
.sbb-pvbusy small { display: block; font-weight: 600; font-size: 11.5px; color: #ffd6df; }
.sbb-pvbar { width: 64%; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.sbb-pvbar i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, #ffb3c6, #ff6f96); transition: width .2s; }
.sbb-pvscreen .sbb-cap, .sbb-pvscreen .sbb-shade { z-index: 2; }
.sbb-rowpv { position: relative; display: block; flex: 0 0 auto; width: 54px; height: 72px; }
.sbb-rowpv i { position: absolute; right: 4px; bottom: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #d9577b; font-style: normal; font-size: 9px; line-height: 18px; text-align: center; box-shadow: 0 2px 5px rgba(0, 0, 0, .3); }

/* ======================================================= 站长猫猫通知板 (v8) =======================================================
   :is(#susu-billboard, #sbb-panel) = 本脚本两个根节点 (#susu-billboard / #sbb-panel), 所有选择器都限定在里面, 不影响站点其它样式。
   板子本身直接复用右边广告屏的 3D 厚板 (.sbb-unit / .sbb-rig / .sbb-frame / .sbb-screen ...), 这里只补: 位置、更圆的外形、猫耳、屏幕内容。 */

/* —— 位置: 和右边广告屏左右对称 —— */
:is(#susu-billboard, #sbb-panel):is(.sbb-full, .sbb-rail) .sbb-unit[data-side="cat"] { left: 16px; transform-origin: left center; --ry: 24deg; --tx: -44px; }
:is(#susu-billboard, #sbb-panel).sbb-mini .sbb-unit[data-side="cat"] { left: 18px; top: 148px; transform-origin: left top; --ry: 24deg; --tx: -40px; }

/* —— 更圆润的外形 (比广告屏的 24px 圆角更大, 屏幕、胶囊、跑马灯都跟着圆) —— */
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-frame, :is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-back { border-radius: 36px; }
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-frame { padding: 13px 14px 14px; }
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-persp::before { border-radius: 38px; }
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-side-l, :is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-side-r { top: 20px; height: 390px; }
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-side-t, :is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-side-b { left: 20px; width: 224px; }
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-screen { aspect-ratio: auto; height: 312px; border-radius: 24px; }
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-tick { border-radius: 13px; }
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-frame::before {
  content: ''; position: absolute; left: 16px; right: 16px; top: 3px; height: 40px; border-radius: 34px 34px 50% 50% / 34px 34px 22px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); pointer-events: none; transform: translateZ(1px);
}
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-sp.a { right: auto; left: -9px; }
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-sp.b { left: auto; right: -10px; }
:is(#susu-billboard, #sbb-panel) .sbb-unit[data-side="cat"] .sbb-sp.c { right: auto; left: -12px; }

/* —— 板顶两只会抖的猫耳 (躲在边框后面一点点, 像从板子里长出来的) —— */
:is(#susu-billboard, #sbb-panel) .cb-ears { position: absolute; left: 0; top: -40px; width: 100%; height: 46px; overflow: visible; pointer-events: none; transform: translateZ(-1px); backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 2px 3px rgba(150, 80, 105, .18)); }
:is(#susu-billboard, #sbb-panel) .cb-earL, :is(#susu-billboard, #sbb-panel) .cb-earR { pointer-events: auto; cursor: pointer; }
:is(#susu-billboard, #sbb-panel) .cb-earL { animation: scb-earL 6.4s ease-in-out infinite; }
:is(#susu-billboard, #sbb-panel) .cb-earR { animation: scb-earR 5.6s ease-in-out 1.9s infinite; }
:is(#susu-billboard, #sbb-panel) .rx-ear .cb-earL { animation: scb-flickL .7s ease-in-out 1; }
:is(#susu-billboard, #sbb-panel) .rx-ear .cb-earR { animation: scb-flickR .7s ease-in-out 1; }

/* 顶栏 */
:is(#susu-billboard, #sbb-panel) .cb-paw { width: 12px; height: 12px; display: block; color: #e7728f; margin-right: -2px; }
:is(#susu-billboard, #sbb-panel) .cb-topr { display: inline-flex; align-items: center; gap: 6px; }
:is(#susu-billboard, #sbb-panel) .cb-pen {
  width: 20px; height: 20px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; pointer-events: auto;
  font-size: 11px; line-height: 1; color: #b25a74; border: 1px solid #f3bccb; background: #fff;
}
:is(#susu-billboard, #sbb-panel) .cb-pen[hidden] { display: none; }

/* —— 屏幕内容: 上面站长通知, 下面弹幕跑道 —— */
:is(#susu-billboard, #sbb-panel) .cn { position: absolute; left: 0; right: 0; top: 0; height: 128px; padding: 11px 15px 0; cursor: pointer; border-bottom: 1px dashed rgba(255, 190, 208, .3); z-index: 3; }
:is(#susu-billboard, #sbb-panel) .cn-rib {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 8px; border-radius: 99px;
  font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: .1em; color: #8a3a53; background: linear-gradient(160deg, #fff, #ffd3df);
  box-shadow: 0 0 10px rgba(255, 150, 180, .45);
}
:is(#susu-billboard, #sbb-panel) .cn-rib i { font-style: normal; color: #ff6f93; }
:is(#susu-billboard, #sbb-panel) .cn-page { position: absolute; left: 15px; right: 15px; top: 36px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
:is(#susu-billboard, #sbb-panel) .cn-page.is-on { opacity: 1; transform: none; }
:is(#susu-billboard, #sbb-panel) .cn-t { display: block; font-size: 15px; line-height: 1.3; font-weight: 800; color: #fff; text-shadow: 0 0 10px rgba(255, 140, 170, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(#susu-billboard, #sbb-panel) .cn-x {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 0;
  font-size: 11.5px; line-height: 1.5; color: rgba(255, 238, 243, .92); overflow-wrap: anywhere;
}
:is(#susu-billboard, #sbb-panel) .cn-foot { position: absolute; right: 14px; bottom: 5px; font-size: 9.5px; line-height: 1; color: rgba(255, 214, 225, .55); }

/* 弹幕 */
:is(#susu-billboard, #sbb-panel) .dmf { position: absolute; left: 0; right: 0; top: 128px; bottom: 0; overflow: hidden; z-index: 2; }
:is(#susu-billboard, #sbb-panel) .dm {
  position: absolute; left: 100%; top: 0; display: inline-flex; align-items: center; gap: 5px; height: 27px; padding: 0 12px 0 9px;
  border-radius: 99px; white-space: nowrap; font-size: 12.5px; line-height: 1; font-weight: 700; color: #7a3550; background: #ffd9e4;
  box-shadow: 0 3px 10px -3px rgba(0, 0, 0, .55), inset 0 1.5px 0 rgba(255, 255, 255, .75), inset 0 -2px 0 rgba(0, 0, 0, .06);
  will-change: transform; user-select: none; -webkit-user-select: none;
}
:is(#susu-billboard, #sbb-panel) .dm.is-go { animation: scb-dm var(--dd, 9s) linear forwards; }
:is(#susu-billboard, #sbb-panel) .dm.is-st { left: 12px; }
:is(#susu-billboard, #sbb-panel) .dmf:hover .dm.is-go, :is(#susu-billboard, #sbb-panel) .pc-dm:hover .dm.is-go { animation-play-state: paused; }
:is(#susu-billboard, #sbb-panel) .dm-t { font-weight: 700; }
:is(#susu-billboard, #sbb-panel) .dm-n { font-size: 10px; font-weight: 700; opacity: .55; }
:is(#susu-billboard, #sbb-panel) .dm-tag { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border-radius: 99px; color: #fff; background: linear-gradient(160deg, #ff8fab, #e7728f); box-shadow: 0 0 8px rgba(255, 120, 160, .55); }
:is(#susu-billboard, #sbb-panel) .dm-paw { display: grid; place-items: center; width: 14px; height: 14px; color: #ff8fab; }
:is(#susu-billboard, #sbb-panel) .dm-paw svg { width: 100%; height: 100%; }
:is(#susu-billboard, #sbb-panel) .dm[data-c="cyan"] { background: #d3f4ff; color: #1f5f7a; }
:is(#susu-billboard, #sbb-panel) .dm[data-c="yellow"] { background: #fff3b8; color: #7a5a10; }
:is(#susu-billboard, #sbb-panel) .dm[data-c="green"] { background: #d6f7e2; color: #226a45; }
:is(#susu-billboard, #sbb-panel) .dm[data-c="orange"] { background: #ffe0c2; color: #8a4510; }
:is(#susu-billboard, #sbb-panel) .dm[data-c="white"] { background: #ffffff; color: #5a4a50; }
:is(#susu-billboard, #sbb-panel) .dm.is-adm { background: linear-gradient(160deg, #fff, #ffe2ea 45%, #f6c3cf); color: #8a2f4c; font-size: 13px; box-shadow: 0 0 0 1.5px #fff, 0 0 14px rgba(255, 170, 195, .85), inset 0 -2px 0 rgba(0, 0, 0, .05); }
:is(#susu-billboard, #sbb-panel) .dm.is-mine { box-shadow: 0 0 0 2px #fff, 0 0 16px rgba(255, 255, 255, .8), 0 3px 10px -3px rgba(0, 0, 0, .55); }

/* 屏幕里的提示气泡 (发送结果 / 错误) */
:is(#susu-billboard, #sbb-panel) .cb-hint { height: 16px; margin-top: 4px; font-size: 10.5px; line-height: 16px; color: #b9899a; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: auto; }
:is(#susu-billboard, #sbb-panel) .cb-hint.is-ok { color: #2f9e6a; }
:is(#susu-billboard, #sbb-panel) .cb-hint.is-bad { color: #d4455c; }
:is(#susu-billboard, #sbb-panel) .sbb-screen .cb-hint {
  position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 5; height: auto; margin: 0; padding: 6px 12px; border-radius: 14px;
  font-size: 12px; line-height: 1.35; font-weight: 700; text-align: center; white-space: normal; background: rgba(255, 255, 255, .96); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
:is(#susu-billboard, #sbb-panel) .sbb-screen .cb-hint.is-ok, :is(#susu-billboard, #sbb-panel) .sbb-screen .cb-hint.is-bad { opacity: 1; transform: none; pointer-events: auto; }
:is(#susu-billboard, #sbb-panel) .cb-hint a { color: #d4455c; text-decoration: underline; }

/* —— 板子下面的胶囊输入条 (和右边的「投放广告」胶囊对称) —— */
:is(#susu-billboard, #sbb-panel) .cb-in { display: flex; align-items: center; gap: 7px; height: 38px; margin-top: 9px; }
:is(#susu-billboard, #sbb-panel) .cb-col {
  flex: 0 0 auto; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid #fff; cursor: pointer; pointer-events: auto;
  background: var(--c, #ff8fab); box-shadow: 0 2px 8px rgba(201, 120, 141, .5), inset 0 -3px 5px rgba(0, 0, 0, .1);
}
:is(#susu-billboard, #sbb-panel) .cb-inp {
  flex: 1 1 auto; min-width: 0; height: 34px; padding: 0 14px; border-radius: 99px; border: 1.5px solid #f0bccb; background: #fff; color: #4a3640;
  font-size: 13px; outline: none; pointer-events: auto; box-shadow: inset 0 1px 3px rgba(201, 120, 141, .15);
}
:is(#susu-billboard, #sbb-panel) .cb-inp::placeholder { color: #c9a5b1; }
:is(#susu-billboard, #sbb-panel) .cb-inp:focus { border-color: #ff8fab; box-shadow: 0 0 0 3px rgba(255, 143, 171, .25); }
:is(#susu-billboard, #sbb-panel) .cb-inp:disabled { background: #f6eef0; }
:is(#susu-billboard, #sbb-panel) .cb-inp.is-shake { animation: scb-shake .4s ease; }
:is(#susu-billboard, #sbb-panel) .cb-go {
  flex: 0 0 auto; height: 34px; min-width: 56px; padding: 0 14px; border-radius: 99px; border: 0; cursor: pointer; pointer-events: auto;
  font-size: 13px; line-height: 1; font-weight: 800; color: #fff; background: linear-gradient(160deg, #ff9db6, #e7728f); box-shadow: 0 6px 14px -6px rgba(231, 114, 143, .9);
}
:is(#susu-billboard, #sbb-panel) .cb-go:disabled { opacity: .6; cursor: default; }
:is(#susu-billboard, #sbb-panel) .cb-pill {
  position: absolute; left: 50%; top: 446px; width: 252px; height: 42px; margin: 0; padding: 0 5px 0 7px; transform: translateX(-50%); gap: 6px;
  border-radius: 99px; border: 1px solid #f3bccb; pointer-events: auto;
  background: linear-gradient(160deg, #ffffff, #ffe3ea); box-shadow: 0 8px 18px -8px rgba(201, 120, 141, .7), inset 0 1px 0 #fff;
  transition: box-shadow .2s ease;
}
:is(#susu-billboard, #sbb-panel) .cb-pill:focus-within { box-shadow: 0 12px 22px -8px rgba(201, 120, 141, .8), 0 0 0 3px rgba(255, 143, 171, .28), inset 0 1px 0 #fff; }
:is(#susu-billboard, #sbb-panel) .cb-pill .cb-inp { height: 30px; padding: 0 4px; border: 0; background: transparent; box-shadow: none; font-size: 12.5px; }
:is(#susu-billboard, #sbb-panel) .cb-pill .cb-inp:focus { box-shadow: none; }
:is(#susu-billboard, #sbb-panel) .cb-pill .cb-go { height: 32px; min-width: 52px; padding: 0 12px; }

/* 飘爱心 + 光点 */
:is(#susu-billboard, #sbb-panel) .cat-fx { position: absolute; left: 0; top: 330px; width: 264px; height: 120px; z-index: 6; pointer-events: none; }
:is(#susu-billboard, #sbb-panel) .cat-heart { position: absolute; bottom: 0; font-style: normal; color: #ff6f93; text-shadow: 0 0 6px rgba(255, 150, 180, .8); animation: scb-heart 1.8s ease-out both; }

/* —— 窄屏: 左下角悬浮小猫 —— */
:is(#susu-billboard, #sbb-panel) .sbb-catchip {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; pointer-events: auto; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px 5px 7px; border-radius: 99px; border: 1px solid #f3bccb;
  font-size: 12.5px; line-height: 1; font-weight: 800; color: #b25a74; background: linear-gradient(160deg, #fff, #ffe5ec);
  box-shadow: 0 10px 22px -10px rgba(201, 120, 141, .8); animation: scb-chipin .5s ease both;
}
:is(#susu-billboard, #sbb-panel) .sbb-catchip svg { width: 30px; height: 28px; display: block; }
:is(#susu-billboard, #sbb-panel) .sbb-catchip i.is-nw { position: absolute; top: -3px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: #ff5f86; box-shadow: 0 0 0 2px #fff; animation: sbb-blink 1.4s ease-in-out infinite; }
:is(#susu-billboard, #sbb-panel) .sbb-catchip i.is-nw[hidden] { display: none; }
:is(#susu-billboard, #sbb-panel).sbb-bar .sbb-catchip { bottom: 82px; left: 12px; }
:is(#susu-billboard, #sbb-panel) .sbb-reopen.cat { left: 16px !important; right: auto !important; top: auto !important; bottom: 16px !important; }
:is(#susu-billboard, #sbb-panel).sbb-hascat.sbb-full .sbb-reopen:not(.cat) { left: auto; right: 16px; }

/* —— 面板里的「猫猫通知板」页 —— */
:is(#susu-billboard, #sbb-panel) .pc-notice { padding: 12px 14px; border-radius: 16px; background: #fff2f5; border: 1px dashed #f0bccb; }
:is(#susu-billboard, #sbb-panel) .pc-rib { margin-bottom: 8px; font-size: 12px; font-weight: 800; color: #b25a74; }
:is(#susu-billboard, #sbb-panel) .pc-rib em { font-style: normal; font-weight: 600; color: #b9899a; }
:is(#susu-billboard, #sbb-panel) .pc-item + .pc-item { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #f0cfd8; }
:is(#susu-billboard, #sbb-panel) .pc-item b { display: block; font-size: 14.5px; line-height: 1.4; color: #3b2f35; }
:is(#susu-billboard, #sbb-panel) .pc-item p { margin: 3px 0 0; font-size: 13px; line-height: 1.65; color: #6b5560; overflow-wrap: anywhere; }
:is(#susu-billboard, #sbb-panel) .pc-dm { position: relative; height: 122px; margin-top: 12px; border-radius: 16px; overflow: hidden; background: linear-gradient(170deg, #2d2127, #161114); box-shadow: inset 0 0 18px rgba(0, 0, 0, .5); }
:is(#susu-billboard, #sbb-panel) .pc-row { margin-top: 12px; }
:is(#susu-billboard, #sbb-panel) .pc .cb-hint { text-align: left; padding-left: 4px; }
:is(#susu-billboard, #sbb-panel) .pc-adm { margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1.5px solid #f3c7d3; }
:is(#susu-billboard, #sbb-panel) .pc-adm h4 { margin: 0 0 10px; font-size: 14px; color: #3b2f35; }
:is(#susu-billboard, #sbb-panel) .pc-adm h4 small { margin-left: 6px; font-size: 11.5px; font-weight: 600; color: #9a7f89; }
:is(#susu-billboard, #sbb-panel) .pc-edit { display: grid; grid-template-columns: 22px 1fr; gap: 6px 8px; margin-bottom: 10px; align-items: center; }
:is(#susu-billboard, #sbb-panel) .pc-edit span { grid-row: 1 / 3; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; font-weight: 800; color: #b25a74; background: #ffe3ea; }
:is(#susu-billboard, #sbb-panel) .pc-acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* —— 动画 —— */
@keyframes scb-dm { to { transform: translateX(calc(-100% - var(--fw, 236px))); } }
@keyframes scb-earL { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-9deg); } 92% { transform: rotate(4deg); } 95% { transform: rotate(-5deg); } }
@keyframes scb-earR { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(9deg); } 92% { transform: rotate(-4deg); } 95% { transform: rotate(5deg); } }
@keyframes scb-flickL { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(2deg); } }
@keyframes scb-flickR { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-5deg); } 60% { transform: rotate(10deg); } 80% { transform: rotate(-2deg); } }
@keyframes scb-heart { 0% { transform: translateY(0) scale(.5); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-96px) scale(1.15) rotate(12deg); opacity: 0; } }
@keyframes scb-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
@keyframes scb-chipin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ======================================================= v9: dock 模式 (窄桌面) =======================================================
   广告不再悬浮盖住正文，改成左下角一张小卡片 (复用手机广告条的样式)；位置由 /brand/susu-dock.js 统一停靠，下面是兜底位置 */
#susu-billboard.sbb-dock .sbb-barwrap { left: auto; right: 16px; bottom: 136px; width: 320px; max-width: calc(100vw - 32px); height: 64px; border-radius: 18px; }
#susu-billboard.sbb-dock .sbb-reopen { display: inline-block; }
#susu-billboard.sbb-dock .sbb-catchip { bottom: 70px; left: auto; right: 16px; }
