/* The sport pages (hockey-pools, football-pools, basketball-pools, soccer-pools): what they draw beyond site.css.
   Linked from those four pages only. Same rules as the rest of the site: ice for picks, lines and live data, red only
   for the live dot (its words take --red-text), and no gold here at all; a sport page spends its gold on the hero button, the closing button and the
   sticky bar (docs/BRAND.md section 6). Sections: 1 the hero's proof icon, 2 the proof band
   (the open-now board keeps to the page's sport in site.js, from #now's data-sport), 3 soccer's competitions, 4 the
   sample pools (pick'em, the box pool, the live table, Call the score), 5 the phone fit. */

/* 1. The hero's proof line, with an ice mark in place of a crest */
.proofline .pi { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--ice); background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.24); }
.proofline .pi .ico { width: 16px; height: 16px; }
.proofline { align-items: flex-start; }
.proofline .pi, .proofline img { margin-top: 1px; }

/* 2. Proof: the founding league, then what the page's pools do every game, in plain lines */
.proof2 { display: grid; gap: 18px; padding: 20px; border-radius: 26px; background: radial-gradient(420px 220px at 0% 0%, rgba(56,189,248,.10), transparent 70%), var(--boards); border: 1px solid var(--line2); }
.proof2 .crest-head { padding: 0; }
.proof2 .founded { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); max-width: 620px; }
.prooflist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.prooflist li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; background: rgba(11,18,32,.94); font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.prooflist .pi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--ice); background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.2); }
.prooflist .pi .ico { width: 18px; height: 18px; }
.prooflist b { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .proof2 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; padding: 30px; align-items: center; }
  .proof2 .founded { font-size: 19px; margin-top: 14px; }
}

/* the pages' kind lists: a small label over the dated rows */
.klabel { margin: 22px 2px 10px; }
.kindlist + .kl-more { margin-top: 14px; }

/* 3. Soccer's competitions: one tile each, a link into the start page on it */
.comps { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .comps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .comps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.comp { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 12px; border-radius: 16px; color: var(--ink) !important; background: var(--boards); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.comp:hover { border-color: rgba(56,189,248,.4); transform: translateY(-1px); }
.comp .badge { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 900 12.5px/1 'Barlow Condensed', sans-serif; letter-spacing: .05em; background: var(--night); border: 1px solid var(--line2); }
.comp b { font: 900 17px/1.1 'Barlow Condensed', sans-serif; letter-spacing: .01em; }
.comp small { font-size: 12px; line-height: 1.35; color: var(--mute); }

/* 4. The sample pools, drawn in HTML (fictional pools, captioned so) */
.sample-cap { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 9px; border-radius: 999px; font: 700 11.5px/1 'Barlow Condensed', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); background: rgba(255,255,255,.05); border: 1px solid var(--line2); }
.scr .sub2 { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 0 4px 10px; font-size: 12.5px; color: var(--mute); }
.scr .sub2 b { color: var(--ink); font-weight: 600; }
.mk { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 900 12px/1 Inter, sans-serif; }
.mk.y { color: #04121c; background: var(--ice); }
.mk.n { color: var(--mute); background: rgba(255,255,255,.06); border: 1px solid var(--line2); }
.mk.o { border: 2px solid rgba(56,189,248,.5); }
.mk.w { border: 2px dashed rgba(255,255,255,.18); }

/* 4.1 Pick'em: one card for the week, every game with your pick, its line and the split once locked */
.pk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pk-g { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); }
.pk-g.now { border-color: rgba(239,42,79,.28); background: rgba(239,42,79,.05); }
.pk-t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pk-t .tm { display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 9px; border-radius: 10px; font: 900 16px/1 'Barlow Condensed', sans-serif; letter-spacing: .04em; color: var(--mute); background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.07); }
.pk-t .tm i { font: 600 12px/1 Inter, sans-serif; font-style: normal; letter-spacing: 0; color: var(--mute); }
.pk-t .tm.me { color: var(--ink); background: rgba(56,189,248,.12); border-color: rgba(56,189,248,.45); }
.pk-t .tm.me i { color: var(--ice); }
.pk-t .at { font-size: 12px; color: var(--dim); }
.pk-s { text-align: right; line-height: 1.1; }
.pk-s b { display: block; font: 900 18px/1 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums; }
.pk-s small { display: block; margin-top: 3px; font-size: 12px; color: var(--mute); white-space: nowrap; }
.pk-g.now .pk-s small { color: var(--red-text); font-weight: 600; }
.pk-sp { grid-column: 2 / -1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mute); }
.pk-sp .bar2 { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.pk-sp .bar2 i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, rgba(56,189,248,.5), var(--ice)); }
.pk-sp.hid { font-style: italic; }
.pk-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; padding: 10px 12px; border-radius: 14px; font-size: 12.5px; color: var(--soft); background: rgba(56,189,248,.06); border: 1px solid rgba(56,189,248,.16); }
.pk-foot b { color: var(--ink); }

