@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --cream: #f4f0e5;
  --paper: #fffcf4;
  --green: #173f33;
  --forest: #10382c;
  --muted: #69766a;
  --accent: #cde1c2;
  --accent-ink: #3e6547;
  --rule: #d7dacb;
  --lime: var(--green);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--green); font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 90% 0%, #cde1c240, transparent 48%); }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: var(--green); font-size: 12px; }
a { color: var(--green); }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { transition: background .18s, color .18s, box-shadow .18s; }
button:disabled, input:disabled { opacity: .6; cursor: wait; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #73915d; outline-offset: 4px; }
header, main { width: calc(100% - 80px); max-width: 1240px; margin: auto; }
header { height: 100px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; }
header a { display: flex; gap: 11px; align-items: center; color: var(--green); text-decoration: none; font-size: 24px; font-weight: 800; font-style: italic; letter-spacing: -1px; }
.logo { width: 64px; height: 44px; display: block; flex-shrink: 0; object-fit: contain; }
header small { font-size: 8px; border: 1px solid #b9c9bf; letter-spacing: 2px; padding: 6px 7px; color: var(--green); margin-left: 8px; font-style: normal; border-radius: 3px; }
header>button { padding: 10px 15px; border: 1px solid #b8c8ba; border-radius: 30px; font-size: 11px; }
header>button:hover { background: var(--accent); border-color: var(--accent); }
.eyebrow { display: inline-block; color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 1.8px; margin-top: 40px; background: var(--accent); padding: 9px 12px; border-radius: 4px; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 20px 0 38px; }
h1 { font: 800 clamp(66px,7vw,90px)/.94 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; letter-spacing: -1.5px; margin: 0; }
h1 em { font-style: normal; color: var(--green); position: relative; display: inline-block; isolation: isolate; }
h1 em::after { content: ''; position: absolute; left: 0; right: -4px; bottom: 2px; height: 13px; background: var(--accent); z-index: -1; transform: skewX(-12deg); }
p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.intro p { margin: 0 0 5px; font-size: 13px; line-height: 1.9; }
.layout { display: grid; grid-template-areas: "field play"; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.board, .card { border-radius: 15px; padding: 27px; }
.board { grid-area: field; background: var(--forest); color: var(--cream); border: 1px solid #254d3b; box-shadow: 0 12px 30px #123e3010; }
.score { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
label { display: block; font-size: 9px; font-weight: 600; letter-spacing: 1.6px; color: var(--muted); margin-bottom: 8px; }
.board label { color: #b8cec1; }
.score strong { font: 600 37px 'Barlow Condensed'; color: var(--cream); }
.score small { font: 10px 'DM Sans'; color: #b8cec1; letter-spacing: 1px; }
#dots { display: flex; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #426052; }
.dot.done { background: var(--accent); }
.dot.active { outline: 1px solid var(--cream); outline-offset: 2px; }
.field { height: 243px; display: flex; border: 1px solid #90ad7b88; border-radius: 7px; overflow: hidden; background: #356744; }
.end { width: 38px; writing-mode: vertical-rl; display: grid; place-items: center; font: 700 18px 'Barlow Condensed'; letter-spacing: 4px; background: #264b32; color: #deead0; }
.start { transform: rotate(180deg); }
.goal { background: #9fbf77; color: #1c3b28; }
#turf { flex: 1; position: relative; background: repeating-linear-gradient(90deg,#ffffff06 0%,#ffffff06 10%,#00000006 10%,#00000006 20%); box-shadow: inset 0 0 45px #132d2333; }
.line { position: absolute; top: 0; bottom: 0; border-left: 1px solid #f4f0e580; }
.line:before, .line:after { content: attr(data-n); position: absolute; left: -8px; font: 18px 'Barlow Condensed'; color: #f4f0e5c7; }
.line:before { top: 24px; transform: rotate(180deg); }
.line:after { bottom: 24px; }
.hash { position: absolute; top: 75px; height: 6px; width: 100%; background: repeating-linear-gradient(90deg,transparent 0,transparent calc(2% - 1px),#f4f0e56b calc(2% - 1px),#f4f0e56b 2%); }
.hash.other { top: auto; bottom: 75px; }
#ball { position: absolute; top: 43%; left: 0%; transform: translateX(-30%); z-index: 2; font-size: 29px; transition: left .7s; filter: drop-shadow(0 3px 5px #0008); }
#ball span { display: block; font: 700 8px 'DM Sans'; text-align: center; color: var(--green); background: var(--cream); padding: 3px; border-radius: 3px; }
.caption { display: flex; justify-content: space-between; color: #bacdb4; font-size: 8px; letter-spacing: 1px; margin: 13px 0 24px; }
.tiers { display: flex; justify-content: space-between; gap: 5px; border-top: 1px solid #ffffff18; padding-top: 17px; }
.tier { font-size: 9px; color: #c9d7c5; }
.tier i { display: inline-block; width: 5px; height: 5px; background: var(--c); border-radius: 50%; margin-right: 4px; }
.tier b { display: block; color: var(--c); font: 600 25px 'Barlow Condensed'; margin: 5px 0 0 10px; }
.card { grid-area: play; min-height: 458px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 8px 25px #173f3306; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--accent); }
.kicker { font-size: 9px; letter-spacing: 1.4px; color: var(--accent-ink); font-weight: 700; line-height: 1.7; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.clock { font: 600 26px 'Barlow Condensed'; color: var(--green); background: #e7efdf; padding: 5px 10px; border-radius: 5px; min-width: 51px; text-align: center; }
.clock.urgent { color: #a23f2c; background: #fae5dc; }
.card h2 { font: 600 39px/1.05 'Barlow Condensed'; margin: 26px 0 14px; color: var(--green); }
.card p { font-size: 12px; margin: 0 0 22px; line-height: 1.8; }
.primary { display: block; width: 100%; border-radius: 6px; background: var(--green); color: var(--cream); padding: 16px 20px; font-size: 12px; font-weight: 600; margin-top: auto; border: 1px solid var(--green); }
.primary:hover { background: #285a46; border-color: #285a46; box-shadow: 0 4px 12px #173f3318; }
.note { text-align: center; color: #62715f; font-size: 8px; letter-spacing: .6px; line-height: 1.7; margin-top: 13px; }
.sport-figures { position: relative; height: 178px; margin: 18px 0 22px; color: var(--green); }
.sport-figure { display: block; position: absolute; width: clamp(40px, 14%, 62px); }
.sport-figure:nth-child(1) { left: 1%; top: 8px; transform: rotate(-5deg); }
.sport-figure:nth-child(2) { left: 29%; top: 0; }
.sport-figure:nth-child(3) { left: 56%; top: 22px; transform: rotate(3deg); }
.sport-figure:nth-child(4) { right: 0; top: 2px; transform: rotate(-4deg); }
.sport-figure:nth-child(5) { left: 15%; top: 96px; transform: rotate(4deg); }
.sport-figure:nth-child(6) { left: 43%; top: 101px; transform: rotate(-3deg); }
.sport-figure:nth-child(7) { right: 8%; top: 94px; }
.sport-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.sport-figure .shadow { fill: var(--accent); opacity: .5; }
.sport-figure .head { fill: var(--cream); stroke: currentColor; stroke-width: 2.5; }
.sport-figure .jersey, .sport-figure .helmet { fill: currentColor; }
.sport-figure .limb, .sport-figure .shoe, .sport-figure .equipment { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.sport-figure .shoe { stroke-width: 4; }
.sport-figure .equipment { stroke-width: 2; }
.sport-figure .bat { stroke-width: 4; }
.sport-figure .ball, .sport-figure .racket { fill: var(--accent); stroke: currentColor; stroke-width: 1.6; }
.sport-figure .ball-seam, .sport-figure .net { fill: none; stroke: currentColor; stroke-width: 1; }
.sport-figure .puck { fill: currentColor; }
@media (max-width: 420px) { .sport-figures { height: 165px; } }

input { width: 100%; border: 1px solid #b5c4af; border-radius: 6px; background: #f8f8ee; color: var(--green); padding: 15px; font-size: 13px; outline: none; }
input::placeholder { color: #7d8b78; }
input:focus { border-color: #73915d; box-shadow: 0 0 0 3px #cde1c260; }
form { margin-top: auto; }
.error { color: #9e402d; font-size: 11px; min-height: 26px; padding-top: 6px; }
.skip { width: 100%; margin-top: 13px; font-size: 10px; color: #687864; }
.skip:hover { color: #9e402d; }
.feedback { font-size: 12px; line-height: 1.8; border: 1px solid #c2d3bd; background: #edf2e6; border-radius: 7px; padding: 15px; margin: 8px 0 20px; color: #476446; }
.feedback b { color: var(--green); font-size: 15px; }
.bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--rule); }
.bottom h2 { font: 500 29px 'Barlow Condensed'; margin: 8px 0; }
.bottom p { font-size: 12px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 25px 0 32px; font-size: 8px; letter-spacing: 1px; color: #62755f; }
.footer-logo { display: block; width: 64px; height: 44px; flex-shrink: 0; object-fit: contain; }
dialog { background: var(--paper); color: var(--green); border: 1px solid #c3d0bf; border-radius: 16px; padding: 32px; max-width: 620px; width: 90%; box-shadow: 0 22px 80px #10382c45; }
dialog::backdrop { background: #0c2f23a6; backdrop-filter: blur(4px); }
dialog h2 { font: 600 36px 'Barlow Condensed'; margin: 19px 0; }
dialog p, dialog li { color: #5f725e; font-size: 13px; line-height: 1.8; }
#close { float: right; font-size: 25px; color: #54705a; }
.recap { max-height: 135px; overflow: auto; font-size: 11px; line-height: 1.8; color: #5a7157; margin-bottom: 20px; padding-right: 5px; }
.recap div { padding: 5px 0; border-bottom: 1px solid #e4e7d9; }
.recap b { color: var(--green); }
.signin { text-align: center; text-decoration: none; }
.results, .popularity { padding: 38px 0; border-bottom: 1px solid var(--rule); }
.popularity:empty { display: none; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-head label { color: var(--accent-ink); }
.section-head h2 { font: 600 34px 'Barlow Condensed'; margin: 6px 0 16px; }
.small-muted { font-size: 10px; color: #687b65; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 13px 0 20px; }
.stat-grid>div { padding: 21px; background: var(--paper); border: 1px solid var(--rule); border-radius: 9px; border-top: 3px solid var(--accent); }
.stat-grid>div:first-child { background: var(--green); border-color: var(--green); border-top-color: var(--accent); }
.stat-grid b { font: 600 40px 'Barlow Condensed'; color: var(--green); display: block; }
.stat-grid span { font-size: 10px; color: #63795e; }
.stat-grid>div:first-child b { color: var(--cream); }
.stat-grid>div:first-child span { color: #c4d7be; }
.history { font-size: 12px; color: #4f684a; }
.history summary, details summary { cursor: pointer; padding: 13px 0; color: #365b45; font-size: 11px; }
.history-table { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
th { font-size: 10px; color: #5e7556; background: #e9ecdf; }
td, th { padding: 12px; border-bottom: 1px solid var(--rule); }
.outlined { border: 1px solid #9db9ae; border-radius: 6px; padding: 12px; font-size: 10px; color: var(--green); background: transparent; }
.outlined:hover { background: #eaf1e3; border-color: #a7bf98; }
.trend-note { font-size: 11px; max-width: 850px; margin: 0 0 23px; }
.trend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trend { background: var(--paper); border: 1px solid var(--rule); border-radius: 11px; padding: 25px; }
.trend>label { color: var(--accent-ink); font-size: 8px; }
.trend h3 { font: 500 27px/1.15 'Barlow Condensed'; margin: 12px 0; }
.trend p { line-height: 1.6; }
.pick { border-left: 3px solid #618961; padding: 5px 0 5px 13px; margin: 19px 0; }
.pick.least { border-color: #a1bb90; }
.pick span { font-size: 8px; color: #4b7246; letter-spacing: 1.4px; font-weight: 700; }
.pick.least span { color: var(--accent-ink); }
.pick strong { display: block; font-size: 13px; margin: 6px 0; }
.pick small { font-size: 10px; color: #687e61; }
.answer-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid #e2e7d9; padding: 11px 0; }
.answer-row b { font-size: 11px; font-weight: 500; }
.answer-row span { display: block; color: #63795e; font-size: 9px; margin-top: 3px; }
.answer-row strong { font: 600 21px 'Barlow Condensed'; text-align: right; }
.answer-row small { display: block; font: 9px 'DM Sans'; color: #687e61; }
.source { display: inline-block; font-size: 10px; color: var(--accent-ink); margin-top: 16px; text-underline-offset: 3px; }
#notice:not(:empty) { padding: 13px 16px; margin-bottom: 18px; border: 1px solid #d2bb8e; background: #f8ecd6; border-radius: 7px; color: #77582d; font-size: 12px; }
#notice button { color: var(--green); text-decoration: underline; margin-left: 10px; }
.finish-actions { display: grid; gap: 10px; margin-top: auto; }
.finish-actions .primary { margin: 0; }
.finish-actions .outlined { width: 100%; padding: 13px; }
#shareText { width: 100%; min-height: 225px; padding: 15px; border: 1px solid #b1c4a4; border-radius: 7px; background: #edf3e7; color: var(--green); font: 12px/1.8 'DM Sans', sans-serif; resize: vertical; margin-bottom: 17px; }
@media (max-width:1000px) {
 header, main { width: calc(100% - 48px); }
 .layout { grid-template-columns: 1fr; grid-template-areas: "play" "field"; }
 h1 { font-size: 72px; }
 .card { grid-area: play; min-height: 350px; }
}
@media (max-width:650px) {
 .trend-grid { grid-template-columns: 1fr; }
 .stat-grid { grid-template-columns: 1fr 1fr; }
 .section-head { align-items: start; flex-direction: column; gap: 0; }
 .section-head .outlined { margin: 0 0 16px; }
 .section-head .small-muted { margin-bottom: 13px; }
 .intro { display: block; }
 .intro p { margin-top: 22px; font-size: 12px; }
 .intro p br { display: none; }
}
@media (max-width:540px) {
 header { height: 84px; }
 header a { font-size: 21px; }
 header small { margin-left: 2px; font-size: 7px; padding: 5px; }
 header>button { padding: 8px 10px; font-size: 10px; }
 .logo { width: 48px; height: 36px; }
 .eyebrow { margin-top: 28px; font-size: 8px; letter-spacing: 1.4px; }
 h1 { font-size: clamp(49px,12vw,65px); letter-spacing: -.8px; }
 h1 em::after { height: 9px; bottom: 1px; }
 .intro { margin: 20px 0 28px; }
 .board { padding: 20px 17px; }
 .card { padding: 25px; }
 .field { height: 200px; }
 .end { width: 28px; font-size: 14px; }
 .tier { font-size: 8px; }
 .tiers { padding-top: 16px; }
 .caption { font-size: 7px; }
 .bottom { display: block; padding: 28px 0; }
 footer span:nth-child(2) { display: none; }
 .card h2 { font-size: 35px; }
 .section-head h2 { font-size: 32px; }
 .stat-grid>div { padding: 17px; }
 .trend { padding: 22px; }
 dialog { padding: 25px; }
 dialog h2 { font-size: 33px; }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
/* Center the game-plan link while keeping account controls in the corner. */
.game-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; position: relative; z-index: 5; }
.game-header .brand { justify-self: start; min-width: 0; }
.brand-name { white-space: nowrap; }
.game-header #rules { justify-self: center; white-space: nowrap; min-height: 44px; }
.player-access { display: flex; justify-content: flex-end; align-items: center; gap: 12px; justify-self: end; min-width: 0; position: relative; }
.access-badge { white-space: nowrap; font-size: 8px; font-weight: 700; letter-spacing: 1.2px; color: var(--green); background: var(--accent); padding: 6px 8px; border-radius: 3px; }
.account-signin, .account-menu summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #b8c8ba; border-radius: 999px; padding: 10px 16px; background: var(--paper); color: var(--green); font: 700 12px 'DM Sans', sans-serif; white-space: nowrap; text-decoration: none; letter-spacing: 0; cursor: pointer; }
.account-signin:hover, .account-menu summary:hover { background: var(--accent); }
.account-menu summary { list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(285px, calc(100vw - 48px)); padding: 20px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 12px 30px #10382c25; }
.account-panel p { font-size: 11px; margin: 12px 0; line-height: 1.7; }
.account-actions { display: flex; align-items: stretch; flex-direction: column; gap: 4px; border-top: 1px solid var(--rule); padding-top: 8px; }
.account-actions button, .account-actions a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; font: 700 12px 'DM Sans', sans-serif; letter-spacing: 0; color: var(--green); text-decoration: none; text-align: left; }
.account-actions button:hover, .account-actions a:hover { color: var(--accent-ink); text-decoration: underline; }
.account-transfer { margin: 12px 0 0; }
.account-transfer button { text-decoration: underline; }
@media (max-width: 1000px) { .game-header .access-badge { display: none; } .game-header .account-panel .access-badge { display: inline-block; } .brand-name small { display: none; } }
@media (max-width: 650px) {
 .game-header { gap: 8px; }
 .game-header .brand-name { display: none; }
 .game-header .logo { width: 48px; height: 36px; }
 .game-header #rules { font-size: 11px; padding: 10px 12px; }
 .account-signin, .account-menu summary { padding: 10px 12px; font-size: 11px; }
 .player-access:has(> .access-badge:only-child) .access-badge { display: inline-block; font-size: 7px; letter-spacing: .4px; padding: 6px; }
}

.privacy-copy { max-width: 760px; padding: 48px 0 72px; font-size: 15px; line-height: 1.8; }
.privacy-copy h1 { font-family: "Barlow Condensed", sans-serif; font-size: clamp(38px, 7vw, 64px); line-height: 1.05; margin: 20px 0; }
.privacy-copy h2 { font-family: "Barlow Condensed", sans-serif; font-size: 28px; margin: 30px 0 10px; line-height: 1.2; }
.privacy-copy a { text-underline-offset: 3px; }

.answer-suggestions:not(:empty){display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 16px;padding:12px;background:var(--accent);border:1px solid #b2c7a3;border-radius:8px}.answer-suggestions span{font-size:12px;font-weight:700}.answer-suggestion{padding:10px 14px;background:var(--paper);color:var(--green);border:1px solid var(--green);border-radius:6px;font-size:14px;font-weight:700}.answer-suggestion:hover{background:#e8efe6}.answer-suggestion:focus-visible{outline:3px solid var(--green);outline-offset:2px}

.rules-logo{display:flex;justify-content:center;padding-top:22px;margin-top:24px;border-top:1px solid var(--rule)}.rules-logo img{width:112px;height:76px;object-fit:contain}

.timeout-control{display:flex;flex-direction:column;align-items:center;gap:7px;margin:0 12px}.timeout-control:empty{display:none}.timeout-button{background:#c43e37;color:#fff;padding:10px 15px;border-radius:6px;font-size:12px;font-weight:700}.timeout-button:hover{background:#a92c28}.timeout-control span{font-size:10px;color:#f4d1ca;white-space:nowrap}.resume-clock{align-self:flex-start;background:var(--accent);border:1px solid #9ab48b;border-radius:6px;padding:10px 15px;margin-bottom:14px;font-weight:700}@media(max-width:500px){.score{flex-wrap:wrap;gap:16px}.timeout-control{order:3;width:100%;flex-direction:row;justify-content:flex-start;margin:0}}
.report-answer{display:block;margin-top:8px;text-decoration:underline;text-underline-offset:3px;font-size:11px;color:var(--accent-ink)}#reportForm{display:grid;gap:12px}#reportForm label{font-size:12px;font-weight:700}#reportForm input,#reportForm textarea{width:100%;background:var(--cream);border:1px solid var(--rule);border-radius:6px;padding:12px;color:var(--green)}

.league-callout{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--accent);border-radius:8px;padding:20px 24px;margin:28px 0}.league-callout b{font-size:16px}.league-callout p{font-size:12px;margin:7px 0 0}.league-callout a{font-size:13px;white-space:nowrap;font-weight:700}@media(max-width:560px){.league-callout{align-items:flex-start;flex-direction:column}}
.daily-percentile{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:30px 0;padding:26px 30px;background:var(--accent);border:1px solid #b2c7a3;border-radius:10px}.daily-percentile[hidden]{display:none}.daily-percentile h2{font:600 34px/1.15 'Barlow Condensed',sans-serif;margin:10px 0}.daily-percentile h2 strong{font-weight:800}.daily-percentile p{font-size:12px;line-height:1.7;max-width:620px;margin:0}.daily-percentile button{white-space:nowrap}@media(max-width:650px){.daily-percentile{align-items:flex-start;flex-direction:column;padding:22px}.daily-percentile h2{font-size:29px}}

/* Keep the mobile daily-drive introduction short enough to reveal the field sooner. */
@media (max-width: 650px) {
 .card:has(.sport-figures) { min-height: 0; padding: 20px; }
 .card:has(.sport-figures) h2 { font-size: 30px; margin: 12px 0 9px; }
 .card:has(.sport-figures) p { margin-bottom: 8px; line-height: 1.65; }
 .card .sport-figures { height: 94px; margin: 6px 0 12px; }
 .card .sport-figure { width: 36px; }
 .card .sport-figure:nth-child(1) { top: 4px; }
 .card .sport-figure:nth-child(2) { top: 0; }
 .card .sport-figure:nth-child(3) { top: 9px; }
 .card .sport-figure:nth-child(4) { top: 2px; }
 .card .sport-figure:nth-child(5) { top: 50px; }
 .card .sport-figure:nth-child(6) { top: 54px; }
 .card .sport-figure:nth-child(7) { top: 49px; }
 .card:has(.sport-figures) .primary { padding: 13px 16px; min-height: 44px; }
 .card:has(.sport-figures) .note { margin-top: 8px; font-size: 7px; }
}
/* Let the field enter the mobile viewport sooner. */
@media (max-width: 650px) {
 .eyebrow { margin-top: 16px; padding: 7px 10px; font-size: 7px; letter-spacing: 1px; }
 .intro { margin: 12px 0 18px; }
 .intro h1 { font-size: clamp(32px, 9vw, 42px); line-height: .98; letter-spacing: -.5px; }
 .intro h1 em::after { height: 6px; bottom: 1px; }
 .intro p { margin: 10px 0 0; font-size: 11px; line-height: 1.6; max-width: 330px; }
}
/* Endzone visual system: warm paper, club green, light-green highlights. */
:root { --cream:#f5f1e7; --paper:#fffcf5; --green:#123b2e; --forest:#123b2e; --muted:#53675b; --accent:#cde1c2; --accent-ink:#3e6547; --rule:#d7ddcf; }
.game-page { font-size:15px; }
.game-page p { font-size:14px; line-height:1.75; }
.game-page .layout { align-items:start; gap:24px; }
.game-page .intro { margin-bottom:30px; }
.game-page .intro p { font-size:14px; }
.game-page .eyebrow { font-size:10px; letter-spacing:1.2px; border-radius:5px; }
.game-page .board, .game-page .card { border-radius:18px; box-shadow:0 10px 30px #123b2e09; }
.game-page .board { padding:24px; border-color:#234d3b; }
.game-page .card { padding:28px; min-width:0; min-height:500px; }
.game-page .card::before { height:4px; }
.game-page .kicker, .game-page label { font-size:11px; letter-spacing:1.1px; line-height:1.5; }
.game-page .card h2 { font-weight:700; font-size:40px; line-height:1.1; }
.game-page .card p { font-size:14px; line-height:1.7; }
.game-page .card[data-phase="active"] h2 { font:600 clamp(21px,1.8vw,26px)/1.4 'DM Sans',sans-serif; letter-spacing:-.4px; margin:24px 0 16px; overflow-wrap:anywhere; }
.game-page .primary { min-height:50px; font-size:14px; border-radius:9px; padding:15px 18px; }
.game-page .primary:hover { box-shadow:0 5px 14px #123b2e1a; }
.game-page .outlined { min-height:44px; font-size:12px; border-radius:8px; }
.game-page input { min-height:54px; padding:15px 16px; font-size:16px; border-color:#b7c8bd; background:#f8f7f0; border-radius:9px; }
.game-page .error { font-size:13px; line-height:1.5; }
.game-page .skip { font-size:12px; min-height:44px; margin-top:6px; }
.game-page .note { font-size:10px; letter-spacing:.35px; }
.game-page .clock { min-width:66px; padding:8px 12px; font:700 30px/1 'Barlow Condensed',sans-serif; font-variant-numeric:tabular-nums; border-radius:9px; background:#e9f0e4; }
.game-page .clock.paused { min-width:0; max-width:200px; font-size:18px; line-height:1.3; }
.game-page .clock.urgent { color:#a3362c; background:#f7e8e1; }
.game-page .top { align-items:start; }
/* One scoreboard, with clear yardage and seven progress segments. */
.score { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"total drive" "timeout timeout"; gap:16px; padding:18px 18px 16px; margin-bottom:20px; border:1px solid #ffffff18; border-radius:12px; background:#082b2245; align-items:center; }
.score-total { grid-area:total; }
.score-drive { grid-area:drive; align-self:start; padding-top:2px; }
.score label { margin-bottom:7px; font-size:10px; letter-spacing:1.2px; color:#c4d6cb; }
.score strong { display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:7px; font:700 68px/.95 'Barlow Condensed',sans-serif; font-variant-numeric:tabular-nums; letter-spacing:-1px; }
.score small { font:600 10px/1.4 'DM Sans',sans-serif; color:#cde1c2; letter-spacing:.5px; }
.score-drive label { display:flex; justify-content:space-between; gap:15px; align-items:center; }
#playProgress { font-size:12px; color:var(--paper); letter-spacing:0; font-variant-numeric:tabular-nums; }
#dots { gap:5px; }
.dot { width:14px; height:5px; border-radius:3px; background:#ffffff26; }
.dot.done { background:var(--accent); }
.dot.active { background:var(--paper); outline:1px solid var(--accent); outline-offset:3px; }
.timeout-control { grid-area:timeout; display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:12px; margin:0; padding-top:12px; border-top:1px solid #ffffff16; }
.timeout-control:empty { display:none; }
.timeout-control span { font-size:11px; color:#d6e1d8; }
.timeout-button { min-height:40px; background:#b7443e; border:1px solid #db8c7d66; padding:9px 14px; font-size:12px; border-radius:8px; }
.timeout-button:hover { background:#9d3630; }
/* Keep the field green, with quieter striping and a matching football marker. */
.field { height:250px; background:#356744; border-color:#b6ccb38a; border-radius:9px; }
#turf { background:repeating-linear-gradient(90deg,#ffffff03 0%,#ffffff03 10%,#00000003 10%,#00000003 20%); box-shadow:inset 0 0 25px #123b2e22; }
.end { width:36px; background:#244c35; color:#e2e8d9; font-size:16px; letter-spacing:3px; }
.goal { background:#cde1c2; color:#123b2e; }
.line { border-color:#fffcf566; }
.line:before, .line:after { color:#fffcf5b8; font-weight:600; }
#ball { top:43%; width:46px; transform:translateX(-50%); filter:drop-shadow(0 3px 5px #0a291c66); }
#ball img { width:44px; height:34px; object-fit:contain; display:block; }
#ball span { display:inline-block; min-width:30px; margin:4px 0 0 7px; padding:3px 5px; background:var(--accent); font:700 8px/1.2 'DM Sans',sans-serif; letter-spacing:.5px; border-radius:3px; }
.caption { font-size:9px; letter-spacing:.5px; margin:12px 0 18px; }
.tiers { padding-top:16px; gap:6px; }
.tier { font-size:11px; white-space:nowrap; color:#d2ded5; }
.tier i { width:4px; height:4px; margin-right:4px; }
.tier b { font-size:28px; font-weight:600; margin:5px 0 0 8px; }
.board.is-touchdown .goal { background:#d7bd78; }
/* Results lead with the score and spoiler-free rarity markers. */
.card[data-phase="complete"] { text-align:center; min-height:0; }
.result-score { display:flex; justify-content:center; align-items:baseline; gap:9px; margin:19px 0 5px; color:var(--green); }
.result-score strong { font:700 98px/.95 'Barlow Condensed',sans-serif; font-variant-numeric:tabular-nums; letter-spacing:-2px; }
.result-score>span { font-size:15px; font-weight:600; color:var(--muted); }
.game-page .card .result-title { font-size:32px; margin:8px 0 12px; }
.result-status { display:inline-block; align-self:center; padding:7px 12px; background:#eaf0e3; border-radius:999px; color:var(--accent-ink); font-size:12px; font-weight:600; }
.result-win { background:#f0e8d1; color:#6e5729; }
.rarity-recap { display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin:22px 0 10px; }
.result-mark { display:grid; place-items:center; width:37px; height:40px; font-size:21px; background:#f1f2e9; border:1px solid #dde3d5; border-radius:8px; }
.game-page .card .result-meta { font-size:12px; margin:0 0 22px; }
.card[data-phase="complete"] .finish-actions { margin-top:0; }
.drive-recap { margin-top:20px; border-top:1px solid var(--rule); text-align:left; }
.drive-recap>summary { padding:16px 0 0; font-size:13px; font-weight:600; }
.drive-recap .recap { max-height:none; overflow:visible; margin:12px 0 0; padding:0; font-size:13px; }
.drive-recap .recap>div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 10px; padding:13px 0; }
.recap-play { grid-column:1; font-size:11px; color:var(--muted); }
.recap-answer { grid-column:1; color:var(--green); font-weight:600; overflow-wrap:anywhere; }
.drive-recap .recap b { grid-column:2; grid-row:2; font-size:14px; white-space:nowrap; }
.drive-recap .report-answer { grid-column:1/-1; justify-self:start; margin-top:4px; padding:7px 0; font-size:11px; }
/* Anonymous answer counts have a visual scale as well as readable numbers. */
.game-page .section-head h2 { font-size:36px; }
.game-page .small-muted, .game-page .trend-note { font-size:12px; }
.game-page .trend { padding:26px; border-radius:14px; }
.game-page .trend>label { font-size:10px; }
.game-page .trend h3 { font:600 19px/1.4 'DM Sans',sans-serif; letter-spacing:-.25px; }
.game-page .trend .small-muted { font-size:12px; }
.pick span { font-size:10px; letter-spacing:1px; }
.pick strong { font-size:15px; line-height:1.6; }
.pick small { font-size:12px; }
.answer-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 14px; padding:14px 0; }
.answer-row b { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.answer-row span { font-size:11px; }
.answer-row strong { font-size:25px; }
.answer-row small { font-size:11px; }
.answer-meter, .pick-meter { display:block; height:5px; border-radius:5px; background:#e5eadd; overflow:hidden; }
.answer-row .answer-meter { grid-column:1/-1; margin-top:3px; }
.answer-meter i, .pick-meter i { display:block; height:100%; background:#8eae7a; border-radius:inherit; }
.pick-meter { margin-top:12px; }
.game-page .trend summary { font-size:13px; min-height:44px; }
.game-page .source { font-size:12px; }
.game-page .daily-percentile { background:#e9f0e4; border-color:#c4d3b8; border-radius:14px; }
.game-page .daily-percentile h2 { font-size:36px; }
.game-page .daily-percentile p { font-size:13px; }
.game-page .stat-grid span { font-size:12px; }
.game-page .stat-grid b { font-size:48px; font-variant-numeric:tabular-nums; }
.game-page .stat-grid>div { border-radius:12px; }
.game-page .history summary { font-size:13px; }
.game-page .league-callout { background:var(--green); color:var(--cream); border:1px solid var(--green); border-left:4px solid var(--accent); border-radius:12px; }
.game-page .league-callout p { font-size:13px; color:#d8e4d3; }
.game-page .league-callout a { display:inline-flex; align-items:center; min-height:44px; padding:10px 14px; border:1px solid #cde1c266; border-radius:8px; color:var(--accent); text-decoration:none; }
.game-page .league-callout a:hover { background:#ffffff0c; border-color:var(--accent); }
.game-page .league-callout a:focus-visible { outline-color:var(--accent); }
.game-page dialog p, .game-page dialog li { font-size:14px; }
.game-page .feedback { font-size:14px; padding:18px; border-radius:10px; background:#eef2e8; }
.game-page .feedback b { font:700 34px/1.2 'Barlow Condensed',sans-serif; }
@keyframes touchdown-glow { 0%,100% { box-shadow:0 10px 30px #123b2e09; } 45% { box-shadow:0 0 0 4px #d7bd7880,0 10px 30px #123b2e12; } }
.touchdown-moment { animation:touchdown-glow .8s ease-out 1; }
@media(max-width:650px) {
 .game-page header, .game-page main { width:calc(100% - 32px); }
 .game-page .game-header #rules, .game-page .account-menu summary, .game-page .account-signin { font-size:12px; }
 .game-page .eyebrow { font-size:9px; margin-top:14px; padding:6px 8px; }
 .game-page .intro { margin:12px 0 18px; }
 .game-page .intro h1 { font-size:clamp(32px,9vw,42px); }
 .game-page .intro p { font-size:12px; line-height:1.6; margin-top:9px; }
 .game-page .layout { gap:16px; }
 .game-page .board { padding:16px; border-radius:14px; }
 .game-page .card { padding:22px; border-radius:14px; min-height:0; }
 .game-page .card:has(.sport-figures) { padding:20px; }
 .game-page .card:has(.sport-figures) h2 { font-size:30px; margin:12px 0 9px; }
 .game-page .card:has(.sport-figures) p { font-size:13px; line-height:1.6; margin-bottom:8px; }
 .game-page .card .sport-figures { height:88px; margin:6px 0 10px; }
 .game-page .card:has(.sport-figures) .note { font-size:9px; }
 .game-page .card[data-phase="active"] h2 { font-size:21px; margin:18px 0 12px; }
 .game-page .card[data-phase="active"] p { margin-bottom:16px; font-size:13px; }
 .score { gap:12px; padding:14px; margin-bottom:16px; }
 .score strong { font-size:56px; }
 .score small { font-size:9px; }
 .score label { font-size:9px; letter-spacing:.75px; }
 .score-drive label { gap:8px; }
 .dot { width:12px; }
 #dots { gap:4px; }
 #playProgress { font-size:11px; }
 .timeout-control { flex-direction:row; width:auto; gap:10px; padding-top:10px; }
 .timeout-control span { font-size:10px; }
 .field { height:208px; }
 .end { width:26px; font-size:13px; letter-spacing:2px; }
 .line:before, .line:after { font-size:15px; left:-6px; }
 .caption { font-size:8px; letter-spacing:0; margin-bottom:15px; }
 .tier { font-size:10px; }
 .tier b { font-size:25px; margin-left:0; }
 .tier i { display:none; }
 .result-score strong { font-size:82px; }
 .result-mark { width:33px; height:37px; font-size:19px; }
 .rarity-recap { gap:5px; margin:18px 0 10px; }
 .game-page .card .result-title { font-size:30px; }
 .game-page .section-head h2 { font-size:32px; }
 .game-page .trend { padding:21px; }
 .game-page .trend h3 { font-size:17px; }
 .game-page .daily-percentile { padding:22px; }
 .game-page .daily-percentile h2 { font-size:30px; }
 .game-page .stat-grid { gap:10px; }
 .game-page .stat-grid>div { padding:18px; }
 .game-page .bottom p { font-size:13px; }
 .game-page footer { font-size:9px; }
}
@media(max-width:360px) {
 .score { padding:12px; column-gap:8px; }
 .score strong { font-size:48px; }
 .dot { width:10px; }
 #dots { gap:3px; }
 .score-drive label { font-size:8px; gap:4px; }
 .result-mark { width:29px; height:34px; font-size:17px; }
 .rarity-recap { gap:4px; }
 .game-page .card { padding:18px; }
}
@media(prefers-reduced-motion:reduce) { .touchdown-moment { animation:none; } }
@media(max-width:650px) {
 /* Keep the readable scoreboard compact enough to reveal the turf. */
 .score { grid-template-areas:"total drive" "total timeout"; align-items:start; row-gap:10px; }
 .score-total { align-self:center; }
 .score:has(.timeout-control:empty) { grid-template-areas:"total drive"; }
 .score .timeout-control { padding:0; border:0; margin:0; flex-direction:column; align-items:flex-end; gap:4px; }
 .score .timeout-button { min-height:36px; padding:7px 12px; font-size:11px; }
 .score .timeout-control span { font-size:9px; }
 .game-page .clock.paused { max-width:160px; font-size:16px; }
}
.game-page #shareText { font-size:14px; line-height:1.8; }
.game-page #reportForm label { font-size:13px; }
/* Your daily standing, drawn as a ranking rather than a second football field. */
.game-page .daily-percentile { display:block; }
.percentile-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.percentile-heading>div { min-width:0; }
.percentile-heading h2 { margin-bottom:0; }
.ranking-graphic { padding-top:72px; margin:0 0 18px; }
.ranking-lane { margin:0 24px; }
.ranking-track { position:relative; height:12px; border-radius:999px; background:#cde1c2; border:1px solid #a7bf98; }
.ranking-track::after { content:''; position:absolute; inset:2px 0; background:repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#fffcf599 calc(25% - 1px),#fffcf599 25%); pointer-events:none; border-radius:inherit; }
.ranking-fill { width:var(--rank); height:100%; background:var(--green); border-radius:inherit; }
.ranking-marker { position:absolute; z-index:1; bottom:0; left:var(--rank); width:42px; transform:translateX(-50%); }
.ranking-marker img { display:block; width:42px; height:56px; filter:drop-shadow(0 2px 2px #123b2e20); }
.ranking-marker>span { position:absolute; top:-17px; left:50%; transform:translateX(-50%); padding:3px 6px; border-radius:4px; background:var(--green); color:var(--cream); font-size:9px; line-height:1; font-weight:700; letter-spacing:.7px; }
.ranking-scale { display:flex; justify-content:space-between; margin-top:11px; font-size:10px; font-weight:600; color:var(--muted); font-variant-numeric:tabular-nums; }
.ranking-scale>span { width:32px; text-align:center; }
.ranking-scale>span:first-child { margin-left:-16px; }
.ranking-scale>span:last-child { margin-right:-16px; }
.ranking-ends { display:flex; justify-content:space-between; gap:20px; margin-top:9px; color:var(--green); font-size:12px; font-weight:600; }
.ranking-ends>span:last-child { text-align:right; }
.game-page .daily-percentile .ranking-note { max-width:none; font-size:12px; }
@media(max-width:650px) {
 .percentile-heading { align-items:flex-start; flex-direction:column; gap:12px; }
 .percentile-heading h2 { margin-bottom:0; }
 .ranking-graphic { padding-top:70px; margin-bottom:15px; }
 .ranking-lane { margin:0 20px; }
 .ranking-ends { font-size:11px; gap:12px; }
 .game-page .daily-percentile .ranking-note { font-size:11px; }
}
