/* BK Sports — welcome, search, team, live Ask */

.search-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.search-toggle svg { width: 18px; height: 18px; display: block; }
.search-toggle:hover, .search-toggle:focus-visible { border-color: var(--line-2); background: var(--card); }

.search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 16px 0;
  padding: 10px 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  text-align: left;
  width: calc(100% - 32px);
  cursor: pointer;
}
.search-pill svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--faint); }
.search-pill:hover, .search-pill:focus-visible { border-color: var(--line-2); color: var(--text); }

/* ---- Welcome ---- */
.welcome-overlay, .search-overlay, .feedback-overlay {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(8, 10, 14, 0.62);
  padding: 0;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.welcome-overlay {
  background: rgba(6, 8, 12, 0.78);
  align-items: center;
}
[data-theme="light"] .welcome-overlay,
[data-theme="light"] .feedback-overlay {
  background: rgba(22, 24, 20, 0.45);
}
[data-theme="light"] .welcome-overlay {
  background: rgba(22, 24, 20, 0.58);
}
.welcome-overlay.hidden, .search-overlay.hidden, .feedback-overlay.hidden { display: none; }
body.shot .welcome-overlay, body.shot .search-overlay { transition: none; }

.welcome-card, .feedback-card {
  width: 100%;
  background: var(--card);
  color: var(--text);
  border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  padding: 28px 22px calc(22px + var(--tab-h, 64px));
  box-shadow: 0 -16px 48px rgba(0,0,0,0.28);
  max-height: 88%;
  overflow: auto;
}
.welcome-overlay.is-about .welcome-card,
.welcome-card.centered {
  margin: auto 16px;
  border-radius: 22px;
  padding: 32px 26px 26px;
  max-width: 358px;
  width: calc(100% - 32px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  background: #1C2028;
  color: #F7F8FA;
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme="light"] .welcome-overlay.is-about .welcome-card,
[data-theme="light"] .welcome-card.centered {
  background: #FFFFFF;
  color: #161814;
  border: 1px solid rgba(20,24,16,0.12);
  box-shadow: 0 18px 50px rgba(22,24,20,0.28);
}
.tagline-chip {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  color: var(--volt-ink);
  background: var(--volt);
  border-radius: 999px;
  padding: 4px 10px;
  margin: -4px 0 14px;
}
.welcome-mark {
  width: 36px;
  height: 36px;
  margin: 0 0 16px;
}
.welcome-bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.welcome-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: #F7F8FA;
  letter-spacing: -0.02em;
}
.welcome-bullets .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--volt);
  margin-top: 8px;
  flex: none;
}
[data-theme="light"] .welcome-bullets li { color: #161814; }
.welcome-early {
  margin: 0 0 4px !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  color: #C5C9D4 !important;
}
[data-theme="light"] .welcome-early { color: #3F4538 !important; }
.welcome-card .welcome-sign { margin: 8px 0 10px; }
.welcome-card .welcome-note { margin: 0 0 18px; }

.welcome-card h2 {
  font-family: inherit;
  font-size: 25px;
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 750;
  margin: 0 0 16px;
  color: #F7F8FA;
}
[data-theme="light"] .welcome-card h2 {
  color: #161814;
}
.welcome-card p.welcome-body {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.5;
  font-weight: 450;
  color: #F2F3F6;
  opacity: 1;
}
.welcome-card p.welcome-body + p.welcome-body {
  margin-top: 14px;
}
[data-theme="light"] .welcome-card p.welcome-body {
  color: #1A1C18;
}
.welcome-sign {
  margin: 18px 0 22px;
  font-size: 16px;
  font-style: italic;
  color: #C5C9D4;
  font-weight: 550;
  opacity: 1;
}
[data-theme="light"] .welcome-sign {
  color: #3F4538;
}
.welcome-go {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #D8FF3E;
  color: #15180A;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  padding: 13px 16px;
  cursor: pointer;
}
.welcome-go:hover, .welcome-go:focus-visible { filter: brightness(1.05); }
.welcome-fb {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 8px;
}
.welcome-fb { color: #C5C9D4; }
[data-theme="light"] .welcome-fb { color: #3F4538; }
.welcome-fb:hover { color: #F7F8FA; }
[data-theme="light"] .welcome-fb:hover { color: #161814; }

.feedback-card h2 { font-size: 20px; margin: 0 0 8px; }
.feedback-card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.feedback-card textarea {
  width: 100%;
  min-height: 110px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 12px;
  resize: vertical;
}
.feedback-actions { display: flex; gap: 10px; margin-top: 14px; }
.feedback-actions button {
  flex: 1;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 12px;
  cursor: pointer;
}
.fb-save { border: 0; background: var(--volt); color: var(--volt-ink); }
.fb-cancel { border: 1px solid var(--line); background: var(--elev); color: var(--text); }
.fb-thanks { color: var(--mint); font-size: 14px; margin-top: 10px; }

/* ---- Search overlay ---- */
.search-overlay { align-items: stretch; background: var(--bg); z-index: 90; flex-direction: column; }
.search-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  flex-shrink: 0;
}
.search-head input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  padding: 11px 12px;
  outline: none;
  min-width: 0;
}
.search-head input:focus { border-color: var(--line-2); }
.search-cancel {
  border: 0;
  background: none;
  color: var(--sky);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  padding: 8px 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.search-results {
  flex: 1;
  overflow: auto;
  padding: 8px 0 24px;
  -webkit-overflow-scrolling: touch;
}
.search-group-label {
  padding: 12px 18px 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}
.search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  padding: 10px 18px;
  cursor: pointer;
}
.search-row:hover, .search-row:focus-visible { background: var(--elev); }
.search-row img, .search-row .sr-logo, .search-row .sr-av {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--elev);
  flex-shrink: 0;
}
.search-row .sr-av { border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--muted); overflow: hidden; }
.search-row .sr-av img { width: 100%; height: 100%; object-fit: cover; }
.search-row .sr-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.search-row .sr-sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.search-row.ask-row { background: var(--volt-dim); }
.search-row.ask-row .sr-logo {
  background: var(--volt);
  color: var(--volt-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 850; font-size: 11px; letter-spacing: -0.04em;
}
.search-empty { padding: 28px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.search-loading { padding: 22px 22px; }
.search-hint { padding: 16px 18px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* ---- Team + live player screens ---- */
#screen-team .scroll, #screen-liveplayer .scroll { padding: 0 0 calc(var(--tab-h) + var(--sab, env(safe-area-inset-bottom, 0px)) + 16px); }
.team-hero, .lp-hero {
  padding: 16px 18px 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--team-color, #1d428a) 38%, transparent), transparent 100%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .team-hero,
[data-theme="light"] .lp-hero {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--team-color, #1d428a) 18%, transparent), transparent 100%),
    var(--bg);
}
.team-hero-top, .lp-hero-top { display: flex; align-items: center; gap: 14px; }
.team-logo { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }
.lp-shot {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; background: var(--elev);
  border: 2px solid var(--line);
  flex-shrink: 0;
}
.team-hero h2, .lp-hero h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; }
.team-meta, .lp-meta { margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.team-record { margin-top: 8px; font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.team-record span { font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 6px; }
.follow-btn {
  margin-top: 14px;
  border: 0;
  border-radius: 20px;
  background: var(--volt);
  color: var(--volt-ink);
  font: inherit;
  font-weight: 750;
  font-size: 14px;
  padding: 8px 16px;
  cursor: pointer;
}
.follow-btn.is-on {
  background: var(--elev);
  color: var(--text);
  border: 1px solid var(--line-2);
}
.team-section { padding: 14px 16px 4px; }
.team-section h3 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.team-news .emb { margin-bottom: 10px; }
.roster-row {
  display: flex; align-items: center; gap: 10px;
  width: 100%; border: 0; background: var(--card);
  color: var(--text); font: inherit; text-align: left;
  padding: 8px 10px; border-radius: 12px; margin-bottom: 6px;
  border: 1px solid var(--line); cursor: pointer;
}
.roster-row img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--elev); }
.roster-row .rr-name { font-weight: 700; font-size: 14.5px; }
.roster-row .rr-sub { font-size: 12px; color: var(--muted); }
.roster-row .rr-inj { color: var(--amber); font-size: 11.5px; margin-left: auto; font-weight: 650; }
.sample-flag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--amber);
  border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent);
  border-radius: 6px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.live-flag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--mint);
  margin-left: 6px;
}
.follow-mount { padding: 0 0 8px; }
.follow-mount .feed-label { margin-top: 8px; }

/* Ask live answer */
.ask-hl {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 8px 16px 0;
}
.ask-hl a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.35; display: block; }
.ask-hl a:hover { text-decoration: underline; }
.ask-hl p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.ask-hl .ask-src { margin-top: 6px; font-size: 11.5px; color: var(--faint); }
.ask-note {
  margin: 12px 16px 8px;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.4;
}
.ask-intro-live { margin: 0 4px 4px; font-size: 15.5px; line-height: 1.5; }

.about-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; border: 1px solid var(--line); background: var(--card);
  color: var(--text); font: inherit; text-align: left;
  padding: 14px 16px; border-radius: 14px; margin: 14px 0 8px;
  cursor: pointer;
}
.about-row b { display: block; font-size: 15px; }
.about-row span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.about-row em { font-style: normal; color: var(--sky); font-weight: 650; font-size: 13px; }

.followed-teams { margin: 12px 0 18px; }
.followed-teams .empty-follow { color: var(--muted); font-size: 13.5px; padding: 4px 0 8px; line-height: 1.45; }

#screen-ask .composer { display: flex; align-items: center; gap: 8px; }
#screen-ask .composer input {
  flex: 1; border: 0; background: transparent; color: var(--text);
  font: inherit; font-size: 15px; outline: none; min-width: 0; padding: 6px 0;
}
#screen-ask .composer .send {
  border: 0; background: var(--volt); color: var(--volt-ink);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
#screen-ask .composer[aria-hidden="false"] { /* active */ }

.team-empty, .lp-empty { padding: 24px 18px; color: var(--muted); }

/* Home already has a search pill — keep the topbar from crowding the wordmark */
#screen-home .topbar-actions .search-toggle { display: none; }

.team-news h3, .team-news h3 a, .emb-espn h3 a {
  text-transform: none;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
}
.team-news h3 a:hover { text-decoration: underline; }

.ask-demo-label {
  display: inline-block;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--faint);
}
body.shot #screen-ask .chips { display: none; }

/* ===== Feed +/−, Following/Discover, My Feed ===== */
.fc-btn.fc-plus,
.fc-btn.thumb-up.fc-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--volt);
  color: var(--volt-ink);
  border: 0;
}
.fc-btn.fc-plus svg { width: 14px; height: 14px; }
.fc-btn.fc-plus:hover, .fc-btn.fc-plus:focus-visible {
  background: var(--volt);
  color: var(--volt-ink);
  filter: brightness(1.06);
}
.fc-btn.fc-plus.on-up {
  background: var(--volt);
  color: var(--volt-ink);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--volt) 55%, transparent);
}
.fc-btn.fc-minus,
.fc-btn.thumb-dn.fc-minus {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  border: 1.6px solid var(--line-2);
}
.fc-btn.fc-minus svg { width: 14px; height: 14px; }
.fc-btn.fc-minus:hover, .fc-btn.fc-minus:focus-visible {
  background: var(--elev);
  color: var(--text);
  border-color: var(--line-2);
}
.fc-btn.fc-minus.on-dn {
  color: var(--coral);
  border-color: var(--coral);
  background: color-mix(in srgb, var(--coral) 12%, transparent);
}

