/*! FSN All-Timers — styles (scoped to .fsn-at / .fsn-at-info) */
.fsn-at, .fsn-at * , .fsn-at *::before, .fsn-at *::after { box-sizing: border-box; }
.fsn-at {
  --at-navy: #06111e; --at-navy2: #0c2340; --at-navy3: #011e3b;
  --at-orange: #fb4f14; --at-orange2: #ff7a3d; --at-gold: #f6c453; --at-gold2: #ffdf8a;
  --at-green: #22c55e; --at-red: #ef4444; --at-blue: #60a5fa;
  --at-panel: rgba(17, 31, 52, .92); --at-panel2: rgba(9, 19, 34, .9); --at-line: rgba(255, 255, 255, .1);
  --at-text: #eef3f9; --at-muted: #a3b3c8; --at-dim: #7387a1;
  --at-head: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue Condensed", sans-serif-condensed, "Oswald", sans-serif;
  --at-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --at-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  color: var(--at-text); font-family: var(--at-body); font-size: 16px; line-height: 1.45;
  background:
    radial-gradient(circle at 78% 10%, rgba(251, 79, 20, .38), transparent 34%),
    radial-gradient(ellipse at 50% 118%, rgba(28, 110, 58, .55), transparent 58%),
    linear-gradient(115deg, var(--at-navy) 0%, var(--at-navy2) 54%, var(--at-navy3) 100%);
  border-radius: 18px; margin: 0 auto 32px; max-width: 980px;
  -webkit-font-smoothing: antialiased;
}
/* stadium lights + field stripes */
.fsn-at::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 252, 235, .55) 0, rgba(255, 252, 235, .12) 3.5%, transparent 11%),
    radial-gradient(circle at 88% 4%, rgba(255, 252, 235, .45) 0, rgba(255, 252, 235, .1) 3.5%, transparent 11%);
}
.fsn-at::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 64px, rgba(255, 255, 255, 0) 64px 128px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%); mask-image: linear-gradient(to bottom, transparent, #000 60%);
}
.fsn-at button, .fsn-at a { font-family: inherit; }
.fsn-at :focus-visible { outline: 3px solid var(--at-gold); outline-offset: 2px; border-radius: 10px; }
.fsn-at .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- hero (server-rendered, stays readable without JS) ---------- */
.at-hero { padding: 34px 20px 26px; text-align: center; max-width: 720px; margin: 0 auto; }
.at-kicker { font-family: var(--at-head); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--at-orange2); margin: 0 0 6px; }
.at-hero h1, .at-h1 {
  font-family: var(--at-head); font-weight: 900; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: .92; margin: 0 0 12px; color: #fff;
}
.at-hero h1 span { color: var(--at-gold); }
.at-tagline { font-size: clamp(1.05rem, 3.6vw, 1.3rem); color: #dfe8f3; margin: 0 auto 20px; max-width: 34ch; }
.at-hero-meta { margin: 14px 0 0; font-size: .86rem; color: var(--at-muted); }
.fsn-at.is-compact .at-hero { padding: 12px 16px 4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; max-width: 640px; }
.fsn-at.is-compact .at-hero h1 { font-size: 1.6rem; margin: 0; }
.fsn-at.is-compact .at-tagline, .fsn-at.is-compact .at-kicker, .fsn-at.is-compact .at-hero-meta, .fsn-at.is-compact .at-hero .at-btn { display: none; }

/* ---------- app shell ---------- */
.at-app { max-width: 640px; margin: 0 auto; padding: 4px 14px 22px; }
.at-topbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; min-height: 48px; padding-top: 6px; }
.at-topbar .at-record { font-family: var(--at-head); font-weight: 900; font-size: 1.5rem; letter-spacing: .02em; }
.at-topbar .at-status { font-size: .78rem; color: var(--at-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.at-linkbtn { background: none; border: 0; color: var(--at-muted); font-size: .86rem; font-weight: 600; min-height: 44px; padding: 0 8px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.at-linkbtn:hover { color: #fff; }

.at-panel {
  background: linear-gradient(180deg, rgba(36, 52, 76, .94), rgba(19, 32, 52, .94));
  border: 1px solid var(--at-line); border-radius: 16px; padding: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .07);
  margin: 0 0 14px;
}
.at-inset { background: rgba(4, 10, 20, .72); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .45); }
.at-label { display: block; font-family: var(--at-head); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--at-muted); margin: 0 0 6px; }
.at-label--model { color: var(--at-orange2); }
.at-label--hist { color: #9cc7ff; }
.at-h2 { font-family: var(--at-head); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin: 0 0 8px; letter-spacing: .01em; }
.at-h2 em { font-style: normal; color: var(--at-gold); }
.at-h3 { font-family: var(--at-head); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; margin: 0 0 6px; }
.at-p { margin: 0 0 10px; color: #d5e0ec; }
.at-small { font-size: .84rem; color: var(--at-muted); }
.at-mono { font-family: var(--at-mono); font-size: .82rem; letter-spacing: -.01em; }

/* ---------- buttons ---------- */
.at-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 10px; border: 0; cursor: pointer;
  font-family: var(--at-head); font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--at-orange); color: #fff; text-decoration: none;
  box-shadow: 0 6px 18px rgba(251, 79, 20, .35), inset 0 -2px 0 rgba(0, 0, 0, .18);
  transition: transform .08s ease, filter .15s ease;
}
.at-btn:hover { filter: brightness(1.08); color: #fff; }
.at-btn:active { transform: translateY(1px); }
.at-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.at-btn--block { width: 100%; }
.at-btn--gold { background: linear-gradient(180deg, var(--at-gold2), var(--at-gold)); color: #241703; box-shadow: 0 6px 18px rgba(246, 196, 83, .3), inset 0 -2px 0 rgba(0, 0, 0, .15); }
.at-btn--gold:hover { color: #241703; }
.at-btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); font-size: 1.05rem; }
.at-btn--sm { min-height: 44px; font-size: 1rem; padding: 0 14px; white-space: nowrap; }
.at-actions { display: grid; gap: 10px; margin: 14px 0 0; }
.at-actions--2 { grid-template-columns: 1fr 1fr; }

/* ---------- banners ---------- */
.at-banner { border-radius: 10px; padding: 8px 14px; text-align: center; font-family: var(--at-head); font-weight: 900; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; color: #fff; }
.at-banner--win { background: linear-gradient(180deg, #34d77f, #16a34a); }
.at-banner--loss { background: linear-gradient(180deg, #ff8b52, #e5482b); }
.at-banner--tie { background: linear-gradient(180deg, #8ca1bb, #5b6f88); }
.at-banner--perfect { background: linear-gradient(90deg, #ffe7a3, var(--at-gold), #ffe7a3); color: #2a1b02; background-size: 200% 100%; animation: at-shine 2.4s linear infinite; }
@keyframes at-shine { from { background-position: 0 0; } to { background-position: 200% 0; } }

/* ---------- tags / chips ---------- */
.at-tag { display: inline-block; font-family: var(--at-mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; border: 1px solid currentColor; line-height: 1.2; white-space: nowrap; }
.at-tag--LEGEND { color: var(--at-gold); }
.at-tag--STAR { color: #4ade80; }
.at-tag--STARTER { color: var(--at-blue); }
.at-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .78rem; font-weight: 700; letter-spacing: .04em; margin: 0 6px 6px 0; }
.at-chip--hot { background: rgba(251, 79, 20, .2); color: #ffb38f; }

/* ---------- roster tokens ---------- */
.at-tokens { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 6px; }
.at-token { text-align: center; min-width: 0; background: none; border: 0; padding: 0; color: inherit; }
.at-token__pos { display: block; font-family: var(--at-head); font-weight: 800; font-size: .74rem; letter-spacing: .1em; color: var(--at-gold); margin-bottom: 3px; }
.at-token__dot { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; background: radial-gradient(circle at 35% 30%, #2c4467, #12233a); border: 2px solid rgba(255, 255, 255, .28); font-family: var(--at-head); font-weight: 800; font-size: .72rem; line-height: 1; color: #fff; }
.at-token__dot small { font-size: .62rem; color: var(--at-muted); font-weight: 700; }
.at-token--empty .at-token__dot { background: rgba(0, 0, 0, .35); border-style: dashed; border-color: rgba(255, 255, 255, .2); }
.at-token--next .at-token__dot { border: 2px solid var(--at-gold); box-shadow: 0 0 0 3px rgba(246, 196, 83, .25), 0 0 16px rgba(246, 196, 83, .45); }
.at-token--hot .at-token__dot { border-color: var(--at-orange); box-shadow: 0 0 0 3px rgba(251, 79, 20, .3); }
.at-token__name { display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #cfdbea; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.at-tokens--compact { gap: 6px 4px; }
.at-tokens--compact .at-token__dot { width: 38px; height: 38px; font-size: .64rem; }
.at-tokens--compact .at-token__pos { font-size: .66rem; margin-bottom: 2px; }
.at-tokens--compact .at-token__name { font-size: .6rem; margin-top: 2px; }

/* ---------- player cards ---------- */
.at-cards { display: grid; gap: 8px; }
.at-card {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  background: linear-gradient(180deg, rgba(56, 72, 96, .95), rgba(34, 48, 70, .95));
  border: 2px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px 10px 10px 16px; color: var(--at-text);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3); font: inherit;
}
.at-card::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 5px; border-radius: 0 4px 4px 0; background: var(--pos, var(--at-orange)); }
.at-card:hover { border-color: rgba(255, 255, 255, .22); }
.at-card[aria-pressed="true"] { border-color: var(--at-gold); box-shadow: 0 0 0 3px rgba(246, 196, 83, .25), 0 8px 22px rgba(0, 0, 0, .4); }
.at-card__top { display: flex; align-items: baseline; gap: 8px; }
.at-card__pos { font-family: var(--at-head); font-weight: 800; font-size: .86rem; letter-spacing: .1em; color: var(--pos, var(--at-orange)); }
.at-card__name { flex: 1; min-width: 0; font-family: var(--at-head); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; letter-spacing: .01em; }
.at-card__team { font-size: .82rem; color: var(--at-muted); font-weight: 600; }
.at-card__grid { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 6px; }\n.at-card__hist .at-sub { display: inline; margin-right: 6px; }\n.at-card__stats, .at-card__hon { display: block; }
.at-card__stats { font-family: var(--at-mono); font-size: .8rem; color: #e8f0fb; }
.at-card__hon { font-size: .78rem; color: #9cc7ff; font-weight: 600; }
.at-card__brings { font-size: .88rem; color: #dbe5f1; margin: 0; }
.at-traits { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.at-trait { display: grid; grid-template-columns: 5.4em minmax(14px, 1fr) 1.8em; align-items: center; gap: 5px; font-size: .7rem; }
.at-trait__k { color: #c8d4e3; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-trait__bar { height: 7px; border-radius: 6px; background: rgba(0, 0, 0, .45); overflow: hidden; }
.at-trait__bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ff7a3d, var(--at-orange)); }
.at-trait__bar i.hi { background: linear-gradient(90deg, #ffd56b, var(--at-gold)); }
.at-trait__v { font-family: var(--at-mono); font-weight: 700; text-align: right; }
.at-sub { display: block; font-family: var(--at-head); font-weight: 800; letter-spacing: .12em; font-size: .68rem; text-transform: uppercase; margin-bottom: 3px; }
.at-sub--hist { color: #9cc7ff; }
.at-sub--model { color: #ffb38f; }

/* sticky draft bar */
.at-sticky { position: sticky; bottom: 0; z-index: 3; margin: 12px -14px -22px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(6, 17, 30, 0), rgba(6, 17, 30, .96) 28%); }

/* ---------- versus bars ---------- */
.at-vs { display: grid; gap: 10px; }
.at-vsrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.at-vsrow b { font-family: var(--at-mono); font-size: 1.05rem; }
.at-vsbar { height: 10px; border-radius: 8px; background: rgba(0, 0, 0, .45); overflow: hidden; }
.at-vsbar i { display: block; height: 100%; }
.at-vsbar--us i { background: linear-gradient(90deg, #ffb06b, var(--at-orange)); margin-left: auto; }
.at-vsbar--them i { background: linear-gradient(90deg, #94a3b8, #e2e8f0); }
.at-vsrow small { display: block; font-size: .72rem; color: var(--at-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 3px; }

/* ---------- plan options ---------- */
.at-plans { display: grid; gap: 6px; }
.at-plan { display: block; width: 100%; text-align: left; cursor: pointer; padding: 8px 12px; min-height: 52px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .28); color: var(--at-text); font: inherit; }
.at-plan b { display: block; font-family: var(--at-head); font-weight: 800; text-transform: uppercase; font-size: 1.08rem; line-height: 1.1; letter-spacing: .04em; }
.at-plan span { display: block; font-size: .8rem; line-height: 1.3; color: #c9d5e4; }
.at-plan[aria-checked="true"] { border-color: var(--at-orange); background: rgba(251, 79, 20, .14); }

/* ---------- scoreboard ---------- */
.at-score { background: #02070f; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px 12px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .03), 0 8px 24px rgba(0, 0, 0, .5); }
.at-score__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 4px 2px; }
.at-score__row + .at-score__row { border-top: 1px solid rgba(255, 255, 255, .08); }
.at-score__team { font-family: var(--at-head); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-score__team small { display: block; font-family: var(--at-body); font-size: .72rem; color: var(--at-muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
.at-score__pts { font-family: var(--at-mono); font-weight: 700; font-size: 1.9rem; color: var(--at-gold); min-width: 2.2ch; text-align: right; text-shadow: 0 0 12px rgba(246, 196, 83, .35); }
.at-score__row--lose .at-score__pts { color: #8496ad; text-shadow: none; }
.at-score__meta { display: flex; justify-content: space-between; font-family: var(--at-mono); font-size: .76rem; color: var(--at-muted); padding-top: 6px; }
.at-feed { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.at-feed li { font-size: .84rem; background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 7px 10px; display: grid; grid-template-columns: 4.6em 1fr auto; gap: 8px; align-items: baseline; }
.at-feed li .q { font-family: var(--at-mono); color: var(--at-muted); font-size: .74rem; }
.at-feed li .sc { font-family: var(--at-mono); font-weight: 700; }
.at-feed li.us { border-left: 3px solid var(--at-orange); }
.at-feed li.them { border-left: 3px solid #94a3b8; }
.at-feed li.to { color: #ffd3c2; }

/* ---------- result / reason ---------- */
.at-reason { border: 1px solid rgba(246, 196, 83, .35); background: linear-gradient(180deg, rgba(246, 196, 83, .12), rgba(246, 196, 83, .04)); border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; }\n.at-reason .at-chip { margin-bottom: 0; }
.at-reason p { margin: 0; font-size: 1.02rem; color: #fff7e2; }
.at-big { font-family: var(--at-head); font-weight: 900; font-size: 4.2rem; line-height: .9; letter-spacing: .02em; }
.at-big--gold { color: var(--at-gold); text-shadow: 0 0 24px rgba(246, 196, 83, .45); }
.at-odds { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: .88rem; margin-top: 10px; }
.at-meter { height: 10px; border-radius: 8px; background: rgba(0, 0, 0, .45); overflow: hidden; grid-column: 1 / -1; }
.at-meter i { display: block; height: 100%; background: linear-gradient(90deg, #ef4444, #f59e0b 45%, #22c55e); }

/* ---------- tables ---------- */
.at-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.at-table th, .at-table td { padding: 7px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); text-align: right; }
.at-table th:first-child, .at-table td:first-child { text-align: left; }
.at-table thead th { font-family: var(--at-head); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--at-muted); font-weight: 800; }
.at-table td { font-family: var(--at-mono); font-size: .8rem; }
.at-table td:first-child { font-family: var(--at-body); font-size: .84rem; }
details.at-more { margin: 0 0 14px; }
details.at-more > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-family: var(--at-head); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; color: #dfe8f3; list-style: none; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
details.at-more > summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; }
details.at-more[open] > summary::after { content: "\2013"; }
details.at-more > .at-panel { margin-top: 8px; }

/* ---------- schedule ---------- */
.at-sched { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.at-sched li > button, .at-sched li > div { width: 100%; display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .25); color: var(--at-text); font: inherit; text-align: left; }
.at-sched li > button { cursor: pointer; }
.at-sched .wk { font-family: var(--at-head); font-weight: 800; color: var(--at-muted); font-size: .95rem; }
.at-sched .opp { min-width: 0; }
.at-sched .opp b { display: block; font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-sched .opp small { color: var(--at-muted); font-size: .74rem; }
.at-res { font-family: var(--at-mono); font-weight: 700; font-size: .8rem; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.at-res--W { background: rgba(34, 197, 94, .2); color: #86efac; }
.at-res--L { background: rgba(239, 68, 68, .2); color: #fca5a5; }
.at-res--T { background: rgba(148, 163, 184, .2); color: #e2e8f0; }
.at-res--next { background: rgba(251, 79, 20, .2); color: #ffb38f; }
.at-sched li.is-next > div, .at-sched li.is-next > button { border-color: rgba(251, 79, 20, .6); }
.at-grid17 { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.at-grid17 span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; border-radius: 8px; font-family: var(--at-mono); font-size: .66rem; font-weight: 700; text-align: center; line-height: 1.2; }
.at-grid17 span b { font-family: var(--at-head); font-size: 1rem; }
.at-grid17 .W { background: rgba(34, 197, 94, .22); color: #bbf7d0; }
.at-grid17 .L { background: rgba(239, 68, 68, .25); color: #fecaca; }
.at-grid17 .T { background: rgba(148, 163, 184, .25); }
.at-grid17 .chg { outline: 2px solid var(--at-gold); }

/* ---------- misc ---------- */
.at-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.at-stack > * + * { margin-top: 10px; }
.at-rlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.at-rlist li > button, .at-rlist li > div { width: 100%; display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 52px; padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .25); color: var(--at-text); font: inherit; text-align: left; }
.at-rlist li > button { cursor: pointer; }
.at-rlist li > button[aria-pressed="true"] { border-color: var(--at-gold); }
.at-rlist .pos { font-family: var(--at-head); font-weight: 800; color: var(--pos, var(--at-orange)); letter-spacing: .08em; }
.at-rlist b { display: block; font-size: .95rem; }
.at-rlist small { color: var(--at-muted); font-size: .76rem; }
.at-ratings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.at-ratings div { text-align: center; padding: 10px 4px; border-radius: 10px; background: rgba(0, 0, 0, .3); }
.at-ratings b { display: block; font-family: var(--at-mono); font-size: 1.4rem; color: #fff; }
.at-ratings small { font-size: .68rem; color: var(--at-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.at-progress { height: 10px; border-radius: 8px; background: rgba(0, 0, 0, .45); overflow: hidden; margin: 10px 0; }
.at-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--at-orange), var(--at-gold)); transition: width .15s ease; }
.at-toast { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); background: #fff; color: #0b1626; font-weight: 700; padding: 12px 18px; border-radius: 10px; z-index: 99999; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.at-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.at-confetti ~ * { position: relative; z-index: 1; text-shadow: 0 2px 10px rgba(6, 17, 30, .9); }
.at-confetti i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; opacity: .9; animation: at-fall 2.8s linear forwards; }
@keyframes at-fall { to { transform: translateY(560px) rotate(540deg); opacity: 0; } }
.at-footnote { font-size: .74rem; color: var(--at-dim); text-align: center; margin: 14px 0 0; }
.at-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(2, 8, 16, .78); display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
.at-modal.fsn-at { margin: 0; max-width: none; border-radius: 0; overflow: auto; }
.at-modal.fsn-at::before, .at-modal.fsn-at::after { display: none; }
.at-modal__box { width: 100%; max-width: 620px; max-height: 88vh; overflow: auto; background: #0e1d33; color: var(--at-text); border-radius: 16px; padding: 18px; border: 1px solid var(--at-line); font-family: var(--at-body); }
/* ---------- v1.1: topbar actions, daily, playoffs, Super Bowl ---------- */
.at-topbar__r { display: flex; gap: 4px; justify-content: flex-end; flex-shrink: 0; }
.at-topbar__r .at-linkbtn { padding: 0 6px; }
.at-panel--daily { border-color: rgba(246, 196, 83, .45); background: linear-gradient(160deg, rgba(246, 196, 83, .12), rgba(255, 255, 255, .03) 55%); }
.at-panel--gold { border-color: rgba(246, 196, 83, .6); box-shadow: 0 0 0 2px rgba(246, 196, 83, .25), 0 12px 40px rgba(246, 196, 83, .18); }
.at-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.at-links a { display: block; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); color: var(--at-text); text-decoration: none; min-height: 44px; }
.at-links a:hover, .at-links a:focus-visible { border-color: var(--at-orange); }
.at-links b { display: block; font-family: var(--at-head); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; }
.at-links span { display: block; font-size: .82rem; color: var(--at-muted); margin-top: 2px; }
.at-banner--po { background: linear-gradient(90deg, #1d4ed8, #3b82f6); }
.at-banner--sb { color: #1a1204; font-size: 1.35rem; letter-spacing: .22em; background: linear-gradient(100deg, #b8862b, #f6c453 30%, #fff1c4 50%, #f6c453 70%, #b8862b); background-size: 200% 100%; animation: at-shine 3.5s linear infinite; box-shadow: 0 8px 26px rgba(246, 196, 83, .35); }
.at-banner--xl { font-size: 1.6rem; padding: 14px; }
@keyframes at-shine { to { background-position: -200% 0; } }
.at-score--sb { border-color: rgba(246, 196, 83, .6); box-shadow: 0 0 0 2px rgba(246, 196, 83, .2); }
.at-sched li.is-sb > div, .at-sched li.is-sb > button { border-left: 3px solid var(--at-gold); }
.at-sched li.is-sb .wk { color: var(--at-gold); }
.at-grid17 span.po { outline: 1px solid rgba(255, 255, 255, .18); }
.at-grid17 span.sb.W { background: linear-gradient(160deg, #f6c453, #b8862b); color: #1a1204; }

/* ---------- leaderboards ---------- */
.at-tabs { display: flex; gap: 4px; margin: 12px 0; background: rgba(0, 0, 0, .3); padding: 4px; border-radius: 10px; }
.at-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 8px; background: none; color: var(--at-muted); font: 800 .82rem/1.1 var(--at-head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; padding: 4px 6px; }
.at-tabs button[aria-selected="true"] { background: var(--at-orange); color: #fff; }
.at-lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.at-lb li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.at-lb li.me { outline: 2px solid var(--at-orange); }
.at-lb li.champ .rk { color: var(--at-gold); }
.at-lb .rk { font: 900 1.3rem/1 var(--at-head); text-align: center; }
.at-lb .nm b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at-lb .nm small, .at-lb .rc small { display: block; font-size: .74rem; color: var(--at-muted); }
.at-lb .rc { font: 800 1.15rem/1 var(--at-mono); text-align: right; }
.at-vf { color: #22c55e; font-size: .85em; }
.at-note { background: rgba(59, 130, 246, .15); border-radius: 8px; padding: 8px 10px; }

/* ---------- account forms ---------- */
.at-form label { display: block; font-size: .82rem; font-weight: 700; color: var(--at-muted); margin: 0 0 12px; }
.at-form input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; min-height: 48px; padding: 10px 12px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .25); background: #07111f; color: #fff; font: 600 1rem var(--at-body); }
.at-form input:focus { outline: 2px solid var(--at-orange); outline-offset: 1px; }
.at-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.at-err { color: #fecaca; background: rgba(239, 68, 68, .18); border-radius: 8px; padding: 8px 10px; font-size: .88rem; }
.at-modal__box a { color: #ffb38f; }

@media (min-width: 700px) {
  .at-modal { align-items: center; }
  .at-app { padding: 6px 22px 28px; }
  .at-sticky { margin: 12px -22px -28px; padding: 12px 22px 18px; }
  .at-card__grid { grid-template-columns: 1fr 1fr; }
  .at-card__grid .at-card__brings { grid-column: 1 / -1; }
  .at-token__dot { width: 54px; height: 54px; font-size: .8rem; }
}

/* Measure the space available to the game, including in a narrow shortcode embed. */
.fsn-at[data-fsnat] { max-width: 1360px; container: all-timers / inline-size; }
.fsn-at-crumbs { max-width: 1360px; }
@media (min-width: 54rem) {
  .fsn-at[data-fsnat] { overflow: clip; }
}
@container all-timers (min-width: 54rem) {
  .at-hero, .fsn-at.is-compact .at-hero, .at-app {
    max-width: none; padding-inline: clamp(24px, 3cqi, 44px);
  }
  .fsn-at:not(.is-compact) .at-hero {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 30%);
    grid-template-areas: "kicker ." "title button" "tagline meta";
    column-gap: 28px; align-items: center; text-align: left; padding-block: 32px 16px;
  }
  .at-hero .at-kicker { grid-area: kicker; }
  .at-hero h1 { grid-area: title; }
  .at-hero .at-tagline { grid-area: tagline; max-width: 44ch; margin: 0; }
  .at-hero .at-btn { grid-area: button; justify-self: start; }
  .at-hero .at-hero-meta { grid-area: meta; margin: 0; max-width: 34ch; }
  .fsn-at.is-compact .at-hero { padding-top: 20px; }
  .at-topbar { border-bottom: 1px solid var(--at-line); padding-bottom: 6px; }
  .at-panel { padding: 20px; }

  /* Pair related panels, keeping the same reading and keyboard order as mobile. */
  :is([data-screen="home"], [data-screen="review"], [data-screen="pregame"],
      [data-screen="result"], [data-screen="regEnd"], [data-screen="bracket"],
      [data-screen="end"], [data-screen="compare"]) > .at-app {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px;
  }
  .at-app > * { min-width: 0; grid-column: 1 / -1; }
  .at-app > :is(.at-panel--classic, .at-panel--daily),
  :is([data-screen="review"], [data-screen="regEnd"], [data-screen="bracket"], [data-screen="end"]) > .at-app > .at-panel,
  [data-screen="pregame"] > .at-app > .at-panel:not(.at-panel--plan),
  [data-screen="result"] > .at-app > :is(.at-panel, .at-reason, .at-more),
  [data-screen="compare"] > .at-app > .at-panel:not(:has(.at-grid17)) { grid-column: span 1; }
  .at-panel--classic, .at-panel--daily { display: flex; flex-direction: column; }
  .at-panel--classic > .at-actions, .at-panel--daily > .at-actions { margin-top: auto; padding-top: 12px; }
  .at-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .at-links a { height: 100%; }
  .at-rlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .at-plans { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .at-plan { align-content: start; }
  .at-tokens--compact, [data-screen="season"] .at-app > .at-tokens,
  [data-screen="swap"] .at-tokens { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .at-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .at-card { display: flex; flex-direction: column; }
  .at-card__top, .at-card__grid { width: 100%; }
  .at-card__grid { grid-template-columns: minmax(0, 1fr); }
  .at-sticky { margin-inline: 0; padding-inline: 0; }
  .at-sticky .at-btn { display: flex; width: auto; min-width: 260px; margin-left: auto; }

  .at-panel--next {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(275px, 36%);
    align-items: center; column-gap: 28px;
  }
  .at-panel--next .at-actions { margin-top: 0; }
  [data-screen="season"] .at-panel--schedule .at-sched {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  [data-screen="season"] .at-sched:not(.at-panel--schedule .at-sched) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-screen="game"] .at-panel {
    display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start; column-gap: 18px;
  }
  [data-screen="game"] .at-feed { margin: 0; }
  [data-screen="game"] .at-actions { grid-column: 1 / -1; }
  :is([data-screen="board"], [data-screen="busy"]) > .at-app { max-width: 940px; }
  .at-footnote { max-width: 78ch; justify-self: center; margin-inline: auto; }
}
@container all-timers (min-width: 76rem) {
  .at-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .fsn-at *, .fsn-at *::before, .fsn-at *::after { animation: none !important; transition: none !important; }
}

/* ---------- info sections (server-rendered, crawlable) ---------- */
.fsn-at-info {
  --info-bg: #06101d;
  --info-surface: #112438;
  --info-text: #e3ecf5;
  --info-heading: #f7faff;
  --info-muted: #baccdd;
  --info-link: #96d6ff;
  --info-highlight: #ffb08a;
  max-width: 820px; margin: 0 auto 40px; padding: 0 16px;
  background: var(--info-bg); color: var(--info-text);
  font-family: Inter, system-ui, sans-serif; line-height: 1.6;
}
.fsn-at-info h2 { font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; margin: 34px 0 10px; }
.fsn-at-info h3 { font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 1.3rem; margin: 22px 0 6px; }
.fsn-at-info h2, .fsn-at-info h3, .fsn-at-info h4,
.fsn-at-info th, .fsn-at-info summary { color: var(--info-heading); }
.fsn-at-info p, .fsn-at-info li, .fsn-at-info td { color: var(--info-text); }
.fsn-at-info b { color: inherit; }
.fsn-at-info small { color: var(--info-muted); }
.fsn-at-info ol, .fsn-at-info ul { padding-left: 1.25em; }
.fsn-at-info li { margin: 0 0 6px; }
.fsn-at-info .note { background: var(--info-surface); border-left: 4px solid #ff824b; padding: 12px 14px; border-radius: 6px; }
.fsn-at-tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 12px; }
.fsn-at-info table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9rem; background: var(--info-surface); }
.fsn-at-info th { background: #1b344a; }
.fsn-at-info th, .fsn-at-info td { padding: 8px 10px; border-bottom: 1px solid #566d83; text-align: left; vertical-align: top; }
.fsn-at-info details { background: var(--info-surface); border-radius: 8px; padding: 10px 14px; margin: 10px 0; }
.fsn-at-info summary { cursor: pointer; font-weight: 700; }
.fsn-at-info a { color: var(--info-link); text-decoration: underline; text-underline-offset: .15em; }
.fsn-at-info a:visited { color: #d8bcff; }
.fsn-at-info a:hover, .fsn-at-info a:focus-visible, .fsn-at-info a:active,
.fsn-at-info summary:hover { color: var(--info-highlight); }
.fsn-at-info a:focus-visible, .fsn-at-info summary:focus-visible { outline: 2px solid var(--info-highlight); outline-offset: 2px; }

.fsn-at-guide-layout { max-width: 1240px; margin: 0 auto 32px; }
.fsn-at-guide-layout .fsn-at-info { min-width: 0; }
.fsn-at-guide-layout .fsn-at-guide-rail {
  position: static; width: 100%; max-width: 820px; margin: 0 auto; align-content: start;
}
.fsn-at-guide-nav {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  padding: 14px 16px; background: #112438; border-radius: 12px;
}
.fsn-at-guide-nav h2 { flex-basis: 100%; margin: 0 0 2px; color: #f7faff; font-size: 1.25rem; }
.fsn-at-guide-nav a {
  display: inline-flex; align-items: center; min-height: 44px; color: #96d6ff;
  text-decoration: underline; text-underline-offset: .15em;
}
.fsn-at-guide-nav a:hover, .fsn-at-guide-nav a:focus-visible { color: #ffb08a; }
.fsn-at-guide-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.fsn-at-guide-layout [id] { scroll-margin-top: 110px; }
@media (min-width: 62rem) {
  .fsn-at-guide-layout {
    display: grid; grid-template-areas: "article rail"; grid-template-columns: minmax(0, 1fr) minmax(300px, 28%);
    column-gap: clamp(24px, 4vw, 64px);
  }
  .fsn-at-guide-layout .fsn-at-info { grid-area: article; width: 100%; }
  .fsn-at-guide-layout .fsn-at-guide-rail { grid-area: rail; margin-top: 34px; }
  .fsn-at-guide-nav { display: grid; gap: 2px; padding: 18px 22px; }
}

/* promo card for the Tools hub and simulator pages */
.fsn-at-promo { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; color: #fff; text-decoration: none; background: radial-gradient(circle at 85% 20%, rgba(251, 79, 20, .45), transparent 40%), linear-gradient(115deg, #06111e, #0c2340); margin: 16px 0; }
.fsn-at-promo:hover { color: #fff; filter: brightness(1.06); }
.fsn-at-promo b { display: block; font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 900; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.fsn-at-promo span { font-size: .92rem; color: #dbe5f1; }
.fsn-at-promo em { margin-left: auto; font-style: normal; background: #fb4f14; padding: 10px 14px; border-radius: 9px; font-weight: 800; white-space: nowrap; }

/* ---------- 1.5.1: phone layout (pinned action bar, compact screens) ---------- */
/* topbar icon buttons */
.at-icon { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 52px; min-height: 48px; padding: 4px 6px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #dfe8f3; cursor: pointer; font: 700 .6rem/1.1 var(--at-body); letter-spacing: .02em; }
.at-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.at-icon:hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* one-row roster strip */
.at-strip { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.at-strip__slot { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.at-strip__slot b { font-family: var(--at-head); font-weight: 800; font-size: .6rem; letter-spacing: .04em; color: var(--at-gold); }
.at-strip__slot i { width: 100%; max-width: 34px; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 .56rem/1 var(--at-head); font-style: normal; color: #fff; letter-spacing: .02em; background: radial-gradient(circle at 35% 30%, #2c4467, #12233a); border: 2px solid var(--pos, rgba(255, 255, 255, .28)); }
.at-strip__slot.is-empty i { background: rgba(0, 0, 0, .35); border: 2px dashed rgba(255, 255, 255, .2); }
.at-strip__slot.is-next i { border: 2px solid var(--at-gold); box-shadow: 0 0 0 2px rgba(246, 196, 83, .25), 0 0 12px rgba(246, 196, 83, .45); }
.at-strip__slot.is-hot i { box-shadow: 0 0 0 3px rgba(251, 79, 20, .45); }

/* small tool buttons (undo, re-deal) */
.at-tools { display: flex; gap: 6px; }
.at-btn--xs { min-height: 44px; font-size: .9rem; padding: 0 10px; white-space: nowrap; }

/* tighter panels for game screens */
.at-panel--tight { padding: 12px; margin-bottom: 10px; }
.at-h2--opp { font-size: 1.6rem; margin-bottom: 6px; }
.at-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.at-facts > div { background: rgba(4, 10, 20, .6); border-radius: 10px; padding: 7px 9px; }
.at-facts .at-mono { display: block; font-size: .8rem; }
details.at-about { margin-top: 8px; }
details.at-about > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; color: #dfe8f3; list-style: none; }
details.at-about > summary::-webkit-details-marker { display: none; }
details.at-about > summary::after { content: "Team info +"; margin-left: auto; font-size: .72rem; color: var(--at-muted); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
details.at-about[open] > summary::after { content: "Hide \2013"; }
.at-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.at-feed--live { max-height: 34vh; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }

/* schedule tiles */
.at-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 5px; }
.at-tile > button, .at-tile > div { width: 100%; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 4px 2px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .28); color: var(--at-text); font: inherit; line-height: 1.15; }
.at-tile > button { cursor: pointer; }
.at-tile small { font-size: .6rem; color: var(--at-muted); font-weight: 700; }
.at-tile b { font-family: var(--at-head); font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.at-tile em { font-style: normal; font-family: var(--at-mono); font-size: .58rem; font-weight: 700; margin-top: 1px; }
.at-tile--W > * { background: rgba(34, 197, 94, .2); border-color: rgba(34, 197, 94, .35); }
.at-tile--W em { color: #86efac; }
.at-tile--L > * { background: rgba(239, 68, 68, .22); border-color: rgba(239, 68, 68, .4); }
.at-tile--L em { color: #fca5a5; }
.at-tile--T > * { background: rgba(148, 163, 184, .22); }
.at-tile.is-next > * { border: 2px solid var(--at-orange); background: rgba(251, 79, 20, .14); }
.at-tile.is-next em { color: #ffb38f; }
.at-tile.is-sb > * { border-color: var(--at-gold); }
.at-tile.is-sb small:first-child { color: var(--at-gold); }
.at-tiles--po { grid-template-columns: repeat(4, 1fr); }

/* the action bar: pinned to the bottom of the screen while the game is in view */
.at-bar {
  position: sticky; bottom: var(--at-bar-bottom, 0px); z-index: 20;
  display: grid; grid-template-columns: 1fr; gap: 8px;
  margin: 12px -14px -22px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 17, 30, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 -10px 24px rgba(0, 0, 0, .35);
}
.has-bottom-chrome .at-bar { padding-bottom: 10px; }
.at-bar--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); }
.at-bar .at-btn { min-height: 52px; padding: 6px 12px; font-size: 1.12rem; line-height: 1.05; white-space: normal; text-align: center; }
.at-bar .at-btn--ghost { font-size: 1rem; }
.fsn-at.bar-fixed .at-bar { position: fixed; left: 0; right: 0; margin: 0; transition: transform .2s ease, visibility .2s; }
.fsn-at.bar-fixed .at-app.has-bar { padding-bottom: 100px; }
.at-bar.is-off { transform: translateY(130%); visibility: hidden; }

@media (max-width: 699px) {
  /* During play the game header replaces the big title (the H1 stays in the page for search and screen readers). */
  .fsn-at.is-compact .at-hero { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fsn-at { border-radius: 14px; }
  .at-panel { padding: 14px; }
  .at-panel--tight { padding: 12px; }
  .at-h2 { font-size: 1.7rem; }
}
@media (min-width: 700px) {
  .at-bar { margin: 14px -22px -28px; padding: 12px 22px 14px; }
}
@container all-timers (min-width: 54rem) {
  .at-bar { margin: 16px 0 -28px; padding: 12px 0 14px; display: flex; justify-content: flex-end; gap: 10px; border-radius: 14px 14px 0 0; }
  .at-bar .at-btn { width: auto; min-width: 220px; }
  .at-bar .at-btn--ghost { min-width: 0; }
  .at-bar--3 .at-btn--icon { min-width: 52px; }
  .fsn-at.bar-fixed .at-bar { padding-left: max(22px, calc((100vw - 980px) / 2)); padding-right: max(22px, calc((100vw - 980px) / 2)); border-radius: 0; }
}

/* compact topbar, pregame and roster list */
.at-topbar__l { min-width: 0; }
.at-topbar .at-record { line-height: 1.05; }
.at-topbar .at-record small { font-family: var(--at-body); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--at-gold); vertical-align: middle; margin-left: 4px; }
.at-topbar .at-status { font-size: .68rem; letter-spacing: .1em; }
.at-facts .at-sub { font-size: .6rem; letter-spacing: .07em; }
.at-facts .at-mono { font-size: .74rem; white-space: nowrap; }
.at-plans--seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.at-plans--seg .at-plan { text-align: center; padding: 6px 4px; display: flex; align-items: center; justify-content: center; }
.at-plans--seg .at-plan b { font-size: .9rem; letter-spacing: .02em; }
.at-plan-desc { margin: 8px 2px 0; font-size: .86rem; line-height: 1.35; color: #c9d5e4; min-height: 2.7em; }
.at-rlist small { display: block; line-height: 1.3; }
.at-rlist li > div { grid-template-columns: 2.6em minmax(0, 1fr) auto; gap: 8px; min-height: 48px; padding: 6px 10px; }
.at-bar--3 { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); }
.fsn-at .at-bar .at-btn[disabled] { opacity: 1; background: #26364d; color: #9fb1c7; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.at-panel .at-recap:first-child { margin-top: 0; }
@media (max-width: 699px) {
  [data-screen="season"] .at-app > .at-tokens { display: none; }
  .at-sched li > button, .at-sched li > div { min-height: 46px; padding-block: 5px; }
  .at-panel--next .at-p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
}

/* ---------- 1.5: headset calls and broadcast ---------- */
/* overflow: clip (not hidden) keeps the pinned action bar working on phones. */
.fsn-at[data-fsnat] { overflow: clip; }
.at-label--gold { color: var(--at-gold); }
.at-q { font-family: var(--at-head); font-weight: 800; font-size: 1.32rem; line-height: 1.15; margin: 4px 0 0; color: #fff; }
.at-panel--q { border-left: 3px solid var(--at-gold); }
.at-announce { display: block; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(4, 10, 20, .72); border-left: 4px solid var(--pos, var(--at-gold)); font-size: .92rem; animation: at-in .35s ease-out; }
.at-announce b { font-family: var(--at-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; }
.at-announce span { color: #d6e2f0; }
@keyframes at-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.at-recap { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(246, 196, 83, .1); border-left: 3px solid var(--at-gold); font-weight: 600; font-size: .95rem; line-height: 1.4; color: #fff; }
.at-recap--last { margin: 0 0 12px; font-weight: 500; font-size: .9rem; }
.at-sched .opp small.at-recap-s { color: #d8e3f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.at-calls { margin-top: 12px; }
.at-calls ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.at-calls li { display: grid; grid-template-columns: minmax(0, 7.4em) 1fr; gap: 8px; font-size: .86rem; background: rgba(246, 196, 83, .08); border-radius: 8px; padding: 7px 10px; }
.at-calls li .q { font-family: var(--at-mono); font-size: .72rem; color: var(--at-gold); }

/* live broadcast */
.at-live { padding-bottom: 12px; }
.at-live__sb { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; background: #02070f; border-radius: 12px; padding: 8px 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.at-live__sb.is-sb { box-shadow: inset 0 0 0 2px var(--at-gold); }
.at-live__t { display: flex; align-items: baseline; gap: 8px; }
.at-live__t b { font-family: var(--at-head); font-size: 1.05rem; letter-spacing: .06em; color: var(--at-muted); }
.at-live__t i { font-style: normal; font-family: var(--at-mono); font-weight: 700; font-size: 1.9rem; color: #fff; line-height: 1; }
.at-live__clock { font-family: var(--at-mono); font-weight: 700; font-size: .95rem; color: var(--at-gold); text-align: right; white-space: nowrap; }
.at-live__dd { margin: 6px 2px 0; font-family: var(--at-mono); font-size: .8rem; color: #dbe6f3; }
#fsnat-fieldwrap { margin: 8px 0 0; min-height: 40px; }
.at-field { display: block; width: 100%; height: auto; }
.at-field__turf { fill: #1d6b3a; }
.at-field__ez { fill: #7a2a12; }
.at-field__ez--you { fill: #0c2340; }
.at-field__ezt { fill: rgba(255, 255, 255, .85); font: 800 9px var(--at-head); letter-spacing: .1em; text-anchor: middle; dominant-baseline: middle; }
.at-field__line { stroke: rgba(255, 255, 255, .35); stroke-width: 1; }
.at-field__num { fill: rgba(255, 255, 255, .75); font: 700 8px var(--at-mono); text-anchor: middle; }
.at-field__los { stroke: #7cc0ff; stroke-width: 2.4; }
.at-field__fd { stroke: #ffe14a; stroke-width: 2.4; }
.at-field__ball { fill: #8a4b1f; stroke: #fff; stroke-width: 1; }
.at-field__dir { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.at-field__o { fill: #fff; stroke: #0c2340; stroke-width: 1; }
.at-field__x { stroke: #ffb38f; stroke-width: 2; stroke-linecap: round; }
.at-field__blitz { stroke: #ffb38f; stroke-width: 1.6; stroke-dasharray: 3 2; fill: none; }
.at-live__call { margin: 10px 0 0; min-height: 66px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.at-live__text { font-weight: 700; font-size: 1.04rem; line-height: 1.3; }
.at-live__badge { font-family: var(--at-head); font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--at-muted); }
.at-live__next { font-family: var(--at-mono); font-size: .82rem; color: #dbe6f3; }
.at-live__call.is-td { background: linear-gradient(90deg, rgba(246, 196, 83, .32), rgba(246, 196, 83, .08)); }
.at-live__call.is-td .at-live__badge { color: var(--at-gold); }
.at-live__call.is-to { background: rgba(168, 85, 247, .22); }
.at-live__call.is-to .at-live__badge { color: #e9d5ff; }
.at-live__call.is-sack, .at-live__call.is-stop { background: rgba(239, 68, 68, .22); }
.at-live__call.is-sack .at-live__badge, .at-live__call.is-stop .at-live__badge { color: #fecaca; }
.at-live__call.is-fg, .at-live__call.is-conv { background: rgba(34, 197, 94, .18); }
.at-live__call.is-fg .at-live__badge, .at-live__call.is-conv .at-live__badge { color: #bbf7d0; }
.at-live__call.is-mine { box-shadow: inset 0 0 0 2px var(--at-gold); }
.at-live__call.is-mine .at-live__badge { color: var(--at-gold); }
.at-feed--live { margin-top: 8px; }
.at-feed--live li { grid-template-columns: 5.4em 1fr auto; }
.at-feed--live li.is-td { border-left: 3px solid var(--at-gold); }
.at-feed--live li.is-to { border-left: 3px solid #a855f7; }
.at-feed--live li.is-sack, .at-feed--live li.is-stop { border-left: 3px solid var(--at-red); }
.at-feed--live li.is-mine { background: rgba(246, 196, 83, .12); }
.at-btn--icon { min-width: 52px; padding: 0 12px; font-size: 1rem; letter-spacing: -.1em; }
.at-sound { font-size: .86rem; }

/* headset */
.at-headset:focus { outline: none; }
.at-headset { border: 1px solid rgba(246, 196, 83, .45); box-shadow: 0 0 0 1px rgba(246, 196, 83, .15), 0 18px 40px rgba(0, 0, 0, .35); }
.at-headset__sb { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; font-family: var(--at-mono); font-size: .92rem; }
.at-chip--clock { margin: 0; background: rgba(246, 196, 83, .16); color: #ffe7a3; }
.at-headset__sit { margin: 0 0 8px; font-size: .95rem; }
.at-headset__form { margin: 10px 0 0; color: #b9c8da; }
.at-look { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(4, 10, 20, .72); }
.at-look p { margin: 2px 0 0; font-size: .9rem; }
.at-callopts { display: grid; gap: 8px; }
.at-callopt { display: block; width: 100%; text-align: left; cursor: pointer; padding: 11px 14px; min-height: 56px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: var(--at-text); font: inherit; }
.at-callopt b { display: block; font-family: var(--at-head); font-weight: 800; text-transform: uppercase; font-size: 1.16rem; letter-spacing: .03em; line-height: 1.1; }
.at-callopt span { display: block; font-size: .86rem; color: #d6e2f0; margin-top: 2px; }
.at-callopt small { display: block; font-size: .78rem; color: var(--at-muted); margin-top: 3px; }
.at-callopt[aria-checked="true"] { border-color: var(--at-gold); background: rgba(246, 196, 83, .14); }
.at-callopt:hover { border-color: rgba(246, 196, 83, .6); }

/* shared coaching moment */
.at-panel--snap { border-left: 3px solid var(--at-gold); }
.at-reveal__row { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); margin: 0 0 8px; }
.at-reveal__row b { font-family: var(--at-head); font-size: 1.1rem; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  .at-announce { animation: none; }
}
@container all-timers (min-width: 54rem) {
  [data-screen="game"] .at-app { max-width: 820px; margin-inline: auto; }
  [data-screen="game"] .at-app:has(.at-headset) { max-width: 1060px; }
  [data-screen="game"] .at-panel.at-live, [data-screen="game"] .at-panel.at-headset { display: block; }
  .at-headset__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .at-headset__calls > .at-label:first-child { margin-top: 10px !important; }
  .at-live__text { font-size: 1.15rem; }
}
/* Keep pinned action bars above panels with translucent backgrounds. */
.fsn-at .at-sticky { z-index: 20; }
/* A solid disabled state in pinned bars (no see-through button over the page). */
.fsn-at .at-sticky .at-btn[disabled] { opacity: 1; background: #26364d; color: #9fb1c7; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
/* Phones: the whole headset (situation, look and every call) fits above the action bar. */
@media (max-width: 699px) {
  .at-headset { padding: 12px; }
  .at-headset .at-h3 { font-size: 1.3rem; }
  .at-headset__sb { flex-wrap: nowrap; margin: 6px 0 4px; font-size: .86rem; }
  .at-chip--clock { font-size: .72rem; min-height: 24px; padding: 2px 8px; white-space: nowrap; }
  .at-headset__sit { font-size: .88rem; margin-bottom: 6px; }
  .at-look { margin-top: 8px; padding: 8px 10px; }
  .at-look p { font-size: .84rem; line-height: 1.35; }
  .at-headset__calls > .at-label { margin: 8px 0 5px !important; }
  .at-callopts { gap: 6px; }
  .at-callopt { padding: 8px 12px; min-height: 48px; }
  .at-callopt b { font-size: 1.04rem; }
  .at-callopt span { font-size: .8rem; }
  .at-callopt small { font-size: .74rem; }
}
