/* Polypick — college football seasonal skin.
   Linked only from index-cfb.html, after styles.css. Everything is scoped under .season-cfb and
   uses the existing tokens only (no new colours). Spec: docs/plans/2026-09-cfb-landing-page.md §4. */

/* ---------- Yard-line motif in the hero ---------- */
.season-cfb .hero-simple { position: relative; overflow: hidden; }
.season-cfb .hero-simple::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--line-2) calc(10% - 1px) 10%);
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
          mask: linear-gradient(180deg, transparent 0, #000 22%, #000 70%, transparent 100%);
  opacity: .55;
}
.season-cfb .hero-simple > .shell { position: relative; z-index: 1; }

/* ---------- Slate strip ---------- */
.season-cfb .slate { margin-top: 22px; text-align: center; min-height: 78px; }
.season-cfb .slate[hidden] { display: none; }
.season-cfb .slate-head {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.season-cfb .slate-ball { display: inline-flex; color: var(--ink); }
.season-cfb .slate-ball svg { width: 16px; height: 16px; display: block; }
.season-cfb .slate-row {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 8px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  margin: 0 -20px; padding-left: 20px; padding-right: 20px;   /* bleed to viewport edge on mobile */
}
.season-cfb .slate-row::-webkit-scrollbar { display: none; }
.season-cfb .slate-chip {
  flex: 0 0 auto; scroll-snap-align: start;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 10px 14px; border-radius: var(--r-md); min-height: 44px;
  background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--ink); text-decoration: none; min-width: 150px;
  transition: transform .12s ease, border-color .12s ease;
}
.season-cfb .slate-chip:hover { transform: translateY(-1px); border-color: var(--line-2); }
.season-cfb .slate-teams { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.season-cfb .slate-src { font-family: var(--font-mono); font-size: 10px; color: var(--green-strong); text-transform: uppercase; letter-spacing: .1em; }
@media (min-width: 768px) {
  .season-cfb .slate-row { margin: 0; padding-left: 0; padding-right: 0; justify-content: center; flex-wrap: wrap; overflow: visible; }
}

/* ---------- Season banner ---------- */
.season-cfb .promo { padding-left: 40px; padding-right: 40px; }   /* room for the dismiss button, balanced */
.season-cfb .promo-x {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; padding: 4px 9px; line-height: 1;
  font-size: 20px; font-weight: 400; color: rgba(246,244,238,.62); cursor: pointer;
}
.season-cfb .promo-x:hover { color: #fff; }
.season-cfb .promo.is-dismissed { display: none; }
.season-cfb .promo.is-dismissed + .nav { top: 0; }
.season-cfb .hero-disclaimer { padding-bottom: 14px; }   /* breathing room above the slate / mock (padding: does not collapse with margins) */

/* styles.css already gives .promo `white-space: nowrap; overflow: hidden` with centred content, which
   clips both ends of a long line on narrow phones. Let the CFB banner wrap instead below 560px so the
   sentence stays readable; the sticky nav offset is adjusted to match. */
@media (max-width: 559px) {
  .season-cfb .promo { white-space: normal; text-align: center; line-height: 1.35; padding-top: 8px; padding-bottom: 8px; }
  .season-cfb .promo .promo-text { flex-shrink: 1; }
  .season-cfb .promo .dot { display: none; }   /* the dot would sit alone on its own line once the text wraps */
  .season-cfb .promo + .nav { top: 0; }
}

/* ---------- Floating season assets (hero only) ---------- */
/* Six small inline SVGs behind the hero content, slow drift on transform only, low opacity so they
   read as texture rather than decoration. Hidden under prefers-reduced-motion; fewer on phones. */
.season-cfb .hero-floats { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.season-cfb .hf {
  position: absolute; display: block; color: var(--ink); opacity: .16;
  animation: hf-drift 9s ease-in-out infinite alternate;
  will-change: transform;
}
.season-cfb .hf-coin { color: var(--green-strong); opacity: .2; }
.season-cfb .hf-bill { color: var(--green-strong); opacity: .18; }
.season-cfb .hf-1 { width: 34px; height: 34px; left: 6%;  top: 14%; animation-duration: 10s; }
.season-cfb .hf-2 { width: 26px; height: 26px; left: 88%; top: 20%; animation-duration: 8s;  animation-delay: -3s; }
.season-cfb .hf-3 { width: 40px; height: 24px; left: 10%; top: 56%; animation-duration: 11s; animation-delay: -6s; }
.season-cfb .hf-4 { width: 28px; height: 28px; left: 82%; top: 62%; animation-duration: 9s;  animation-delay: -1.5s; }
.season-cfb .hf-5 { width: 22px; height: 22px; left: 22%; top: 36%; animation-duration: 12s; animation-delay: -8s; }
.season-cfb .hf-6 { width: 36px; height: 22px; left: 74%; top: 40%; animation-duration: 10s; animation-delay: -4s; }
@keyframes hf-drift {
  from { transform: translate3d(0, 0, 0) rotate(-7deg); }
  to   { transform: translate3d(8px, -16px, 0) rotate(7deg); }
}
@media (max-width: 767px) {
  .season-cfb .hf-5, .season-cfb .hf-6 { display: none; }
  .season-cfb .hf { opacity: .13; }
  .season-cfb .hf-1 { left: 4%;  top: 10%; }
  .season-cfb .hf-2 { left: 86%; top: 12%; }
  .season-cfb .hf-3 { left: 78%; top: 44%; }
  .season-cfb .hf-4 { left: 5%;  top: 48%; }
}
@media (prefers-reduced-motion: reduce) {
  .season-cfb .hf { animation: none; }
}

/* ---------- Mobile polish for shared components (CFB skin only) ---------- */
@media (max-width: 767px) {
  /* Win ticker: digits on their own line, live dot inline with the label, a little more air. */
  .season-cfb .win-ticker { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 8px; padding: 12px 18px 12px; }
  .season-cfb .win-ticker-amt { flex: 0 0 100%; justify-content: center; order: 1; }
  .season-cfb .win-ticker-pulse { order: 2; }
  .season-cfb .win-ticker-label { order: 3; font-size: 12.5px; }
  .season-cfb .win-ticker-digit { min-width: 21px; height: 30px; font-size: 16.5px; }
  .season-cfb .win-ticker-symbol, .season-cfb .win-ticker-comma { font-size: 19px; }
}
@media (max-width: 479px) {
  /* Analyzer mock upload row: let the source pill drop under the text instead of squeezing it. */
  .season-cfb .mock-pad > div:first-child { flex-wrap: wrap; row-gap: 10px; text-align: left; }
  .season-cfb .mock-pad > div:first-child > div[style*="flex:1"] { flex: 1 1 150px !important; }   /* beats the inline flex:1 */
  .season-cfb .mock-pad > div:first-child > .tag-pill { margin: 0 auto; padding: 2px 8px; font-size: 10px; }   /* centred, smaller */
}

/* Bottom bar: the inline flex:1 on the button lets it shrink below its label, pushing the arrow to
   the edge. Keep the button at content width and let the meta text give way instead. */
@media (max-width: 767px) {
  .season-cfb .bottom-cta .btn { flex: 0 0 auto !important; }
  .season-cfb .bottom-cta .meta { flex: 1 1 0; }
  .season-cfb .bottom-cta .meta .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