.feed-mode {
  display: flex;
  margin: 8px 16px 4px;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  gap: 3px;
  flex-shrink: 0;
}
#screen-social .feed-mode { margin: 4px 0 10px; }
.feed-mode button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
}
.feed-mode button.on {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
  border: 1px solid var(--line);
}
.feed-mode.single button[data-feed-mode="discover"],
.feed-mode button[hidden] { display: none; }
.emb.feed-hidden, .discover-only { display: none !important; }
body[data-feed-mode="discover"] #follow-nba,
body[data-feed-mode="discover"] #follow-nfl,
body[data-feed-mode="discover"] #follow-cfb,
body[data-feed-mode="discover"] #follow-cbb,
body[data-feed-mode="discover"] #follow-social,
body[data-feed-mode="discover"] #screen-home .feed-label,
body[data-feed-mode="following"] .emb-discover,
body[data-feed-mode="following"] .discover-feed { display: none !important; }
body[data-feed-mode="discover"] .discover-feed,
body[data-feed-mode="discover"] .emb-discover { display: block !important; }
body[data-feed-mode="discover"] .emb-discover.feed-hidden { display: none !important; }

.emb-discover .disc-kicker { display: none; }
.emb-discover .disc-why {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--muted);
  margin: 0 0 10px;
}
.disc-acts .disc-nope { display: none; }

/* My Feed */
#screen-alerts .mf-lead {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 16px;
}
.mf-section { margin: 0 0 20px; }
.mf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 8px;
}
.mf-head h3 {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 750;
}
.mf-add {
  font: inherit;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--volt-ink);
  background: var(--volt);
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
}
[data-theme="light"] .mf-add { color: #15180A; }
.mf-remove {
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.mf-remove:hover { color: var(--coral); border-color: var(--coral); }
.mf-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.mf-row:last-child { border-bottom: 0; }
.mf-row img, .mf-row .mf-av {
  width: 36px; height: 36px; border-radius: 8px;
  object-fit: contain; background: var(--elev); flex-shrink: 0;
}
.mf-row .mf-av { border-radius: 50%; object-fit: cover; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:750; color:var(--muted); overflow:hidden; }
.mf-row .mf-av img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.mf-row .nm { font-weight: 750; font-size: 15px; }
.mf-row .sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.mf-row .goto { flex:1; text-align:left; background:none; border:0; color:inherit; font:inherit; cursor:pointer; padding:0; }
.mf-empty { font-size: 13.5px; color: var(--muted); padding: 6px 0 10px; line-height: 1.45; }
.mf-toggles .settings-row { padding: 12px 0; }
.mf-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mf-type {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 10px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  font-size: 14px; font-weight: 700;
}

/* sliders icon button */
.feed-gear {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--elev); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; flex-shrink: 0;
}
.feed-gear svg { width: 18px; height: 18px; display: block; }

/* Home no longer shows a Lines card */
#screen-home .lines-card,
#screen-home .emb-lines,
#screen-home [data-plat="lines"] { display: none !important; }

/* ===== Stat widgets: more legible ===== */
.stat b, #player-body .stat b, .p-stats .stat b, .avg .stat b {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  opacity: 1;
}
.p-stats .stat b { font-size: 26px; }
.stat, #player-body .stat, .p-stats .stat {
  padding: 12px 8px 11px;
  background: var(--card);
  border: 1px solid var(--line);
}
.stat span, .avg .stat span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.full-box-link {
  display: inline-block;
  margin: 8px 0 2px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--sky);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Full-screen Game / box score ===== */
#app.game-mode .tabbar { display: none; }
#screen-game {
  background: var(--bg);
  z-index: 30;
}
#screen-game .scroll { padding: 0 0 calc(var(--tab-h) + var(--sab, env(safe-area-inset-bottom, 0px)) + 16px); }
#screen-game .topbar { padding-right: 12px; }

.game-loading { padding: 28px 20px; color: var(--muted); font-size: 15px; }
.game-hero {
  padding: 8px 16px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.game-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.game-status.is-live { color: var(--coral); }
.game-status.is-half { color: var(--amber); }
.game-status.is-final { color: var(--text); }
.game-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.game-side { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.game-side > img { width: 64px; height: 64px; object-fit: contain; }
.game-side[data-open-team], .game-names [data-open-team] { cursor: pointer; }
.game-abbr { font-size: 18px; font-weight: 850; letter-spacing: -0.02em; color: var(--text); }
.game-rec { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.game-scores {
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
}
.game-pts {
  font-size: 52px;
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.game-dash { font-size: 28px; color: var(--faint); font-weight: 500; }
.game-names {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; font-size: 13px; font-weight: 650; color: var(--muted);
  padding: 0 8px;
}
.game-at { font-weight: 500; font-size: 12px; opacity: 0.8; }
.game-venue { text-align: center; font-size: 12px; color: var(--faint); margin: 6px 0 10px; }
.game-linescore {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  font-weight: 700;
}
.game-linescore th, .game-linescore td {
  text-align: center; padding: 5px 2px; color: var(--text);
}
.game-linescore thead th { color: var(--faint); font-size: 11px; font-weight: 750; }
.game-linescore th:first-child, .game-linescore tbody th {
  text-align: left; color: var(--muted); font-weight: 750; padding-left: 4px;
}
.game-linescore .ls-tot { font-weight: 850; font-size: 15px; }

.game-tabs {
  display: flex;
  margin: 10px 16px 8px;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  gap: 3px;
}
.game-tabs button {
  flex: 1; border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 14px; font-weight: 750;
  padding: 8px 10px; border-radius: 9px; cursor: pointer;
}
.game-tabs button.on {
  background: var(--card); color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,0.16);
}
.game-panel { padding: 4px 0 16px; }

.game-team-toggle {
  display: flex;
  margin: 4px 16px 12px;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 3px;
  gap: 3px;
}
.game-team-toggle button {
  flex: 1; border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 13.5px; font-weight: 750;
  padding: 8px 8px; border-radius: 8px; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-team-toggle button.on {
  background: var(--volt);
  color: var(--volt-ink);
}

.box-block { margin: 0 0 16px; }
.box-block h4 {
  margin: 0 16px 8px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 800;
}
.box-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 6px;
  margin: 0;
  max-width: 100%;
}
.box-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 620px;
  width: max-content;
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
}
.box-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--bg);
  color: var(--faint);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 8px 8px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.box-table td, .box-table tbody th {
  padding: 11px 8px;
  height: 48px;
  box-sizing: border-box;
  text-align: right;
  color: var(--text);
  font-weight: 650;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.box-table tbody tr:nth-child(even) td,
.box-table tbody tr:nth-child(even) th { background: var(--bg-2); }
.box-table td.is-hi { color: var(--text); font-weight: 850; }
.box-table .box-name,
.box-table thead th.box-name {
  position: sticky;
  left: 0;
  z-index: 3;
  text-align: left;
  min-width: 132px;
  max-width: 148px;
  padding-left: 16px;
  box-shadow: 6px 0 8px -6px rgba(0,0,0,0.35);
}
.box-table thead th.box-name { z-index: 4; }
.box-table .bn-name {
  display: block;
  font-weight: 750;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 128px;
}
.box-table .bn-sub { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.box-table tr.box-tot td, .box-table tr.box-tot th {
  font-weight: 850;
  background: var(--elev);
  border-top: 1px solid var(--line-2);
}
.game-dnp { padding: 4px 16px 12px; }
.game-dnp h4 {
  margin: 0 0 6px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 800;
}
.game-dnp p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.game-dnp span { color: var(--faint); }
.game-note { padding: 4px 16px 8px; font-size: 12px; color: var(--faint); line-height: 1.4; }

.gcmp { padding: 0 16px 12px; }
.gcmp-head, .gcmp-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.gcmp-head b { font-size: 13px; font-weight: 800; }
.gcmp-head b:last-child { text-align: right; }
.gcmp-row span { font-weight: 750; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--text); }
.gcmp-row span:last-child { text-align: right; }
.gcmp-row em { font-style: normal; font-size: 11px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); text-align: center; }
.game-leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px 12px; }
.gl-team h4 { margin: 0 0 8px; font-size: 13px; }
.gl-item { margin-bottom: 8px; }
.gl-cat { display: block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.gl-item b { display: block; font-size: 14px; font-weight: 750; }
.gl-item em { font-style: normal; font-size: 18px; font-weight: 800; color: var(--text); }

.game-plays { list-style: none; margin: 0; padding: 0 16px; }
.game-plays li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.game-plays .gp-when { font-size: 11px; font-weight: 750; color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 3px; }
.game-plays .gp-text { font-size: 14.5px; line-height: 1.4; color: var(--text); font-weight: 550; }
.game-plays li.is-score { background: color-mix(in srgb, var(--volt) 8%, transparent); margin: 0 -16px; padding: 10px 16px; }
.gp-score { display: block; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--text); }

