/* Home and public records. Analysis calculations and storage remain in stats.js. */
body.stats-mode {
  --home-green: #116149;
  --home-ink: #202e2a;
  --home-muted: #56655d;
  --home-line: #e1e6e0;
  background: #f5f6f2;
  color: var(--home-ink);
}

body.stats-mode .app-shell {
  width: min(1200px, calc(100% - 64px));
  padding-top: 24px;
}

body.stats-mode #todayStats {
  padding: 0;
  margin-bottom: 40px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.stats-mode #status {
  padding: 0 0 12px;
  min-height: 25px;
  margin-bottom: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.7;
  font-weight: 500;
}

body.stats-mode #status.warning { color: #946629; }
body.stats-mode section { min-width: 0; scroll-margin-top: 104px; }
body.stats-mode :is(a, button, summary):focus-visible { outline: 3px solid #408b72; outline-offset: 4px; }
body.stats-mode :is(.home-section-head, .home-result-head, .home-hero-actions, .home-record-toolbar) svg,
body.stats-mode :is(.home-primary-link, .home-subtle-link, .home-league-shortcut, .home-trust-strip, .home-method-bottom, .home-league-links, .home-empty-state a) svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--home-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  align-items: center;
  gap: 64px;
  padding: 28px 0 34px;
}

