/* ==========================================================================
   The home page's three stories (Grant, 22 Oct 2026: "push what is unique"): WhatsApp control, Seasons, and Last One Standing
   running on a phone in front of the club's screen. Loaded after home-sections.css. Tokens only: no colour is written here.
   Mobile first (360 and 390 wide), then a tablet and a computer. js/home/stories.js plays them; without it, or with reduced
   motion, each one shows its finished state and nothing moves.
   ========================================================================== */

/* ---------------------------------------------------------------- a small phone, sized from its width */
.mph { --mph-w: 290px; width: var(--mph-w); font-size: calc(var(--mph-w) / 21.5); flex: none; }
.mph__bezel { position: relative; padding: .62em; border-radius: 3em;
  background: linear-gradient(150deg, color-mix(in srgb, var(--bezel) 100%, var(--text) 12%), var(--bezel));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 14%, transparent), var(--shadow-3); }
.mph__bezel::before { content: ""; position: absolute; z-index: 4; top: 1.05em; left: 50%; translate: -50% 0; width: 5.2em; height: 1.35em; border-radius: 1em; background: var(--bezel); }
.mph__screen { position: relative; overflow: hidden; border-radius: 2.45em; background: var(--page); height: 40em; display: flex; flex-direction: column; }

/* ---------------------------------------------------------------- WhatsApp */
.wa-sec { overflow: clip; isolation: isolate; }
.wa__in { display: grid; gap: clamp(28px, 5vw, 56px); }
.wa__copy { display: grid; gap: var(--sp-4); justify-items: start; align-content: center; min-width: 0; }
.wa__h, .sz__h { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.02; letter-spacing: -.03em; }
.wa-asks { list-style: none; margin: var(--sp-2) 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
.wa-asks li { display: grid; align-content: start; gap: 2px; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); background: var(--card); box-shadow: var(--ring); min-width: 0; }
.wa-asks b { font-size: var(--fs-sm); color: var(--text); }
.wa-asks span { font-size: var(--fs-sm); color: var(--text-2); overflow-wrap: anywhere; }
.wa__demo { display: grid; justify-items: center; align-content: start; min-width: 0; }
.wa-phone { --mph-w: min(286px, 78vw); }
.wa-phone .mph__screen { height: 36em; }
/* on a small phone the four that are things to say; the other two are in the Help centre */
@media (max-width: 479px) { .wa-asks li:nth-child(n+5) { display: none; } .wa-asks span { font-size: var(--fs-xs); } }

.wa-top { display: flex; align-items: center; gap: .6em; padding: 3.1em 1em .7em; background: var(--panel); border-bottom: 1px solid var(--line); }
.wa-top__mark { flex: none; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--bw-navy) url("/img/brand/v2/braidwood-mark-small-white.svg") center / 62% no-repeat; }
.wa-top__who { display: grid; line-height: 1.2; min-width: 0; }
.wa-top__who b { font-size: .92em; }
.wa-top__who small { font-size: .7em; color: var(--text-2); }
.wa-wall { position: relative; flex: 1; overflow: hidden;
  background: radial-gradient(circle, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1.5px) 0 0 / 1.4em 1.4em,
    color-mix(in srgb, var(--bw-emerald) 7%, var(--page)); }