[data-theme="light"] .box-table .box-name,
[data-theme="light"] .box-table thead th.box-name {
  box-shadow: 6px 0 8px -6px rgba(20,24,16,0.18);
}
[data-theme="light"] .game-pts { color: #121410; }
[data-theme="light"] .box-table td,
[data-theme="light"] .box-table tbody th,
[data-theme="light"] .box-table thead th { color: #161814; }
[data-theme="light"] .box-table .bn-name { color: #121410; }

/* ---------- About us + Ideas ---------- */
#screen-about .about-scroll { padding-bottom: 28px; }
.about-us {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px 18px;
  margin: 6px 0 20px;
}
.about-us h2 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.about-us p {
  margin: 0 0 14px;
  font-size: 17.5px;
  line-height: 1.5;
  font-weight: 450;
  color: var(--text);
}
.about-us p.about-sign {
  margin: 4px 0 2px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
[data-theme="light"] .about-us {
  background: #fff;
  border-color: #d8d6cc;
  box-shadow: 0 1px 0 rgba(20,24,16,0.04);
}
[data-theme="light"] .about-us h2,
[data-theme="light"] .about-us p,
[data-theme="light"] .about-us p.about-sign { color: #161814; }

.ideas-block h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
#idea-form label {
  display: block;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.idea-compose {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.idea-compose input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 0 12px;
}
.idea-compose input:focus {
  outline: 2px solid var(--volt);
  outline-offset: 1px;
}
.idea-compose button[type="submit"] {
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--volt);
  color: var(--volt-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.idea-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.idea-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px 12px 8px;
}
[data-theme="light"] .idea-row,
[data-theme="light"] .idea-compose input {
  background: #fff;
  border-color: #d8d6cc;
  color: #161814;
}
.idea-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  gap: 1px;
}
.idea-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 4px;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.idea-arrow svg { width: 18px; height: 18px; display: block; }
.idea-arrow.on { color: var(--text); }
.idea-arrow.idea-up.on { color: #3dba6a; }
.idea-arrow.idea-dn.on { color: var(--coral, #e45a4f); }
.idea-score {
  font-size: 16px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  line-height: 1.1;
}
.idea-body { flex: 1; min-width: 0; padding-top: 6px; }
.idea-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text);
}
.idea-sample {
  display: inline-block;
  margin-top: 5px;
  font-style: normal;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
[data-theme="light"] .idea-body p { color: #161814; }
[data-theme="light"] .idea-score { color: #121410; }

/* Home topbar: search lives in the pill — drop the icon so sliders + theme + league fit */
#screen-home .topbar-actions > .search-toggle { display: none; }
#screen-home .sample-pill { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Discover: only suggestion cards, not the Following chips or unverified bar */
body[data-feed-mode="discover"] #screen-home .section-label,
body[data-feed-mode="discover"] #screen-home .follow-chip,
body[data-feed-mode="discover"] #screen-home .chips,
body[data-feed-mode="discover"] #screen-home .follow-row,
body[data-feed-mode="discover"] #screen-home .verified-note,
body[data-feed-mode="discover"] #screen-home .hide-note,
body[data-feed-mode="discover"] #screen-social .section-label,
body[data-feed-mode="discover"] #screen-social .creator,
body[data-feed-mode="discover"] .unverified-bar,
body[data-feed-mode="discover"] #verified-hidden,
body[data-feed-mode="discover"] .vh-bar,
body[data-feed-mode="discover"] .feed-foot,
body[data-feed-mode="discover"] .foot-note { display: none !important; }

/* Ideas: cleaner vote column — arrows + score, no stacked raw counts */
.idea-arrow span { display: none; }
.idea-votes { min-width: 40px; gap: 0; }
.idea-arrow { padding: 4px; }
.idea-arrow svg { width: 20px; height: 20px; }
.idea-score { font-size: 17px; margin: 1px 0; }
.idea-row { padding: 10px 14px 10px 8px; }
.about-us { padding: 18px 18px 14px; }
.about-us h2 { margin-bottom: 10px; }
.about-us p { margin-bottom: 12px; }
body[data-feed-mode="discover"] .trust-hint,
body[data-feed-mode="discover"] .followed-row,
body[data-feed-mode="discover"] #followed-nba,
body[data-feed-mode="discover"] #followed-nfl { display: none !important; }
#screen-home .sample-pill { max-width: none; overflow: visible; text-overflow: unset; }
.feed-mode-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 16px 4px;
  flex-shrink: 0;
}
.feed-mode-row .feed-mode { flex: 1; margin: 0; }
.feed-mode-row .feed-gear {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.feed-mode-row .feed-gear svg { width: 16px; height: 16px; }
#screen-social .feed-mode { margin: 4px 0 10px; }
.mf-row .mf-av {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  overflow: hidden;
}
.mf-row .mf-av img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
  background: var(--card-2);
}

/* Four-league chips — full-width, legible */
.league-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 8px 16px 2px;
  flex-shrink: 0;
}
.league-chips button {
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.league-chips button.on {
  background: var(--volt);
  color: var(--volt-ink);
  border-color: var(--volt);
}
[data-theme="light"] .league-chips button {
  background: #fff;
  border-color: #d8d6cc;
  color: #161814;
}
[data-theme="light"] .league-chips button.on {
  background: var(--volt);
  color: var(--volt-ink);
  border-color: var(--volt);
}


/* ---------- Home header: quiet, compact hierarchy ---------- */
#screen-home .home-head {
  flex-shrink: 0;
  padding: 10px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#screen-home .home-row1 {
  display: flex;
  align-items: center;
  gap: 10px;
}
#screen-home .home-row1 .brand-mark {
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  flex: 0 0 58px;
  white-space: nowrap;
  overflow: visible;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
#screen-home .home-row1 .search-pill {
  flex: 1;
  min-width: 0;
  margin: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  font-size: 13.5px;
  color: var(--muted);
  box-shadow: none;
}
#screen-home .home-row1 .feed-gear,
#screen-home .home-row1 .theme-toggle,
#screen-home .home-row1 .head-settings {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  border-radius: 8px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#screen-home .home-row1 .feed-gear:hover,
#screen-home .home-row1 .theme-toggle:hover,
#screen-home .home-row1 .head-settings:hover {
  color: var(--text);
  background: var(--elev);
}
#screen-home .home-row1 .feed-gear svg { width: 18px; height: 18px; }
#screen-home .home-head > .feed-mode {
  margin: 0;
  background: transparent;
  border: 0;
  padding: 0;
  gap: 2px;
  align-self: flex-start;
  width: auto;
  border-radius: 0;
}
#screen-home .home-head > .feed-mode button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  padding: 4px 12px 6px;
  border-radius: 0;
  letter-spacing: 0;
  box-shadow: none;
  position: relative;
}
#screen-home .home-head > .feed-mode button.on {
  background: transparent;
  color: var(--text);
  font-weight: 800;
  box-shadow: none;
}
#screen-home .home-head > .feed-mode button.on::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}
#screen-home .league-chips {
  margin: 0;
  display: flex;
  gap: 2px;
  background: transparent;
  border: 0;
  padding: 0;
  grid-template-columns: unset;
}
#screen-home .league-chips button {
  height: auto;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05em;
  background: transparent;
  border: 0;
  color: var(--muted);
  border-radius: 7px;
  box-shadow: none;
}
#screen-home .league-chips button.on {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  color: var(--text);
  border: 0;
  font-weight: 750;
}
[data-theme="light"] #screen-home .league-chips button {
  background: transparent;
  border: 0;
  color: #5c5e56;
}
[data-theme="light"] #screen-home .league-chips button.on {
  background: rgba(20, 24, 16, 0.08);
  color: #161814;
  border: 0;
}
/* Home freshness — uses shared .fresh-btn pill (v6) */
#screen-home .trust-hint {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--faint);
  display: flex;
  gap: 8px;
  align-items: center;
}
#screen-home .trust-hint .trust-showall {
  background: none;
  border: 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
  padding: 0;
}
#screen-home .refresh-panel {
  margin-top: 6px;
}
#screen-home .section-label { margin-top: 8px; }

#screen-home .search-pill span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Home Live board ---- */
#live-board { display: none; }
body[data-feed-mode="live"] #live-board { display: block; padding: 2px 0 28px; }
body[data-feed-mode="live"] #screen-home .section-label,
body[data-feed-mode="live"] #screen-home .followed-row,
body[data-feed-mode="live"] #screen-home #feed-nba,
body[data-feed-mode="live"] #screen-home #feed-nfl,
body[data-feed-mode="live"] #screen-home #feed-cfb,
body[data-feed-mode="live"] #screen-home #feed-cbb,
body[data-feed-mode="live"] #screen-home .chips,
body[data-feed-mode="live"] #screen-home .follow-row,
body[data-feed-mode="live"] #screen-home .trust-hint,
body[data-feed-mode="live"] #screen-home .unverified-bar,
body[data-feed-mode="live"] #screen-home .vh-bar,
body[data-feed-mode="live"] #screen-home .feed-foot,
body[data-feed-mode="live"] #screen-home .verified-note,
body[data-feed-mode="live"] #screen-home .hide-note,
body[data-feed-mode="live"] #screen-home .foot-note { display: none !important; }

#screen-home .home-head > .feed-mode button { padding: 4px 10px 6px; }
#screen-home .home-head > .feed-mode button.on::after { left: 10px; right: 10px; }