.home-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--home-green); }
.home-hero-copy h1 { margin: 21px 0 18px; font-size: clamp(36px, 3.9vw, 52px); line-height: 1.22; letter-spacing: -.03em; font-weight: 740; }
.home-hero-copy h1 > span { color: var(--home-green); }
.home-hero-copy > p { color: #56655d; font-size: 15px; line-height: 1.85; letter-spacing: -.025em; }
.home-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 27px; }
.home-primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 27px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--home-green); border-radius: 9px; background: var(--home-green); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; transition: background .18s, transform .18s; }
.home-primary-link:hover { background: #0c4d3a; transform: translateY(-1px); }
.home-text-link { display: inline-flex; align-items: center; min-height: 44px; color: #465a50; font-size: 13px; font-weight: 650; text-decoration-color: #b7c4b9; text-underline-offset: 5px; }
.home-principle-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 260px; padding: 27px 30px 24px; border: 1px solid #1d624e; border-radius: 17px; background: #155640; color: #fff; }
.home-principle-card::before { content: ""; position: absolute; z-index: -1; width: 230px; height: 230px; top: 67px; right: -100px; border: 1px solid #ffffff15; border-radius: 50%; box-shadow: 0 0 0 26px #ffffff04, 0 0 0 27px #ffffff0b, 0 0 0 55px #ffffff03, 0 0 0 56px #ffffff08; }
.home-principle-eyebrow { display: flex; align-items: center; color: #c5dfd0; font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.home-principle-card > p { margin: 25px 0 12px; font-size: 24px; line-height: 1.4; letter-spacing: -.02em; font-weight: 600; }
.home-principle-detail { color: #c3d9cb; font-size: 12px; line-height: 1.8; }
.home-principle-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 27px; padding-top: 17px; border-top: 1px solid #ffffff25; font-size: 11px; }
.home-principle-foot > span { color: #b9d2c3; }
.home-principle-foot > strong { font-weight: 550; text-align: right; }
.home-trust-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; margin-bottom: 43px; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.home-trust-strip > span { display: inline-flex; align-items: center; gap: 9px; color: #596a60; font-size: 12px; font-weight: 570; }
.home-trust-strip svg { color: var(--home-green); }
.home-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.home-section-head :is(h2, h3) { margin: 0; font-size: 23px; font-weight: 700; line-height: 1.35; letter-spacing: -.04em; }
.home-section-head .home-kicker { margin-bottom: 6px; font-size: 12px; }
.home-date { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; color: var(--home-muted); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.home-date small { font-size: 10px; color: #8c9690; }
.home-desk { margin-bottom: 37px; }
.home-league-shortcuts { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 9px; }
.home-league-shortcut { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 4px; min-height: 81px; padding: 15px; border: 1px solid var(--home-line); border-radius: 11px; background: #fff; text-decoration: none; transition: border-color .16s, box-shadow .16s; }
.home-league-shortcut:hover { border-color: #7fa893; box-shadow: 0 3px 10px #17452b08; }
.home-league-shortcut strong { font-size: 15px; font-weight: 730; letter-spacing: -.01em; }
.home-league-shortcut > span { grid-row: 2; color: var(--home-muted); font-size: 12px; white-space: nowrap; }
.home-league-shortcut > svg { grid-column: 2; grid-row: 1 / 3; color: #9aad9f; width: 16px !important; }
.home-method-section { margin-bottom: 42px; }
.home-subtle-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: #697a70; font-size: 11px; font-weight: 550; text-decoration: none; }
.home-subtle-link:hover { color: var(--home-green); }
.home-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-method-card.no-rate { grid-template-columns: minmax(0, 1fr); }
.home-method-card:hover { border-color: #8cb39f; box-shadow: 0 7px 24px #16483208; }
.home-method-label { color: var(--home-green); font-size: 12px; letter-spacing: .02em; font-weight: 700; }
.home-method-card.detail .home-method-label { color: #657168; }
.home-method-copy h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 7px 0 12px; font-size: 25px; letter-spacing: -.035em; font-weight: 680; }
.home-method-copy h3 > span { color: #728076; font-size: 12px; font-weight: 500; letter-spacing: -.015em; }
.home-method-copy p { color: #718077; font-size: 13px; line-height: 1.8; letter-spacing: -.02em; }
.home-method-metric { display: flex; flex-direction: column; align-self: center; align-items: flex-end; gap: 5px; min-width: 108px; font-variant-numeric: tabular-nums; }
.home-method-metric > span { color: var(--home-muted); font-size: 10px; }
.home-method-metric > strong { color: var(--home-green); font-size: 37px; font-weight: 650; line-height: 1.2; letter-spacing: -.05em; }
.home-method-metric > small { color: var(--home-muted); font-size: 10px; white-space: nowrap; }
.home-method-metric.is-empty { min-width: 90px; max-width: 145px; }
.home-method-metric.is-empty > strong { margin-block: 5px; color: #79867e; font-size: 21px; }
.home-method-metric.is-empty > small { max-width: 125px; white-space: normal; text-align: right; line-height: 1.6; }
.home-method-bottom { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; border-top: 1px solid #edf0eb; }
.home-method-bottom > span { color: #758277; font-size: 12px; }
.home-method-bottom strong { display: inline-flex; align-items: center; gap: 7px; color: var(--home-green); font-size: 13px; font-weight: 650; white-space: nowrap; }
.home-data-note { margin-top: 13px; color: #7c8780; font-size: 11px; line-height: 1.7; }
.home-results { padding-top: 32px; border-top: 1px solid var(--home-line); }
.home-section-note { margin: -7px 0 20px; color: var(--home-muted); font-size: 12px; line-height: 1.8; }
.home-result-toolbar, .home-record-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.home-segmented { display: inline-flex; align-items: center; gap: 3px; max-width: 100%; padding: 4px; border: 1px solid #e7eae4; border-radius: 9px; background: #ecefe8; }
.home-segmented > button { display: inline-flex; align-items: center; justify-content: center; min-width: 65px; min-height: 36px; padding: 7px 16px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #738074; font-size: 12px; font-weight: 550; box-shadow: none; cursor: pointer; white-space: nowrap; }
.home-segmented > button[aria-pressed="true"] { border-color: #dfe5dc; background: #fff; color: var(--home-green); font-weight: 700; box-shadow: 0 1px 3px #28443008; }
.home-segmented > button:hover { color: var(--home-green); }
.home-result-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #738078; font-size: 11px; }
.home-result-summary > strong { color: #4e6357; font-weight: 650; }
.home-result-summary > span { padding-inline: 4px; color: #bac3ba; }
.home-result-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.home-result-card { display: block; min-width: 0; padding: 19px 19px 13px; border: 1px solid var(--home-line); border-radius: 12px; background: #fff; text-decoration: none; transition: border-color .18s, transform .18s; }
.home-result-card:hover { border-color: #93af9c; transform: translateY(-2px); }
.home-result-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.home-league-label { color: var(--home-green); font-size: 12px; font-weight: 750; letter-spacing: .025em; }
.home-result-open { display: inline-flex; align-items: center; gap: 5px; color: #8a968c; font-size: 10px; }
.home-result-open > svg { width: 13px !important; height: 13px !important; }
.home-result-card h4 { margin-bottom: 13px; color: #2c3e33; font-size: 14px; font-weight: 650; line-height: 1.6; letter-spacing: -.02em; overflow-wrap: anywhere; }
.home-result-card h4 > span { margin-inline: 3px; color: #a3ada4; font-size: 10px; font-weight: 500; }
.home-result-line { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 36px; border-top: 1px solid #f0f2ed; }
.home-result-line > span:first-child { color: #8b968d; font-size: 10px; }
.home-result-line > strong { color: #5b6a5e; font-size: 11px; font-weight: 550; line-height: 1.6; overflow-wrap: anywhere; }
body.stats-mode .home-result-line .result-tag { display: inline-flex; align-items: center; min-width: 40px; min-height: 23px; justify-content: center; padding: 3px 6px; border: 0; border-radius: 4px; font-size: 9px; font-weight: 600; }
body.stats-mode .result-tag.win { color: #176c4b; background: #edf5ee; }
body.stats-mode .result-tag.loss { color: #ad5e4c; background: #fbf0ec; }
body.stats-mode .result-tag.void { color: #788278; background: #f0f2ed; }
body.stats-mode .result-tag.pending { color: #8f794d; background: #f7f3e8; }
.home-show-more { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 44px; margin-top: 13px; border: 1px solid var(--home-line); border-radius: 8px; background: #f8f9f5; color: #627768; font-size: 12px; font-weight: 600; cursor: pointer; }
.home-show-more:hover { background: #eef2e9; }
.home-show-more > span { font-size: 18px; font-weight: 400; }
.home-empty-state { grid-column: 1 / -1; display: flex; align-items: center; flex-direction: column; padding: 32px 20px; border: 1px dashed #d9e1d5; border-radius: 13px; background: #f8f9f5; text-align: center; }
.home-empty-state > svg { width: 29px; height: 29px; margin-bottom: 12px; color: #8fa592; }
.home-empty-state > strong { color: #5d7061; font-size: 14px; font-weight: 600; }
.home-empty-state > p { margin-top: 7px; color: #849081; font-size: 12px; line-height: 1.7; }
.home-empty-state > a { display: flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 7px; color: var(--home-green); text-decoration: none; font-size: 12px; font-weight: 650; }

body.stats-mode #leagueOverview { margin-bottom: 27px; }
.home-record-toolbar > span { color: #8b968a; font-size: 11px; }
body.stats-mode .stats-league-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.stats-mode .stats-league-card { padding: 22px; border: 1px solid var(--home-line); border-radius: 13px; background: #fff; box-shadow: none; }
body.stats-mode .stats-league-head { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center; margin-bottom: 17px; }
body.stats-mode .stats-league-head :is(h2, h3) { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
body.stats-mode .stats-league-head > span { color: #8a978b; font-size: 10px; font-weight: 500; }
body.stats-mode .stats-league-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.stats-mode .stats-metric--count { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid #f0f2ed; border-bottom: 1px solid #f0f2ed; }
body.stats-mode .stats-metric--count > strong { margin: 0; font-size: 12px; font-weight: 600; color: #758176; }
body.stats-mode .stats-metric--chart { display: block; padding: 4px 0 10px; border: 0; background: transparent; }
body.stats-mode .stats-metric--chart > .viz-ring { display: none; }
body.stats-mode .stats-metric span { color: #89968b; font-size: 11px; }
body.stats-mode .stats-metric-copy { min-width: 0; }
body.stats-mode .stats-metric-copy strong { margin: 5px 0 10px; color: #365642; font-size: 16px; font-weight: 650; letter-spacing: -.03em; }
body.stats-mode .stats-metric .viz-bar { height: 4px; background: #edf0e8; }
body.stats-mode .stats-metric .viz-bar-fill { display: block; height: 4px; border-radius: 3px; background: #629176; }
.home-league-links { display: flex; align-items: center; gap: 16px; padding-top: 8px; border-top: 1px solid #f0f2ed; }
body.stats-mode .home-league-links .stats-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 7px; flex: 1; min-height: 35px; margin: 0; color: #587260; font-size: 11px; font-weight: 600; }
body.stats-mode .home-league-links svg { width: 15px; }

body.stats-mode :is(#versionAnalysis, #confidenceStats, #bestDays) { padding: 0; margin-bottom: 10px; border: 1px solid var(--home-line); border-radius: 11px; background: #fff; box-shadow: none; }
body.stats-mode .stats-section-disclosure { overflow: visible; }
body.stats-mode .stats-section-disclosure > summary { min-height: 63px; padding: 17px 22px; gap: 12px; font-size: 14px; font-weight: 650; }
body.stats-mode .stats-section-disclosure > summary > span:first-child { flex: 1; }
body.stats-mode .stats-section-disclosure > summary::after { font-size: 17px; font-weight: 400; color: #879989; }
body.stats-mode .stats-section-disclosure[open] > summary { border-bottom-color: #eef1ea; }
body.stats-mode .section-badge { padding: 4px 7px; border: 0; border-radius: 5px; background: #f0f3ec; color: #788976; font-size: 10px; font-weight: 500; }
body.stats-mode .stats-disclosure-body { padding: 20px 22px 22px; }
body.stats-mode .note { font-size: 12px; line-height: 1.8; color: #7c897d; }
body.stats-mode .stats-subhead { margin: 22px 0 10px; font-size: 14px; font-weight: 650; }
body.stats-mode .stats-sport-block { padding-top: 0; margin-top: 23px; border: 0; }
body.stats-mode .stats-sport-block-head { padding: 0; margin-bottom: 13px; border: 0; }
body.stats-mode .stats-sport-block-head :is(h2, h3) { font-size: 14px; font-weight: 650; }
body.stats-mode .table-wrap { border: 1px solid #e9ede4; border-radius: 9px; box-shadow: none; }
body.stats-mode :is(.stats-version-analysis, .stats-confidence) :is(th, td) { padding: 12px; border-color: #edf0e8; font-size: 11px; line-height: 1.6; }
body.stats-mode :is(.stats-version-analysis, .stats-confidence) th { background: #f6f8f2; color: #73816f; font-weight: 550; }
body.stats-mode .stats-compare-table { min-width: 510px; }
body.stats-mode .version-badge { padding: 4px 7px; border: 0; border-radius: 4px; font-size: 10px; font-weight: 600; }
body.stats-mode .version-badge.standard { background: #ecf4eb; color: #39724c; }
body.stats-mode .version-badge.detail { background: #eff0e9; color: #6e765c; }
.home-confidence-sport { margin-top: 12px; border: 1px solid #e6ebe1; border-radius: 10px; }
.home-confidence-sport > summary { display: flex; justify-content: space-between; align-items: center; min-height: 51px; gap: 16px; padding: 12px 17px; color: #496748; font-size: 13px; font-weight: 600; cursor: pointer; }
.home-confidence-sport > summary > span { color: #8b9786; font-size: 10px; font-weight: 500; }
.home-confidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; border-top: 1px solid #edf0e8; }
body.stats-mode .stats-confidence-block { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
body.stats-mode .stats-confidence-block h3 { font-size: 12px; font-weight: 600; }
body.stats-mode .confidence-tables { display: grid; grid-template-columns: 1fr; gap: 12px; }
body.stats-mode .confidence-table { min-width: 0; width: 100%; table-layout: auto; }
body.stats-mode .confidence-table-block { min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
body.stats-mode .confidence-table-block h4 { color: #7f8e77; font-size: 11px; font-weight: 500; }
body.stats-mode .confidence-table th, body.stats-mode .confidence-table td { padding: 8px; font-size: 10px; }
body.stats-mode .stats-best-day-grid { gap: 13px; }
body.stats-mode .stats-best-day-card { padding: 19px; border: 1px solid #e5eadd; border-radius: 11px; background: #fafbf7; box-shadow: none; }
body.stats-mode .stats-best-day-card::before { content: none; }
body.stats-mode .stats-best-day-card .stats-best-day-score strong { color: #597751; font-size: 29px; }
body.stats-mode .stats-best-day-card .viz-ring { display: none; }
body.stats-mode .stats-best-day-score { display: block; }
body.stats-mode .stats-best-day-score-copy { display: grid; gap: 6px; }
body.stats-mode .stats-best-day-card > a { min-height: 35px; display: inline-flex; align-items: center; color: #687f5f; font-size: 11px; font-weight: 550; }
body.stats-mode .stats-best-day-card.empty > p { margin-top: 12px; color: #8d9887; font-size: 12px; }
body.stats-mode .home-today-details { margin-top: 16px; padding: 0; border: 1px solid var(--home-line); border-radius: 10px; background: #f8faf5; }
body.stats-mode .home-today-details > summary { display: flex; align-items: center; gap: 12px; min-height: 49px; padding: 12px 17px; color: #637d66; font-size: 12px; font-weight: 550; cursor: pointer; }
body.stats-mode .home-today-details > summary > span:first-child { flex: 1; }
body.stats-mode .stats-today-more-body { padding: 15px; border-top: 1px solid var(--home-line); }
body.stats-mode .stats-today-version { padding: 14px; border: 1px solid #e5eadd; border-radius: 10px; background: #fff; }
body.stats-mode .stats-today-version-list { display: grid; gap: 12px; }
body.stats-mode .stats-today-grid { margin-top: 13px; }
body.stats-mode .stats-today-card { padding: 15px; }
body.stats-mode .stats-today-card .stats-league-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.stats-mode .stats-today-card .stats-metric strong { color: #647957; font-size: 12px; font-weight: 600; }

body.stats-mode .feedback-banner { margin: 36px 0 16px; padding: 25px 28px; border: 1px solid #dce6d5; border-radius: 13px; background: #edf2e6; box-shadow: none; }
body.stats-mode .feedback-banner h2 { margin-bottom: 8px; font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
body.stats-mode .feedback-banner .home-kicker { font-size: 12px; }
body.stats-mode .feedback-openchat-link { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 24px; min-height: 45px; padding: 11px 16px; border: 1px solid #c9d9c0; border-radius: 8px; background: #f8faf4; color: #476d3b; font-size: 12px; font-weight: 600; box-shadow: none; }
body.stats-mode .guest-comments { padding: 27px; border: 1px solid var(--home-line); border-radius: 13px; background: #fff; box-shadow: none; }
body.stats-mode .guest-comment-headline { border: 0; padding: 0; margin-bottom: 10px; }
body.stats-mode .guest-comment-headline h2 { font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
body.stats-mode .guest-comment-headline .home-kicker { font-size: 12px; margin-bottom: 7px; }
body.stats-mode .guest-comment-form { display: grid; grid-template-columns: 160px minmax(0, 1fr) 113px; align-items: start; gap: 16px; margin: 21px 0 0; padding: 0; border: 0; background: transparent; }
body.stats-mode .guest-comment-form label { display: grid; gap: 8px; color: #75836b; font-size: 11px; font-weight: 500; }
body.stats-mode .guest-comment-form :is(input, textarea) { min-width: 0; width: 100%; min-height: 45px; border: 1px solid #e0e7d9; border-radius: 7px; background: #fafbf7; color: #495f3e; padding: 12px; font-size: 12px; font-weight: 400; }
body.stats-mode .guest-comment-form textarea { min-height: 96px; resize: vertical; }
body.stats-mode .guest-comment-form :is(input, textarea)::placeholder { color: #919d88; opacity: 1; }
body.stats-mode .guest-comment-form > button { min-height: 45px; margin-top: 24px; padding: 11px 14px; border: 1px solid var(--home-green); border-radius: 7px; background: var(--home-green); color: white; font-size: 12px; font-weight: 600; }
body.stats-mode .guest-comment-form > button:disabled { opacity: .6; cursor: wait; }
body.stats-mode .guest-comment-list { margin-top: 14px; }
body.stats-mode .guest-comment { padding: 18px 0; border: 0; border-top: 1px solid #edf0e8; background: transparent; }
body.stats-mode .guest-comment-head { gap: 8px; }
body.stats-mode .guest-comment-head strong { color: #62754f; font-size: 12px; font-weight: 600; }
body.stats-mode .guest-comment-head :is(time, .guest-comment-ip) { color: #9da68f; font-size: 10px; }
body.stats-mode .guest-comment > p { margin-top: 8px; color: #7b886a; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
body.stats-mode .guest-comment-empty { padding: 18px 0 0; }
.home-visitor-wrap { margin: 20px 0 0; }
body.stats-mode .home-visitor-wrap .visitor-stats { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; position: static; width: 100%; padding: 0; gap: 15px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.stats-mode .home-visitor-wrap .visitor-stats > div:not(.visitor-source-block) { display: inline-flex; align-items: baseline; gap: 6px; padding: 0; border: 0; background: transparent; }
body.stats-mode .home-visitor-wrap .visitor-stats :is(span, strong) { font-size: 10px; color: #8e9985; font-weight: 500; }
body.stats-mode .home-visitor-wrap .visitor-source-block { flex-basis: 100%; }
.visitor-admin-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.visitor-admin-details .visitor-source-block { min-width: 0; margin: 0; }
body.stats-mode .promo-kit-card { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 16px; padding: 24px 26px; border: 1px solid #dce6d5; border-radius: 13px; background: #f4f7ef; }
body.stats-mode .promo-kit-card h2 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
body.stats-mode .promo-kit-card .home-primary-link { align-self: flex-start; margin-top: 6px; }
.promo-kit-page .app-shell { padding-bottom: 72px; }
.promo-kit-intro h2,
.promo-summary p { overflow-wrap: anywhere; }
.promo-checklist { margin: 16px 0 0; padding-left: 18px; color: #4d5b54; line-height: 1.7; }
.promo-channels { display: grid; gap: 16px; margin: 18px 0 40px; }
.promo-channel { padding: 22px; border: 1px solid #dce6d5; border-radius: 13px; background: #fff; }
.promo-channel-head h2 { margin: 0 0 6px; font-size: 18px; }
.promo-channel-head p { margin: 0; color: #6a766f; font-size: 14px; }
.promo-channel pre { margin: 16px 0; padding: 16px; border-radius: 10px; background: #f5f6f2; color: #24332c; font: 14px/1.7 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.promo-channel-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.promo-channel-actions button,
.promo-channel-actions a { min-height: 44px; padding: 10px 14px; border: 0; border-radius: 999px; background: #116149; color: #fff; font-size: 14px; font-weight: 650; text-decoration: none; }
.promo-channel-actions a { background: #eaf2e9; color: #116149; }

@media (max-width: 1050px) {
  .home-hero { gap: 30px; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); }
  .home-league-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-method-card { gap: 14px; padding-inline: 20px; }
  .home-method-copy h3 { gap: 5px; }
  .home-method-copy h3 > span { width: 100%; }
  .home-method-copy p br { display: none; }
  .home-result-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-confidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.stats-mode .stats-league-card { padding: 18px; }
  body.stats-mode .stats-metric-copy strong { font-size: 14px; }
}

@media (max-width: 720px) {
  .visitor-admin-details { grid-template-columns: 1fr; }
  body.stats-mode .app-shell { width: calc(100% - 24px); padding-top: 14px; }
  body.stats-mode #status { font-size: 13px; line-height: 1.55; padding-bottom: 8px; }
  body.stats-mode #todayStats { margin-bottom: 29px; }
  body.stats-mode section { scroll-margin-top: 88px; }
  .home-hero { grid-template-columns: 1fr; gap: 23px; padding: 23px 3px 25px; }
  .home-hero-copy h1 { margin: 17px 0 13px; font-size: clamp(28px, 7.4vw, 36px); line-height: 1.28; letter-spacing: -.03em; }
  .home-hero-copy > p { font-size: 15px; line-height: 1.7; }
  .home-hero-actions { margin-top: 21px; gap: 16px; }
  .home-primary-link { min-height: 48px; padding: 12px 16px; gap: 12px; font-size: 15px; }
  .home-text-link { font-size: 14px; }
  .home-kicker { font-size: 12px; }
  .home-principle-card { min-height: 0; display: flex; flex-direction: column; padding: 20px; border-radius: 13px; }
  .home-principle-eyebrow { font-size: 12px; }
  .home-principle-card > p { margin: 13px 0 8px; font-size: 22px; }
  .home-principle-detail { padding-bottom: 0; font-size: 12px; line-height: 1.8; }
  .home-principle-foot { margin-top: 17px; padding-top: 13px; font-size: 11px; }
  .home-principle-card::before { top: -54px; right: -74px; }
  .home-trust-strip { justify-content: space-around; gap: 8px; padding: 13px 0; margin-bottom: 30px; }
  .home-trust-strip > span { flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.5; text-align: center; font-weight: 500; }
  body.stats-mode .home-trust-strip svg { width: 18px; height: 18px; }
  .home-section-head { gap: 10px; margin-bottom: 15px; }
  .home-section-head :is(h2, h3) { font-size: 20px; letter-spacing: -.04em; }
  .home-section-head .home-kicker { margin-bottom: 5px; font-size: 12px; }
  .home-date { gap: 4px; font-size: 12px; }
  .home-date small { font-size: 11px; }
  body.stats-mode .home-date svg { width: 14px; height: 14px; }
  .home-desk { margin-bottom: 28px; }
  .home-league-shortcuts { gap: 7px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-league-shortcut { grid-template-columns: 1fr; gap: 4px; min-height: 68px; padding: 12px 9px; border-radius: 8px; }
  .home-league-shortcut strong { font-size: 15px; }
  .home-league-shortcut > span { font-size: 12px; }
  .home-league-shortcut > svg { display: none; }
  .home-method-section { margin-bottom: 28px; }
  .home-subtle-link { gap: 3px; font-size: 12px; }
  body.stats-mode .home-subtle-link svg { width: 14px; }
  .home-method-grid { grid-template-columns: 1fr; gap: 11px; }
  .home-method-card { padding: 20px 19px 0; gap: 16px; border-radius: 12px; }
  .home-method-label { font-size: 11px; }
  .home-method-copy h3 { margin-top: 6px; margin-bottom: 10px; font-size: 23px; gap: 8px; }
  .home-method-copy h3 > span { width: auto; font-size: 12px; }
  .home-method-copy > p { font-size: 14px; line-height: 1.7; }
  .home-method-copy > p br { display: inline; }
  .home-method-metric { min-width: 96px; gap: 5px; }
  .home-method-metric > span { font-size: 11px; }
  .home-method-metric > strong { font-size: 28px; }
  .home-method-metric > small { font-size: 11px; }
  .home-method-metric.is-empty { min-width: 82px; max-width: 105px; }
  .home-method-metric.is-empty > strong { font-size: 19px; }
  .home-method-bottom { min-height: 45px; gap: 7px; }
  .home-method-bottom > span { font-size: 11px; }
  .home-method-bottom strong { font-size: 12px; gap: 5px; }
  body.stats-mode .home-method-bottom svg { width: 15px; }
  .home-data-note { font-size: 12px; margin-top: 11px; }
  .home-results { padding-top: 25px; }
  .home-section-note { margin: -7px 0 16px; font-size: 13px; }
  .home-result-toolbar, .home-record-toolbar { gap: 11px; margin-bottom: 13px; }
  .home-segmented { padding: 3px; gap: 2px; }
  .home-segmented > button { min-width: 58px; min-height: 38px; padding: 7px 15px; font-size: 11px; }
  .home-result-summary { width: 100%; padding-left: 2px; font-size: 13px; }
  .home-result-list { grid-template-columns: 1fr; gap: 10px; }
  .home-result-card { padding: 16px 17px 10px; border-radius: 11px; }
  .home-result-head { margin-bottom: 8px; }
  .home-result-card h4 { font-size: 14px; margin-bottom: 11px; }
  .home-result-line { grid-template-columns: 27px minmax(0, 1fr) auto; min-height: 36px; gap: 8px; }
  .home-result-line > strong { font-size: 12px; }
  body.stats-mode .home-result-line .result-tag { min-width: 42px; min-height: 24px; font-size: 10px; }
  .home-empty-state { padding: 28px 18px; }
  .home-empty-state > p { font-size: 11px; }
  .home-record-toolbar > span { font-size: 10px; }
  body.stats-mode #leagueOverview { margin-bottom: 20px; }
  body.stats-mode .stats-league-grid { grid-template-columns: 1fr; gap: 10px; }
  body.stats-mode .stats-league-card { padding: 19px 20px 10px; }
  body.stats-mode .stats-league-head { margin-bottom: 12px; }
  body.stats-mode .stats-league-head :is(h2, h3) { font-size: 17px; }
  body.stats-mode .stats-league-head > span { font-size: 10px; }
  body.stats-mode .stats-league-metrics { grid-template-columns: 80px repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  body.stats-mode .stats-metric--count { display: block; grid-column: auto; padding: 4px 0 10px; border: 0; }
  body.stats-mode .stats-metric--count > strong { margin-top: 5px; font-size: 15px; }
  body.stats-mode .stats-metric span { font-size: 10px; }
  body.stats-mode .stats-metric-copy > strong { margin: 5px 0 9px; font-size: 15px; }
  body.stats-mode .stats-metric--chart { padding-bottom: 9px; }
  .home-league-links { gap: 22px; padding-top: 3px; }
  body.stats-mode .home-league-links .stats-link { min-height: 38px; font-size: 11px; }
  body.stats-mode :is(#versionAnalysis, #confidenceStats, #bestDays) { margin-bottom: 8px; }
  body.stats-mode .stats-section-disclosure > summary { gap: 8px; padding: 15px 16px; min-height: 58px; font-size: 12px; }
  body.stats-mode .section-badge { padding: 3px 5px; font-size: 11px; }
  body.stats-mode .stats-disclosure-body { padding: 16px; }
  body.stats-mode .note { font-size: 11px; line-height: 1.8; }
  body.stats-mode .stats-compare-table { min-width: 450px; }
  body.stats-mode :is(.stats-version-analysis, .stats-confidence) :is(th, td) { padding: 10px 8px; font-size: 10px; }
  .home-confidence-sport > summary { padding: 12px; font-size: 12px; }
  .home-confidence-grid { grid-template-columns: 1fr; gap: 19px; padding: 12px; }
  body.stats-mode .confidence-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  body.stats-mode .stats-confidence-block + .stats-confidence-block { border-top: 1px solid #e6ecdf; padding-top: 18px; }
  body.stats-mode .confidence-table :is(th, td) { padding: 8px 5px; font-size: 11px; }
  body.stats-mode .confidence-table .confidence-threshold { font-size: 11px; }
  body.stats-mode .stats-best-day-grid { grid-template-columns: 1fr; gap: 10px; }
  body.stats-mode .stats-best-day-card { padding: 17px; }
  body.stats-mode .stats-today-version { padding: 11px; }
  body.stats-mode .stats-today-version-meta { font-size: 12px; white-space: normal; text-align: right; }
  body.stats-mode .stats-today-version-title { font-size: 12px; gap: 5px; }
  body.stats-mode .stats-today-card { padding: 14px; }
  body.stats-mode .feedback-banner { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 28px; padding: 22px; border-radius: 12px; }
  body.stats-mode .feedback-banner h2 { font-size: 17px; }
  body.stats-mode .feedback-openchat-link { align-self: flex-start; min-height: 43px; font-size: 11px; }
  body.stats-mode .guest-comments { padding: 22px 19px; }
  body.stats-mode .guest-comment-headline { align-items: flex-start; gap: 7px; }
  body.stats-mode .guest-comment-headline h2 { max-width: 245px; font-size: 17px; line-height: 1.5; }
  body.stats-mode .guest-comment-headline > .section-badge { margin-top: 2px; white-space: nowrap; }
  body.stats-mode .guest-comment-form { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  body.stats-mode .guest-comment-form label:first-child { max-width: 180px; }
  body.stats-mode .guest-comment-form :is(input, textarea) { font-size: 16px; min-height: 46px; }
  body.stats-mode .guest-comment-form :is(input, textarea)::placeholder { font-size: 13px; }
  body.stats-mode .guest-comment-form > button { justify-self: end; min-width: 115px; min-height: 44px; margin-top: 0; }
  body.stats-mode .guest-comment-head { flex-wrap: wrap; }
  body.stats-mode .guest-comment-head time { margin-left: 0; }
  body.stats-mode .home-visitor-wrap .visitor-stats { justify-content: center; }
}

@media (max-width: 370px) {
  body.stats-mode .app-shell { width: calc(100% - 24px); }
  .home-hero-copy h1 { font-size: 28px; }
  .home-principle-card { padding: 18px; }
  .home-principle-card > p { font-size: 20px; }
  .home-principle-detail { font-size: 13px; }
  .home-trust-strip > span { font-size: 12px; }
  .home-section-head :is(h2, h3) { font-size: 18px; }
  .home-date { font-size: 12px; }
  .home-date small { display: none; }
  .home-method-card { padding: 17px 15px 0; gap: 13px; }
  .home-method-copy h3 > span { width: 100%; }
  .home-method-copy > p { font-size: 14px; }
  .home-method-copy > p br { display: none; }
  .home-method-metric > strong { font-size: 26px; }
  .home-method-bottom > span { font-size: 12px; }
  .home-segmented > button { min-width: 54px; padding-inline: 13px; }
  body.stats-mode .stats-league-metrics { grid-template-columns: 65px repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.stats-mode .stats-metric-copy > strong { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  body.stats-mode :is(.home-primary-link, .home-result-card, .home-method-card, .home-league-shortcut) { transition: none; transform: none; }
}

/* Readable secondary copy on the existing sage surfaces. */
body.stats-mode :is(.home-date small, .home-method-copy h3 > span, .home-method-copy p, .home-method-bottom > span, .home-data-note, .home-empty-state > p, .home-record-toolbar > span, .stats-league-head > span, .stats-metric span, .stats-metric--count > strong, .note) { color: #56655d; }
.home-start-guide { margin: 0 0 28px; border-block: 1px solid var(--home-line); }
.home-start-guide > summary { padding: 16px 4px; min-height: 48px; color: var(--home-green); font-size: 14px; font-weight: 650; cursor: pointer; }
.home-start-body { padding: 0 4px 20px; max-width: 760px; }
.home-start-body ol { margin: 0; padding-left: 24px; }
.home-start-body li { padding: 6px 0; color: #56655d; font-size: 14px; line-height: 1.75; }
.home-start-body strong { color: var(--home-ink); }
.home-start-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.home-start-actions :is(a, button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--home-line); border-radius: 9px; background: #fff; color: var(--home-green); font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; cursor: pointer; }
.home-start-actions :is(a, button):hover { background: #edf5ee; }
body.stats-mode :is(.home-result-summary, .stats-today-more > summary, .section-badge, #guestCommentForm label, #guestCommentForm label span) { color: #56655d; }
body.stats-mode .home-segmented > button:not([aria-pressed="true"]) { color: #56655d; }

/* ── Home hero · promo reel (2026-10-05) ──────────────────────────────
   Short-form video feel: scene progress bar, kinetic scenes, broadcast ticker.
   Published records only. Motion stops for prefers-reduced-motion and on pause. */
.home-hero.home-reel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  align-items: stretch;
  gap: 44px;
  margin: 6px 0 34px;
  padding: 46px 48px 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #082c21 0%, #0f4b38 52%, #0a3529 100%);
  color: #fff;
  box-shadow: 0 30px 60px -36px rgba(7, 40, 30, .55);
}
.hreel-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 8%, rgba(142, 230, 191, .17), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(142, 230, 191, .09), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 64px);
}
.hreel-backdrop::after {
  content: "";
  position: absolute;
  inset: -50%;
  opacity: .08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: reelGrain 1.2s steps(4) infinite;
}
.hreel-sweep {
  position: absolute;
  top: -40%;
  left: -60%;
  width: 45%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .07), transparent);
  transform: rotate(18deg);
  animation: reelSweep 9s ease-in-out infinite;
}
/* User pause (toggle) stops every moving part, not only the slides. */
.home-reel.is-user-paused .hreel-sweep,
.home-reel.is-user-paused .hreel-backdrop::after,
.home-reel.is-user-paused .hreel-live-dot,
.home-reel.is-user-paused .hreel-ticker-track { animation-play-state: paused; }

.home-reel .home-hero-copy { position: relative; align-self: center; padding-bottom: 46px; }
.home-reel .home-kicker { color: #9fe3c4; }
.hreel-live-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #8ee6bf; animation: reelPulse 2s ease-out infinite; }
.home-reel .home-hero-copy h1 { color: #fff; }
.home-reel .home-hero-copy h1 > span { color: #8ee6bf; }
.home-reel .home-hero-copy > p { color: #c4d9ce; }
.home-reel .home-primary-link { border-color: #8ee6bf; background: #8ee6bf; color: #06281e; }
.home-reel .home-primary-link:hover { background: #a9eecf; }
.home-reel .home-text-link { color: #d3e6dc; text-decoration-color: rgba(211, 230, 220, .45); }
body.stats-mode .home-reel :is(a, button):focus-visible { outline-color: #8ee6bf; }

.hreel-player {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(4, 28, 21, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 50px -30px rgba(0, 0, 0, .6);
}
.hreel-topbar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 0 18px; }
.hreel-progress { flex: 1; display: flex; gap: 6px; }
.hreel-seg { position: relative; flex: 1; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hreel-seg::before,
.hreel-seg-fill { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.hreel-seg::before { content: ""; background: rgba(255, 255, 255, .22); }
.hreel-seg-fill { background: #fff; transform: scaleX(0); transform-origin: left center; }
.hreel-seg.is-done .hreel-seg-fill { transform: scaleX(1); }
.hreel-seg.is-current .hreel-seg-fill { animation: reelFill var(--reel-ms, 5200ms) linear forwards; }
.home-reel.is-paused .hreel-seg.is-current .hreel-seg-fill { animation-play-state: paused; }
.hreel-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; padding: 0; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; }
.hreel-toggle:hover { background: rgba(255, 255, 255, .14); }
.hreel-toggle svg { width: 16px; height: 16px; }
.hreel-toggle .hreel-icon-play,
.hreel-toggle.is-play .hreel-icon-pause { display: none; }
.hreel-toggle.is-play .hreel-icon-play { display: block; }

.hreel-stage { position: relative; flex: 1; display: grid; }
.hreel-scene { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px 30px 30px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.hreel-scene.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.hreel-scene .hreel-line { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.hreel-scene.is-active .hreel-line { animation: reelRise .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.hreel-scene.is-active > .hreel-line:nth-child(2) { animation-delay: .09s; }
.hreel-scene.is-active > .hreel-line:nth-child(3) { animation-delay: .18s; }
.hreel-scene.is-active > .hreel-line:nth-child(4) { animation-delay: .27s; }
.hreel-scene.is-active > .hreel-line:nth-child(5) { animation-delay: .36s; }
.hreel-scene.is-active > .hreel-line:nth-child(6) { animation-delay: .45s; }

.hreel-kicker { display: flex; align-items: center; gap: 8px; margin: 0; color: #9fe3c4; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hreel-big { margin: 0; color: #fff; font-size: clamp(30px, 3.2vw, 44px); font-weight: 780; line-height: 1.18; letter-spacing: -.03em; }
.hreel-big em { color: #8ee6bf; font-style: normal; }
.hreel-num { margin-right: 6px; font-size: clamp(64px, 7vw, 96px); font-weight: 820; line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.hreel-of { margin: 0 8px 0 4px; color: #9db8ab; font-size: .62em; font-weight: 650; }
.hreel-sub { margin: 0; color: #c4d9ce; font-size: 15px; line-height: 1.6; }
.hreel-foot { margin: 8px 0 0; color: #8fb0a2; font-size: 12px; }
.hreel-match { margin: 0; color: #d6e7de; font-size: 16px; font-weight: 600; }
.hreel-tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: rgba(142, 230, 191, .16); color: #a9eccd; font-size: 11px; font-weight: 750; letter-spacing: .04em; }
.hreel-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.hreel-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 13px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #fff; font-size: 13px; font-weight: 650; text-decoration: none; }
.hreel-chips a:hover { background: rgba(255, 255, 255, .12); }
.hreel-chips b { color: #8ee6bf; font-variant-numeric: tabular-nums; }
.hreel-meter { display: grid; gap: 8px; max-width: 340px; margin-top: 6px; }
.hreel-meter-head { display: flex; justify-content: space-between; align-items: baseline; color: #c4d9ce; font-size: 12px; }
.hreel-meter-head strong { color: #fff; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hreel-meter-bar { position: relative; height: 6px; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.hreel-meter-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #4fc59a, #8ee6bf); transform: scaleX(0); transform-origin: left center; }
.hreel-scene.is-active .hreel-meter-bar i { animation: reelFill 1s .35s cubic-bezier(.2, .8, .2, 1) forwards; }
.hreel-meter small { color: #8fb0a2; font-size: 11px; }
.hreel-results { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.hreel-results li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: #e3efe8; font-size: 13px; }
.hreel-res-body { display: grid; flex: 1; gap: 2px; min-width: 0; }
.hreel-res-body :is(b, small) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hreel-res-body b { font-weight: 650; }
.hreel-res-body small { color: #9fbcae; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.hreel-result { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 750; }
.hreel-result.win { background: rgba(142, 230, 191, .18); color: #8ee6bf; }
.hreel-result.loss { background: rgba(255, 138, 122, .16); color: #ffab9f; }
.hreel-result.pending,
.hreel-result.void { background: rgba(255, 255, 255, .1); color: #c9d6cf; }
.hreel-cta { display: inline-flex; align-self: flex-start; align-items: center; gap: 14px; min-height: 48px; margin-top: 8px; padding: 12px 20px; border-radius: 10px; background: #8ee6bf; color: #06281e; font-size: 15px; font-weight: 750; text-decoration: none; }
.hreel-cta:hover { background: #a9eecf; }
.hreel-cta svg { width: 18px; height: 18px; }

.hreel-ticker { grid-column: 1 / -1; min-width: 0; display: flex; align-items: stretch; margin: 0 -48px; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(3, 22, 16, .55); }
.hreel-ticker-label { display: flex; flex: 0 0 auto; align-items: center; padding: 0 30px 0 48px; background: #8ee6bf; color: #06281e; font-size: 12px; font-weight: 800; letter-spacing: .04em; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.hreel-ticker-window { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.hreel-ticker-track { display: flex; width: max-content; animation: reelTicker var(--ticker-s, 40s) linear infinite; }
.hreel-ticker:hover .hreel-ticker-track { animation-play-state: paused; }
.hreel-ticker-track ul { display: flex; margin: 0; padding: 0; list-style: none; }
.hreel-ticker-track li { display: inline-flex; align-items: center; gap: 10px; padding: 14px 0; color: #e3efe8; font-size: 13px; white-space: nowrap; }
.hreel-ticker-track li::after { content: "•"; margin: 0 22px; color: rgba(255, 255, 255, .3); }
.hreel-ticker-track li b { color: #8ee6bf; font-weight: 750; }
.hreel-ticker-track li b.is-pass { color: #c9d6cf; }

@keyframes reelFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes reelRise { to { opacity: 1; transform: none; filter: none; } }
@keyframes reelSweep { 0%, 55% { transform: translateX(0) rotate(18deg); } 100% { transform: translateX(420%) rotate(18deg); } }
@keyframes reelGrain { 0% { transform: translate(0, 0); } 25% { transform: translate(-5%, 3%); } 50% { transform: translate(4%, -4%); } 75% { transform: translate(-3%, -2%); } 100% { transform: translate(0, 0); } }
@keyframes reelPulse { 0% { box-shadow: 0 0 0 0 rgba(142, 230, 191, .55); } 100% { box-shadow: 0 0 0 10px rgba(142, 230, 191, 0); } }
@keyframes reelTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 1050px) {
  .home-hero.home-reel { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 28px; padding: 38px 32px 0; }
  .hreel-ticker { margin: 0 -32px; }
  .hreel-ticker-label { padding-left: 32px; }
}
@media (max-width: 860px) {
  .home-hero.home-reel { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .home-reel .home-hero-copy { padding-bottom: 0; }
  .hreel-player { min-height: 340px; margin-bottom: 26px; }
}
@media (max-width: 720px) {
  .home-hero.home-reel { margin: 2px 0 26px; padding: 26px 18px 0; border-radius: 18px; }
  .hreel-ticker { margin: 0 -18px; }
  .hreel-ticker-label { padding: 0 24px 0 18px; font-size: 11px; }
  .hreel-scene { padding: 16px 20px 24px; }
  .hreel-big { font-size: clamp(26px, 7.4vw, 32px); }
  .hreel-num { font-size: clamp(56px, 16vw, 72px); }
  .hreel-toggle { width: 44px; height: 44px; }
  .hreel-player { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-reel *,
  .home-reel *::before,
  .home-reel *::after { animation: none !important; transition: none !important; }
  .hreel-scene .hreel-line { opacity: 1; transform: none; filter: none; }
  .hreel-meter-bar i { transform: none; }
  .hreel-seg.is-current .hreel-seg-fill { transform: scaleX(1); opacity: .55; }
  .hreel-ticker-window { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .hreel-ticker-track ul[aria-hidden="true"] { display: none; }
}

/* Mobile density pass (2026-10-05): shorter home on phones. Desktop unchanged.
   The hero paragraph repeats the trust strip directly below it, so it is hidden on mobile only.
   League shortcuts become one horizontally scrolling row instead of a 4-row grid. */
@media (max-width: 720px) {
  .home-hero.home-reel { margin-bottom: 20px; padding-top: 20px; gap: 14px; }
  .home-reel .home-hero-copy h1 { margin: 10px 0 0; }
  .home-reel .home-hero-copy > p { display: none; }
  .home-reel .home-hero-actions { margin-top: 16px; }
  .hreel-player { margin-bottom: 16px; }
  .hreel-topbar { padding-top: 6px; }
  .hreel-scene { gap: 7px; padding: 8px 16px 16px; }
  /* Scenes share one grid cell (no layout shift), so the tallest scene sets the height. */
  .hreel-big { font-size: clamp(24px, 6.8vw, 30px); }
  .hreel-num { font-size: clamp(48px, 13vw, 60px); }
  .hreel-results { gap: 5px; }
  .hreel-results li { padding: 6px 10px; }
  .hreel-ticker-track li { padding: 11px 0; }
  .home-league-shortcuts { display: flex; gap: 8px; padding-bottom: 2px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .home-league-shortcut { flex: 0 0 auto; min-width: 112px; min-height: 0; padding: 10px 12px; scroll-snap-align: start; }
  .home-method-card { gap: 12px; padding: 16px 16px 0; }
  .home-method-copy h3 { margin: 4px 0 8px; font-size: 20px; }
  .home-method-copy > p { font-size: 13px; line-height: 1.6; }
}

/* Mobile density pass 2 (2026-10-05): shorter home cards and comment box. Desktop unchanged.
   The whole result card is the link, so its "분석 보기" caption is hidden visually (arrow stays,
   text stays in the accessible name). */
@media (max-width: 720px) {
  .home-result-card { padding: 12px 14px 6px; }
  .home-result-head { margin-bottom: 4px; }
  .home-result-open { font-size: 0; }
  .home-result-card h4 { margin-bottom: 6px; }
  .home-result-line { min-height: 31px; }
  body.stats-mode .stats-league-card { padding: 14px 16px; }
  /* An earlier mobile rule stacks label over value; one row is enough for the public count. */
  body.stats-mode .stats-metric--count { display: flex; grid-column: 1 / -1; align-items: baseline; justify-content: space-between; width: 100%; padding: 6px 0; }
  .home-league-links { padding-top: 4px; }
  body.stats-mode .home-league-links .stats-link { min-height: 32px; }
  body.stats-mode .guest-comments { padding: 18px 16px; }
  body.stats-mode .guest-comment-headline { margin-bottom: 6px; }
  body.stats-mode .guest-comment-form { gap: 10px; margin-top: 12px; }
  /* The rows attribute alone makes it ~98px; still vertically resizable. */
  body.stats-mode .guest-comment-form textarea { min-height: 64px; height: 64px; }
  body.stats-mode .guest-comment-form > button { margin-top: 0; }
}