.wa-scene { position: absolute; inset: 0; padding: .8em .8em 1em; display: flex; flex-direction: column; justify-content: flex-end; gap: .45em;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.wa-scene.is-on { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.wa-day { align-self: center; margin: 0 0 auto; padding: .3em .9em; border-radius: var(--r-pill); background: var(--card); color: var(--text-2); font-size: .64em; font-weight: var(--fw-bold); box-shadow: var(--shadow-1); }
.wa-m { position: relative; margin: 0; max-width: 86%; padding: .5em .7em .35em; border-radius: .9em; font-size: .76em; line-height: 1.38; color: var(--text);
  box-shadow: 0 1px 1px color-mix(in srgb, var(--overlay) 22%, transparent); overflow-wrap: anywhere; }
.wa-m i { display: block; margin-top: .15em; text-align: right; font-style: normal; font-size: .78em; color: var(--text-3); }
.wa-m u { color: var(--accent-text); text-decoration: none; }
.wa-m--out { align-self: flex-end; background: color-mix(in srgb, var(--bw-emerald) 24%, var(--card)); border-top-right-radius: .25em; }
.wa-m--in { align-self: flex-start; background: var(--card); border-top-left-radius: .25em; }
.wa-m--card { align-self: flex-start; display: flex; align-items: center; gap: .6em; padding: .6em .8em; background: var(--card); border: 1px solid var(--line); }
.wa-m--card span { display: grid; line-height: 1.25; }
.wa-m--card small { font-size: .85em; color: var(--ok-fg); font-weight: var(--fw-semibold); }
.wa-btns { margin: -.2em 0 0; align-self: flex-start; width: 86%; display: grid; gap: .3em; }
.wa-btn { display: grid; place-items: center; min-height: 2.3em; border-radius: .75em; background: var(--card); color: var(--accent-text); font-size: .74em; font-weight: var(--fw-bold);
  box-shadow: 0 1px 1px color-mix(in srgb, var(--overlay) 22%, transparent); transition: background-color .25s var(--ease); }
.wa-btn.is-tap { background: var(--selected-bg); animation: wa-tap .5s var(--ease-out); }
@keyframes wa-tap { 0% { scale: 1; } 40% { scale: .95; } 100% { scale: 1; } }
.wa-typing { align-self: flex-start; display: inline-flex; gap: .28em; padding: .75em .85em; border-radius: .9em; border-top-left-radius: .25em; background: var(--card); }
.wa-typing span { width: .42em; height: .42em; border-radius: 50%; background: var(--text-3); animation: wa-dot 1s var(--ease) infinite; }
.wa-typing span:nth-child(2) { animation-delay: .15s; }
.wa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes wa-dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -.3em; opacity: 1; } }
.wa-bar { display: flex; align-items: center; gap: .5em; padding: .6em .8em 1.3em; background: var(--panel); }
.wa-bar span { flex: 1; padding: .55em .9em; border-radius: var(--r-pill); background: var(--card); color: var(--text-3); font-size: .74em; }
.wa-bar i { flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--bw-emerald); }
/* while the script plays a chat, the messages still to come are out of the way */
[data-wa][data-live] .is-waiting { display: none; }
.wa-m.is-new, .wa-btns.is-new { animation: wa-pop .35s var(--ease-out) both; }
@keyframes wa-pop { from { opacity: 0; translate: 0 .6em; scale: .96; } to { opacity: 1; translate: none; scale: 1; } }