.lb-sec { margin: 0 0 8px; }
.lb-sec-title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.lb-list { display: flex; flex-direction: column; gap: 6px; }
.lb-game {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 7px 12px 8px;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  box-shadow: none;
}
.lb-game:active { transform: scale(0.995); }
.lb-game.is-followed {
  background: color-mix(in srgb, var(--volt) 9%, var(--card));
  border-color: color-mix(in srgb, var(--volt) 32%, var(--line));
  box-shadow: inset 3px 0 0 var(--volt);
}
[data-theme="light"] .lb-game.is-followed {
  background: color-mix(in srgb, var(--volt) 16%, #fff);
  border-color: color-mix(in srgb, var(--volt) 40%, var(--line));
}
.lb-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  min-height: 16px;
}
.lb-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e24b4b;
}
.lb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e24b4b;
  box-shadow: 0 0 0 0 rgba(226, 75, 75, 0.55);
  animation: lb-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes lb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 75, 75, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(226, 75, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 75, 75, 0); }
}
body.shot .lb-dot {
  animation: none;
  box-shadow: 0 0 0 3px rgba(226, 75, 75, 0.38);
}
.lb-clock {
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
.lb-game.is-live .lb-clock { color: var(--text); font-weight: 700; }
.lb-you {
  margin-left: auto;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.lb-side {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 1px 0;
}
.lb-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.lb-logo-fallback {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  color: var(--muted);
  background: var(--elev);
  border-radius: 6px;
}
.lb-names { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lb-names b {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.lb-names span {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-rec { font-style: normal; font-weight: 500; color: var(--faint); margin-left: 6px; }
.lb-score {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  min-width: 1.6em;
  text-align: right;
  line-height: 1;
}
.lb-score.is-empty { visibility: hidden; }
.lb-side.is-win .lb-score,
.lb-score.is-win { color: var(--text); }
.lb-game.is-final .lb-side:not(.is-win) .lb-score { color: var(--muted); font-weight: 650; }
.lb-empty {
  padding: 22px 8px 16px;
  font-size: 15px;
  font-weight: 550;
  color: var(--muted);
  text-align: center;
}
.lb-hot { margin-top: 4px; padding-top: 2px; }
.lb-headlines { display: flex; flex-direction: column; gap: 8px; }
.lb-headline {
  display: block;
  padding: 9px 12px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.lb-headline b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lb-h-src {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

/* ============================================================
   v6 — shared quiet chrome (Home approach, every screen)
   ============================================================ */

/* ---- Get the latest (Home + Social + Live) ---- */
.fresh-wrap { margin: 0; padding: 2px 0 2px; }
.fresh-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent !important;
  border: 0 !important;
  padding: 2px 0 0 !important;
  border-radius: 0;
  min-height: 0;
}
.fresh-dots { display: none !important; }
.fresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: var(--volt);
  color: var(--volt-ink);
  border: 0;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.fresh-btn:hover { filter: brightness(1.04); }
.fresh-btn:active { transform: scale(0.98); }
.fresh-btn .fresh-ico,
.fresh-btn svg.fresh-ico {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
  transform-origin: 50% 50%;
}
.fresh-btn .fresh-label { white-space: nowrap; }
.fresh-btn.is-refreshing .fresh-ico {
  animation: fresh-spin 0.75s linear infinite;
}
.fresh-btn.is-done .fresh-ico { animation: none; }
.fresh-btn:disabled { cursor: default; }
.fresh-txt {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.3;
  color: var(--faint);
}
.fresh-txt.is-done {
  color: var(--text);
  font-weight: 700;
}
.fresh-progress {
  display: none;
  height: 2px;
  margin: 8px 0 2px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--text) 10%, transparent);
  overflow: hidden;
}
.fresh-wrap.is-refreshing .fresh-progress { display: block; }
.fresh-progress em {
  display: block;
  height: 100%;
  width: 36%;
  background: var(--volt);
  border-radius: 2px;
  animation: fresh-bar 1s ease-in-out infinite;
}
@keyframes fresh-spin { to { transform: rotate(360deg); } }
@keyframes fresh-bar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(380%); }
}
body.shot .fresh-btn.is-refreshing .fresh-ico { animation: none; transform: rotate(45deg); }
body.shot .fresh-progress em { animation: none; transform: translateX(80%); width: 40%; }
.refresh-panel { display: none !important; }

#screen-home .fresh-wrap,
#screen-social .fresh-wrap { margin: 0 0 2px; }
#screen-social .fresh-wrap { padding: 2px 0 8px; }

/* ---- Unified quiet topbar ---- */
.topbar {
  min-height: 0;
  padding: 10px 16px 8px;
  gap: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.head-left .brand-mark {
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  flex: 0 0 58px;
  white-space: nowrap;
  overflow: visible;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.screen-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.screen-title .sample-ghost { display: none !important; }
.sample-ghost { display: none !important; }

.head-back,
.topbar .theme-toggle,
.topbar .search-toggle,
.topbar .feed-gear,
.topbar .head-settings {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  border-radius: 8px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.head-back svg,
.topbar .theme-toggle svg,
.topbar .search-toggle svg { width: 18px; height: 18px; display: block; }
/* theme-toggle still swaps sun/moon */
.topbar .theme-toggle svg { display: none; }
[data-theme="dark"] .topbar .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .topbar .theme-toggle .icon-moon { display: block; }
.head-back:hover,
.topbar .theme-toggle:hover,
.topbar .search-toggle:hover,
.topbar .head-settings:hover {
  color: var(--text);
  background: var(--elev);
}

.ask-reset {
  height: 28px;
  padding: 0 10px;
  border: 0;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 750;
  border-radius: 8px;
  cursor: pointer;
}
.ask-quota {
  padding: 0 16px 8px !important;
  margin: 0;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--faint);
  background: transparent;
  border: 0;
}

/* Player header league chip — hide the heavy banner; league lives on the player */
#player-league-badge { display: none !important; }

/* ---- Underline segments (Following / Discover / Game tabs) ---- */
.feed-mode {
  margin: 0 0 8px;
  background: transparent;
  border: 0;
  padding: 0;
  gap: 2px;
  width: auto;
  border-radius: 0;
  display: flex;
  align-self: flex-start;
}
.feed-mode button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  padding: 4px 10px 6px;
  border-radius: 0;
  letter-spacing: 0;
  box-shadow: none;
  position: relative;
  cursor: pointer;
  font-family: inherit;
}
.feed-mode button.on {
  background: transparent;
  color: var(--text);
  font-weight: 800;
  box-shadow: none;
}
.feed-mode button.on::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* Quiet chips (filters, ask, player) — same as Home league chips */
.filter-wrap { margin: 0 0 6px; }
.filters, #screen-social .filters, #platform-filters .filters {
  gap: 2px;
  padding: 0 0 8px;
  background: transparent;
  border: 0;
}
.filter, .chip,
.p-tab,
.p-chip {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  padding: 5px 11px;
  border-radius: 8px;
  box-shadow: none;
  letter-spacing: 0;
}
.filter.on, .chip.on,
.p-tab.on,
.p-chip.on {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  color: var(--text);
  border: 0;
  font-weight: 750;
  box-shadow: none;
}
[data-theme="light"] .filter.on,
[data-theme="light"] .chip.on,
[data-theme="light"] .p-tab.on {
  background: rgba(20, 24, 16, 0.08);
  color: #161814;
}
.ask-cat .lab {
  color: var(--muted);
  font-weight: 750;
  letter-spacing: 0.06em;
}
.ask-cat .chip {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 650;
  border-radius: 10px;
  padding: 8px 12px;
}
.ask-home h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 6px 0 8px;
}
.ask-home .lede {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* Player / Game tabs — quiet fill, not volt capsules */
.p-tabs { gap: 2px; }
.p-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  padding: 5px 10px;
  border-radius: 8px;
}
.p-tab.on {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  color: var(--text);
  border: 0;
  font-weight: 750;
}
.p-edit-btn { color: var(--muted); font-weight: 650; }
.p-edit-btn:hover { color: var(--text); }

.game-tabs,
.game-team-toggle {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  gap: 2px;
  margin: 8px 16px 10px;
  box-shadow: none;
}
.game-tabs button,
.game-team-toggle button {
  flex: 0 1 auto;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  padding: 4px 12px 6px;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.game-tabs button.on,
.game-team-toggle button.on {
  background: transparent;
  color: var(--text);
  font-weight: 800;
  border: 0;
  box-shadow: none;
}
.game-tabs button.on::after,
.game-team-toggle button.on::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}
.game-team-toggle button {
  font-size: 13.5px;
  padding: 4px 10px 6px;
}

/* Cards stay like Home — slightly calmer borders already via --line */
.p-widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* Team / ESPN strip — no heavy red banner */
.es-strip {
  background: transparent !important;
  color: var(--muted) !important;
  border: 0 !important;
  padding: 0 0 8px !important;
  font-size: 12px;
  font-weight: 650;
}
.es-strip a, .es-strip .es-open { color: var(--text) !important; }

/* Search overlay — quiet head, Home-like field */
.search-overlay { background: var(--bg); }
.search-head {
  padding: 10px 16px 8px;
  gap: 8px;
  border: 0;
  background: transparent;
}
.search-head input {
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  font-size: 15px;
  box-shadow: none;
  padding: 0 12px;
}
.search-cancel {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  padding: 0 6px;
  cursor: pointer;
}
.search-cancel:hover { color: var(--text); }
.search-results { padding: 4px 12px calc(var(--tab-h) + 12px); }
.search-row {
  border: 0;
  border-radius: 12px;
  padding: 10px 10px;
  background: transparent;
}
.search-row:hover, .search-row:focus-visible { background: var(--elev); }
.search-row.ask-row {
  background: color-mix(in srgb, var(--volt) 12%, var(--card));
  border-radius: 12px;
}

/* My Feed / About / subscriptions — quieter section heads */
.mf-lead, .subs-lead, .subs-sum {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
}
.mf-head h3, .about-us h2 { letter-spacing: -0.02em; }
.mf-row { border-color: var(--line); }
.mf-add {
  background: transparent;
  border: 0;
  color: var(--text);
  font-weight: 750;
  font-size: 13px;
}
.settings-row { border-color: var(--line); }
.about-row {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

/* Subscriptions & about top already use cards like Home */

/* Followed-row a little tighter like Home */
#screen-social .section-label { margin: 6px 0 10px; }

/* Game topbar already quiet; share icon is search-toggle-styled */
#screen-game .topbar { padding: 10px 12px 8px; }

/* Live board cards already match */

/* Don't let leftover league-toggle banners appear in headers */
.topbar .league-toggle { display: none !important; }

/* v6 polish */
#screen-social .feed-mode,
#screen-social .scroll > .feed-mode {
  display: flex;
  width: auto;
  max-width: 100%;
  align-self: flex-start;
  margin: 2px 0 10px;
  background: transparent;
  border: 0;
  padding: 0;
  gap: 2px;
  border-radius: 0;
  box-shadow: none;
}
#screen-social .feed-mode button {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
#screen-social .unverified-bar,
#screen-social .vh-bar,
#screen-social .trust-hint {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--faint);
  box-shadow: none;
}

/* Player last-10 stats: keep inside the card */
#screen-player .p-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  overflow: hidden;
}
#screen-player .p-stats .stat {
  flex: none;
  min-width: 0;
  padding: 6px 2px 5px;
}
#screen-player .p-stats .stat b {
  font-size: 17px;
  letter-spacing: -0.03em;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
#screen-player .p-stats .stat span { font-size: 10px; }

#screen-player .p-widget {
  overflow: hidden;
}
#screen-player .p-prompts {
  margin-bottom: 2px;
}
#screen-player .p-tabs-row {
  margin-top: 2px;
}

/* Social filter chips already quiet; keep the row from looking like a banner */
#screen-social .filter-wrap {
  margin: 0 0 4px;
}


/* What's working (second welcome step) + Coming soon tags */
.welcome-card.centered.working-card {
  max-height: min(92vh, 820px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.working-card h2 { margin-bottom: 10px; }
.working-sec {
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #C5C9D4;
  margin: 16px 0 6px;
}
[data-theme="light"] .working-sec { color: #3F4538; }
.working-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.working-list li {
  font-size: 17.5px;
  line-height: 1.45;
  font-weight: 450;
  color: #F2F3F6;
  padding: 3.5px 0 3.5px 16px;
  position: relative;
}
.working-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.42;
}
[data-theme="light"] .working-list li { color: #1A1C18; }
.working-foot {
  margin: 18px 0 16px;
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 450;
  color: #D4D7DE;
}
[data-theme="light"] .working-foot { color: #3A4034; }

.soon-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  border: 0;
  border-radius: 5px;
  padding: 2px 6px;
  vertical-align: 1px;
  line-height: 1.25;
  font-family: inherit;
  white-space: nowrap;
}
.screen-title .soon-tag {
  margin-left: 8px;
  vertical-align: middle;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
}
.ideas-block h3 .soon-tag,
.lede .soon-tag,
.sub-row .soon-tag,
.acc-row .soon-tag,
.disclaimer .soon-tag,
.card-head .soon-tag {
  margin-left: 6px;
  flex-shrink: 0;
  align-self: center;
}
.p-note .soon-tag,
.foot-note .soon-tag,
.live-lab .soon-tag { margin: 0; }
.about-us .working-link { margin-top: 18px; }
.live-lab { display: flex; align-items: center; gap: 6px; }


/* My Feed add/remove + search Follow — generous tap targets, iOS clicks */
.sr-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.search-row {
  min-height: 52px;
  padding: 8px 14px 8px 18px;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sr-follow, .follow-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 40px;
  padding: 8px 14px;
  margin-top: 0;
  flex-shrink: 0;
  cursor: pointer;
}
.lp-hero .follow-btn, .team-hero .follow-btn, .team-head .follow-btn { margin-top: 14px; }
.sr-follow {
  font-size: 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.mf-add, .mf-remove {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 36px;
  min-width: 44px;
  padding: 8px 14px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
#toast { z-index: 120; pointer-events: none; }
#toast.show { pointer-events: auto; }

/* Where to watch */
.watch-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}
.watch-lab {
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  flex-shrink: 0;
}
.watch-nets {
  color: var(--text);
  font-weight: 600;
  min-width: 0;
}
.watch-line.is-empty .watch-nets {
  color: var(--muted);
  font-weight: 500;
}
.lb-game .watch-line {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  text-align: left;
  width: 100%;
}
.emb-score .watch-line { margin-top: 8px; }
.game-hero .watch-line {
  margin: 0 0 10px;
  justify-content: center;
  text-align: center;
}
.team-next { margin-top: 8px; }
.team-next .watch-line { margin-top: 4px; }

.tv-notify {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}
.tv-notify-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}
.tv-notify-copy b {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.tv-notify .switch { flex-shrink: 0; }

/* Never leave a feed as a blank screen */
.feed-empty {
  margin: 12px 0 28px;
  padding: 22px 18px;
  text-align: center;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 450;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.feed-empty p { margin: 0; color: var(--muted); }
.feed-empty[hidden] { display: none !important; }
#live-board .feed-empty { margin-top: 8px; }

/* —— Social & Player: same top bar as Home —— */
#screen-social .home-head,
#screen-player .home-head,
#screen-players .home-head {
  flex-shrink: 0;
  padding: 10px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#screen-social .home-row1,
#screen-player .home-row1,
#screen-players .home-row1 {
  display: flex;
  align-items: center;
  gap: 10px;
}
#screen-social .home-row1 .brand-mark,
#screen-player .home-row1 .brand-mark,
#screen-players .home-row1 .brand-mark {
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  flex: 0 0 58px;
  white-space: nowrap;
  overflow: visible;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
#screen-social .home-row1 .search-pill,
#screen-player .home-row1 .search-pill,
#screen-players .home-row1 .search-pill {
  flex: 1;
  min-width: 0;
  margin: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  font-size: 13.5px;
  color: var(--muted);
}
#screen-social .home-row1 .feed-gear,
#screen-social .home-row1 .theme-toggle,
#screen-social .home-row1 .head-settings,
#screen-player .home-row1 .feed-gear,
#screen-player .home-row1 .theme-toggle,
#screen-player .home-row1 .head-settings,
#screen-players .home-row1 .feed-gear,
#screen-players .home-row1 .theme-toggle,
#screen-players .home-row1 .head-settings {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  border-radius: 8px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#screen-social .home-row1 .head-settings:hover,
#screen-player .home-row1 .head-settings:hover,
#screen-social .home-row1 .theme-toggle:hover,
#screen-player .home-row1 .theme-toggle:hover,
#screen-players .home-row1 .head-settings:hover,
#screen-players .home-row1 .theme-toggle:hover {
  color: var(--text);
  background: var(--elev);
}
#screen-social .home-row1 .head-settings svg,
#screen-player .home-row1 .head-settings svg,
#screen-players .home-row1 .head-settings svg {
  width: 20px;
  height: 20px;
  display: block;
}
#screen-social .home-row1 .filter-btn,
#screen-social .home-head .filter-btn {
  width: auto !important;
  min-width: 0;
  height: 36px;
  padding: 0 10px !important;
  gap: 5px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: visible;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
#screen-social .home-row1 .filter-btn svg {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
}
#screen-social .home-row1 .filter-btn span {
  line-height: 1;
  white-space: nowrap;
}
#screen-social .home-row1 .filter-btn.has-filters,
#screen-social .filter-open.filter-btn.has-filters {
  border-color: var(--volt);
  color: var(--volt);
}
#screen-social .home-head > .feed-mode,
#screen-player .home-head > .feed-mode,
#screen-players .home-head > .feed-mode {
  margin: 2px 0 0;
}
#screen-social .home-head .fresh-wrap,
#screen-player .home-head .fresh-wrap,
#screen-players .home-head .fresh-wrap {
  margin: 0;
  padding: 0;
}
#screen-social .home-head .league-chips,
#screen-player .home-head .league-chips,
#screen-players .home-head .league-chips {
  margin: 0;
}
/* Don't hide writers when Discover is on — they're how you find people. */
body[data-feed-mode="discover"] #screen-social .creator {
  display: flex !important;
}
body[data-feed-mode="discover"] #screen-social .creators-lab,
body[data-feed-mode="live"] #screen-social .creators-lab {
  display: block !important;
}