/* 4.2 The box pool: an entry, one player a box, what each has scored tonight, and the table */
.bx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bx-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 9px 10px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); }
.bx-list li.now { border-color: rgba(56,189,248,.3); background: rgba(56,189,248,.06); }
.bx-n { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; text-align: center; background: rgba(255,255,255,.05); border: 1px solid var(--line2); }
.bx-n small { display: block; font: 700 11px/1 'Barlow Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.bx-n b { display: block; font: 900 17px/1 'Barlow Condensed', sans-serif; color: var(--ink); }
.bx-p { min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.25; }
.bx-p span { font-weight: 400; font-size: 12px; color: var(--mute); }
.bx-o { grid-column: 2; font-size: 12px; line-height: 1.35; color: var(--dim); }
.bx-pts { grid-row: span 2; min-width: 34px; text-align: right; font: 900 24px/1 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums; }
.bx-pts.z { color: var(--dim); }
li.now .bx-pts { color: var(--ice); }
.bx-tab { margin-top: 10px; padding: 6px 12px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.bx-tab .label { display: flex; justify-content: space-between; padding: 6px 0 4px; }
.bx-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.bx-row .rk { font: 900 16px/1 'Barlow Condensed', sans-serif; color: var(--mute); text-align: center; }
.bx-row .tot { font: 900 19px/1 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums; }
.bx-row .mv { font-size: 12px; font-weight: 600; color: var(--mute); min-width: 52px; text-align: right; }
.bx-row.me { color: var(--ink); }
.bx-row.me b { color: var(--ice); }
.bx-row.me .mv { color: var(--ice); }
.scr .bx-rule { margin: 10px 4px 0; font-size: 12px; color: var(--mute); }

/* 4.3 The live table: two games go final and the entries change places, with what each can still reach */
.lt-cols, .lt-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 44px 40px; gap: 10px; align-items: center; }
.lt-cols { padding: 0 12px 6px; font: 700 12px/1 'Barlow Condensed', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.lt-cols span:nth-child(n+3) { text-align: right; }
.lt-body { position: relative; }
.lt-rk { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: absolute; left: 12px; top: 0; z-index: 1; pointer-events: none; }
.lt-rk li { height: 50px; display: grid; place-items: center start; font: 900 18px/1 'Barlow Condensed', sans-serif; color: var(--mute); width: 26px; }
.lt-rows { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lt-row { height: 50px; padding: 0 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); }
.lt-row .nm { grid-column: 2; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.2; }
.lt-row .nm small { display: block; font-size: 12px; font-weight: 600; color: var(--mute); }
.lt-row .v, .lt-row .mx { position: relative; text-align: right; font: 900 21px/1 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums; }
.lt-row .mx { font-size: 17px; color: var(--mute); }
.lt-row .v i, .lt-row .mx i { font-style: normal; }
.lt-row .v i + i, .lt-row .mx i + i { position: absolute; right: 0; top: 0; opacity: 0; }
.lt-row.me { background: rgba(56,189,248,.08); border-color: rgba(56,189,248,.3); }
.lt-row.me .nm, .lt-row.me .v { color: var(--ice); }
.lt-row .out { color: var(--dim); }
.lt-ev { display: grid; margin-top: 10px; padding: 10px 12px; border-radius: 14px; font-size: 12.5px; color: var(--soft); background: rgba(56,189,248,.06); border: 1px solid rgba(56,189,248,.16); }
.lt-ev span { grid-area: 1 / 1; }
.lt-ev span + span { opacity: 0; }
.lt-ev b { color: var(--ice); }
/* the loop: 10 seconds once the table is on screen (site.js marks it .in), the two games land at 40% */
.js .lt.in .lt-row.up { animation: lt-up 10s cubic-bezier(.2,.7,.2,1) infinite; }
.js .lt.in .lt-row.dn { animation: lt-dn 10s cubic-bezier(.2,.7,.2,1) infinite; }
.js .lt.in .a0 { animation: lt-a0 10s linear infinite; }
.js .lt.in .a1 { animation: lt-a1 10s linear infinite; }
.js .lt.in .lt-row.up { z-index: 2; }
@keyframes lt-up { 0%, 40% { transform: none; } 48%, 94% { transform: translateY(-56px); } 100% { transform: none; } }
@keyframes lt-dn { 0%, 40% { transform: none; } 48%, 94% { transform: translateY(56px); } 100% { transform: none; } }
@keyframes lt-a0 { 0%, 38% { opacity: 1; } 42%, 95% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes lt-a1 { 0%, 38% { opacity: 0; } 42%, 95% { opacity: 1; } 99%, 100% { opacity: 0; } }
/* without the script (or under reduced motion) the table shows the night as it ends */
html:not(.js) .lt .a0 { opacity: 0; } html:not(.js) .lt .a1 { opacity: 1; }

/* 4.4 Call the score: each match, your call, what it scored */
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cs-m { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 6px 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); }
.cs-m.now { border-color: rgba(239,42,79,.28); background: rgba(239,42,79,.05); }
.cs-sc { display: flex; align-items: center; gap: 7px; min-width: 0; font: 900 17px/1 'Barlow Condensed', sans-serif; letter-spacing: .04em; }
.cs-sc .n { min-width: 24px; padding: 4px 0; border-radius: 7px; text-align: center; background: rgba(0,0,0,.3); border: 1px solid var(--line2); font-variant-numeric: tabular-nums; }
.cs-sc .c { color: var(--soft); }
.cs-st { grid-column: 1; font-size: 12px; color: var(--mute); }
.cs-m.now .cs-st { color: var(--red-text); font-weight: 600; }
.cs-call { grid-row: 1 / span 2; grid-column: 2; display: grid; justify-items: center; gap: 4px; }
.cs-call b { padding: 6px 9px; border-radius: 10px; font: 900 16px/1 'Barlow Condensed', sans-serif; letter-spacing: .04em; color: var(--ink); background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.4); font-variant-numeric: tabular-nums; }
.cs-call small { font: 700 11px/1 'Barlow Condensed', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.cs-call .bk { color: var(--ice); }
.cs-pts { grid-row: 1 / span 2; grid-column: 3; text-align: right; font: 900 22px/1 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums; }
.cs-pts small { display: block; margin-top: 3px; font: 600 12px/1.2 Inter, sans-serif; color: var(--mute); }
.cs-pts.z { color: var(--dim); }
.cs-pts.y { color: var(--ice); }

@media (prefers-reduced-motion: reduce) {
  .js .lt.in .lt-row.up, .js .lt.in .lt-row.dn, .js .lt.in .a0, .js .lt.in .a1 { animation: none !important; }
  .js .lt .a0 { opacity: 0; } .js .lt .a1 { opacity: 1; }
  .js .lt .lt-row.up { transform: translateY(-56px); } .js .lt .lt-row.dn { transform: translateY(56px); }
}

/* 5. Phone fit: headings break evenly (no word left alone on a line), and the three steps sit number-beside-words */
.shead h2, .closer h2, .pillar3 h2, .hero2 h1 { text-wrap: balance; }
/* "that scores itself." needs a wider copy column on a desktop to hold two lines */
@media (min-width: 1000px) { .hero2-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
@media (max-width: 859px) {
  .steps { gap: 10px; }
  .steps .card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; padding: 16px 16px 17px; }
  .steps .card .num { grid-row: span 2; font-size: 36px; padding-top: 2px; }
  .steps .card h3 { margin: 2px 0 0; font-size: 17.5px; }
}
.bx-p span { white-space: nowrap; }
