/* The drawn pictures (the homepage's board and its days, and the first screen of the tool pages that reuse one): app
   parts drawn in HTML and CSS from the brand's tokens, no screenshots, every number marked as a sample. Flat at rest:
   no 3D tilt, so the words stay sharp. The homepage's motion for them is in home.css. */

:root {
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --wash: rgba(158, 211, 42, .2);
  --card-bg: var(--surface);
  --board-bg: linear-gradient(180deg, var(--pk-pickle-50), var(--surface) 72%);
  --shadow-lift: 0 1px 2px rgba(18, 20, 16, .06), 0 10px 24px -6px rgba(18, 20, 16, .12), 0 32px 64px -24px rgba(39, 70, 26, .32);
  --shadow-float: 0 1px 2px rgba(18, 20, 16, .08), 0 12px 28px -8px rgba(18, 20, 16, .22);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { --wash: rgba(158, 211, 42, .13); --board-bg: linear-gradient(180deg, #24301C, var(--surface) 72%); --shadow-lift: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -6px rgba(0, 0, 0, .5), 0 40px 80px -24px rgba(0, 0, 0, .7); --shadow-float: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -8px rgba(0, 0, 0, .6); }
}
:root[data-theme='dark'] { --wash: rgba(158, 211, 42, .13); --board-bg: linear-gradient(180deg, #24301C, var(--surface) 72%); --shadow-lift: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -6px rgba(0, 0, 0, .5), 0 40px 80px -24px rgba(0, 0, 0, .7); --shadow-float: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -8px rgba(0, 0, 0, .6); }

.tag, .stk { display: inline-flex; align-items: center; padding: 4px 7px 3px; border-radius: var(--r-sticker); background: var(--acid); color: var(--acid-ink); font: 800 12px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.stk.ink { background: var(--surface-ink); color: var(--text-on-ink); }
.stk.go { background: var(--go-tint); color: var(--go-text); }
.stk.plain { background: transparent; color: var(--dim); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
/* The app's in-season stickers (brand §5): the week's story in coral, a pickup's tag on its tint. At most one tilted on a card. */
.stk.coral { background: var(--coral); color: var(--coral-ink); }
.stk.careful { background: var(--careful-tint); color: var(--careful-text); }
.stk.tilt { rotate: -2.5deg; }

.vis .tc { vertical-align: 1px; }
/* A fantasy team's pickle (brand §6: Dill for yours, a cousin from another jar for theirs), its head on a cream disc */
.tp { display: inline-block; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--pk-brine-100); box-shadow: inset 0 0 0 1.5px var(--pk-brine-300); overflow: hidden; }
.tp img { display: block; width: 100%; height: 100%; }

/* A count that rolls from 0 (or --from) to its number: the number is in the HTML; the drawn one is a CSS counter, so it
   counts with no script and holds still under "reduce motion". */
@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }
.count { --n: var(--to); counter-reset: n var(--n); font-size: 0; }
.count::before { content: counter(n); font-size: var(--fs, 16px); }

.tug { position: relative; height: 10px; border-radius: 6px; background: var(--track); overflow: hidden; }
.tug i { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 6px; background: var(--you); }
.tug::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--text); opacity: .55; }
.segs, .teams { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; margin: 0; padding: 0; list-style: none; }
.segs li, .teams li { height: 10px; border-radius: 3px; }
.segs .y, .teams .y { background: var(--you); }
.segs .t, .teams .t { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.segs .l, .teams .l { background: var(--them); }
.who { display: grid; gap: 2px; }
.who small { color: var(--dim); font-size: 12.5px; }

/* The stage: a soft wash and one picture, enlarged to what matters */
.stage { position: relative; display: grid; place-items: center; width: 100%; height: 340px; border-radius: var(--r-pic); background: radial-gradient(120% 90% at 50% 0%, var(--wash), transparent 70%), var(--surface-2); overflow: hidden; isolation: isolate; }
.vis { display: grid; gap: 10px; width: min(320px, calc(100% - 32px)); padding: 16px; border: 1px solid var(--line); border-radius: var(--r-box); background: var(--card-bg); box-shadow: var(--shadow-lift); }
.v-head { display: flex; justify-content: space-between; gap: 10px; font: 700 12.5px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
/* The quiet note that a picture's numbers are an example (owner, 18 Nov 2026: never a loud "SAMPLE" sticker) */
.v-head .ex { font: 400 12.5px/1 var(--font-body); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.v-big { font: 800 0/.9 var(--font-display); --fs: 72px; display: flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; }
.v-big small { font: 800 26px/1 var(--font-display); }
.v-big > span:not(.count) { font-size: var(--fs); }
.v-sub { font-size: 13.5px; color: var(--dim); margin-top: -6px; }
.v-note { font-size: 14px; color: var(--dim); }
.v-move { display: flex; align-items: baseline; gap: 10px; font: 800 0/1 var(--font-display); --fs: 52px; font-variant-numeric: tabular-nums; }
.v-move > span:first-child { font-size: 30px; color: var(--dim); }
.v-move .arr { font: 700 26px/1 var(--font-body); color: var(--dim); }
.v-move .to { font-size: 30px; color: var(--go-text); }
.v-move .to .count::before { font-size: var(--fs); }
.cats { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }
.cats li { display: grid; gap: 4px; justify-items: center; }
.cats span { font: 700 10px/1 var(--font-display); letter-spacing: .04em; color: var(--dim); }
.cats b { display: grid; place-items: center; width: 100%; height: 22px; border-radius: 4px; font: 800 13px/1 var(--font-display); }
.cats .y b { background: var(--you); color: var(--you-ink); }
.cats .t b { box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--dim); }
.cats .l b { background: var(--them); color: var(--them-ink); }
/* Each stat's chance, a row each: the stat, its bar and its % */
.clist { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.clist li { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 10px; }
.clist span { font: 700 13px/1 var(--font-display); letter-spacing: .04em; color: var(--dim); }
.clist i { position: relative; height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.clist i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 4px; background: var(--line-strong); }
.clist .y i::before { background: var(--you); }
.clist .l i::before { background: var(--them); }
.clist b { justify-self: end; font: 800 15px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.clist .t b { color: var(--dim); }
.row { display: flex; align-items: center; gap: 10px; }
.sides { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.sides p { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-inner); background: var(--surface-2); }
.sides small { font-size: 12px; color: var(--dim); }
.sides b { font-size: 14.5px; font-weight: 650; }
.swap, .swapv { color: var(--dim); font-size: 18px; text-align: center; }
.verdict { display: grid; gap: 8px; justify-items: start; padding: 12px; border-radius: var(--r-inner); border: 1px solid var(--line); }
.verdict p { font-size: 15px; }
.verdict b { font: 800 26px/1 var(--font-display); --fs: 26px; font-variant-numeric: tabular-nums; }
.v-swap .row { padding: 12px; border-radius: var(--r-inner); background: var(--surface-2); }
.v-swap .row.out { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.v-swap .row.out b { font-weight: 550; }
.v-swap .swapv { justify-self: center; line-height: .6; }
.v-lock { width: min(300px, calc(100% - 32px)); gap: 6px; padding: 26px 16px 18px; border: 0; border-radius: 30px; background: linear-gradient(160deg, #2B3A20, #121410 70%); color: var(--pk-ink-50); text-align: center; }
.v-lock .clock { font: 300 54px/1 var(--font-body); letter-spacing: -.03em; }
.v-lock .date { font-size: 13px; color: var(--pk-ink-200); margin-bottom: 14px; }
.v-lock .ntf { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 18px; background: rgba(243, 244, 240, .14); text-align: left; font-size: 14px; line-height: 1.3; }
.v-lock .ntf img { border-radius: 8px; flex: none; }
.v-lock .ntf > div { display: grid; gap: 2px; flex: 1; }
.v-lock .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--pk-ink-200); }
.teams { grid-template-columns: repeat(15, 1fr); gap: 4px; }
.teams li { height: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--dim); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; }
.legend .y { background: var(--you); }
.legend .t { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.legend .l { background: var(--them); }
.v-final { justify-items: center; text-align: center; }
.v-final .v-head { width: 100%; }
.v-final .score { --fs: 88px; font-size: 0; }
.v-final .score .dash { font-size: 56px; margin: 0 10px; color: var(--dim); }
.v-final .score > span:last-child { font-size: 88px; }
.v-final .segs { width: 100%; }

@media (min-width: 820px) {
  .stage { height: 440px; }
  .vis { width: 340px; padding: 20px; }
  .v-lock { width: 300px; }
}

/* A tool page's first-screen picture: the stage, a little shorter, with its caption */
.t-pic { margin: 0; display: grid; gap: 8px; }
.t-pic .stage { height: 300px; }
.t-pic figcaption { font-size: 13.5px; color: var(--dim); }
@media (min-width: 820px) { .t-pic .stage { height: 340px; } }