/* —— Social posts: readable first —— */
#screen-social .soc-scroll {
  padding: 4px 0 28px;
}
#social-creators {
  padding: 4px 16px 10px;
}
.creators-lab {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 2px 0 8px;
  padding: 0 16px;
}
#social-creators .creators-lab { padding: 0; }
.creators-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px 6px;
  margin: 0 -4px;
}
.creators-row::-webkit-scrollbar { display: none; }
#screen-social .creator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 68px;
  max-width: 80px;
  padding: 6px 4px 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  border-radius: 12px;
}
#screen-social .creator.on {
  background: var(--elev);
  box-shadow: inset 0 0 0 1px var(--line);
}
#screen-social .creator .name {
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.av {
  border-radius: 50%;
  overflow: hidden;
  background: var(--elev);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text);
  font-weight: 750;
}
.av .hs { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-creator { width: 52px; height: 52px; font-size: 15px; border: 2px solid var(--line); }
.creator.on .av-creator { border-color: var(--text); }
.av-post, .av-player { width: 44px; height: 44px; font-size: 14px; }
.av-fallback { background: var(--card); border: 1px solid var(--line); }
.creators-hint {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  padding: 4px 0;
}

.soc-filter-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 16px 10px;
  padding: 8px 12px;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 650;
}
.soc-clear {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
  text-decoration: underline;
}

.soc-post {
  display: flex;
  gap: 12px;
  padding: 14px 16px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.soc-main { flex: 1; min-width: 0; }
.soc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.soc-who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 7px;
  min-width: 0;
  line-height: 1.3;
}
.soc-name { font-size: 15px; font-weight: 760; }
.soc-handle { font-size: 13px; color: var(--muted); font-weight: 500; }
.soc-time { font-size: 12.5px; color: var(--muted); }
.soc-time::before { content: "· "; }
.soc-text {
  margin: 8px 0 8px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 450;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.soc-open {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  text-decoration: none;
}
.soc-open:hover { color: var(--text); text-decoration: underline; }
.soc-post .bfly { color: #1185fe; position: relative; top: 1px; }
.soc-follow {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 750;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.soc-follow:hover { background: var(--elev); }
.soc-empty {
  margin: 20px 16px;
  padding: 28px 18px;
  text-align: center;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.soc-empty b { display: block; font-size: 16px; margin-bottom: 6px; }
.soc-empty span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* —— Player feed cards —— */
#player-feed { padding: 4px 0 28px; }
.pf-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px 15px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  color: var(--text);
}
.pf-card:hover { background: var(--elev); }
.pf-main { flex: 1; min-width: 0; }
.pf-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pf-name { font-size: 16px; font-weight: 760; display: block; }
.pf-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pf-game {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.pf-game b { color: var(--text); font-weight: 750; }
.pf-game.is-live { color: #ff5a5a; }
.pf-game.is-live b { color: var(--text); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff5a5a;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.22);
  display: inline-block;
}
.pf-news {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.4;
}
.pf-news.is-muted { color: var(--muted); font-size: 13.5px; }

/* —— Where to watch, geo lines —— */
.watch-nets {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}
.watch-net { display: block; line-height: 1.35; }
.watch-national { font-weight: 700; }
.watch-in, .watch-edge-in { font-weight: 650; }
.watch-out, .watch-edge-out { }
.watch-blackout { font-size: 12px; color: var(--muted); font-weight: 500; }
.watch-needs-zip { color: var(--muted); }
.watch-zip-btn {
  margin-top: 4px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* —— Zip prompt (same quiet card as welcome) —— */
.zip-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px calc(16px + var(--sab, env(safe-area-inset-bottom, 0px)));
}
.zip-overlay.hidden { display: none; }
.zip-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 18px;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.zip-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.02em;
}
.zip-card p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
}
.zip-card input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.12em;
  padding: 0 14px;
  margin: 0 0 8px;
}
.zip-err {
  min-height: 18px;
  font-size: 13px;
  color: #ff6b6b;
  margin: 0 0 10px;
}
.zip-actions { display: flex; flex-direction: column; gap: 8px; }
.zip-actions .welcome-go,
#zip-save {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: #D8FF3E;
  color: #15180A;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}
#zip-later {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card-2, #262B36);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}
#mf-zip-label,
.zip-editor-label { display: flex; flex-direction: column; gap: 2px; }
#mf-zip-label b,
.zip-editor-label b { font-size: 15px; }
#mf-zip-label span,
.zip-editor-label span { font-size: 13px; color: var(--muted); font-weight: 500; }
#mf-zip-edit,
.zip-editor-btn,
#st-zip-edit {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Language select in My Feed — same pill as the zip editor button. */
.mf-lang-select {
  border: 1px solid var(--line);
  background-color: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  padding: 6px 28px 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1.2 1.2L6 6l4.8-4.8' stroke='%23888' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 7px;
  max-width: 48%;
}
.mf-lang-select:focus {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

/* Writers you follow: label above the row, not beside it */
#social-creators.creators,
#screen-social .creators {
  display: block;
  overflow: visible;
}
#social-creators .creators-row {
  display: flex;
}

/* Welcome optional pick */
#welcome-step-2 { text-align: left; }
#welcome-step-2 h2 { text-align: center; }
#welcome-step-2 .welcome-body { text-align: left; }
.welcome-teams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 16px;
}
.welcome-teams button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
}
.welcome-teams button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.welcome-teams button.on {
  border-color: var(--text);
  box-shadow: inset 0 0 0 1px var(--text);
  background: var(--card);
}
.welcome-zip-lab {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin: 4px 0 6px;
}
.welcome-zip-lab span { font-weight: 500; color: var(--muted); }
#welcome-zip {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.12em;
  padding: 0 14px;
  margin: 0 0 6px;
  box-sizing: border-box;
}
#welcome-save { margin-top: 8px; }

/* Box score: players in this game */
.game-players { margin: 12px 0 4px; }
.game-players-lab {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 8px;
}
.game-players-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0 6px;
}
.game-players-row::-webkit-scrollbar { display: none; }
.game-player {
  flex: 0 0 auto;
  width: 76px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  font: inherit;
  border-radius: 12px;
  padding: 8px 6px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.game-player img, .game-player .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.game-player b {
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-player span {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Player feed watch line sits under the game row */
#player-feed .watch-line {
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border: 0;
}
#player-feed .pf-upcoming { cursor: default; }

.lb-game.is-followed { box-shadow: inset 3px 0 0 currentColor; }


/* Social: More/Less controls and See more / See less */
#social-feed .soc-ctrls,
#screen-social .soc-ctrls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
#social-feed .soc-ctrls .fc-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
/* Keep +/− clearly separate from any like or open-on-Bluesky treatment */
#social-feed .soc-ctrls .fc-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--volt);
  color: var(--volt-ink);
  border: 0;
}
#social-feed .soc-ctrls .fc-minus {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  border: 1.6px solid var(--line-2);
}
.soc-text.is-clip {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  white-space: normal;
}
button.soc-seemore {
  display: inline-block;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.4;
}
button.soc-seemore:hover,
button.soc-seemore:focus-visible {
  color: var(--text);
  text-decoration: underline;
}


/* Welcome 3-step onboarding */
#welcome-step-2,
#welcome-step-3 {
  text-align: left;
}
#welcome-step-2 h2,
#welcome-step-3 h2 { text-align: center; }
.welcome-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 0 0 16px;
}
.welcome-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: block;
}
.welcome-dots span.on {
  background: var(--volt);
  width: 18px;
  border-radius: 99px;
}
[data-theme="light"] .welcome-dots span { background: rgba(20,24,16,0.18); }
[data-theme="light"] .welcome-dots span.on { background: var(--volt); }
.welcome-inside {
  list-style: none;
  margin: 4px 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.welcome-inside li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.welcome-inside .wi-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--elev);
  color: var(--volt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-inside b {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: var(--text);
}
.welcome-inside span {
  display: block;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 450;
}
.welcome-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 12px;
}
.welcome-back {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  padding: 8px 0;
  text-decoration: underline;
}
.welcome-back:hover { color: var(--text); }
.welcome-body-sm {
  font-size: 14.5px !important;
  line-height: 1.4 !important;
  margin-bottom: 12px !important;
  color: var(--muted) !important;
}
#welcome-step-3 {
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 740px);
  overflow: hidden;
  padding-bottom: 18px;
}
#welcome-step-3.welcome-card.centered {
  overflow: hidden;
  max-height: min(88vh, 740px);
}
.welcome-search-wrap {
  position: relative;
  margin: 4px 0 8px;
}
#welcome-search {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 550;
  padding: 0 14px;
  box-sizing: border-box;
}
#welcome-search::placeholder { color: var(--faint, var(--muted)); font-weight: 450; letter-spacing: 0; }
.welcome-search-results {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 4px);
  z-index: 5;
  background: #161A22;
  border: 1px solid var(--line);
  border-radius: 12px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  padding: 6px 0;
}
[data-theme="light"] .welcome-search-results { background: #fff; }
.welcome-sr-lab {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px 4px;
}
.welcome-sr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
}
.welcome-sr-row:hover { background: var(--elev); }
.welcome-sr-row.on { box-shadow: inset 3px 0 0 var(--volt); }
.welcome-sr-row .sr-logo, .welcome-sr-row img.sr-logo {
  width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; border-radius: 50%;
}
.welcome-sr-row .sr-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--elev); display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; flex-shrink: 0;
}
.welcome-sr-row .sr-name { font-size: 14px; font-weight: 700; }
.welcome-sr-row .sr-sub { font-size: 12px; color: var(--muted); }
.welcome-search-status {
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.welcome-picked-bar {
  font-size: 13px;
  font-weight: 750;
  color: var(--text);
  margin: 2px 0 8px;
}
.welcome-picked-bar.is-empty { color: var(--muted); font-weight: 600; }
.welcome-leagues {
  display: flex;
  gap: 4px;
  margin: 0 0 8px;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
}
.welcome-leagues button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 750;
  padding: 7px 0;
  border-radius: 8px;
  cursor: pointer;
}
.welcome-leagues button.on {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.welcome-pick-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 108px;
  margin: 0 0 8px;
  -webkit-overflow-scrolling: touch;
}
.welcome-pick-foot { flex-shrink: 0; }
#welcome-step-3 .welcome-teams {
  margin: 0 0 4px;
}
.welcome-teams .welcome-player-chip img {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
}

