/* Fair Turns v1.0: own design system (SPEC 5). Bricolage Grotesque + Atkinson Hyperlegible; paper / ink / coral / teal / violet; tile grid motif. */
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
/* Figures: digits from Bricolage so prices and minutes do not show Atkinson's slashed zero ("$19.5Ø"). */
@font-face { font-family: "Figures"; src: url("fonts/bricolage-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0030-0039; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #F6F1E7; --paper-2: #EFE8DA; --card: #FFFDF8; --ink: #1B1A22; --ink-2: #3A3946; --mute: #6B6878;
  --line: #E1D8C8; --coral: #EE5A36; --coral-d: #C9431F; --teal: #1F8A78; --violet: #5A46C8; --plum: #9B3D6E; --moss: #5E7D2A;
  --sand: #E4DACB; --ok: #1F8A78;
  --r: 16px; --r-s: 10px; --shadow: 0 1px 2px rgba(27,26,34,.06), 0 10px 30px -12px rgba(27,26,34,.18);
  --display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figures", "Atkinson", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral-d); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 680px; }
main { display: block; outline: none; }

/* type */
.h-hero, .h-page, .h-section, .h-sub, .h-card, .brand-word, .foot-word, .step-big, .plan-amt, .rule-no, .turn-label { font-family: var(--display); font-optical-sizing: auto; }
.h-hero { font-size: clamp(42px, 6.4vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -.035em; margin: 10px 0 22px; }
.h-hero span { color: var(--coral); }
.h-page { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 14px; }
.h-section { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; font-weight: 750; letter-spacing: -.025em; margin: 0 0 18px; }
.h-sub { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; margin: 34px 0 8px; }
.h-card { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
.eyebrow { font: 700 13px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0; }
.eyebrow-light { color: #8FE3D3; }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin: 0; }
.muted { color: var(--mute); }
.hint { color: var(--mute); font-size: 15px; margin: 6px 0 0; }
.textlink { font-weight: 700; }
.danger { color: #B3261E; }

/* ribbon + top bar */
.ribbon { background: var(--ink); color: #EDE6D8; font-size: 14px; }
.ribbon-row { padding-top: 7px; padding-bottom: 7px; }
.ribbon p { margin: 0; }
.ribbon strong { color: #fff; }
.r-short { display: none; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(246,241,231,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.mark { width: 36px; height: 36px; flex: none; }
.brand-word { font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
.links { display: flex; align-items: center; gap: 4px; }
.links a { text-decoration: none; font-weight: 700; font-size: 15.5px; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.links a:hover { background: var(--paper-2); color: var(--ink); }
.links a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.links .pricechip { margin-left: 8px; background: var(--ink); color: #fff; padding: 8px 14px; font-weight: 400; font-size: 14px; }
.links .pricechip:hover { background: var(--ink-2); color: #fff; }
.pricechip b { font-weight: 700; }
.pricechip span { color: #FFB59F; }
.menu-btn { display: none; font: 700 15px var(--body); background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; font: 700 16px/1.1 var(--body); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn-big { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: 14.5px; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 16px -6px rgba(238,90,54,.7); }
.btn-coral:hover { background: var(--coral-d); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--card); color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; color: var(--ink); }
.btn-danger { background: #B3261E; color: #fff; }
form.inline { display: inline; }

/* tiles */
.tile { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; font: 700 12.5px/1 var(--display); letter-spacing: .01em; color: #fff; flex: none; }
.t-coral { background: var(--coral); }
.t-teal { background: var(--teal); }
.t-violet { background: var(--violet); }
.t-plum { background: var(--plum); }
.t-moss { background: var(--moss); }
.t-ink { background: var(--ink); }
.t-bench { background: repeating-linear-gradient(135deg, var(--sand) 0 5px, #EDE5D7 5px 10px); color: var(--mute); font-size: 16px; }
.badge { display: inline-block; font: 700 11.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; vertical-align: middle; }
.b-free { background: #D8F0EA; color: #12584D; }
.b-pass { background: #E6E1FA; color: #3D2D95; }
.fair-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,138,120,.18); margin-right: 8px; vertical-align: middle; }

/* hero */
.hero { padding: 64px 0 72px; background: radial-gradient(1200px 500px at 85% 10%, #FBE3D8 0, rgba(251,227,216,0) 60%), radial-gradient(900px 500px at 10% 100%, #E2F1EC 0, rgba(226,241,236,0) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-price { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.board { margin: 0; background: var(--card); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(27,26,34,.45), 0 2px 6px rgba(27,26,34,.06); padding: 22px 22px 18px; border: 1px solid var(--line); }
.board-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.board-title { font: 750 18px var(--display); }
.board-sub { color: var(--mute); font-size: 14px; }
.board-rows { display: grid; gap: 7px; }
.board-row { display: grid; grid-template-columns: 44px repeat(8, 1fr) 54px; gap: 6px; align-items: center; }
.board-row .tile { width: 100%; height: 32px; }
.board-labels span { font: 700 11.5px var(--body); color: var(--mute); text-align: center; }
.bn { font: 750 15px var(--display); }
.bt { text-align: right; font-size: 14px; color: var(--mute); }
.bt b { color: var(--ink); font-size: 16px; }
.board-foot { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }

/* promises, steps */
.promises { padding: 72px 0 24px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.promise p { margin: 0; color: var(--ink-2); }
.p-art { display: flex; gap: 6px; margin-bottom: 18px; }
.steps { padding: 64px 0; }
.step-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; }
.step-list li { border-top: 3px solid var(--ink); padding-top: 18px; }
.step-list p { margin: 0; color: var(--ink-2); }
.step-big { display: block; font-size: 56px; font-weight: 800; line-height: 1; color: var(--coral); letter-spacing: -.04em; margin-bottom: 10px; }

/* sports */
.sports { padding: 24px 0 72px; }
.sports-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.sport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sport-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.sc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sc-tiles { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0 12px; }
.sc-tiles .tile { width: 32px; height: 32px; font-size: 11px; }
.sc-formats { margin: 0; color: var(--mute); font-size: 14.5px; }

/* bench book band */
.bookband { background: var(--ink); color: #EDE6D8; padding: 80px 0; }
.bookband .h-section { color: #fff; }
.book-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.muted-light { color: #B9B2C4; }
.season-art { background: #26252F; border-radius: 20px; padding: 20px; border: 1px solid #3A3946; }
.sa-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; padding: 11px 6px; border-bottom: 1px solid #3A3946; font-variant-numeric: tabular-nums; }
.sa-head { color: #8FE3D3; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sa-note { margin: 10px 6px 0; font-size: 13px; color: #8E879B; }

/* pricing */
.priceband { padding: 80px 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.price-page { grid-template-columns: repeat(3, 1fr); padding-top: 8px; padding-bottom: 32px; }
.plan-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan-card .btn { margin-top: auto; align-self: flex-start; }
.plan-pass { border: 2px solid var(--coral); }
.plan-amt { font-size: 48px; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 0; line-height: 1.1; }
.plan-amt span { font: 400 17px var(--body); color: var(--mute); letter-spacing: 0; }
.plan-alt { margin: 2px 0 0; color: var(--mute); }
.plan-how { margin-top: auto; color: var(--mute); font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 22px; }
.ticks li { position: relative; padding-left: 30px; margin: 9px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--teal); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.pn-preview, .preview-box { background: #FFF3D9; border: 1px solid #F0D9A4; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin: 0 0 18px; }
.preview-box { margin-top: 20px; max-width: 70ch; }
.unofficial-band { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-2); }
.unofficial-band p { margin: 0; max-width: 85ch; }

/* passnote (price at the point of use) */
.passnote { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: var(--card); border: 1.5px dashed var(--violet); border-radius: var(--r); padding: 18px 20px; margin: 22px 0; }
.pn-price { display: grid; text-align: center; background: var(--violet); color: #fff; border-radius: 12px; padding: 10px 14px; min-width: 104px; }
.pn-amt { font: 800 28px/1 var(--display); letter-spacing: -.02em; }
.pn-per { font-size: 13px; }
.pn-or { font-size: 12px; opacity: .85; margin-top: 4px; }
.pn-text p { margin: 0 0 6px; font-size: 15.5px; }
.pn-title { font: 700 17px var(--display) !important; }
.passnote .pn-preview { margin: 6px 0 0; }

/* page heads, prose, cards */
.page-head { padding: 52px 0 30px; }
.prose { max-width: 760px; padding-bottom: 56px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 8px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.flash { display: inline-block; background: #D8F0EA; color: #0F4B42; border-radius: 10px; padding: 8px 14px; margin: 12px 0 0; font-weight: 700; }
.alert { background: #FDE5DF; color: #7A1F0B; border-left: 4px solid var(--coral); border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.cta-center { text-align: center; margin: 36px 0 64px; }

/* forms */
.make { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-bottom: 64px; }
.make-form { min-width: 0; }
.step { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.step legend { font: 750 22px var(--display); letter-spacing: -.015em; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; flex-wrap: wrap; }
.step legend small { font: 400 14px var(--body); color: var(--mute); }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 15px; }
.sport-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.sport-opt { position: relative; display: block; cursor: pointer; }
.sport-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.so-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 14px; height: 100%; }
.so-name { font: 700 16.5px var(--display); }
.sport-opt input:checked + .so-body { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(238,90,54,.18); }
.sport-opt input:focus-visible + .so-body { outline: 3px solid var(--violet); outline-offset: 2px; }
.field { display: block; margin: 10px 0; }
.field > span { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--mute); }
.field input[type=text], .field input[type=number], .field select, .linkcard input { width: 100%; min-height: 50px; border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 14px; font: 400 17px var(--body); color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(90,70,200,.25); }
.field-inline { max-width: 340px; }
.split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.make-go { display: flex; gap: 12px; flex-wrap: wrap; }
.make-aside { position: sticky; top: 96px; }
.check { display: flex; gap: 10px; align-items: center; margin: 10px 0 16px; }

/* plan */
.plan-head { padding: 40px 0 10px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 14px; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 14.5px; font-weight: 700; }
.fairline { margin: 6px 0 16px; font-size: 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 8px; }
.plan-body { padding-bottom: 64px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 12px; font-size: 14.5px; color: var(--ink-2); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend .tile { width: 26px; height: 26px; font-size: 10px; border-radius: 7px; }
.gridwrap, .tablewrap { position: relative; overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); max-width: 100%; }
.rot { border-collapse: separate; border-spacing: 0; width: 100%; font-variant-numeric: tabular-nums; }
.rot th, .rot td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--paper-2); white-space: nowrap; }
.rot thead th { font: 700 12.5px var(--body); color: var(--mute); padding-top: 12px; padding-bottom: 10px; }
.rot .c-num { position: sticky; left: 0; background: var(--card); font: 750 16px var(--display); text-align: left; padding-left: 16px; padding-right: 10px; z-index: 1; }
.rot thead .c-num { font: 700 12.5px var(--body); }
.rot .c-name { display: none; }
.rot .c-end { border-right: 2px solid var(--paper-2); }
.rot .tile { width: 32px; height: 30px; font-size: 11px; }
.c-turns { text-align: left !important; padding-left: 12px !important; padding-right: 12px !important; }
.c-turns b { font: 750 16px var(--display); margin-left: 8px; }
.c-turns .of { color: var(--mute); font-size: 13px; }
.meter { display: inline-flex; gap: 2px; vertical-align: middle; }
.meter i { display: block; width: 4px; height: 14px; border-radius: 2px; background: var(--sand); }
.meter i.on { background: var(--teal); }
.c-min { color: var(--ink-2); padding-right: 14px !important; }
.print-note { display: none; }
.batting { margin-top: 10px; }
.bat-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 10px 0 0; list-style: none; counter-reset: b; }
.bat-list li { counter-increment: b; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font: 700 16px var(--display); }
.bat-list li::before { content: counter(b) "."; color: var(--mute); font: 400 13px var(--body); margin-right: 6px; }
.cards-head { margin-top: 26px; }
.cards-head p { margin: 0 0 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.turn { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.turn header { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.turn-label { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.turn-long { color: var(--mute); font-size: 13.5px; }
.turn-count { margin-left: auto; font-size: 13px; color: var(--mute); }
.onlist { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.onlist li { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border-radius: 10px; padding: 3px 10px 3px 3px; }
.onlist .tile { width: 30px; height: 28px; font-size: 10.5px; }
.onlist b { font: 750 16px var(--display); }
.sitting, .next { margin: 4px 0 0; font-size: 15px; }
.sitting span, .next span { display: inline-block; min-width: 64px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.after-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.sideline-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(27,26,34,.94); }

/* sideline mode: one big card at a time */
body.sideline .ribbon, body.sideline .topbar, body.sideline .plan-head, body.sideline .legend, body.sideline .gridwrap, body.sideline .batting,
body.sideline .cards-head, body.sideline .after-plan, body.sideline .passnote, body.sideline .foot, body.sideline .print-note { display: none; }
body.sideline { background: var(--ink); }
body.sideline .plan-body { padding: 18px 16px 110px; }
body.sideline .cards { display: block; }
body.sideline .turn { display: none; padding: 26px; border-radius: 22px; }
body.sideline .turn.is-current { display: block; }
body.sideline .turn-label { font-size: 56px; }
body.sideline .turn-long, body.sideline .turn-count { font-size: 17px; }
body.sideline .onlist { gap: 12px; }
body.sideline .onlist li { padding: 6px 16px 6px 6px; border-radius: 14px; }
body.sideline .onlist .tile { width: 52px; height: 48px; font-size: 15px; border-radius: 12px; }
body.sideline .onlist b { font-size: 32px; }
body.sideline .sitting, body.sideline .next { font-size: 24px; margin-top: 14px; }
body.sideline .sitting span, body.sideline .next span { display: block; font-size: 13px; }

/* rules page */
.rules { padding-bottom: 20px; }
.rule-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; }
.rule-list li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.rule-list p { margin: 0; color: var(--ink-2); }
.rule-no { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 22px; font-weight: 800; }
.example { margin-bottom: 30px; }
.limits { background: var(--paper-2); box-shadow: none; }
.faq { max-width: 820px; padding-bottom: 64px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font: 700 18px var(--display); }
.faq p { margin: 10px 0 0; color: var(--ink-2); }

/* bench book */
.book-start { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; padding-bottom: 64px; align-items: start; }
.book-start .passnote { grid-column: 1 / -1; margin-top: 0; }
.start-card .btn { margin: 6px 0 4px; }
.mini-steps { padding-left: 20px; color: var(--ink-2); }
.book-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-bottom: 64px; }
.book-col { min-width: 0; }
.book-side .card { margin-bottom: 16px; }
.book-side .btn, .book-side form.inline { margin: 6px 6px 0 0; }
.book-side .textlink { display: inline-block; margin-top: 14px; }
.linkcard input { font-size: 13px; margin: 8px 0 10px; }
.away { border: 0; padding: 0; margin: 0 0 16px; }
.away legend { font-weight: 700; margin-bottom: 10px; }
.away-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.away-opt { position: relative; cursor: pointer; }
.away-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.away-opt span { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 44px; border-radius: 12px; background: var(--coral); color: #fff; font: 750 16px var(--display); padding: 0 10px; }
.away-opt input:checked + span { background: repeating-linear-gradient(135deg, var(--sand) 0 5px, #EDE5D7 5px 10px); color: var(--mute); text-decoration: line-through; }
.away-opt input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.season { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.season th, .season td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--paper-2); white-space: nowrap; }
.season thead th { font-size: 12.5px; color: var(--mute); }
.season tbody th { font: 750 16px var(--display); }
.game-list { list-style: none; padding: 0; margin: 0; }
.game-list li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--paper-2); }
.game-list li a { font: 700 17px var(--display); }
.game-list form { margin-left: auto; }

/* footer */
.foot { background: var(--paper-2); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: 15px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 36px; }
.foot-word { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin: 0 0 6px; }
.foot-brand p { margin: 0 0 6px; }
.foot-links { display: grid; gap: 6px; align-content: start; }
.foot-links a { text-decoration: none; font-weight: 700; }
.foot-unofficial p { margin: 0; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.foot-base p { margin: 0; }
.powered a { font-weight: 700; }
.ver { color: var(--mute); }

/* error page */
.is-error .page-head { padding-bottom: 80px; }

/* responsive */
@media (max-width: 1040px) {
  .hero-grid, .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .make, .book-main { grid-template-columns: 1fr; }
  .make-aside { position: static; }
  .price-page { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; box-shadow: 0 20px 30px -20px rgba(27,26,34,.4); }
  body.menu-open .links { display: flex; }
  .links a { padding: 12px 10px; border-radius: 10px; font-size: 17px; }
  .links .pricechip { margin: 8px 0 0; text-align: center; border-radius: 12px; }
  .promise-grid, .step-list, .sport-grid { grid-template-columns: 1fr; }
  .step-list { gap: 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .after-plan, .book-start { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .shell { padding: 0 18px; }
  .r-long { display: none; }
  .r-short { display: inline; }
  .hero { padding: 36px 0 48px; }
  .lede { font-size: 18px; }
  .board { padding: 16px 12px 14px; border-radius: 18px; }
  .board-row { grid-template-columns: 34px repeat(8, 1fr) 40px; gap: 4px; }
  .board-row .tile { height: 26px; border-radius: 7px; font-size: 10px; }
  .board-labels span { font-size: 9.5px; }
  .bn { font-size: 13px; }
  .bt { font-size: 12px; }
  .bt b { font-size: 14px; }
  .sport-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1fr; }
  .split .field:last-child { grid-column: 1 / -1; }
  .price-grid, .price-page { grid-template-columns: 1fr; }
  .passnote { grid-template-columns: 1fr; }
  .pn-price { justify-self: start; display: flex; gap: 8px; align-items: baseline; text-align: left; }
  .rule-list li { grid-template-columns: 1fr; gap: 10px; }
  .rule-no { width: 48px; height: 48px; font-size: 18px; border-radius: 12px; }
  .toolbar .btn, .toolbar form.inline, .toolbar form.inline .btn { width: 100%; }
  .toolbar form.inline { display: block; }
  .page-head { padding: 34px 0 20px; }
  .cards { grid-template-columns: 1fr; }
  body.sideline .turn-label { font-size: 42px; }
  body.sideline .onlist b { font-size: 26px; }
  .sideline-nav .btn { flex: 1; padding-left: 8px; padding-right: 8px; }
}

/* print: the card */
@media print {
  @page { size: landscape; margin: 12mm; }
  body { background: #fff; font-size: 11pt; }
  .ribbon, .topbar, .toolbar, .foot, .cards-head, .cards, .after-plan, .passnote, .sideline-nav, .skip, .flash { display: none !important; }
  .plan-head { padding: 0; }
  .h-page { font-size: 22pt; margin: 0 0 4pt; }
  .chips li { border: 1px solid #999; }
  .gridwrap { box-shadow: none; border: 1px solid #999; overflow: visible; }
  .rot .c-name { display: table-cell; min-width: 120pt; border-right: 1px solid #999; text-align: left; font-size: 9pt; color: #555; }
  .rot td.c-name { border-bottom: 1px solid #999; }
  .rot .c-num { position: static; }
  .tile { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .meter { display: none; }
  .print-note { display: block; font-size: 9pt; color: #555; margin-top: 6pt; }
  .print-note::after { content: " Fair Turns (unofficial, independent) · Powered by WeldonPC.com"; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.sideline-nav .btn-line { color: #fff; border-color: #fff; }
.sideline-nav .btn-line:hover { background: #3A3946; color: #fff; }
.sideline-nav .btn-ink { background: #3A3946; }
.make-aside .passnote, .book-side .passnote { grid-template-columns: 1fr; }
.make-aside .pn-price, .book-side .pn-price { justify-self: start; display: flex; gap: 8px; align-items: baseline; text-align: left; }

/* ---------- v1.1.0: AdEngine banner (adengine.us) ----------
   One labelled slot between the main content and the footer, on the four public coach pages only (the controllers opt
   in). The label and the reserved height are on the <ins>, so when tag.js (or ae-size.js) hides a slot it cannot fill,
   the label and the space below it go with it. 110px = 16px label + 4px gap + 90px banner; 270px on phones (300x250).
   Pages end on 48-64px of their own padding and the footer has no top margin, so the space below the slot sits on the
   <ins>. display stays in this file and is never !important. */
.ae-slot { padding: 0 28px; }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 0 auto 48px; text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 700 11px/16px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
.ae-slot:has(> ins.adengine[style*="none"]) { display: none; }
@media (max-width: 767px) { .ae-slot { padding: 0 18px; } .ae-slot ins.adengine { max-width: 300px; min-height: 270px; margin-bottom: 40px; } }
/* v1.1.1: at 640px and below the .shell rule resets the bottom padding of .prose (about) and .faq (pricing), so the label
   sat 8-20px under the last line there; give the banner its own space above on those two page endings only. */
@media (max-width: 640px) { main:has(> .prose:last-child, > .faq:last-child) + .ae-slot ins.adengine { margin-top: 40px; } }
@media print { .ae-slot { display: none; } }