.wa-tabs { display: none; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-2); margin-top: var(--sp-5); }
[data-wa][data-live] .wa-tabs { display: flex; }
.wa-tab { min-height: var(--tap); padding: 0 var(--sp-3); border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: var(--text-2);
  font: inherit; font-size: var(--fs-sm); font-weight: var(--fw-semibold); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.wa-tab:hover { color: var(--text); }
.wa-tab[aria-pressed="true"] { background: var(--selected-bg); color: var(--accent-text); border-color: color-mix(in srgb, var(--accent-text) 45%, transparent); }
.wa-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wa-note { margin: var(--sp-3) 0 0; max-width: 36ch; text-align: center; font-size: var(--fs-xs); line-height: 1.5; color: var(--text-3); }

.wa-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.wa-trust__i { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; align-items: center; justify-items: start; gap: var(--sp-2) var(--sp-3); padding: var(--sp-4) var(--sp-5); }
.wa-trust__i > p, .wa-trust__i > .wa-set__opts { grid-column: 1 / -1; }
.wa-trust__i h3 { font-family: var(--font-display); font-size: var(--fs-lg); line-height: var(--lh-tight); }
.wa-trust__i p { color: var(--text-2); }
.wa-trust__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint-brand); color: var(--accent-text); }
.wa-trust__ico .ico { width: 22px; height: 22px; }
@media (min-width: 760px) { .wa-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* On a phone the page stays short (Grant, 16 Oct 2026): the three promises are their headings (the chat above shows them working), and
   Seasons keeps the two points the board does not already show. Every word is still there on a tablet or computer. */
@media (max-width: 639px) {
  .wa-trust { gap: var(--sp-2); }
  .wa-trust__i { padding: var(--sp-3) var(--sp-4); }
  .wa-trust__i > p { display: none; }
  .wa-trust__i h3 { font-size: var(--fs-md); }
  .sz-pt:nth-child(1), .sz-pt:nth-child(3) { display: none; }
  .wa-asks { display: none; } /* the chat right under it shows the same */
  /* Two feature cards are for a bigger screen (Grant, 22 Oct 2026): "Built for the phone in your pocket" is what the reader is holding, and the
     hero and the FAQ already say there is no password. */
  #features .deck > #sign-in, #features .deck > #phone-first { display: none; }
  .sz-pt { padding: var(--sp-3) var(--sp-4); }
  .sz-pt p { font-size: var(--fs-sm); }
}
@media (min-width: 1000px) {
  .wa__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 96px); }
  .wa-asks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wa-trust { grid-column: 1 / -1; }
  .wa-phone { --mph-w: 300px; }
  .wa-phone .mph__screen { height: 38em; }
}

/* ---------------------------------------------------------------- Seasons: a year of payments, with the off-season */
.sz { display: grid; gap: clamp(24px, 4vw, 48px); }
.sz__copy { display: grid; gap: var(--sp-4); justify-items: start; align-content: center; max-width: 46rem; }
/* the end-of-season scramble every club knows (Grant, 22 Oct 2026), set apart from the answer under it */
.sz__pain { color: var(--text); }
.sz-board { display: grid; gap: var(--sp-4); padding: clamp(16px, 3vw, 28px); min-width: 0; box-shadow: var(--edge-light), var(--ring), var(--shadow-3); }
.sz-board__top { display: flex; flex-wrap: wrap; align-items: center; gap: .5em .7em; min-width: 0; }
.sz-board__top > span { display: grid; flex: 1 1 14em; min-width: 0; }
.sz-board__top small { color: var(--text-3); font-size: var(--fs-sm); }
.sz-now { flex: none; font-style: normal; padding: 4px 12px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--gold-fg); background: var(--gold-bg); transition: color .3s var(--ease), background-color .3s var(--ease); }
.sz-now.is-season { color: var(--ok-fg); background: var(--ok-bg); }
.sz-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(3px, .7vw, 8px); align-items: end; }
.sz-mo { display: grid; justify-items: center; gap: 6px; min-width: 0; font-size: clamp(.62rem, .5rem + .35vw, .8rem); font-weight: var(--fw-semibold); color: var(--text-2); }
.sz-mo i { display: grid; place-items: end center; width: 100%; height: clamp(56px, 8vw, 104px); border-radius: var(--r-sm); transform-origin: bottom;
  background: linear-gradient(to top, color-mix(in srgb, var(--primary) 78%, transparent), color-mix(in srgb, var(--primary) 34%, transparent));
  transition: opacity .35s var(--ease), box-shadow .35s var(--ease); }
.sz-mo.is-off i { background: color-mix(in srgb, var(--gold) 7%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 45%, transparent); }
.sz-mo.is-off i::after { content: "£0"; padding-bottom: .5em; font-style: normal; font-size: .95em; font-weight: var(--fw-bold); color: var(--gold-fg); }
.sz-mo.is-now { color: var(--text); }
.sz-mo.is-now i { box-shadow: 0 0 0 2px var(--accent-text), 0 0 18px -2px var(--accent-text); }
.sz-mo.is-off.is-now i { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 45%, transparent), 0 0 0 2px var(--gold-fg), 0 0 18px -2px var(--gold); }
[data-sz][data-live] .sz-mo:not(.is-past) i { opacity: .35; }
.sz-types { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.sz-types li { padding: 4px 12px; border-radius: var(--r-pill); background: var(--panel); box-shadow: var(--ring); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.sz-types em { margin-left: 4px; font-style: normal; color: var(--gold-fg); }
/* three types, three even columns, never one alone underneath (Grant, 23 Oct 2026); on a phone each reads "Senior" over "Pauses" */
.sz-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sz-types li { text-align: center; }
@media (max-width: 479px) { .sz-types li { border-radius: var(--r-md); } .sz-types em { display: block; margin-left: 0; } }
.sz-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.sz-ev { display: grid; gap: 2px; padding: .6em .8em; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); font-size: var(--fs-sm); transition: opacity .35s var(--ease); }
.sz-ev b { color: var(--text); }
.sz-ev span { color: var(--text-2); }
[data-sz][data-live] .sz-ev:not(.is-lit) { opacity: .5; }
.sz-ev.is-ping { animation: sz-ping 1.4s var(--ease) both; }
@keyframes sz-ping { 0%, 30% { background-color: var(--selected-bg); border-color: color-mix(in srgb, var(--accent-text) 45%, transparent); } 100% { background-color: var(--card); border-color: var(--line); } }
.sz-tag { display: inline-block; margin-right: .5em; padding: 1px 8px; border-radius: var(--r-pill); font-style: normal; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--gold-fg); background: var(--gold-bg); }
.sz-tag--go { color: var(--ok-fg); background: var(--ok-bg); }
.sz-points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.sz-pt { display: grid; align-content: start; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: var(--card); box-shadow: var(--ring); border-top: 3px solid var(--gold); }
.sz-pt h3 { font-family: var(--font-display); font-size: var(--fs-lg); line-height: var(--lh-tight); }
.sz-pt p { color: var(--text-2); }
@media (min-width: 560px) { .sz-ev { grid-template-columns: 8.5em minmax(0, 1fr); gap: var(--sp-3); align-items: baseline; } }
@media (min-width: 640px) { .sz-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .sz { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(36px, 5vw, 72px); }
  .sz-points { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- Last One Standing: the player's phone beside the club's screen
   Both drawn from the app as it is (22 Oct 2026): the club's game page (screens/los-game.js: the lock panel, Still in, To pick,
   Out, the Picked list) and the player's game link (public/play.js: Your entries, Choose a team, the team sheet, Save, Pick saved). */
.los-stage { position: relative; display: grid; justify-items: center; gap: var(--sp-4); min-width: 0; width: 100%; }
.los-win { display: none; }
.los-phone { --mph-w: min(250px, 72vw); font-size: calc(var(--mph-w) / 19); }
.los-phone .mph__screen { height: 36em; }
.los-pause { justify-self: center; }
@media (min-width: 640px) {
  .los-stage { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: stretch; max-width: 760px; justify-self: center; }
  .los-win { display: block; grid-column: 1; grid-row: 1; min-width: 0; border-radius: 16px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px var(--glass-line), var(--shadow-3); }
  .los-phone { --mph-w: 224px; grid-column: 2; grid-row: 1; position: relative; z-index: 2; margin: 64px 0 0 -26px; filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--overlay) 55%, transparent)); }
  .los-pause { grid-column: 1 / -1; justify-self: start; }
}
@media (min-width: 900px) and (max-width: 1099px) { .los-sec .los { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1100px) { .los-sec .los { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.los-win__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--raised); border-bottom: 1px solid var(--line); }
.los-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.los-win__bar span { margin-left: 8px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--panel); color: var(--text-3); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the club's screen */
.lw { display: grid; gap: 10px; padding: 14px calc(14px + 26px) 14px 14px; font-size: .8rem; background: linear-gradient(170deg, var(--raised), var(--panel)); }
.lw p { margin: 0; }
.lw__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lw__head b { font-family: var(--font-display); font-size: 1.15rem; }
.lw__btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--accent-text); font-weight: var(--fw-bold); font-size: .72rem; white-space: nowrap; }
.lw__btn .ico { width: 12px; height: 12px; }
.lw__round { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.lw__round b { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent-text); }
.lw__round small { flex-basis: 100%; color: var(--text-2); font-size: .72rem; }
.lw__live { font-style: normal; padding: 1px 8px; border-radius: var(--r-pill); font-size: .68rem; font-weight: var(--fw-bold); color: var(--ok-fg); background: var(--ok-bg); }
.lw__lock { display: grid; gap: 4px; padding: 10px 12px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--ring); }
.lw__lock-h { font-weight: var(--fw-bold); }
.lw__lock-sub, .lw__count { color: var(--text-2); font-size: .74rem; }
.lw__count b { color: var(--text); }
.lw__bar { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.lw__bar i { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--grad-brand); transform-origin: left; scale: var(--p, 1) 1; transition: scale .5s var(--ease-out); }
.lw__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.lw__stat { display: grid; gap: 1px; padding: 8px 9px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--ring); border-top: 2px solid var(--bad-line); min-width: 0; }
.lw__stat small { color: var(--text-2); font-size: .68rem; font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lw__stat b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--text); }
.lw__stat em { font-style: normal; color: var(--text-3); font-size: .64rem; line-height: 1.25; }
.lw__stat--in b { color: var(--gold-fg); }
.lw__stat--in b.is-flip { animation: flip-num .6s var(--ease-out); }
.lw__picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lw__pick { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: var(--r-sm); background: var(--card); box-shadow: var(--ring); transition: opacity .3s var(--ease); }
.lw__pick span { display: grid; min-width: 0; line-height: 1.2; }
.lw__pick small { color: var(--text-3); font-size: .66rem; }
.lw__pick em { flex: none; font-style: normal; font-weight: var(--fw-semibold); color: var(--text-2); }
.lw__pick em::before { content: "\2713\00a0"; color: var(--ok-fg); }
.lw__pick--waiting em { color: var(--warn-fg); }
.lw__pick--waiting em::before { content: ""; }
.lw__pick--out { opacity: .65; }
.lw__pick--out b { text-decoration: line-through; text-decoration-color: var(--bad-line); }
.lw__pick--out em { color: var(--bad-fg); }
.lw__pick--out em::before { content: ""; }
.lw__pick.is-new { animation: chase-ping 1.6s var(--ease) both; }
.lw__pick.is-hit { animation: pick-hit 1s var(--ease-out); }
.lw__foot { color: var(--text-3); font-size: .68rem; }

/* the player's phone */
.lp__top { display: flex; align-items: center; gap: .5em; padding: 3.1em 1em .7em; background: var(--panel); border-bottom: 1px solid var(--line); font-size: .84em; }
.lp__body { display: grid; align-content: start; gap: .5em; padding: .9em 1em; transition: opacity .35s var(--ease); }
.lp__body p { margin: 0; }
.lp__eyebrow { font-size: .7em; color: var(--text-2); }
.lp__title { font-family: var(--font-display); font-weight: 800; font-size: 1.35em; line-height: 1.05; }
.lp__round { display: grid; gap: .1em; font-size: .72em; color: var(--text-2); }
.lp__round b { color: var(--text); }
.lp__lock { display: none; }
.lp__h { margin-top: .3em !important; font-weight: 800; font-size: .86em; color: var(--accent-text); }
.lp__entry { display: grid; gap: .4em; padding: .75em .8em; border-radius: .9em; background: var(--card); box-shadow: var(--shadow-1); border: 2px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.lp__entry--out { opacity: .72; }
.lp__name { display: flex; align-items: center; gap: .4em; font-size: .78em; font-weight: var(--fw-bold); }
.lp__tag { margin-left: auto; padding: .15em .6em; border-radius: var(--r-pill); font-style: normal; font-size: .84em; font-weight: var(--fw-bold); }
.lp__tag--out { background: var(--bad-bg); color: var(--bad-fg); }
.lp__pick { display: none; align-items: center; justify-content: space-between; gap: .5em; min-height: 2.3em; font-size: .78em; }
.lp__pick--none > span:first-child { color: var(--text-2); }
.lp__entry--out .lp__pick { display: flex; color: var(--text-2); }
.lp__team { display: flex; flex-wrap: wrap; align-items: center; gap: .35em; min-width: 0; }
.lp__crest { flex: none; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; font-style: normal; font-size: .62em; font-weight: 800; letter-spacing: .02em;
  color: var(--text-2); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.lp__btn { flex: none; display: grid; place-items: center; min-height: 2.3em; padding: 0 .9em; border-radius: .7em; background: var(--secondary-bg); color: var(--text); font-size: .9em; font-weight: var(--fw-bold); }
.lp__sheet { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; gap: .4em; padding: .9em 1em 1.3em; border-radius: 1.3em 1.3em 0 0;
  background: var(--raised); box-shadow: 0 -10px 30px -10px var(--overlay); translate: 0 105%; transition: translate .45s var(--ease-out); }
.lp__sheet p { margin: 0; }
.lp__sheet-h { display: flex; justify-content: space-between; align-items: baseline; font-size: .86em; }
.lp__sheet-h span { color: var(--accent-text); font-weight: var(--fw-semibold); font-size: .9em; }
.lp__sheet-sub { color: var(--text-2); font-size: .7em; }
.lp__legend { font-size: .74em; font-weight: var(--fw-bold); }
.lp__team-row { display: flex; align-items: center; gap: .5em; padding: .5em .6em; border-radius: .7em; background: var(--card); border: 1px solid var(--line); font-size: .74em; }
.lp__team-row span { display: grid; line-height: 1.25; min-width: 0; }
.lp__team-row small { color: var(--text-2); font-size: .88em; }
.lp__team-row em { margin-left: auto; font-style: normal; color: var(--text-2); font-size: .9em; }
.lp__team-row--used { opacity: .55; } /* a team the entry has used stays in its place, greyed, as on the game link page */
.lp__radio { flex: none; width: 1.1em; height: 1.1em; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); background: var(--card); transition: box-shadow .25s var(--ease); }
.lp__use { display: grid; place-items: center; min-height: 2.7em; margin-top: .2em !important; border-radius: .8em; background: var(--grad-brand); color: var(--on-primary); font-size: .8em; font-weight: var(--fw-bold); }
.lp__toast { position: absolute; z-index: 3; left: 1em; right: 1em; bottom: 1.3em; margin: 0; padding: .7em .9em; border-radius: .8em; background: var(--toast-bg); color: var(--toast-fg);
  font-size: .76em; font-weight: var(--fw-bold); box-shadow: var(--shadow-2); opacity: 0; translate: 0 .6em; transition: opacity .3s var(--ease), translate .3s var(--ease-out); }
/* the six moments: 0 no pick yet, 1 the team sheet, 2 saved the moment it is chosen, 3 the club counts it, 4 locked, 5 played (the page is written at 5) */
.lp:is([data-lp-step="0"], [data-lp-step="1"]) .lp__pick--none,
.lp:is([data-lp-step="2"], [data-lp-step="3"], [data-lp-step="4"], [data-lp-step="5"]) .lp__pick--made { display: flex; }
.lp:is([data-lp-step="0"], [data-lp-step="1"], [data-lp-step="2"], [data-lp-step="3"]) .lp__lock--open,
.lp[data-lp-step="4"] .lp__lock--shut,
.lp[data-lp-step="5"] .lp__lock--done { display: block; }
.lp[data-lp-step="1"] .lp__body { opacity: .45; }
.lp[data-lp-step="1"] .lp__sheet { translate: none; }
.lp[data-lp-step="1"] .lp__team-row--hit { animation: lp-hit 1.2s .7s var(--ease) both; }
.lp[data-lp-step="1"] .lp__team-row--hit .lp__radio { box-shadow: inset 0 0 0 .32em var(--accent-text); transition-delay: .8s; }
@keyframes lp-hit { 0% { background-color: var(--card); } 40%, 100% { background-color: var(--selected-bg); border-color: var(--accent-text); } }
.lp[data-lp-step="2"] .lp__entry--main { border-color: var(--accent-text); background: var(--selected-bg); }
.lp[data-lp-step="2"] .lp__toast { opacity: 1; translate: none; }
.lp:is([data-lp-step="4"], [data-lp-step="5"]) .lp__btn--quiet { display: none; }

/* ---------------------------------------------------------------- two feature cards: cash, and moving over from another platform */
.cash-mock { display: grid; gap: var(--sp-2); padding: var(--sp-3); border-radius: var(--r-md); background: var(--panel); box-shadow: var(--ring); font-size: var(--fs-sm); }
.cash-mock__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--sp-2); padding: 6px 10px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.cash-mock__row > span:nth-child(2) { display: grid; min-width: 0; }
.cash-mock__row small { color: var(--text-2); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cash-mock__row .story__avatar { font-size: var(--fs-xs); }
.cash-mock__btn { font-style: normal; padding: 6px 12px; border-radius: var(--r-pill); background: var(--gold-bg); color: var(--gold-fg); font-weight: var(--fw-bold); font-size: var(--fs-xs); white-space: nowrap; }
.cash-mock__done { display: flex; align-items: center; gap: var(--sp-2); padding: 0 4px; color: var(--ok-fg); font-weight: var(--fw-semibold); }
.cash-mock__done .ico { width: 18px; height: 18px; flex: none; }
.move-mock { list-style: none; margin: 0; width: 100%; padding: var(--sp-3); display: grid; gap: var(--sp-2); border-radius: var(--r-md); background: var(--panel); box-shadow: var(--ring); font-size: var(--fs-sm); }
.move-mock li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--sp-3); padding: 8px 12px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.move-mock li > b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint-cyan); color: var(--accent-text); font-size: var(--fs-xs); }
.move-mock li > span { display: grid; min-width: 0; }
.move-mock small { color: var(--text-2); font-size: var(--fs-xs); }
@media (min-width: 760px) { .move-mock { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* on a phone each card in the deck is one fixed height, so the three steps are their names only */
@media (max-width: 759px) { .move-mock small { display: none; } .move-mock li { padding: 6px 10px; } }
/* the payments card already says "Weekly, monthly or yearly" in words, so on a phone its picture drops that row and the card fits its fixed height */
@media (max-width: 999px) and (min-height: 600px) { .deck .pay-mock__seg { display: none; } .move-mock { gap: 4px; } }

@media (prefers-reduced-motion: reduce) {
  .wa-scene, .wa-btn, .sz-now, .sz-mo i, .sz-ev, .lp__body, .lp__entry, .lp__sheet, .lp__toast, .lp__radio, .lw__bar i, .lw__pick { transition: none; }
  .wa-m.is-new, .wa-btns.is-new, .wa-btn.is-tap, .wa-typing span, .sz-ev.is-ping, .lp[data-lp-step="1"] .lp__team-row--hit, .lw__stat--in b.is-flip, .lw__pick.is-new, .lw__pick.is-hit { animation: none; }
}
@media (forced-colors: active) { .wa-m, .wa-btn, .sz-mo i, .lp__entry, .lw__stat, .lw__pick { border: 1px solid CanvasText; } }