/* ===== Home is a scores-first daily overview (no Following/Discover/Live) ===== */
/* feed-mode restored — styled at end */
#screen-home #live-board,
#screen-home #feed-nba,
#screen-home #feed-nfl,
#screen-home #feed-cfb,
#screen-home #feed-cbb,
#screen-home .followed-row,
#screen-home .section-label,
#screen-home .trust-hint,
#screen-home .unverified-bar,
#screen-home .vh-bar,
#screen-home .feed-foot,
#screen-home .verified-note,
#screen-home .hide-note,
#screen-home .foot-note,
#screen-home .chips,
#screen-home .follow-row { display: none !important; }
body[data-feed-mode="live"] #live-board { display: none !important; }

.tab.tab-social span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  max-width: none;
  white-space: normal;
}

.filter-open { position: relative; }
.filter-open.has-filters { border-color: var(--volt); color: var(--volt); }
.fs-btn-count {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 15px; height: 15px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--volt);
  color: var(--volt-ink);
  font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

/* Filter sheet */
.filter-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.filter-sheet.hidden { display: none; }
.fs-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
}
.fs-panel {
  position: relative;
  background: var(--bg-2, var(--bg));
  border-top: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  padding: 8px 16px calc(18px + var(--sab, env(safe-area-inset-bottom, 0px)));
  max-height: 82vh;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.fs-scroll {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.fs-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: var(--line); margin: 4px auto 10px;
}
.fs-head h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.fs-top {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 14px 14px;
  margin: 0 0 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.fs-top.open { border-color: var(--text); }
.fs-top.has-count { }
.fs-top::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  margin-left: 6px;
  transition: transform .15s;
  flex-shrink: 0;
}
.fs-top.open::after { transform: rotate(-135deg); margin-top: 4px; }
.fs-count {
  margin-left: auto;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--volt);
  color: var(--volt-ink);
  font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.fs-count[hidden] { display: none; }
.fs-drop {
  margin: -2px 0 10px;
  padding: 6px 4px 8px;
}
.fs-drop.hidden { display: none; }
.fs-row {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 10px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.fs-row:last-child { border-bottom: 0; }
.fs-check {
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--line);
  background: var(--card);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
  color: var(--volt-ink);
}
.fs-check.on { background: var(--volt); border-color: var(--volt); }
.fs-lab { flex: 1; }
.fs-sub { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.fs-empty { font-size: 13.5px; color: var(--muted); padding: 8px 6px 12px; line-height: 1.45; margin: 0; }
.fs-group-lab {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin: 10px 4px 8px;
}
.fs-pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 2px 4px; }
.fs-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.fs-pill.on { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.fs-actions {
  display: flex; gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  flex-shrink: 0;
  background: var(--bg-2, var(--bg));
}
.fs-reset, .fs-done {
  flex: 1;
  padding: 13px 14px;
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}
.fs-reset {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.fs-done {
  background: var(--volt);
  color: var(--volt-ink);
  border: 1px solid var(--volt);
}

/* Home daily cards */
.home-daily { padding: 2px 0 28px; }
.hd-sec-lab {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 10px;
}
.hd-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  margin: 0 0 12px;
  overflow: hidden;
  cursor: default;
}
.hd-card .hd-head,
.hd-card .hd-hit {
  display: flex; align-items: flex-start; gap: 10px;
  width: 100%; border: 0; background: transparent;
  color: var(--text); font: inherit; text-align: left;
  cursor: pointer;
}
.hd-card .hd-head {
  align-items: center;
  padding: 12px 14px;
  min-height: 58px;
}
.hd-card .hd-hit {
  border-top: 1px solid var(--line);
  padding: 11px 14px;
  min-height: 52px;
}
.hd-card .hd-head:active, .hd-card .hd-head.is-pressed,
.hd-card .hd-hit:active, .hd-card .hd-hit.is-pressed {
  background: var(--card-2);
}
.hd-card .hd-hit .hd-meta-lab {
  flex-shrink: 0; width: 44px; padding-top: 2px; margin: 0;
}
.hd-card .hd-hit .hd-hit-body { flex: 1; min-width: 0; font-size: 14px; font-weight: 650; line-height: 1.35; }
.hd-card .hd-hit .hd-tv-line { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.hd-match { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hd-mside { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.hd-mside .hd-who b { font-size: 15px; }
.hd-match-mid { flex-shrink: 0; color: var(--muted); font-size: 12px; font-weight: 800; padding: 0 2px; }
.hd-at { text-transform: lowercase; }
.hd-top { display: flex; align-items: center; gap: 10px; margin-bottom: 0; }
.hd-logo {
  width: 32px; height: 32px; object-fit: contain;
  flex-shrink: 0;
}
.hd-logo.hd-fallback, span.hd-fallback {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--card-2, var(--elev));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--muted);
}
.hd-who b { display: block; font-size: 17px; font-weight: 750; letter-spacing: -0.02em; }
.hd-who span { font-size: 12px; color: var(--muted); font-weight: 650; }
.hd-scoreline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px;
  margin: 0 0 10px;
  font-size: 14px;
}
.hd-scoreline .hd-logo { width: 22px; height: 22px; }
.hd-vs { font-weight: 700; }
.hd-score { font-family: var(--display, inherit); font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
.hd-dash { color: var(--muted); font-weight: 600; }
.hd-status { color: var(--muted); font-size: 12.5px; font-weight: 700; margin-left: auto; }
.hd-live {
  background: var(--coral, #e25b4c);
  color: #fff;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 99px;
}
.hd-res { font-size: 12px; font-weight: 800; }
.hd-res.w { color: var(--mint); }
.hd-res.l { color: var(--coral); }
.hd-none { color: var(--muted); font-size: 13.5px; }
.hd-catch {
  font-size: 13.5px; line-height: 1.45;
  margin: 4px 0 8px; color: var(--text);
}
.hd-box {
  background: none; border: 0; padding: 0;
  font: inherit; font-size: 13.5px; font-weight: 750;
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hd-next, .hd-inj {
  display: flex; gap: 8px;
  font-size: 13px; line-height: 1.4;
  margin-top: 6px;
  color: var(--text);
}
.hd-next-lab, .hd-inj-lab {
  flex-shrink: 0;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  width: 58px;
  padding-top: 1px;
}
.hd-empty { padding: 22px 8px 16px; }
.hd-empty .v15-add-follows { margin-top: 14px; }
.hd-empty b { display: block; font-size: 16px; margin-bottom: 6px; }
.hd-empty span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.hd-stories { margin: 18px 0 8px; }
.hd-stories-head { margin: 0 0 10px; }
.hd-stories-head h3 {
  margin: 0;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.hd-story {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 8px;
  color: inherit;
  text-decoration: none;
}
.hd-story-by { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.hd-story b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.hd-seeall {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 12px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.hd-empty-s { color: var(--muted); font-size: 13.5px; margin: 0 0 10px; }

/* Social & News article cards */
.soc-article .soc-headline {
  margin: 2px 0 6px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.soc-article .av-outlet {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--card-2, var(--elev));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
}
.soc-also {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
}
#screen-social .filter-wrap,
#screen-social #filter-groups,
#screen-social #filter-subchips,
#screen-social #platform-filters { display: none !important; }


/* Social v3: hide leftover modes; Substack, YouTube, Breaking, You might like, Add search */
/* social feed-mode restored — styled at end */
#social-creators { display: none !important; }

.soc-plat {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.soc-breaking-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 99px;
  background: var(--coral, #e25b4c);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.soc-tags {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 4px;
  vertical-align: middle;
}
.soc-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--muted) 18%, transparent);
  color: var(--muted);
}
.soc-tag-new {
  background: color-mix(in srgb, var(--volt, #c8f542) 22%, transparent);
  color: var(--volt-ink, var(--text));
}
.soc-tag-fan {
  background: color-mix(in srgb, var(--muted) 18%, transparent);
  color: var(--muted);
}
.soc-tag-pod {
  background: color-mix(in srgb, var(--volt, #c8f542) 18%, transparent);
  color: var(--text);
}
.soc-why {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}
.soc-breaking {
  border-color: color-mix(in srgb, var(--coral, #e25b4c) 45%, var(--line));
}
.soc-video { display: block; }
.soc-video .soc-video-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.soc-thumb {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-2, var(--elev));
  aspect-ratio: 16 / 9;
}
.soc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.soc-video .soc-headline,
.soc-substack .soc-headline {
  margin: 2px 0 6px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.yml-row {
  margin: 6px 0 14px;
  padding: 12px 12px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.yml-lab {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.yml-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.yml-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 8px 8px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-2, var(--elev));
}
.av-yml {
  width: 26px; height: 26px; border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--elev);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.yml-name {
  font-size: 13px;
  font-weight: 700;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yml-follow {
  margin-left: 2px;
}

.fs-add { margin: 2px 2px 10px; position: relative; }
.fs-add-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
}
.fs-add-input:focus { outline: 2px solid var(--volt); outline-offset: 1px; }
.fs-add-results {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-2, var(--elev));
  overflow: hidden;
}
.fs-add-status {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
}
.filter-open { position: relative; }
.filter-open.has-filters { }
.fs-btn-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--volt);
  color: var(--volt-ink);
  font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

.soc-loading { padding: 28px 12px 24px; }
.soc-loading b { display: block; font-size: 16px; margin-bottom: 6px; }
.soc-loading span { color: var(--muted); font-size: 13.5px; }

.head-settings {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  border-radius: 8px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
}
.head-settings svg { width: 20px; height: 20px; display: block; }
.head-settings:hover { color: var(--text); background: var(--elev); }

#screen-accounts .st-prefs { margin-top: 4px; }
#screen-accounts .st-prefs .settings-row { padding: 12px 0; }
#screen-accounts .subs-lead { margin-top: 16px; }

/* ===== v30: Following / Discover / Live — one small segmented toggle ===== */
#screen-home .home-head > .feed-mode,
#screen-social .home-head > .feed-mode,
#screen-player .home-head > .feed-mode,
#screen-home > .home-head > .feed-mode,
#screen-players .home-head > .feed-mode {
  display: flex !important;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  margin: 0;
  padding: 2px;
  gap: 2px;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}
#screen-home .home-head > .feed-mode button,
#screen-social .home-head > .feed-mode button,
#screen-player .home-head > .feed-mode button,
#screen-players .home-head > .feed-mode button {
  flex: 1;
  width: auto;
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 8px;
  letter-spacing: 0;
  position: relative;
  cursor: pointer;
}
#screen-home .home-head > .feed-mode button.on,
#screen-social .home-head > .feed-mode button.on,
#screen-player .home-head > .feed-mode button.on,
#screen-players .home-head > .feed-mode button.on {
  background: var(--card);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(0,0,0,0.16);
  border: 0;
}
#screen-home .home-head > .feed-mode button.on::after,
#screen-social .home-head > .feed-mode button.on::after,
#screen-player .home-head > .feed-mode button.on::after,
#screen-players .home-head > .feed-mode button.on::after {
  display: none;
}

/* Get the latest progress panel (restored, compact) */
#screen-home .refresh-panel,
#screen-social .refresh-panel,
#screen-player .refresh-panel,
#screen-players .refresh-panel {
  display: flex !important;
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px 10px;
  margin: 6px 0 4px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
}
#screen-home .refresh-panel.hidden,
#screen-social .refresh-panel.hidden,
#screen-player .refresh-panel.hidden,
#screen-players .refresh-panel.hidden {
  display: none !important;
}
.refresh-head { display: flex; align-items: center; justify-content: space-between; }
.refresh-head b { font-size: 13px; font-weight: 800; }
.r-src { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; }
.r-src .nm { flex: 1; }
.r-src .st { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.r-dot { width: 7px; height: 7px; border-radius: 4px; flex-shrink: 0; }
.r-dot.d-yt { background: #FF0000; }
.r-mark { width: 16px; height: 16px; border-radius: 8px; border: 2px solid var(--line); flex-shrink: 0; box-sizing: border-box; }
.r-src.done .r-mark { border: 0; background: var(--mint, #3FA86A); display: flex; align-items: center; justify-content: center; }
.r-src.done .r-mark svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.r-src.check .r-mark { border: 2.5px solid var(--line); border-top-color: var(--volt); animation: spin 0.7s linear infinite; }
.refresh-bar { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.refresh-bar em { display: block; height: 3px; width: 0; border-radius: 2px; background: var(--volt); transition: width .35s ease; }

/* Home / Social live & discover cards */
.hd-game {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 0 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.hd-game .hd-game-sides { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hd-game .hd-g-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.hd-game .hd-g-row b { margin-left: auto; font-size: 16px; font-weight: 800; }
.hd-game .hd-logo { width: 22px; height: 22px; border-radius: 4px; object-fit: contain; flex-shrink: 0; }
.hd-game .hd-g-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.hd-game .hd-status { font-size: 11.5px; font-weight: 650; color: var(--muted); }
.soc-games { padding: 4px 16px 10px; display: flex; flex-direction: column; gap: 6px; }
.soc-games-lab, .hd-sec-lab { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 8px 0 6px; }
.soc-games { margin: 0 0 8px; }
.soc-game { cursor: pointer; }

/* ===== v32: light-mode contrast (WCAG AA) + full-screen search ===== */

/* --- Search: solid full-screen panel above the header, both themes --- */
#search-overlay.search-overlay,
.search-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: var(--bg);
  opacity: 1;
  padding: 0;
}
[data-theme="light"] #search-overlay.search-overlay,
[data-theme="light"] .search-overlay,
[data-theme="dark"] #search-overlay.search-overlay,
[data-theme="dark"] .search-overlay {
  background: var(--bg) !important;
  opacity: 1;
}
#search-overlay.search-overlay.hidden,
.search-overlay.hidden { display: none !important; }

/* Keep the device chrome (time, island, icons) above the panel.
   Search-head padding already clears --safe-top, so Cancel sits below it. */
#app > .statusbar {
  z-index: 110;
  background: var(--bg);
}

#search-overlay .search-head,
.search-overlay .search-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  /* Sit below the fake status bar (and real safe area on device). */
  padding: calc(var(--safe-top, 54px) + 8px) 16px 12px;
  background: var(--bg);
  border-bottom: 1.5px solid var(--line-2);
  position: relative;
  z-index: 1;
}
#search-overlay .search-head input,
.search-overlay .search-head input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--line-2);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 0 14px;
  box-shadow: none;
}
#search-overlay .search-cancel,
.search-overlay .search-cancel {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 4px 8px 2px;
  cursor: pointer;
}
#search-overlay .search-results,
.search-overlay .search-results {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: var(--bg);
  padding: 8px 16px calc(var(--tab-h, 88px) + 16px);
}
#search-overlay .search-hint,
.search-overlay .search-hint {
  padding: 14px 4px 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  background: transparent;
}
[data-theme="light"] #search-overlay .search-head input {
  background: #fff;
  color: #161814;
  border-color: #6E7268;
}
[data-theme="light"] #search-overlay .search-cancel { color: #161814; }
[data-theme="light"] #search-overlay .search-hint { color: #3F4538; }

/* --- Filter pill --- */
[data-theme="light"] #screen-social .home-row1 .filter-btn,
[data-theme="light"] #screen-social .home-head .filter-btn,
[data-theme="light"] #screen-social .filter-open.filter-btn {
  background: #fff;
  color: #161814;
  border: 1.5px solid #5C5E56;
}
[data-theme="light"] #screen-social .home-row1 .filter-btn.has-filters,
[data-theme="light"] #screen-social .filter-open.filter-btn.has-filters {
  background: var(--volt);
  color: #15180A;
  border-color: #2F5E00;
}
[data-theme="light"] .fs-btn-count {
  background: var(--volt);
  color: #15180A;
  border: 1px solid #2F5E00;
}

/* --- Filter sheet --- */
[data-theme="light"] .fs-panel {
  background: #F7F7F4;
  color: #161814;
  border-top: 1.5px solid #6E7268;
}
[data-theme="light"] .fs-head h2 { color: #161814; }
[data-theme="light"] .fs-handle { background: #8B8E82; }
[data-theme="light"] .fs-top {
  background: #fff;
  color: #161814;
  border: 1.5px solid #6E7268;
}
[data-theme="light"] .fs-top.open { border-color: #161814; }
[data-theme="light"] .fs-top::after { border-color: #3F4538; }
[data-theme="light"] .fs-count {
  background: var(--volt);
  color: #15180A;
  border: 1px solid #2F5E00;
  font-weight: 800;
}
[data-theme="light"] .fs-row {
  color: #161814;
  border-bottom-color: #C5C7BE;
  background: transparent;
}
[data-theme="light"] .fs-lab { color: #161814; }
[data-theme="light"] .fs-sub,
[data-theme="light"] .fs-group-lab,
[data-theme="light"] .fs-empty { color: #3F4538; }
[data-theme="light"] .fs-check {
  border: 2px solid #3F4538;
  background: #fff;
  color: #15180A;
}
[data-theme="light"] .fs-check.on {
  background: var(--volt);
  border-color: #2F5E00;
}
[data-theme="light"] .fs-pill {
  background: #fff;
  color: #161814;
  border: 1.5px solid #6E7268;
}
[data-theme="light"] .fs-pill.on {
  background: var(--volt);
  color: #15180A;
  border-color: #2F5E00;
}
[data-theme="light"] .fs-actions { background: #F7F7F4; }
[data-theme="light"] .fs-reset {
  background: #fff;
  color: #161814;
  border: 1.5px solid #3F4538;
}
[data-theme="light"] .fs-done {
  background: var(--volt);
  color: #15180A;
  border: 1.5px solid #2F5E00;
}
[data-theme="light"] .fs-add-input {
  background: #fff;
  color: #161814;
  border: 1.5px solid #6E7268;
}
[data-theme="light"] .fs-add-results {
  background: #fff;
  border-color: #6E7268;
}
[data-theme="light"] .fs-add-status { color: #3F4538; }

/* --- Following / Discover / Live toggle --- */
[data-theme="light"] #screen-home .home-head > .feed-mode,
[data-theme="light"] #screen-social .home-head > .feed-mode,
[data-theme="light"] #screen-player .home-head > .feed-mode,
[data-theme="light"] #screen-home > .home-head > .feed-mode {
  background: #fff;
  border: 1.5px solid #6E7268;
}
[data-theme="light"] #screen-home .home-head > .feed-mode button,
[data-theme="light"] #screen-social .home-head > .feed-mode button,
[data-theme="light"] #screen-player .home-head > .feed-mode button {
  color: #3F4538;
  background: transparent;
}
[data-theme="light"] #screen-home .home-head > .feed-mode button.on,
[data-theme="light"] #screen-social .home-head > .feed-mode button.on,
[data-theme="light"] #screen-player .home-head > .feed-mode button.on {
  background: var(--volt);
  color: #15180A;
  box-shadow: none;
  font-weight: 800;
}

/* --- League chips (all content tabs, including Home) --- */
[data-theme="light"] .league-chips button,
[data-theme="light"] #screen-home .league-chips button,
[data-theme="light"] #screen-social .league-chips button,
[data-theme="light"] #screen-player .league-chips button,
[data-theme="light"] #screen-players .league-chips button {
  background: #fff;
  color: #161814;
  border: 1.5px solid #6E7268;
  box-shadow: none;
}
[data-theme="light"] .league-chips button.on,
[data-theme="light"] #screen-home .league-chips button.on,
[data-theme="light"] #screen-social .league-chips button.on,
[data-theme="light"] #screen-player .league-chips button.on,
[data-theme="light"] #screen-players .league-chips button.on {
  background: var(--volt);
  color: #15180A;
  border-color: #2F5E00;
  font-weight: 800;
}

/* --- Get the latest panel --- */
[data-theme="light"] #screen-home .refresh-panel,
[data-theme="light"] #screen-social .refresh-panel,
[data-theme="light"] #screen-player .refresh-panel,
[data-theme="light"] .refresh-panel {
  background: #fff;
  border: 1.5px solid #6E7268;
  color: #161814;
}
[data-theme="light"] .refresh-head b { color: #161814; }
[data-theme="light"] .r-src { color: #161814; }
[data-theme="light"] .r-src .st { color: #3F4538; }
[data-theme="light"] .r-mark { border-color: #6E7268; }
[data-theme="light"] .r-src.check .r-mark {
  border-color: #C5C7BE;
  border-top-color: #2F5E00;
}
[data-theme="light"] .r-src.done .r-mark { background: #0F6B3A; border: 0; }
[data-theme="light"] .refresh-bar { background: #E0E1DA; }
[data-theme="light"] .fresh-txt { color: #3F4538; }
[data-theme="light"] .new-pill {
  background: var(--volt);
  color: #15180A;
}

/* ===== v47: My Feed / Discover / Live subtitle, source-type filter, Sources in My Feed, unified search ===== */
.fm-sub {
  margin: -2px 2px 0;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#screen-social .home-head > .fm-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 2px 0 0;
}
#screen-social .home-head > .fm-row > .feed-mode {
  display: flex !important;
  align-self: stretch;
  width: auto;
  max-width: none;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 2px;
  gap: 2px;
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}
#screen-social .home-head > .fm-row > .feed-mode button {
  flex: 1;
  width: auto;
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 6px;
  border-radius: 8px;
  letter-spacing: 0;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}
#screen-social .home-head > .fm-row > .feed-mode button.on {
  background: var(--card);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(0,0,0,0.16);
}
#screen-social .home-head > .fm-row > .feed-mode button.on::after { display: none; }
.src-type-wrap { position: relative; flex-shrink: 0; display: flex; }
.src-type-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  height: auto;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.src-type-btn svg { width: 16px; height: 16px; display: block; flex-shrink: 0; }
.src-type-btn[aria-expanded="true"] { border-color: var(--volt); }
.src-type-btn.is-active { border-color: var(--volt); color: var(--text); }
.src-type-btn .stb-label { white-space: nowrap; }
.src-type-btn .stb-label[hidden] { display: none; }
.src-type-btn .stb-dot {
  display: none;
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 2px var(--bg);
}
.src-type-btn.is-active .stb-dot { display: block; }
.src-type-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  width: 244px;
  padding: 6px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.src-type-menu[hidden] { display: none; }
.src-type-menu .sto {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 6px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.src-type-menu .sto:hover, .src-type-menu .sto:focus-visible { background: var(--elev); }
.src-type-menu .sto-check {
  width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 5px;
  border: 1.5px solid var(--line-2, var(--line));
  display: inline-flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 12px; font-weight: 900;
}
.src-type-menu .sto.on .sto-check { background: var(--volt); border-color: var(--volt); color: var(--volt-ink, #15180A); }
.src-type-menu .sto.on .sto-check::before { content: "✓"; }
.src-type-menu .sto-lab { flex: 1; min-width: 0; white-space: nowrap; }
.src-type-menu .sto-hint { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.src-type-menu .sto.is-empty { cursor: default; }
.src-type-menu .sto.is-empty .sto-lab, .src-type-menu .sto.is-empty .sto-check { opacity: 0.38; }
.src-type-menu .sto.is-empty:hover { background: transparent; }
.soc-empty .src-type-reset {
  margin-top: 12px;
  align-self: center;
  border: 0;
  border-radius: 999px;
  background: var(--volt);
  color: var(--volt-ink, #15180A);
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  padding: 9px 16px;
  cursor: pointer;
}

/* Source type tags */
.src-tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
}
.src-tag.t-social { background: rgba(32,139,254,0.18); color: #7FBBFF; }
.src-tag.t-substack { background: rgba(255,103,25,0.18); color: #FFA36E; }
.src-tag.t-podcasts { background: rgba(216,255,62,0.16); color: #D8FF3E; }
.src-tag.t-youtube { background: rgba(255,59,59,0.18); color: #FF8A8A; }
.src-tag.t-news { background: rgba(255,255,255,0.10); color: var(--muted); }
[data-theme="light"] .src-tag.t-social { background: #DCEBFF; color: #0B4FA8; }
[data-theme="light"] .src-tag.t-substack { background: #FFE6D6; color: #9A3A05; }
[data-theme="light"] .src-tag.t-podcasts { background: #EEF8C8; color: #3D5200; }
[data-theme="light"] .src-tag.t-youtube { background: #FFE0E0; color: #A3141A; }
[data-theme="light"] .src-tag.t-news { background: #ECEDE7; color: #3F4538; }

/* My Feed → Sources */
.mf-note { margin: -2px 0 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.mf-src-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  margin: 0 0 6px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--elev);
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}
.mf-src-search svg { width: 16px; height: 16px; flex-shrink: 0; }
.mf-src-search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 2px;
  font-size: 12px;
}
.mf-subhead b { font-weight: 800; color: var(--text); letter-spacing: 0.02em; }
.mf-subhead span { color: var(--muted); font-weight: 600; }
.mf-src-row .mf-src-main { flex: 1; min-width: 0; }
.mf-src-row .nm { font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-src-row .sub { display: flex; align-items: center; gap: 6px; min-width: 0; margin-top: 2px; font-size: 12px; color: var(--muted); }
.mf-src-row .mf-src-detail { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mf-src-row .mf-av { position: relative; }
.mf-src-row .mf-av img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mf-src-acts { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mf-mini {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 5px 4px;
  cursor: pointer;
}
.mf-mini:hover { color: var(--coral, #FF6B5B); }
.mf-follow {
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--volt-ink, #15180A);
  background: var(--volt);
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.mf-src-row.is-muted .nm { color: var(--muted); }
#mf-muted-wrap[hidden] { display: none; }

/* Unified search: grouped results + posts */
.search-sub-label { padding: 6px 18px 2px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sr-sub-src { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sr-sub-src span:not(.src-tag) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
a.search-row.sr-post { text-decoration: none; align-items: flex-start; }
.sr-post .sr-av { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; background: var(--elev); color: var(--muted); }
.sr-post .sr-av img { width: 100%; height: 100%; object-fit: cover; }
.sr-post-body { flex: 1; min-width: 0; }
.sr-post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 12.5px; color: var(--muted); }
.sr-post-meta b { color: var(--text); font-weight: 750; max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-post-meta .sr-mine {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(216,255,62,0.14);
  color: var(--volt);
}
[data-theme="light"] .sr-post-meta .sr-mine { background: #EEF8C8; color: #3D5200; }
.sr-post-text {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Light theme for the new controls */
[data-theme="light"] #screen-social .home-head > .fm-row > .feed-mode { background: #fff; border: 1.5px solid #6E7268; }
[data-theme="light"] #screen-social .home-head > .fm-row > .feed-mode button { color: #3F4538; background: transparent; }
[data-theme="light"] #screen-social .home-head > .fm-row > .feed-mode button.on { background: var(--volt); color: #15180A; box-shadow: none; font-weight: 800; }
[data-theme="light"] .src-type-btn { background: #fff; border: 1.5px solid #6E7268; color: #161814; }
[data-theme="light"] .src-type-btn.is-active, [data-theme="light"] .src-type-btn[aria-expanded="true"] { border-color: #2F5E00; }
[data-theme="light"] .src-type-btn .stb-dot { background: #2F5E00; box-shadow: 0 0 0 2px #fff; }
[data-theme="light"] .src-type-menu { background: #fff; border: 1.5px solid #6E7268; box-shadow: 0 14px 30px rgba(20,24,16,0.18); }
[data-theme="light"] .src-type-menu .sto { color: #161814; }
[data-theme="light"] .src-type-menu .sto-check { border-color: #6E7268; }
[data-theme="light"] .src-type-menu .sto-hint, [data-theme="light"] .fm-sub { color: #3F4538; }
[data-theme="light"] .mf-src-search { background: #fff; border: 1.5px solid #6E7268; color: #3F4538; }
[data-theme="light"] .mf-follow, [data-theme="light"] .soc-empty .src-type-reset { color: #15180A; }

.mf-more {
  display: block;
  width: 100%;
  margin: 4px 0 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}


/* v49: short analytics notice on welcome + about */
.welcome-note, .about-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--faint);
}
.about-note { margin: 0 0 14px; }


/* v50: Ask BK teams briefing — reuse existing Ask typography */
.ask-sum-sec { margin: 14px 0 0; }
.ask-sum-sec h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--volt-text);
}
.ask-sum-sec ul { margin: 0; padding: 0; list-style: none; }
.ask-sum-sec li { margin: 0 0 8px; font-size: 15px; line-height: 1.45; }
.ask-sum-sec a { color: var(--text); font-weight: 650; text-decoration: none; }
.ask-sum-sec a:hover { text-decoration: underline; }
.ask-sum-src { display: block; margin-top: 2px; font-size: 11.5px; color: var(--faint); font-weight: 500; }
#screen-ask .bubble.bot.thinking { color: var(--muted); }

/* —— v62: auto-hide Home & Social header; back-to-top —— */
#screen-home { --bk-head-h: 212px; }
#screen-social { --bk-head-h: 268px; }
#screen-home > .home-head,
#screen-social > .home-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--bg);
  transform: translateY(0);
  transition: transform 0.28s ease;
  will-change: transform;
}
#screen-home > .home-head.is-away,
#screen-social > .home-head.is-away {
  transform: translateY(-110%);
  pointer-events: none;
}
#screen-home > .scroll,
#screen-social > .soc-scroll,
#screen-social > .bkx-sv-scroll {
  padding-top: var(--bk-head-h);
}
#bk-to-top {
  position: absolute;
  z-index: 40;
  right: 16px;
  bottom: calc(var(--tab-h) + 16px);
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volt-text);
  background: var(--elev);
  border: 1px solid var(--line-2);
  box-shadow: 0 8px 22px rgba(0,0,0,0.38);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}
html[data-theme="light"] #bk-to-top {
  background: var(--card);
  box-shadow: 0 8px 22px rgba(20,28,40,0.16);
}
#bk-to-top svg { width: 20px; height: 20px; display: block; }
#bk-to-top[hidden] { display: none !important; }


/* ===== v81: SCOOP pill + clearer subtabs + Home dashboard ===== */
#screen-home .home-row1 .brand-mark,
#screen-social .home-row1 .brand-mark,
#screen-player .home-row1 .brand-mark,
#screen-players .home-row1 .brand-mark,
.head-left .brand-mark {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  flex: 0 0 58px !important;
  height: 28px;
  padding: 0 8px !important;
  overflow: visible !important;
  white-space: nowrap !important;
  letter-spacing: 0.08em !important;
}
#screen-home .home-row1 .search-pill,
#screen-social .home-row1 .search-pill,
#screen-player .home-row1 .search-pill,
#screen-players .home-row1 .search-pill {
  flex: 1 1 auto;
  min-width: 0;
}

/* Active subtab: volt plate, bold; inactive dimmed. Wins over earlier stacked rules. */
#screen-home .home-head > .feed-mode,
#screen-social .home-head > .feed-mode,
#screen-social .home-head > .fm-row > .feed-mode,
#screen-player .home-head > .feed-mode,
#screen-players .home-head > .feed-mode {
  display: flex !important;
  width: 100%;
  max-width: 100%;
  background: var(--elev) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  padding: 3px !important;
  gap: 2px !important;
  box-shadow: none !important;
}
#screen-home .home-head > .feed-mode button,
#screen-social .home-head > .feed-mode button,
#screen-social .home-head > .fm-row > .feed-mode button,
#screen-player .home-head > .feed-mode button,
#screen-players .home-head > .feed-mode button {
  flex: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--muted) !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  letter-spacing: 0;
}
#screen-home .home-head > .feed-mode button.on,
#screen-social .home-head > .feed-mode button.on,
#screen-social .home-head > .fm-row > .feed-mode button.on,
#screen-player .home-head > .feed-mode button.on,
#screen-players .home-head > .feed-mode button.on {
  background: var(--volt) !important;
  color: var(--volt-ink) !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
#screen-home .home-head > .feed-mode button.on::after,
#screen-social .home-head > .feed-mode button.on::after,
#screen-social .home-head > .fm-row > .feed-mode button.on::after,
#screen-player .home-head > .feed-mode button.on::after,
#screen-players .home-head > .feed-mode button.on::after {
  display: none !important;
}
[data-theme="light"] #screen-home .home-head > .feed-mode button.on,
[data-theme="light"] #screen-social .home-head > .feed-mode button.on,
[data-theme="light"] #screen-social .home-head > .fm-row > .feed-mode button.on {
  background: var(--volt) !important;
  color: #15180A !important;
}

#screen-home #live-board { display: none !important; }

/* Home My Teams dashboard */
.hd-live-strip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 0 0 10px;
  cursor: pointer;
}
.hd-live-strip .ls-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hd-live-strip .ls-clock { font-size: 13px; font-weight: 700; color: var(--muted); }
.hd-live-strip .ls-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 750;
  margin: 4px 0;
}
.hd-live-strip .ls-team b {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.hd-catchup {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--volt-dim);
  border: 1px solid rgba(216,255,62,0.28);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 10px;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
[data-theme="light"] .hd-catchup { border-color: rgba(47,94,0,0.18); }
.hd-catchup b { display: block; font-size: 14.5px; font-weight: 750; letter-spacing: -0.01em; line-height: 1.35; }
.hd-catchup span { display: block; margin-top: 4px; font-size: 13px; font-weight: 650; color: var(--sky); }
.hd-meta { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 650; margin-top: 7px; line-height: 1.35; }
.hd-meta-lab {
  flex-shrink: 0; width: 48px; padding-top: 1px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.hd-meta .hd-when { color: var(--muted); font-weight: 550; }
.hd-res-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 4px;
  font-size: 10px; font-weight: 800; margin-right: 6px; vertical-align: middle;
}
.hd-res-tag.w { background: rgba(125,255,154,0.16); color: #7DFF9A; }
.hd-res-tag.l { background: rgba(255,138,138,0.16); color: #FF8A8A; }
[data-theme="light"] .hd-res-tag.w { color: #0E7A3A; }
[data-theme="light"] .hd-res-tag.l { color: #B42318; }
.hd-hit {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 12px; margin-bottom: 8px;
}
.hd-hit .hd-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--card-2); color: var(--text);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  flex-shrink: 0; overflow: hidden;
}
.hd-hit .hd-av img { width: 100%; height: 100%; object-fit: cover; }
.hd-hit .hd-who { flex: 1; min-width: 0; }
.hd-hit .hd-who b { display: block; font-size: 14.5px; font-weight: 750; letter-spacing: -0.01em; }
.hd-hit .hd-who span { display: block; font-size: 12px; color: var(--muted); font-weight: 550; margin-top: 1px; }
.hd-hit .hd-stats { text-align: right; font-size: 13.5px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; color: var(--text); }

#screen-social .soc-follow {
  background: var(--bk-volt, #D8FF3E);
  color: var(--bk-volt-ink, #15180A);
  border: 0;
  font-weight: 800;
}
#screen-social .soc-follow:hover { filter: brightness(1.05); }
