/* GoodLobe — styles follow the Figma wireframes: blue top bar, light grey page, rounded grey panels,
   pill buttons, Nunito (brand font: Nunito Bold). Scoreboard numbers use Barlow Condensed so games read like a stadium board. */

:root {
  --blue: #4086f4;   /* GoodLobe brand blue (from the logo) */
  --blue-deep: #2b6fde;
  --blue-soft: #e8f0fe;
  --ink: #1e2330;
  --ink-2: #4b5260;
  --muted: #7a808c;
  --line: #d6d9df;
  --page: #f3f4f6;
  --panel: #e6e8ec;
  --panel-2: #eef0f3;
  --card: #ffffff;
  --live: #e5484d;
  --online: #22c55e;
  --gold: #d4a017;
  --focus: #1d4ed8;
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;
  --pill: 999px;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --board: 'Barlow Condensed', 'Nunito', system-ui, sans-serif;
  --shadow: 0 6px 24px rgba(30, 35, 48, .10);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink);
  background: var(--page); min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap-ok { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid #8a909b; background: transparent; color: var(--ink);
  border-radius: var(--pill); padding: 7px 18px; font-weight: 600; font-size: 13px;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: rgba(30, 35, 48, .06); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.sm { padding: 4px 12px; font-size: 12px; }
.btn.lg { padding: 11px 26px; font-size: 15px; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.live { background: var(--live); border-color: var(--live); color: #fff; }
.btn.ghost { border-color: transparent; }
.btn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: transparent; cursor: pointer; color: var(--ink-2); padding: 0;
}
.icon-btn:hover { background: rgba(30, 35, 48, .08); }
.icon-btn svg { width: 18px; height: 18px; }
.heart[aria-pressed="true"] { color: var(--live); }
.heart[aria-pressed="true"] svg path { fill: currentColor; }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue); color: #fff; position: sticky; top: 0; z-index: 40; }
.topbar .inner { max-width: 1400px; margin: 0 auto; height: 64px; padding: 0 24px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; text-decoration: none; letter-spacing: .2px; }
.brand .brand-icon { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.brand .brand-word { height: 22px; width: auto; }
.footer-logo { width: 100%; display: block; }
.footer-logo img { height: 30px; width: auto; }
.quick-leagues { display: flex; gap: 10px; }
.quick-leagues a { display: block; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav > .nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 7px; border-radius: 8px; white-space: nowrap;
  text-decoration: none; font-size: 13px; font-weight: 600; color: #fff; background: none; border: 0; cursor: pointer;
}
.nav-link svg { width: 15px; height: 15px; }
.nav-link:hover { background: rgba(255, 255, 255, .14); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 #fff; border-radius: 0; }
.menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; background: #fff; color: var(--ink);
  border-radius: 14px; box-shadow: var(--shadow); padding: 14px; min-width: 200px; display: none;
}
.nav-item:hover > .menu, .nav-item:focus-within > .menu, .menu.open { display: block; }
.menu .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-width: 330px; }
.menu h4 { font-size: 11px; color: var(--muted); font-weight: 600; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.menu a.menu-row { display: flex; align-items: center; gap: 10px; padding: 5px 4px; border-radius: 8px; text-decoration: none; font-size: 13px; }
.menu a.menu-row:hover { background: var(--panel-2); }
.menu .sub { font-size: 11px; color: var(--muted); display: block; line-height: 1.1; }
.menu.more { min-width: 170px; right: 0; left: auto; }
.menu.more a { display: block; padding: 6px 8px; font-size: 13px; text-decoration: none; border-radius: 6px; }
.menu.more a:hover { background: var(--panel-2); }
.menu.more .sep { border-top: 1px solid var(--line); margin: 6px 0; }

.search { position: relative; width: 230px; flex: none; }
.search input {
  width: 100%; border: 1.5px solid rgba(255,255,255,.75); background: transparent; color: #fff; border-radius: var(--pill);
  padding: 6px 12px 6px 32px; font-size: 13px;
}
.search input::placeholder { color: rgba(255,255,255,.75); }
.search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; }
.search .menu { left: 0; right: 0; min-width: 0; }
.auth-links { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 700; }
.auth-links a { text-decoration: none; }
.user-menu { position: relative; }
.user-menu > button { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; }
.user-menu .menu { right: 0; left: auto; min-width: 210px; }
.user-menu .menu a, .user-menu .menu button { display: block; width: 100%; text-align: left; padding: 7px 8px; border-radius: 6px; text-decoration: none; font-size: 14px; background: none; border: 0; cursor: pointer; }
.user-menu .menu a:hover, .user-menu .menu button:hover { background: var(--panel-2); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(229,72,77,.22); }
.nav-toggle { display: none; }

@media (max-width: 1280px) { .quick-leagues { display: none; } }
@media (max-width: 1180px) {
  .search { width: 180px; }
  .nav-link svg { display: none; }
}
@media (max-width: 900px) {
  .topbar .inner { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav .menu { display: none !important; }
  .search { flex: 1; width: auto; order: 2; }
  .auth-links { order: 2; gap: 12px; }
}

/* ---------- Badges & avatars ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--panel); position: relative; }
.avatar-wrap { position: relative; display: inline-block; flex: none; line-height: 0; }
.avatar-wrap .online { position: absolute; right: 0; bottom: 1px; width: 26%; height: 26%; min-width: 8px; min-height: 8px; border-radius: 50%; background: var(--online); border: 2px solid #fff; }
.initials { display: grid; place-items: center; color: #fff; font-weight: 700; border-radius: 50%; }
.team-badge {
  display: inline-grid; place-items: center; flex: none; border-radius: 30% 30% 46% 46% / 22% 22% 60% 60%;
  font-family: var(--board); font-weight: 700; letter-spacing: .3px; line-height: 1; border: 2px solid rgba(0,0,0,.08);
}
.league-badge { display: inline-grid; place-items: center; flex: none; border-radius: 50%; color: #fff; font-family: var(--board); font-weight: 700; line-height: 1; background: #fff; }
.crown { width: 13px; height: 13px; color: var(--ink-2); flex: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; background: #fff; border-radius: var(--pill); font-size: 12px; font-weight: 600; text-decoration: none; }
.chip.grey { background: var(--panel); }
.tag-live { display: inline-flex; align-items: center; gap: 6px; background: var(--live); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: var(--pill); letter-spacing: .3px; }
.tag-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .tag-live::before { animation: none; } }

/* ---------- Page scaffolding ---------- */
.page { padding: 28px 0 56px; }
.page-title { font-size: 26px; font-weight: 800; color: var(--ink-2); text-align: center; margin-bottom: 26px; }
.titled { display: inline-block; font-size: 20px; font-weight: 800; color: var(--ink-2); position: relative; padding-bottom: 6px; }
.titled::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 56%; transform: translateX(-30%); height: 2px; background: var(--ink-2); border-radius: 2px; }
.panel { background: var(--panel); border-radius: var(--radius-lg); padding: 20px; }
.panel-head { text-align: center; font-weight: 700; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1.5px solid #fff; }
.card { background: var(--card); border-radius: var(--radius-lg); padding: 20px; }
.empty { text-align: center; color: var(--muted); padding: 18px 8px; font-size: 14px; }
.empty .btn { margin-top: 10px; }
.layout-home { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .layout-home { grid-template-columns: 1fr; gap: 24px; } .sidebar, .sidebar-slot { order: 2; } }

/* ---------- First-visit homepage ---------- */
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: #fff; border-radius: var(--radius-lg); padding: 40px 44px; margin-bottom: 20px; }
.hero-copy h1 { font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -.3px; max-width: 18ch; }
.hero-copy > p { font-size: 16px; color: var(--ink-2); margin: 14px 0 22px; max-width: 46ch; }
.hero-copy > p.small { font-size: 13px; margin: 14px 0 0; }
.hero-demo { background: var(--panel); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.hero-demo-top { display: flex; align-items: center; gap: 12px; }
.hero-demo-name { font-weight: 800; }
.hero-demo-wave { display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; background: #fff; border-radius: var(--pill); overflow: hidden; }
.hero-demo-wave i { display: block; width: 4px; border-radius: 2px; background: #9aa0aa; flex: none; }
.hero-demo-controls { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.hero-demo-controls svg { width: 22px; height: 22px; }
.hero-demo-controls .delay { font-family: var(--board); background: #cfd3da; border-radius: 5px; padding: 1px 10px; font-size: 16px; }
.hero-demo-controls .live-pill { background: var(--live); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: var(--pill); }
.spotlight { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--team-a, #111); color: #fff; border-radius: var(--radius-lg); padding: 18px 24px; margin-bottom: 20px; border-left: 8px solid var(--team-b, #c4ced4); }
.spotlight .team-badge { border-color: rgba(255,255,255,.35); }
.spotlight-title { font-family: var(--board); font-size: 26px; font-weight: 700; letter-spacing: .3px; line-height: 1.1; }
.spotlight-sub { font-size: 14px; opacity: .85; margin-top: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.btn.spot-primary { background: #fff; border-color: #fff; color: #111; }
.btn.spot-primary:hover { background: #e9ecef; }
.btn.spot-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.spot-ghost:hover { background: rgba(255,255,255,.12); }
.how { margin-bottom: 32px; }
.how h2 { font-size: 18px; color: var(--ink-2); margin-bottom: 12px; }
.how-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 18px 18px 18px 64px; position: relative; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); }
.how-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--board); font-weight: 700; font-size: 19px; display: grid; place-items: center; }
.how-steps strong { color: var(--ink); font-size: 15px; }
.pitch-card { margin-top: 28px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pitch-card h2 { font-size: 20px; margin-bottom: 10px; }
.pitch-card ul { list-style: disc; padding-left: 20px; font-size: 14px; opacity: .9; display: grid; gap: 4px; }
.contact-cta { gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 26px 22px; gap: 24px; }
  .hero-copy h1 { font-size: 27px; }
  .how-steps { grid-template-columns: 1fr; }
}

/* Sidebar favorite cards (wireframe: blue cap header, white body) */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.fav-card { background: #fff; border-radius: 14px; overflow: hidden; }
.fav-card h3 { background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; text-align: center; padding: 8px; }
.fav-card ul li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.fav-card ul li a { text-decoration: none; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.fav-card .foot { padding: 12px; text-align: center; }
.fav-card .sub { font-size: 10px; color: var(--muted); display: block; line-height: 1.1; }
@media (max-width: 860px) { .sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* Trending panel */
.trending { background: var(--panel); border-radius: var(--radius-lg); padding: 28px 24px 40px; }
.trending > header { text-align: center; margin-bottom: 18px; }
.trend-section { margin: 0 auto; max-width: 560px; }
.trend-section + .trend-section { margin-top: 44px; }
.trend-section h3 { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.trend-section .more { text-align: center; margin-top: 16px; }

/* A game row: [badge] Home  time/score  Away [badge] */
.game {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 16px 6px;
  border-bottom: 1.5px solid #fff; text-decoration: none; border-radius: 10px;
}
.game:last-of-type { border-bottom: 0; }
.game:hover { background: rgba(255,255,255,.45); }
.game .side { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.game .side.home { justify-content: flex-end; }
.game .side.home .team-name { text-align: right; }
.game .mid { text-align: center; min-width: 92px; }
.game .mid .time { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.game .mid .score { font-family: var(--board); font-size: 26px; font-weight: 700; letter-spacing: 1px; line-height: 1; }
.game .mid .date { font-size: 12px; color: var(--muted); }
.game .meta { grid-column: 1 / -1; display: flex; justify-content: center; gap: 12px; font-size: 11px; color: var(--muted); margin-top: -6px; }
.game.titled-event .mid { grid-column: 1 / -1; }
@media (max-width: 520px) {
  .game { gap: 8px; }
  .game .team-name { font-size: 13px; }
  .game .mid { min-width: 70px; }
}

/* Narrator rows / grids */
.narr-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1.5px solid #fff; text-decoration: none; }
.narr-row:last-child { border-bottom: 0; }
.narr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 560px) { .narr-pair { grid-template-columns: 1fr; } }
.narr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 34px 26px; }
.narr-tile { display: flex; gap: 14px; align-items: flex-start; }
.narr-tile .name { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.narr-tile .subs { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.narr-tile .they { font-size: 13px; color: var(--ink-2); margin: 8px 0 6px; }
.badge-grid { display: grid; grid-template-columns: repeat(2, 28px); gap: 8px 10px; }

/* Forms */
.form { max-width: 380px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.form.wide { max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 56px; }
.form.wide .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form.wide { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-size: 13px; color: var(--ink-2); margin: 0 0 6px 14px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #8a909b; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 14px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input[type="checkbox"] { width: auto; }
.field .err { color: #b42318; font-size: 12px; margin: 5px 0 0 14px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d92d20; }
.field .help { font-size: 12px; color: var(--muted); margin: 6px 0 0 14px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; justify-content: center; }
.check input { width: 16px; height: 16px; }
.form-error { background: #fef3f2; color: #b42318; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.form-ok { background: #ecfdf3; color: #067647; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.upload-box {
  display: grid; place-items: center; width: 160px; height: 96px; margin: 0 auto; border: 1px solid #8a909b; border-radius: 14px;
  background: #fff; cursor: pointer; overflow: hidden; position: relative;
}
.upload-box img { width: 100%; height: 100%; object-fit: cover; }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-box svg { width: 22px; height: 22px; color: var(--muted); }

/* ---------- Broadcast (listener) page ---------- */
.bc-top { display: grid; grid-template-columns: 220px 220px 1fr; gap: 20px; align-items: stretch; }
.bc-info { background: var(--panel); border-radius: var(--radius-lg); padding: 18px; text-align: center; font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.bc-info strong { font-weight: 700; }
.bc-info .src { display: block; color: var(--blue-deep); font-weight: 800; }
.bc-banner { justify-self: end; align-self: center; border-radius: var(--radius-lg); background: var(--panel); min-height: 0; display: flex; align-items: center; color: var(--muted); }
.bc-banner:empty { display: none; }
.banner-btn { background: transparent; border: 0; padding: 18px 34px; font: inherit; font-weight: 800; font-size: 16px; color: var(--ink-2); cursor: pointer; border-radius: inherit; white-space: nowrap; }
.banner-btn:hover { background: #dcdfe5; }
.banner-hold { padding: 18px 34px; font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; }
.bc-banner.sponsored { background: #fff; border: 2px solid var(--gold); padding: 8px 22px; min-height: 60px; max-width: 420px; }
.banner-sponsor { display: flex; align-items: center; gap: 12px; color: var(--ink-2); min-width: 0; }
.banner-sponsor > div { min-width: 0; }
.banner-sponsor .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner-sponsor .tiny { text-transform: none; letter-spacing: 0; color: var(--muted); }
.sponsor-name { font-family: var(--board); font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.sponsor-name a { text-decoration: none; }
.sponsor-name a:hover { text-decoration: underline; }
.sponsor-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: var(--panel-2); flex: none; }
.msg.system { justify-content: center; background: #fff7e0; }
.msg.system .text { color: var(--ink); }
.poll-card { background: var(--panel); border-radius: var(--radius-lg); padding: 14px 16px; }
.poll-card h3 { font-size: 14px; text-align: center; padding-bottom: 8px; border-bottom: 1.5px solid #fff; margin-bottom: 10px; }
.poll-opt { display: block; width: 100%; position: relative; border: 0; background: rgba(255,255,255,.6); border-radius: 8px; padding: 6px 10px; margin-bottom: 6px; text-align: left; font-size: 12px; cursor: pointer; overflow: hidden; }
.poll-opt .fill { position: absolute; inset: 0 auto 0 0; background: rgba(59,127,245,.22); transition: width .4s; }
.poll-opt .lbl { position: relative; display: flex; justify-content: space-between; gap: 8px; }
.poll-opt.mine { outline: 2px solid var(--blue); }
.scoreline { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); }
.scoreline .board { font-family: var(--board); background: #cfd3da; border-radius: 5px; padding: 1px 8px; font-size: 16px; letter-spacing: 1px; }
.scoreline .clock { font-family: var(--board); background: #cfd3da; border-radius: 5px; padding: 1px 8px; font-size: 14px; }
.bc-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 26px 0 16px; flex-wrap: wrap; }
.bc-headrow h1 { font-size: 20px; color: var(--ink-2); margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.join-btn { background: var(--panel); border: 0; border-radius: var(--radius-lg); padding: 18px 34px; font-weight: 800; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.join-btn:hover { background: #dcdfe5; }
.bc-main { display: grid; grid-template-columns: 1.65fr 1fr; gap: 36px; align-items: stretch; }
@media (max-width: 980px) {
  .bc-top { grid-template-columns: 1fr 1fr; }
  .bc-banner { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
  .bc-banner .banner-btn { width: 100%; }
  .bc-main { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .bc-top { grid-template-columns: 1fr; } }

.player { background: var(--panel); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.player .stage { position: relative; aspect-ratio: 16 / 9; background: #dfe2e7; display: grid; place-items: center; }
.player .stage iframe, .player .stage .yt-host { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .stage .audio-art { display: grid; place-items: center; gap: 12px; text-align: center; padding: 20px; }
.player .stage .audio-art .avatar-wrap { line-height: 0; }
.player .stage .tap { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(30,35,48,.35); border: 0; cursor: pointer; color: #fff; font-weight: 800; font-size: 16px; }
.player .stage .tap span { white-space: nowrap; background: var(--blue); padding: 12px 22px; border-radius: var(--pill); display: inline-flex; gap: 8px; align-items: center; }
.player .progress { height: 4px; background: #fff; position: relative; }
.player .progress .bar { position: absolute; inset: 0 auto 0 0; background: #8a909b; width: 100%; }
.controls { display: flex; align-items: center; gap: 10px; padding: 12px 16px; flex-wrap: wrap; }
.controls .delay { font-family: var(--board); background: #cfd3da; border-radius: 5px; padding: 1px 8px; font-size: 14px; min-width: 36px; text-align: center; }
.controls .live-pill { border: 0; border-radius: var(--pill); padding: 2px 10px; font-size: 11px; font-weight: 800; background: #b9bec7; color: #fff; cursor: pointer; }
.controls .live-pill.at-live { background: var(--live); }
.wave { flex: 1; min-width: 140px; height: 34px; background: rgba(255,255,255,.7); border-radius: var(--pill); display: block; }
.sync-help { font-size: 12px; color: var(--muted); padding: 0 16px 12px; }

.chat { background: var(--panel); border-radius: var(--radius-lg); display: flex; flex-direction: column; min-height: 380px; max-height: 560px; padding: 14px; position: relative; }
.chat-head { display: flex; align-items: center; justify-content: center; position: relative; padding-bottom: 10px; border-bottom: 1.5px solid #fff; }
.chat-head h2 { font-size: 18px; color: var(--ink-2); }
.chat-head .count { position: absolute; right: 4px; font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; }
.chat-list { flex: 1; overflow-y: auto; padding: 10px 2px; display: flex; flex-direction: column; gap: 4px; }
.msg { display: flex; gap: 10px; padding: 7px 10px; border-radius: 14px; align-items: flex-start; }
.msg.narrator { background: rgba(255,255,255,.75); }
.msg .who { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.msg .who a { text-decoration: none; }
.msg .text { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.msg .del { margin-left: auto; opacity: 0; }
.msg:hover .del { opacity: 1; }
.chat-form { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.75); border-radius: var(--pill); padding: 6px 6px 6px 14px; }
.chat-form input { flex: 1; border: 0; background: transparent; font-size: 13px; outline: none; min-width: 0; }
.popover { position: absolute; z-index: 30; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; width: 260px; font-size: 13px; }
.popover p { color: var(--muted); font-size: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ink-2); margin: 4px 0 8px; }
.popover a { font-weight: 700; text-decoration: none; }

.bc-bottom { display: grid; grid-template-columns: auto auto 1fr auto; gap: 28px; align-items: start; margin-top: 30px; }
@media (max-width: 860px) { .bc-bottom { grid-template-columns: 1fr; } }
.pay-btn { display: inline-flex; align-items: center; gap: 8px; color: #fff; border: none; font-weight: 700; }
.pay-btn:hover { filter: brightness(1.06); }
.pay-venmo { background: #008cff; }
.pay-cashapp { background: #00c244; }
.pay-mark { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.pay-venmo .pay-mark { font-style: italic; }
.venmo-dot { width: 34px; height: 34px; border-radius: 50%; background: #3d95ce; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; font-style: italic; }
.others { margin-top: 36px; }
.others h3 { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.others .list { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Event page ---------- */
.event-hero { background: var(--card); border-radius: var(--radius-lg); padding: 28px 20px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.event-hero .side { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 700; }
.event-hero .mid { text-align: center; }
.event-hero .big { font-family: var(--board); font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: 2px; }
.event-hero .when { font-family: var(--board); font-size: 28px; font-weight: 700; }
.pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pick { background: var(--card); border-radius: var(--radius-lg); padding: 16px; display: flex; gap: 14px; align-items: center; text-decoration: none; border: 2px solid transparent; }
.pick:hover { border-color: var(--blue); }
.pick .name { font-weight: 800; display: flex; align-items: center; gap: 6px; }
.section-h { font-size: 16px; font-weight: 800; color: var(--ink-2); margin: 34px 0 14px; display: flex; align-items: center; gap: 10px; }

/* ---------- Studio (Broadcaster toolbox) ---------- */
.studio-top { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
.studio-top .title { font-size: 34px; font-weight: 800; color: var(--ink-2); text-align: center; align-self: center; }
.profile-mini { background: #fff; border-radius: 14px; padding: 14px; font-size: 13px; }
.profile-mini .rule { border-top: 1px solid var(--line); margin: 10px 0; }
.studio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 28px; }
.studio-grid > .panel { min-width: 0; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; } .span-3 { grid-column: span 3; }
@media (max-width: 980px) {
  .studio-top { grid-template-columns: 1fr; }
  .studio-grid > * { grid-column: span 12 !important; }
}
.bar-row { position: relative; background: #c8ccd3; border-radius: 6px; height: 28px; margin-bottom: 8px; overflow: hidden; font-size: 12px; color: #fff; }
.bar-row .fill { position: absolute; inset: 0 auto 0 0; background: #9aa0aa; }
.bar-row .lbl { position: relative; display: flex; justify-content: space-between; padding: 0 12px; line-height: 28px; font-weight: 600; }
.stat-row { display: flex; justify-content: space-between; align-items: center; background: #b9bec7; color: #fff; border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.stat-row b { font-family: var(--board); font-size: 18px; }
.circle-opts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.circle-btn { width: 50px; height: 50px; border-radius: 50%; background: #c8ccd3; border: 0; font-weight: 700; color: var(--ink-2); cursor: pointer; font-size: 13px; display: grid; place-items: center; text-align: center; line-height: 1.05; padding: 2px; }
.circle-btn.on { background: var(--ink); color: #fff; }
.circle-btn.playing { background: var(--blue); color: #fff; }
.go-live { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.source-tabs { display: inline-flex; background: #fff; border-radius: var(--pill); padding: 4px; gap: 4px; }
.source-tabs button { border: 0; background: none; padding: 7px 16px; border-radius: var(--pill); font-weight: 700; font-size: 13px; cursor: pointer; }
.source-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.meter { width: 100%; height: 10px; background: #fff; border-radius: var(--pill); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--online); transition: width .08s; }
.tip-row { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 5px 0; }
.tip-row .vote { display: flex; flex-direction: column; align-items: center; font-size: 10px; color: var(--muted); }
.list-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; }
.short-link { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid #8a909b; border-radius: 14px; padding: 8px 12px; font-size: 13px; }
.short-link code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font); }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(30,35,48,.48); z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: 14px; width: min(760px, 100%); max-height: 90vh; overflow: auto; padding: 32px; position: relative; }
.modal .x { position: absolute; top: 12px; right: 12px; }
.modal h2 { font-size: 20px; margin-bottom: 14px; }
.modal-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.modal-choices .btn { padding: 14px 18px; font-size: 14px; white-space: normal; border-radius: 14px; }
@media (max-width: 600px) { .modal-choices { grid-template-columns: 1fr; } }

/* ---------- Profile ---------- */
.prof-head { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.prof-head .name { font-weight: 800; display: flex; align-items: center; gap: 6px; font-size: 16px; }
.prof-tags { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 10px 14px; align-items: center; font-size: 13px; margin-top: 14px; padding-top: 12px; border-top: 1.5px solid #8a909b; max-width: 560px; }
.prof-tags .k { font-weight: 700; }
@media (max-width: 560px) { .prof-tags { grid-template-columns: auto 1fr; } }
.about { background: #fff; border-radius: var(--radius-lg); padding: 28px; max-width: 720px; margin: 32px auto; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; min-height: 150px; }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; } }
.prof-page .wrap > section:first-child + .prof-grid, .prof-page .wrap > .bc-backdrop + section + .prof-grid { margin-top: 32px; }
.prof-bio { max-width: 660px; margin-top: 14px; font-size: 14px; line-height: 1.5; }
.prof-bio p { white-space: pre-line; margin: 0; }
.prof-bio .socials { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.prof-bio .socials a { padding: 0; font-weight: 600; }
.socials a { display: flex; align-items: center; gap: 8px; font-size: 13px; text-decoration: none; padding: 3px 0; }
.socials svg { width: 15px; height: 15px; }
.prof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 900px) { .prof-grid { grid-template-columns: 1fr; } }
.prof-grid .panel { min-height: 200px; }
.sponsors { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-top: 40px; }
.sponsor { aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; display: grid; place-items: center; text-decoration: none; background: var(--panel); text-align: center; font-weight: 800; color: var(--ink-2); padding: 12px; }
.sponsor img { width: 100%; height: 100%; object-fit: contain; }
.sponsor.slot { border: 2px dashed #b9bec7; background: transparent; font-weight: 600; color: var(--muted); font-size: 14px; }

/* Subscribers page */
.subs-card { background: #fff; border-radius: var(--radius-lg); max-width: 560px; margin: 0 auto; padding: 24px 16px 30px; }
.subs-tabs { display: flex; gap: 40px; justify-content: center; }
.subs-tabs button { background: none; border: 0; cursor: pointer; text-align: center; font-weight: 700; font-size: 13px; padding-bottom: 2px; }
.subs-tabs button b { display: block; font-size: 14px; }
.subs-tabs button[aria-selected="true"] { box-shadow: inset 0 -1.5px 0 var(--ink); }
.subs-card .head { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding: 0 10px 14px; flex-wrap: wrap; }
.search-inline { position: relative; max-width: 300px; margin: 22px auto 16px; }
.search-inline input { width: 100%; border: 1px solid var(--line); border-radius: var(--pill); padding: 6px 12px 6px 32px; font-size: 13px; }
.search-inline svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }
.subs-list { max-width: 300px; margin: 0 auto; }
.subs-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 12px; }

/* League page */
.league-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 40px 60px; }
.league-card { background: #fff; border-radius: var(--radius-lg); padding: 22px 18px 16px; }
.league-card .t { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; text-decoration: none; }
.league-card .people { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 10px; }
.person { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.person button.who { display: flex; align-items: center; gap: 4px; border: 0; background: none; font-weight: 700; font-size: 13px; color: var(--ink-2); cursor: pointer; padding: 0; white-space: nowrap; }
.person button.who > svg { width: 12px; height: 12px; flex: none; }
.person .more-info { font-size: 11px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.dots { display: flex; justify-content: center; gap: 5px; margin-top: 16px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: #c8ccd3; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--ink-2); }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border-radius: 12px; overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--panel-2); font-weight: 700; }
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.totals .card { text-align: center; }
.totals b { display: block; font-family: var(--board); font-size: 34px; }
@media (max-width: 700px) { .totals { grid-template-columns: repeat(2, 1fr); } .admin-table { display: block; overflow-x: auto; } }

/* ---------- Footer ---------- */
.footer { background: #dcdee2; margin-top: 40px; border-top: 34px solid #fff; }
.footer .inner { max-width: var(--wrap); margin: 0 auto; padding: 48px 20px 60px; display: flex; gap: 30px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.footer .pitch { border: 1.5px solid #8a909b; border-radius: 14px; padding: 18px 20px; font-size: 13px; font-weight: 700; color: var(--ink-2); max-width: 270px; text-decoration: none; display: block; }
.footer .pitch:hover { background: rgba(255,255,255,.4); }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; }
.footer nav a { text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.footer nav a svg { width: 15px; height: 15px; }
.footer nav a:hover { text-decoration: underline; }
.footer .legal { font-size: 12px; color: var(--muted); width: 100%; }
.contact-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--pill); font-size: 14px; box-shadow: var(--shadow); pointer-events: auto; }
.toast.err { background: #b42318; }

/* Loading skeleton */
.loading { padding: 80px 0; text-align: center; color: var(--muted); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; margin: 0 auto 10px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sound library */
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lib-item { display: flex; align-items: center; gap: 12px; background: var(--panel-2); border-radius: 12px; padding: 10px 12px; }
.lib-item .circle-btn { width: 40px; height: 40px; flex: none; }
@media (max-width: 600px) { .lib-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .brand .brand-icon { width: 26px; height: 26px; }
  .brand .brand-word { height: 17px; }
  .search { min-width: 90px; }
}

/* Narrator's picture behind the live page */
.bc-page { position: relative; isolation: isolate; }
.bc-backdrop { position: fixed; inset: 0; z-index: -1; background: center / cover no-repeat; pointer-events: none; }
.bc-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(243,244,246,.25), rgba(243,244,246,.55)); }
.bc-page.has-bg .bc-info, .bc-page.has-bg .poll-card, .bc-page.has-bg .bc-banner:not(.sponsored), .bc-page.has-bg .chat,
.bc-page.has-bg .player, .bc-page.has-bg .bc-bottom, .bc-page.has-bg .card, .bc-page.has-bg .join-btn {
  background-color: rgba(236, 238, 242, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bc-page.has-bg .bc-bottom { border-radius: var(--radius-lg); padding: 16px 20px; }
.bc-page.has-bg .bc-headrow > div:first-child { background: rgba(255,255,255,.88); border-radius: var(--radius-lg); padding: 10px 18px 12px; backdrop-filter: blur(10px); }
.bc-page.has-bg .bc-headrow h1 { margin-top: 8px; }
.player .stage { background-size: cover; background-position: center; }
.player .stage .audio-art strong { color: inherit; }
.bc-page.has-bg .player .stage .audio-art { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.bc-page.has-bg .player .stage .audio-art .muted { color: #f1f3f6; }
/* Toolbox: stream background picker */
.bg-box { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 10px 14px; max-width: 520px; width: 100%; text-align: left; }
.bg-thumb { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.bg-thumb.empty { display: grid; place-items: center; background: var(--panel-2); color: var(--muted); font-size: 11px; }

/* ---- Tips in chat + fixed sponsor price ---- */
.msg.tip { background: #eef4ff; border-left: 3px solid var(--blue); border-radius: 10px; padding: 8px 10px; }
.msg.tip .text { font-weight: 700; color: #1f3d7a; }
.msg.tip.cash { background: #eafaf0; border-left-color: #00c244; }
.msg.tip.cash .text { color: #0b6b2e; }
.msg.tip.cash .tip-chip, .msg.tip.cash .tip-avatar { background: #00c244 !important; }
.tip-chip { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; margin-right: 6px; vertical-align: 1px; }
.sponsor-price { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 700; color: var(--blue); }

/* ---- Take a break ---- */
.break-box { width: 100%; max-width: 560px; margin: 0 auto; background: var(--panel-2); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.break-box select, .break-box input[type=text] { border-radius: 10px; border: 1px solid #8a909b; padding: 6px 10px; background: #fff; }
.break-box input[type=text] { flex: 1; min-width: 180px; }
.chip-btn { border: 1px solid #8a909b; background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.chip-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.break-tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.break-track { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid transparent; border-radius: 10px; padding: 6px 8px; cursor: pointer; }
.break-track.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.break-track input { accent-color: var(--blue); }
.break-track .grow { display: flex; flex-direction: column; line-height: 1.2; }
.break-on { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.break-clock { font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .break-tracks { grid-template-columns: 1fr; } }
.break-card { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px;
  background: radial-gradient(circle at 50% 30%, #2f5fb8 0%, #1d2a48 70%); color: #fff; border-radius: inherit; }
.break-card .break-kind { font-family: var(--board); font-size: 44px; font-weight: 700; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.break-card .break-msg { font-size: 17px; opacity: .92; max-width: 460px; }
.break-card .break-time { font-variant-numeric: tabular-nums; font-size: 14px; opacity: .8; }
.break-card .break-track-name { font-size: 13px; opacity: .75; display: flex; align-items: center; gap: 6px; }
.break-card .break-track-name svg { width: 14px; height: 14px; }
.break-card .break-sponsor { margin-top: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,214,102,.6); border-radius: 999px; padding: 6px 16px; font-size: 13px; }
.break-card .break-sponsor strong { color: #ffd666; }
.break-card .btn { margin-top: 6px; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; background: #fff; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 14px; } }
@media (max-width: 560px) { .break-card .break-kind { font-size: 32px; } }
.break-card[hidden] { display: none; }
.break-box > .btn { align-self: flex-start; }
.break-box .btn svg { width: 16px; height: 16px; }
.bc-banner { min-width: 294px; min-height: 60px; justify-content: center; }
.bc-banner.sponsored { padding: 6px 22px; min-height: 60px; max-width: 420px; justify-content: flex-start; }
.bc-banner.sponsored .sponsor-name { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.break-card { overflow: auto; justify-content: safe center; }
@media (max-width: 560px) {
  .break-card { gap: 4px; padding: 12px; }
  .break-card .break-kind { font-size: 26px; }
  .break-card .break-msg { font-size: 14px; }
  .break-card .break-time, .break-card .break-track-name, .break-card .break-sponsor { font-size: 12px; }
  .break-card .break-sponsor { padding: 4px 12px; }
  .bc-banner { min-width: 0; }
}

/* ---- Advertise (self-serve preview) ---- */
.adv-preview-note { display: inline-flex; align-items: center; gap: 6px; background: #fff7e0; color: #7a5b00; border: 1px solid #f0d58a; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.adv-preview-note svg { width: 14px; height: 14px; }
.adv-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: linear-gradient(120deg, var(--blue) 0%, #2b4f9e 100%); color: #fff; border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 22px; flex-wrap: wrap; }
.adv-hero h1 { font-family: var(--board); font-size: 38px; line-height: 1.05; margin: 0 0 8px; }
.adv-hero p { margin: 0; max-width: 560px; opacity: .92; }
.adv-hero-stats { display: flex; gap: 12px; }
.adv-hero-stats div { background: rgba(255,255,255,.14); border-radius: 14px; padding: 10px 16px; display: flex; flex-direction: column; align-items: center; min-width: 96px; }
.adv-hero-stats strong { font-family: var(--board); font-size: 28px; line-height: 1; }
.adv-hero-stats span { font-size: 12px; opacity: .85; text-align: center; }
.adv-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
.adv-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--panel); color: var(--muted); font-weight: 700; font-size: 14px; }
.adv-steps li .n { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 13px; }
.adv-steps li.on { background: var(--ink); color: #fff; } .adv-steps li.on .n { color: var(--ink); }
.adv-steps li.done { background: var(--blue-soft); color: var(--blue-deep); }
.adv-grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.adv-h { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.adv-main > p { margin: 0 0 14px; }
.adv-main > .row { margin-bottom: 14px; }
.adv-games { display: flex; flex-direction: column; gap: 12px; }
.adv-game { background: #fff; border-radius: var(--radius-lg); padding: 14px 16px; }
.adv-game header { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.adv-date { display: flex; flex-direction: column; align-items: center; background: var(--panel-2); border-radius: 12px; padding: 6px 12px; min-width: 70px; line-height: 1.1; }
.adv-date strong { font-family: var(--board); font-size: 20px; text-transform: uppercase; }
.adv-date span { font-size: 12px; color: var(--muted); }
.adv-gname { display: flex; align-items: center; gap: 8px; }
.adv-slots { display: flex; flex-direction: column; gap: 6px; }
.adv-slot { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.adv-slot input { accent-color: var(--blue); width: 18px; height: 18px; }
.adv-slot .grow { display: flex; flex-direction: column; line-height: 1.25; }
.adv-slot.on { border-color: var(--blue); background: var(--blue-soft); }
.adv-slot.taken { opacity: .55; cursor: not-allowed; }
.adv-price { font-family: var(--board); font-size: 22px; color: var(--ink); }
.adv-addon { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px dashed #b9c9ec; border-radius: var(--radius-lg); padding: 14px 16px; margin-top: 14px; cursor: pointer; }
.adv-addon input { accent-color: var(--blue); width: 18px; height: 18px; margin-top: 3px; }
.adv-addon .grow { display: flex; flex-direction: column; }
.adv-side { position: sticky; top: 84px; }
.adv-summary { background: #fff; border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.adv-summary h3 { margin: 0; font-size: 16px; }
.adv-sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.adv-sum-row.total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 16px; color: var(--ink); }
.adv-sum-row.total strong { font-family: var(--board); font-size: 26px; }
.adv-reach { display: flex; align-items: center; gap: 8px; background: var(--blue-soft); color: var(--blue-deep); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.adv-reach svg { width: 18px; height: 18px; }
.adv-next { width: 100%; }
.adv-back { margin-top: 18px; }
.adv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.adv-form { background: #fff; border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.adv-form .field { display: flex; flex-direction: column; gap: 4px; }
.adv-form input, .adv-form select { border: 1px solid #8a909b; border-radius: 10px; padding: 8px 10px; font: inherit; }
.adv-upload { display: flex; align-items: center; gap: 10px; }
.adv-logo { width: 40px; height: 40px; border-radius: 10px; background: #2f7d4f; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.adv-wave { letter-spacing: -1px; color: var(--blue); font-size: 16px; }
.adv-rules { display: flex; gap: 10px; background: #f3faf5; border: 1px solid #bfe3cb; border-radius: 12px; padding: 10px 12px; color: #1f5e37; }
.adv-rules svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.adv-rules p { margin: 2px 0 0; }
.adv-prev { background: var(--panel); border-radius: var(--radius-lg); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.adv-prev-label { text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.adv-prev-banner { justify-self: start; align-self: flex-start; min-width: 0; }
.adv-prev .msg.system { margin: 0; }
.adv-prev-break { background: radial-gradient(circle at 50% 30%, #2f5fb8 0%, #1d2a48 75%); color: #fff; border-radius: 14px; padding: 16px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.adv-prev-break .break-kind { font-family: var(--board); font-size: 28px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.adv-prev-break .break-sponsor { background: rgba(255,255,255,.12); border: 1px solid rgba(255,214,102,.6); border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.adv-prev-break .break-sponsor strong { color: #ffd666; }
.adv-review { margin-bottom: 14px; }
.adv-pay { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.adv-applepay { background: #000; color: #fff; border-color: #000; width: 100%; font-weight: 800; }
.adv-or { text-align: center; color: var(--muted); font-size: 12px; position: relative; }
.adv-card { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; border: 1px solid #8a909b; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.adv-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.adv-tile { background: #fff; border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; }
.adv-tile strong { font-family: var(--board); font-size: 34px; line-height: 1; color: var(--ink); }
.adv-tile > span:not(.tiny) { font-weight: 700; color: var(--ink-2); }
.adv-bookings { max-width: 900px; }
.adv-earn { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; background: #e7f6ec; color: #067647; border-radius: 12px; padding: 10px 14px; font-weight: 700; }
.adv-earn strong { font-family: var(--board); font-size: 24px; }
@media (max-width: 900px) { .adv-grid, .adv-two { grid-template-columns: 1fr; } .adv-side { position: static; } .adv-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .adv-hero { padding: 20px; } .adv-hero h1 { font-size: 30px; } .adv-hero-stats div { min-width: 0; padding: 8px 10px; } .adv-game header { gap: 10px; } .adv-review { overflow-x: auto; } }
.adv .chip-btn:disabled { opacity: .55; cursor: not-allowed; } .adv .chip-btn { display: inline-flex; align-items: center; }

/* ---- I'm calling this game ---- */
.calling { background: #fff; border-radius: var(--radius-lg); padding: 18px 20px; margin: 22px 0 8px; }
.calling-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 12px; }
.calling-card { display: flex; gap: 12px; align-items: center; background: var(--panel-2); border-radius: 14px; padding: 10px 12px; }
.calling-card .name { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; text-decoration: none; color: var(--ink); }
.calling-card .grow { min-width: 0; }
.calling-note { color: var(--ink-2); font-style: italic; }
.calling-cta { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.call-form input { flex: 1; min-width: 220px; border: 1px solid #8a909b; border-radius: 999px; padding: 9px 14px; font: inherit; }
.call-form .btn svg, .call-row .btn svg { width: 16px; height: 16px; }
.calling-me { font-weight: 800; color: #067647; background: #e7f6ec; border-radius: 999px; padding: 6px 14px; }
.calling-chip { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-deep); font-weight: 700; }
.calling-chip svg { width: 12px; height: 12px; }
.call-list { display: flex; flex-direction: column; gap: 6px; }
.call-row { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 14px; align-items: center; background: #fff; border-radius: 12px; padding: 8px 12px; border: 1px solid transparent; }
.call-row.on { border-color: #9fd8b3; background: #f3faf5; }
.call-when { display: flex; flex-direction: column; line-height: 1.15; } .call-when span { font-size: 12px; color: var(--muted); }
.call-game { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); min-width: 0; }
.btn.calling-on { background: #e7f6ec; color: #067647; border-color: #9fd8b3; }
.call-mini { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); background: #fff; border-radius: 10px; padding: 6px 10px; }
.call-mini .grow { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.call-mini-when { display: flex; flex-direction: column; align-items: center; min-width: 64px; line-height: 1.1; font-size: 12px; }
.call-mini-when span { color: var(--muted); font-size: 11px; }
@media (max-width: 700px) { .call-row { grid-template-columns: 1fr auto; } .call-row .call-when { grid-column: 1 / -1; flex-direction: row; gap: 6px; } .call-row > .tiny { display: none; } }
.calling-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.calling-card .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.calling-card .name .crown, .calling-card .name svg { flex: none; }

/* ---- Account switcher ---- */
.user-menu .menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.user-menu .switch-label { padding: 2px 8px 4px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.user-menu .switch-to { display: flex !important; align-items: center; gap: 10px; width: 100%; text-align: left; }
.user-menu .switch-to .grow { display: flex; flex-direction: column; line-height: 1.2; }
.user-menu .add-account { color: var(--blue-deep) !important; font-weight: 700; }

/* ---- Admin: users list ---- */
.totals .total-btn { border: 0; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: box-shadow .15s; }
.totals .total-btn:hover { box-shadow: 0 0 0 2px var(--blue) inset; }
.totals .new-users { color: #067647; font-weight: 700; margin-top: 4px; }
.modal:has(.users-modal) { width: min(980px, 100%); }
.users-modal input[type=search] { border: 1px solid #8a909b; border-radius: 999px; padding: 9px 14px; font: inherit; }
.users-list { max-height: 60vh; overflow: auto; }
.user-cell { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.user-cell > span { display: flex; flex-direction: column; line-height: 1.2; }
.chip.role-admin { background: #fde7e7; color: #b42318; }
.chip.role-narr { background: var(--blue-soft); color: var(--blue-deep); }

/* ---- Co-host mic check ---- */
.mic-check { max-width: 520px; }
.mic-check h2 { margin: 0; }
.mic-check p { margin: 0; }
.mic-check-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; }
.mic-check-icon svg { width: 30px; height: 30px; }
.mic-check-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.mic-check-confirm { justify-content: flex-start !important; background: #f3faf5; border: 1px solid #bfe3cb; border-radius: 12px; padding: 12px 14px; gap: 10px; }
.mic-check-confirm input { width: 20px; height: 20px; accent-color: #067647; }
.mic-check .btn.live svg { width: 18px; height: 18px; }
.mic-check .btn:disabled { opacity: .45; cursor: not-allowed; }
.mic-check-list li { list-style: disc; }
.msg.system.join-request { background: var(--panel-2); }
.msg.system.cohost { background: #e7f6ec; }
.msg.system.join-request .text, .msg.system.cohost .text { display: block; }
.msg.system svg { width: 14px; height: 14px; vertical-align: -2px; }
.msg.system a { color: inherit; text-decoration: none; }
.req-name { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; }

/* ---- Money box: tip amount circles ---- */
.money-wrap { position: relative; display: inline-flex; }
.money-circle { width: 64px; height: 64px; border-radius: 50%; border: 2px solid transparent; background: #c5cad2; color: var(--ink-2); font: inherit; font-weight: 800; font-size: 16px; text-align: center; padding: 0 0 0 10px; -moz-appearance: textfield; cursor: pointer; transition: background .15s, color .15s; }
.money-circle::-webkit-outer-spin-button, .money-circle::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.money-circle:hover { background: #b6bcc6; }
.money-circle:focus { background: var(--blue); color: #fff; outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px var(--blue-soft); cursor: text; }
.money-sign { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--ink-2); pointer-events: none; font-size: 14px; }
.money-wrap:focus-within .money-sign { color: #fff; }

/* ---- Record a sound ---- */
.record-btn { display: inline-flex; align-items: center; gap: 6px; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--live); display: inline-block; flex: none; }
.rec-dot.big { width: 16px; height: 16px; }
.rec-dot.pulse { width: 14px; height: 14px; animation: recpulse 1s ease-in-out infinite; }
@keyframes recpulse { 50% { opacity: .3; } }
.rec-modal { min-width: min(440px, 80vw); }
.rec-modal h2 { margin: 0; }
.rec-big { display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: center; border: 0; border-radius: 999px; padding: 16px 28px; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; background: #fde7e7; color: #b42318; }
.rec-big:hover { background: #fbd4d4; }
.rec-big.stop { background: var(--ink); color: #fff; }
.rec-square { width: 14px; height: 14px; border-radius: 3px; background: #fff; display: inline-block; }
.rec-clock { font-family: var(--board); font-size: 28px; font-variant-numeric: tabular-nums; }
.rec-meter i { transition: width .1s linear; background: var(--live); }
.rec-modal input[type=text] { border: 1px solid #8a909b; border-radius: 10px; padding: 8px 10px; font: inherit; }

/* ---- Profile cover picture ---- */
.prof-cover { height: clamp(140px, 24vw, 280px); border-radius: var(--radius-lg); background: var(--panel) center 30% / cover no-repeat; margin-bottom: 18px; }
.bg-preview { width: 100%; max-width: 260px; aspect-ratio: 3 / 1; border-radius: 12px; background: var(--panel) center 30% / cover no-repeat; box-shadow: 0 0 0 1px var(--line) inset; }

/* ---- Profile: picture as the whole page background ---- */
.prof-page { position: relative; isolation: isolate; }
.prof-page.full-bg .bc-backdrop::after { background: linear-gradient(rgba(20,24,32,.15), rgba(20,24,32,.45)); }
.prof-page.full-bg .wrap > section:first-child { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-radius: var(--radius-lg); padding: 18px 22px; margin-top: 30vh; }
.prof-page.full-bg .about, .prof-page.full-bg .panel { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); }
.prof-page.full-bg .sponsors .sponsor { background: rgba(255,255,255,.9); }
.bg-style button { padding: 6px 12px; font-size: 13px; }

/* ---- Admin: where your fans are ---- */
.loc-section { margin-bottom: 26px; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loc-grid h3 { margin: 0 0 2px; font-size: 16px; }
.loc-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.loc-row { display: grid; grid-template-columns: minmax(110px, 38%) 1fr 34px; gap: 10px; align-items: center; font-size: 14px; }
.loc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-bar { height: 10px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.loc-bar i { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.loc-count { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---- First Ten Founders ---- */
.founder-line { font-size: 12px; color: #9a6b00; font-weight: 700; display: flex; align-items: center; gap: 4px; margin: 1px 0 2px; }
.founder-star { color: var(--gold); }
.founder-tag { font-size: 11px; font-weight: 700; color: #9a6b00; background: #fff6dc; border: 1px solid #f0d58a; border-radius: 999px; padding: 1px 8px; }
.chip.role-founder { background: #fff6dc; color: #9a6b00; }
.founder-welcome h2 { margin: 0; }
.founder-welcome p { margin: 0; }
.founder-badge { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe08a, var(--gold) 70%); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(212,160,23,.35); }
.founder-badge span { font-size: 26px; line-height: 1; margin-top: 10px; }
.founder-badge strong { font-family: var(--board); font-size: 30px; line-height: 1; margin-bottom: 14px; }
.manual-tip { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.manual-tip input, .manual-tip select { border: 1px solid #8a909b; border-radius: 10px; padding: 7px 10px; font: inherit; }
.manual-tip input[type=text] { flex: 1; min-width: 150px; }

/* ---- Search: listeners ---- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 26px; }
.person-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius-lg); padding: 12px 14px; text-decoration: none; color: var(--ink); }
.person-card:hover { box-shadow: 0 0 0 2px var(--blue) inset; }
.person-card .grow { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.person-card strong { display: inline-flex; align-items: center; gap: 4px; }

/* ---- @handle suggestions ---- */
.suggest-wrap { position: relative; display: inline-flex; flex: 1; min-width: 160px; }
.suggest-wrap > input { width: 100%; }
.suggest-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; min-width: 240px; z-index: 30; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.suggest-list[hidden] { display: none; }
.suggest-row { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 6px 8px; border-radius: 8px; text-align: left; cursor: pointer; font: inherit; }
.suggest-row .grow { display: flex; flex-direction: column; line-height: 1.2; }
.suggest-row:hover, .suggest-row.on { background: var(--blue-soft); }

/* Narrator camera + voice bars in the player square */
.player .stage .voice { width: 420px; max-width: 64vw; height: 72px; display: block; }
.player .stage img.cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #111; }
.player .stage img.cam[hidden] { display: none; }
.player .stage.on-cam .tap { background: rgba(0,0,0,.25); }
.cam-box { display: grid; gap: 8px; justify-items: center; }
.cam-preview { width: 220px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #111; transform: scaleX(-1); }

.sponsor-name .sponsor-team { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); vertical-align: 2px; }

/* Go-live / Final moments */
.celebrate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(17,24,39,.55); animation: cel-fade .2s ease-out; }
.celebrate.out { opacity: 0; transition: opacity .25s; }
.cel-card { width: min(440px, 100%); border-radius: 24px; padding: 28px 24px 24px; text-align: center; display: grid; gap: 10px; justify-items: center; animation: cel-pop .35s cubic-bezier(.2,1.4,.4,1); }
.cel-live { background: #2f6fe4; color: #fff; }
.cel-art { width: 100%; max-width: 340px; }
.cel-court { width: 100%; height: auto; display: block; overflow: visible; }
.cel-ball { transform: translate(40px, 260px); animation: cel-shot 1.5s cubic-bezier(.35,.1,.45,1) .15s forwards; }
.cel-spin { animation: cel-spin 1.5s linear .15s forwards; }
.cel-net { transform-box: fill-box; transform-origin: top center; animation: cel-swish .5s ease-out 1.3s; }
.cel-bounce { animation: cel-bounce 1.4s cubic-bezier(.3,0,.7,1) .1s forwards; transform: translateY(-60px); }
.cel-title { font-size: 34px; font-weight: 900; letter-spacing: -.5px; display: inline-flex; align-items: center; gap: 12px; opacity: 0; animation: cel-pop .4s cubic-bezier(.2,1.4,.4,1) 1.35s forwards; }
.cel-dot { width: 14px; height: 14px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(255,255,255,.9); animation: cel-pulse 1s ease-in-out infinite; }
.cel-sub { font-size: 15px; font-weight: 700; opacity: .92; }
.cel-hint { font-size: 12px; opacity: .75; }
.cel-final { background: #fff; color: var(--ink, #111827); }
.cel-board { width: 100%; background: #2f6fe4; border-radius: 18px; padding: 22px 16px 18px; color: #fff; position: relative; overflow: hidden; }
.cel-board::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(255,255,255,.1); pointer-events: none; }
.cel-final-word { font-size: 52px; font-weight: 900; letter-spacing: 10px; color: #fff; position: relative; animation: cel-stamp .5s cubic-bezier(.2,1.5,.4,1) .1s both; }
.cel-game { font-size: 14px; color: #e0ebff; font-weight: 700; margin-top: 2px; position: relative; }
.cel-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; position: relative; }
.cel-stat { background: #fff; border-radius: 14px; padding: 12px 6px 10px; display: grid; gap: 2px; animation: cel-rise .45s cubic-bezier(.2,1.2,.4,1) both; }
.cel-stat strong { font-size: 28px; font-weight: 900; color: #2f6fe4; font-variant-numeric: tabular-nums; display: inline-block; }
.cel-stat span { font-size: 12px; color: #4b5563; font-weight: 700; }
.cel-stat.landed strong { animation: cel-land .35s cubic-bezier(.2,1.6,.4,1); }
.cel-final .cel-sub { color: var(--ink-2, #4b5563); opacity: 1; margin-top: 4px; }
.cel-done { min-width: 140px; background: #2f6fe4; color: #fff; border-color: #2f6fe4; }
@keyframes cel-stamp { from { opacity: 0; transform: scale(1.8); letter-spacing: 24px; } to { opacity: 1; transform: none; } }
@keyframes cel-rise { from { opacity: 0; transform: translateY(18px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes cel-land { 50% { transform: scale(1.3); } }
@keyframes cel-fade { from { opacity: 0; } }
@keyframes cel-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes cel-shot {
  0% { transform: translate(40px, 260px); opacity: 1; }
  55% { transform: translate(215px, 10px); }
  80% { transform: translate(305px, 110px); opacity: 1; }
  100% { transform: translate(310px, 205px); opacity: 0; }
}
@keyframes cel-spin { to { transform: rotate(-540deg); } }
@keyframes cel-swish { 0% { transform: scaleY(1); } 35% { transform: scaleY(1.25) scaleX(.9); } 70% { transform: scaleY(.95); } 100% { transform: scaleY(1); } }
@keyframes cel-bounce { 0% { transform: translateY(-60px); } 40% { transform: translateY(220px); } 60% { transform: translateY(110px); } 80% { transform: translateY(220px); } 90% { transform: translateY(190px); } 100% { transform: translateY(220px); } }
@keyframes cel-pulse { 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  .celebrate *, .celebrate { animation: none !important; }
  .cel-ball { transform: translate(310px, 140px); }
  .cel-title { opacity: 1; }
}
.end-btn { border-color: #ef4444 !important; color: #b91c1c !important; }
.end-btn:hover { background: #fef2f2; }

/* Toolbox with the narrator's "Whole page" picture behind it */
.studio-page .bc-backdrop[hidden] { display: none; }
.studio-page.full-bg .bc-backdrop::after { background: linear-gradient(rgba(20,24,32,.25), rgba(20,24,32,.5)); }
.studio-page.full-bg .panel, .studio-page.full-bg .profile-mini { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.studio-page.full-bg h1.title { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.studio-page.full-bg .bg-preview-box .btn { background: rgba(255,255,255,.94); color: var(--ink, #111827); border-color: transparent; }
.studio-page.full-bg .bg-preview-box .tiny { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.avatar-edit { position: relative; display: inline-block; cursor: pointer; line-height: 0; border-radius: 50%; }
.avatar-edit:hover .avatar, .avatar-edit:focus-within .avatar { filter: brightness(.8); }
.avatar-edit-badge { position: absolute; right: -4px; bottom: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue, #2f6fe4); color: #fff; display: grid; place-items: center; border: 2px solid #fff; }
.avatar-edit-badge svg { width: 13px; height: 13px; }
.avatar-edit:focus-within { outline: 3px solid var(--blue, #2f6fe4); outline-offset: 3px; }
.avatar-edit.sm .avatar-edit-badge { width: 18px; height: 18px; right: -3px; bottom: -3px; border-width: 1.5px; }
.avatar-edit.sm .avatar-edit-badge svg { width: 10px; height: 10px; }
.btn.subscribed { background: var(--blue, #2f6fe4); color: #fff; border-color: var(--blue, #2f6fe4); }
.btn.subscribed:hover { filter: brightness(1.06); }
/* Subscribe sparkle */
.sport-burst { position: fixed; z-index: 1200; width: 0; height: 0; pointer-events: none; }
.sb-ball { position: absolute; left: -15px; top: -15px; animation: sb-ball .95s cubic-bezier(.2,1.3,.4,1) forwards; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.sb-ball svg { display: block; }
.sb-spark { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; opacity: 0; animation: sb-spark .7s ease-out var(--d) forwards; }
@keyframes sb-ball { 0% { transform: translateY(0) scale(.2) rotate(0); opacity: 0; } 30% { opacity: 1; } 45% { transform: translateY(-34px) scale(1.25) rotate(200deg); } 75% { transform: translateY(-30px) scale(1) rotate(320deg); opacity: 1; } 100% { transform: translateY(-46px) scale(.8) rotate(360deg); opacity: 0; } }
@keyframes sb-spark { 0% { opacity: 1; transform: translate(0, 0) scale(1.2); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.3); } }

/* Replay player */
.player .stage .replay-art { width: 100%; box-sizing: border-box; }
.replay-player { width: min(560px, 100%); display: grid; gap: 14px; margin-top: 4px; }
.rp-buttons { display: flex; align-items: center; justify-content: center; gap: 14px; }
.rp-play { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--blue, #2f6fe4); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(47,111,228,.35); }
.rp-play svg { width: 26px; height: 26px; }
.rp-play:hover { filter: brightness(1.07); }
.rp-skip, .rp-speed { min-width: 48px; height: 44px; border-radius: 999px; border: 1px solid #8a909b; background: #fff; color: var(--ink, #111827); font-weight: 800; font-size: 14px; cursor: pointer; padding: 0 12px; }
.rp-skip:hover, .rp-speed:hover { background: #eef4ff; }
.rp-track { display: flex; align-items: center; gap: 10px; }
.rp-time { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 52px; text-align: center; color: var(--ink-2, #374151); }
.rp-bar { flex: 1; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--blue, #2f6fe4) var(--pct, 0%), #c9ced6 var(--pct, 0%)); cursor: pointer; margin: 0; }
.rp-bar::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--blue, #2f6fe4); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.rp-bar::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue, #2f6fe4); }
.rp-bar:focus-visible { outline: 3px solid var(--blue, #2f6fe4); outline-offset: 4px; }
.bc-page.has-bg .rp-time { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* Hover menus stay open while you move the mouse down into them:
   an invisible bridge covers the gap, and closing waits a moment so a diagonal move doesn't lose it. */
.nav-item > .menu { display: block; visibility: hidden; opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .15s ease .25s, transform .15s ease .25s, visibility 0s linear .4s; }
.nav-item > .menu::before { content: ""; position: absolute; left: -12px; right: -12px; top: -14px; height: 14px; }
.nav-item:hover > .menu, .nav-item:focus-within > .menu, .nav-item > .menu.open {
  visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .12s ease, transform .12s ease, visibility 0s; }
.nav-item:hover > .menu, .nav-item:focus-within > .menu { z-index: 51; }

/* Direct messages */
.dm-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; margin-right: 6px; flex: none; }
.dm-link:hover { background: rgba(255,255,255,.14); }
.dm-link svg { width: 22px; height: 22px; }
.dm-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--live); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--blue); }
.dm-badge[hidden] { display: none; }
.dm-page .wrap { max-width: 1100px; }
.dm-shell { display: grid; grid-template-columns: 340px minmax(0, 1fr); background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; height: calc(100vh - 150px); min-height: 480px; margin-top: 20px; }
.dm-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.dm-side-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 10px; }
.dm-side-head h1 { font-size: 22px; }
.dm-side-head .btn svg { width: 14px; height: 14px; }
.dm-tabs { display: flex; gap: 6px; padding: 0 14px 10px; border-bottom: 1px solid var(--line); }
.dm-tabs button { border: 0; background: none; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dm-tabs button[aria-selected="true"] { background: var(--blue-soft); color: var(--blue-deep); }
.dm-count { min-width: 18px; height: 18px; border-radius: 999px; background: var(--live); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.dm-list { overflow-y: auto; flex: 1; padding: 6px; }
.dm-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: inherit; }
.dm-row:hover { background: var(--panel-2); }
.dm-row.on { background: var(--blue-soft); }
.dm-row .grow { min-width: 0; }
.dm-preview { color: var(--muted); }
.dm-row.unread .dm-preview { color: var(--ink); font-weight: 800; }
.dm-when { margin-left: auto; white-space: nowrap; }
.dm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; }
.dm-empty { padding: 18px; text-align: center; }
.dm-thread { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.dm-placeholder { margin: auto; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 24px; color: var(--ink-2); }
.dm-placeholder svg { width: 44px; height: 44px; color: var(--blue); }
.dm-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dm-head > a { line-height: 0; }
.dm-back { display: none !important; width: 36px; height: 36px; place-items: center; color: var(--ink); }
.dm-back svg { transform: rotate(90deg); width: 20px; height: 20px; }
.dm-menu { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.dm-request { margin: 12px 16px 0; padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); display: grid; gap: 10px; }
.dm-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.dm-msg { display: grid; justify-items: start; max-width: 75%; }
.dm-msg.mine { align-self: flex-end; justify-items: end; }
.dm-bubble { padding: 9px 14px; border-radius: 18px; background: var(--panel-2); font-size: 15px; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; }
.dm-msg.mine .dm-bubble { background: var(--blue); color: #fff; }
.dm-time { font-size: 11px; color: var(--muted); margin: 2px 6px 0; }
.dm-note:empty { display: none; }
.dm-note { padding: 0 16px 6px; text-align: center; }
.dm-compose { display: flex; align-items: flex-end; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.dm-compose textarea { flex: 1; resize: none; border: 1px solid #8a909b; border-radius: 20px; padding: 10px 14px; font: inherit; font-size: 15px; max-height: 120px; }
.dm-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.dm-send:disabled { opacity: .45; cursor: default; }
.dm-send svg { width: 20px; height: 20px; }
.dm-new { display: grid; gap: 12px; min-width: min(420px, 80vw); }
.dm-new input { border: 1px solid #8a909b; border-radius: 999px; padding: 10px 16px; font: inherit; }
.dm-new-results { display: grid; gap: 2px; max-height: 320px; overflow-y: auto; }
@media (max-width: 760px) {
  .dm-shell { grid-template-columns: 1fr; height: calc(100vh - 120px); margin-top: 8px; border-radius: 14px; }
  .dm-shell.has-thread .dm-side { display: none; }
  .dm-shell:not(.has-thread) .dm-thread { display: none; }
  .dm-back { display: grid !important; }
  .dm-menu .btn { padding: 6px 8px; }
}
.dm-head .grow { min-width: 0; }
.dm-head .grow .tiny { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .dm-head { gap: 8px; padding: 10px 10px; }
  .dm-menu a.btn { display: none; } /* tap their picture for the profile */
  .dm-menu .btn { padding: 6px 8px; font-size: 12px; }
}

/* Live box score */
.box-panel { margin-top: 18px; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.box-panel[hidden] { display: none; }
.box-toggle { width: 100%; display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; color: var(--ink); }
.box-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.box-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.box-live { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #fff; background: var(--live); padding: 2px 6px; border-radius: 4px; }
.box-body { padding: 0 18px 14px; display: grid; gap: 10px; }
.box-tabs { display: flex; gap: 6px; }
.box-tabs button { border: 1px solid var(--line); background: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 800; cursor: pointer; font: inherit; font-weight: 800; }
.box-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.box-scroll { overflow-x: auto; }
.box-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.box-table th { text-align: right; font-size: 11px; color: var(--muted); font-weight: 800; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.box-table th:first-child, .box-table td:first-child { text-align: left; }
.box-table td { text-align: right; padding: 7px 8px; border-bottom: 1px solid var(--panel-2); white-space: nowrap; }
.box-table .box-name { position: sticky; left: 0; background: var(--card); }
.box-table .box-pts { font-weight: 800; color: var(--blue-deep); }
.auto-score { max-width: 420px; text-align: center; color: var(--ink-2); }
/* Brand font: Nunito Bold for names, headings, buttons and the menu (matches the brand sheet). */
body { font-weight: 500; }
strong, b, h1, h2, h3, .name, .btn, .nav-link { font-weight: 700; }
.ls-card { margin: 18px 0; display: grid; gap: 6px; }
.ls-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #f59e0b; vertical-align: 1px; }
.ls-dot.ok { background: var(--online); }
.nav-link.nav-tools { padding: 6px 8px; gap: 0; }
.nav-link.nav-tools svg { width: 34px; height: 23px; }
/* Hammer-and-toolbox inside the "Broadcaster toolbox" button (same gray as the heart) */
.tools-btn { display: inline-flex; align-items: center; gap: 6px; }
.tools-btn svg { width: 31px; height: 21px; color: var(--ink-2); flex: none; }

/* Nerd box: one color per stat */
.nerd-list { display: grid; gap: 8px; }
.nerd-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px 12px 8px 8px; box-shadow: 0 1px 2px rgba(30,35,48,.06); border-left: 4px solid var(--c); }
.nerd-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--c-soft); color: var(--c); flex: none; }
.nerd-ic svg { width: 17px; height: 17px; }
.nerd-label { flex: 1; font-size: 12.5px; font-weight: 700; color: var(--ink-2); line-height: 1.25; }
.nerd-row b { font-family: var(--board); font-size: 22px; color: var(--c); white-space: nowrap; }
.nerd-row.red { --c: #e5484d; --c-soft: #fdecec; }
.nerd-row.green { --c: #16a34a; --c-soft: #e7f7ec; }
.nerd-row.purple { --c: #7c3aed; --c-soft: #f1eafe; }
.nerd-row.blue { --c: #1d4ed8; --c-soft: #e8f0fe; }
.nerd-row.orange { --c: #ea7a0c; --c-soft: #fff1e3; }
/* Nerd box sits on GoodLobe blue with white cards */
.panel.nerd-panel, .studio-page.full-bg .panel.nerd-panel { background: linear-gradient(160deg, #4086f4 0%, #2b6fde 100%); color: #fff; }
.panel.nerd-panel .panel-head { color: #fff; border-color: rgba(255,255,255,.35); }
.panel.nerd-panel .nerd-row { box-shadow: 0 2px 6px rgba(10,30,80,.18); }
/* Poll results: winning choice green, the rest red */
.bar-row.win { background: #dcf5e4; color: #14532d; }
.bar-row.win .fill { background: #4ade80; }
.bar-row.lose { background: #fde4e4; color: #7f1d1d; }
.bar-row.lose .fill { background: #f87171; }
.bar-row.win .lbl, .bar-row.lose .lbl { font-weight: 800; }
/* Poll results on GoodLobe blue */
.panel.poll-panel, .studio-page.full-bg .panel.poll-panel { background: linear-gradient(160deg, #4086f4 0%, #2b6fde 100%); color: #fff; }
.panel.poll-panel .panel-head { color: #fff; border-color: rgba(255,255,255,.35); }
.panel.poll-panel .empty, .panel.poll-panel .small { color: #fff; }
.panel.poll-panel .bar-row { box-shadow: 0 2px 6px rgba(10,30,80,.18); }
.panel.poll-panel .bar-row:not(.win):not(.lose) { background: rgba(255,255,255,.9); color: var(--ink); }
.panel.poll-panel .bar-row:not(.win):not(.lose) .fill { background: #bcd3fb; }
.panel.poll-panel .btn { background: #fff; color: var(--blue-deep); border-color: #fff; }
/* Sponsors list in the toolbox: logo thumbnail + add/change logo */
.sp-row { display: flex; align-items: center; gap: 10px; }
.sp-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.sp-thumb.empty { display: grid; place-items: center; color: var(--muted); }
.sp-thumb.empty svg { width: 16px; height: 16px; }
/* Profile: Ended streams on GoodLobe blue */
.panel.ended-panel, .prof-page.full-bg .panel.ended-panel { background: linear-gradient(160deg, #4086f4 0%, #2b6fde 100%); color: #fff; }
.panel.ended-panel .panel-head { color: #fff; border-color: rgba(255,255,255,.35); }
.panel.ended-panel .empty { color: #fff; }
.ended-list { gap: 8px; }
.ended-main { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); text-decoration: none; border-radius: 12px; padding: 10px 12px; box-shadow: 0 2px 6px rgba(10,30,80,.18); }
.ended-main:hover { background: #f4f8ff; }
.ended-date { color: var(--muted); }
.ended-quote { color: var(--blue-deep); font-weight: 700; }
.ended-play { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.ended-play svg { width: 18px; height: 18px; }
/* Upcoming games in the opponent's team colors: half first color (date), half second color (matchup) */
.call-mini.team-colored { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; background: var(--c2, #fff); box-shadow: 0 2px 6px rgba(10,30,80,.15); }
.call-mini.team-colored .call-mini-when { background: var(--c1, #fff); color: var(--ink1, var(--ink)); justify-content: center; padding: 8px 6px; min-width: 0; }
.call-mini.team-colored .call-mini-when span { color: var(--ink1, var(--muted)); opacity: .85; }
.call-mini.team-colored > .grow { background: var(--c2, #fff); color: var(--ink2, var(--ink)); padding: 8px 10px; justify-content: center; }
.call-mini.team-colored > .grow .tiny.muted { color: var(--ink2, var(--muted)); opacity: .85; }
.call-mini.team-colored:hover { filter: brightness(1.08); }
/* Nerd box: "Print report" link beside the title */
.nerd-head { position: relative; }
.nerd-print { position: absolute; right: 0; top: 2px; background: none; border: 0; color: #fff; font: inherit; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; opacity: .9; padding: 0; }
.nerd-print:hover { opacity: 1; }
.nerd-print:disabled { opacity: .6; cursor: default; text-decoration: none; }
/* Admin: website traffic */
.tr-tile { display: grid; gap: 2px; }
.tr-sub { color: var(--blue-deep); font-weight: 700; }
.tr-chart-card { margin-bottom: 18px; display: grid; gap: 10px; }
.tr-chart { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; height: 170px; align-items: end; }
.tr-col { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 4px; }
.tr-bars { position: relative; height: 100%; }
.tr-bars i { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 4px 4px 1px 1px; min-height: 2px; }
.tr-views { background: #bcd3fb; }
.tr-visitors { background: var(--blue); left: 22% !important; right: 22% !important; }
.tr-col:hover .tr-views { background: #9fbff8; }
.tr-day { font-size: 9px; color: var(--muted); text-align: center; }
.tr-col:nth-child(odd) .tr-day { visibility: hidden; }
.tr-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; }
.tr-key.views { background: #bcd3fb; } .tr-key.visitors { background: var(--blue); }
/* Notify me (email alerts) */
.notify-btn { display: inline-flex; align-items: center; gap: 4px; }
.notify-btn svg { width: 15px; height: 15px; }
.notify-btn.on-notify { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Admin: Stage 1 goal */
.goal { margin: 8px 0 24px; }
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
@media (max-width: 760px) { .goal-grid { grid-template-columns: 1fr; } }
.goal-tile { display: grid; gap: 6px; }
.goal-num b { font-size: 30px; font-weight: 800; color: var(--blue-deep); }
.goal-num span { font-size: 16px; font-weight: 700; color: var(--ink-2); }
.goal-bar { height: 10px; border-radius: 999px; background: #e3ecfd; overflow: hidden; }
.goal-bar i { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.goal-tile.done .goal-bar i { background: #22a35a; }
.goal-tile.done .goal-num b { color: #1b8a4b; }
.goal-games { display: grid; gap: 12px; }
.goal-chart { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 18px; border-bottom: 1.5px solid #c9d2e0; margin-bottom: 22px; }
.goal-col { flex: 1; max-width: 70px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; text-decoration: none; }
.goal-col i { width: 100%; background: var(--blue); border-radius: 6px 6px 2px 2px; }
.goal-col:hover i { background: var(--blue-deep); }
.goal-val { font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.goal-lbl { position: absolute; bottom: -20px; white-space: nowrap; }
.goal-line { position: absolute; left: 0; right: 0; border-top: 2px dashed #22a35a; pointer-events: none; z-index: 1; }
.goal-line span { position: absolute; right: 0; top: -18px; color: #1b8a4b; font-weight: 700; }

/* Footer language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; }
.lang-switch button { background: none; border: 0; padding: 2px 4px; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lang-switch button[aria-pressed="true"] { font-weight: 800; text-decoration: none; color: var(--blue-deep); }
/* Floating mini player (Document Picture-in-Picture window) */
.pop-btn.on { color: var(--blue); }
.mini-body { margin: 0; background: #eef4fe; }
.mini { height: 100vh; box-sizing: border-box; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mini-head { display: flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; border-radius: 14px; padding: 8px 12px; }
.mini-head strong { display: block; font-size: 15px; color: #fff; }
.mini-head .muted { color: #dbe8fd !important; }
.mini-score { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; background: #fff; color: var(--ink); border: 2px solid var(--blue); border-radius: 12px; padding: 6px 10px; }
.mini-score .board { font-size: 20px; color: var(--blue-deep); }
.mini-score .clock { font-size: 12px; color: var(--ink-2); margin-left: 4px; }
.mini-controls { justify-content: center; padding: 2px 0; gap: 8px; }
.mini-controls .icon-btn { color: var(--blue-deep); }
.mini-controls .delay { background: var(--blue); color: #fff; }
.mini-tap { align-self: center; }
.mini .chat { flex: 1; min-height: 0; max-height: none; padding: 10px; background: #dbe8fd; }
.mini .chat-head { border-bottom-color: #fff; }
.mini .chat-head h2 { font-size: 15px; color: var(--blue-deep); }
.mini .chat-form { background: #fff; }
.mini .chat-form .icon-btn { color: var(--blue); }
.mini-back { align-self: center; background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }
