

/* a card's box is the kit's (.ui-card, .ui-inset: components.css); a page's card keeps only its own layout */
.pg-home .card{min-width:0}
/* the one filled button is the design system's (components.css, .ui-btn); Home keeps its hero button's width */
.go-big{min-width:var(--go-big-min)}
.first-line{margin:var(--s1) 0 0; font-size:var(--fs-label); line-height:1.4; font-weight:var(--fw-semi); color:var(--ink-2); white-space:normal; animation:kt-fade var(--d-first-line) ease-out both}
/* the pixel glyphs (ui/components/glyphs.js) carry their own size, whole device pixels a unit: never sized here */
.gl-lock{flex:none; color:var(--ink-2)}
.gl-tick{color:var(--learn)}

/* a card that belongs to a mode: a rule of the mode's fill along its top (3.0, Layout) */
.card.band{border-top:var(--mode-rule) solid var(--band)}

/* a gap under the cards as well as over them, so their foot never meets the window's edge (Wolf, 2026-10-15 03:29: "Bottom of home still looks cut off") */
.pg-home{--home-air:1; justify-content:center; font-family:var(--font); color:var(--ink)}

/* the cards take the height that is left, so Home's content starts and ends where every other page's does (Wolf, 2026-10-15 03:59) */
.byline{display:flex; align-items:center; gap:var(--s3); margin:var(--bw-2) 0 0; font-size:var(--fs-small); font-weight:var(--fw-semi); color:var(--ink-2); white-space:nowrap; font-variant-numeric:tabular-nums}
.guest{margin-left:auto; display:flex; flex-direction:row; align-items:center; gap:var(--s3); font-size:var(--fs-body); line-height:1.35}   /* an inset (.ui-inset): its words and its two buttons on one line */
.guest + .lvl{margin-left:0}
.guest p{margin:0; color:var(--ink-2); font-weight:var(--fw-semi)}
.guest .guest-later{color:var(--ink-2)}

/* the hero: the next lesson, the star. Its words, then its one button with the XP it pays, then its one progress mark */
.eyebrow{margin:0; font-size:var(--fs-small); line-height:1.3; font-weight:var(--fw-heavy); color:var(--learn-ink)}
.eyebrow span{margin-left:var(--s3); padding-left:var(--s3); border-left:1px solid var(--line); color:var(--ink-2); font-weight:var(--fw-bold)}

/* Getting started: the strip under the lesson while its rows run (home-play.js), this full card for its prize */
.gs{padding:calc(var(--gs-pad) * var(--home-air)) calc(calc(var(--gs-pad) * var(--home-air)) + var(--s1)); display:flex; flex-direction:column; min-width:0}
.gsh{display:flex; align-items:baseline; gap:var(--s4)}
.gsh h2{margin:0; font-size:var(--fs-panel); line-height:1.3; font-weight:var(--fw-heavy)}
.gsn{margin-left:auto; font-size:var(--fs-small); font-weight:var(--fw-bold); color:var(--ink-2); white-space:nowrap; font-variant-numeric:tabular-nums}
.gsn b{color:var(--ink); font-weight:var(--fw-heavy)}
.gshide{font-size:var(--fs-small); text-decoration:underline; text-underline-offset:var(--bw-2)}
.gs .gss{flex:none; height:var(--prog-h-sm); margin-top:calc(calc(var(--gs-pad) * var(--home-air)) * .5)}
.gs > .first-line{margin-top:var(--s2)}
.gsl{list-style:none; margin:calc(calc(var(--gs-pad) * var(--home-air)) * .4) 0 var(--s2); padding:0; display:grid; grid-template-columns:var(--gs-box) minmax(0,1fr) auto auto; column-gap:var(--s3)}
.gsl > li{display:contents}
/* a row: the box, the words, then two columns every row shares, so the chips and the buttons each line up */
.gsr{grid-column:1 / -1; box-sizing:border-box; display:grid; grid-template-columns:subgrid; align-items:center; min-height:var(--gs-row); padding:var(--bw-2) var(--s2); border-radius:var(--r-btn); font-size:var(--fs-small); line-height:1.3; font-weight:var(--fw-semi); color:var(--ink); text-decoration:none}
a.gsr:hover{background:var(--paper)}
.gsr .bx{display:grid; place-items:center; width:var(--gs-box); height:var(--gs-box)}   /* the set's mark, to do or done (components/state-mark.js) */
.gsr.done .w, .gsr.pend .w{color:var(--ink-2)}
.gsr .w{min-width:0}
.gsr .rc{justify-self:end}
.gsr .ra{justify-self:end; display:flex; align-items:center; font-size:var(--fs-label); font-weight:var(--fw-bold)}
.gsr .why{color:var(--ink-2); font-weight:var(--fw-semi); white-space:nowrap}
.gsr .qb{display:inline-flex; align-items:center; height:var(--gs-btn-h); padding:0 var(--gs-btn-pad); border-radius:var(--r-btn); background:var(--chrome); border:1px solid var(--edge); color:var(--ink); white-space:nowrap}
.gsr.next{background:var(--learn-tint)}
.gsr.next .qb{background:var(--sheet); border:var(--bw-1-5) solid var(--learn); color:var(--learn-ink)}
.gsr.next .w{font-weight:var(--fw-bold)}
.gsr.cursor-on, a.gsr:focus-visible{outline:var(--focus-w) solid var(--cell-cursor); outline-offset:calc(-1 * var(--focus-w))}
.gsr.tick-in .bx{animation:gs-tick var(--d-starter-tick) cubic-bezier(.2,.8,.2,1.2) both}
@keyframes gs-tick{from{transform:scale(.4)}}
.flying .lvl-n{animation:lvl-glow var(--d-xp-fly) ease-out both}
@keyframes lvl-glow{0%, 60%{transform:none} 80%{transform:scale(1.12)} 100%{transform:none}}
.gsmore{margin:var(--bw-2) 0 0; padding-left:calc(var(--gs-box) + var(--s4)); font-size:var(--fs-label); font-weight:var(--fw-semi); color:var(--ink-2)}
.gs-next{margin:auto 0 0; padding:calc(calc(var(--gs-pad) * var(--home-air)) * .45) var(--s2) 0; display:flex; align-items:center; gap:var(--s3); border-top:1px solid var(--line); font-size:var(--fs-small); font-weight:var(--fw-bold); color:var(--ink)}
.gs-next .w{flex:1 1 auto; min-width:0}
.gsprize{flex:1; display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:var(--s4); row-gap:var(--s3); align-content:center; margin-top:calc(calc(var(--gs-pad) * var(--home-air)) * .7)}
.gsprize .gs-bv{grid-row:span 2; align-self:start}
.gsprize b{display:block; font-size:var(--fs-item); font-weight:var(--fw-heavy); line-height:1.3}
.gsprize p{margin:var(--bw-2) 0 var(--s3); font-size:var(--fs-body); font-weight:var(--fw-semi); color:var(--ink-2)}
.gs-prow{display:flex; align-items:center; gap:var(--s4); margin:0; font-size:var(--fs-small); font-weight:var(--fw-bold); color:var(--ink-2)}
.gs-pb{display:flex; align-items:center; gap:var(--s2); color:var(--ink)}

/* a short window: the streak joins the greeting's line */
@media (max-height:820px){  .byline{margin:0}  }

.dia{display:block; width:var(--learn-dia); height:var(--learn-dia); transform:rotate(45deg); box-shadow:inset 0 0 0 var(--bw-2) var(--challenges)}
.dia.d{background:var(--challenges)}
.chips{display:flex; align-items:center; flex-wrap:wrap; gap:var(--s2) var(--chord-apart)}
.chips .kg{display:flex; align-items:center; gap:var(--s2)}
.chips .ui-cap, .hl-k .ui-cap{height:var(--learn-chip-h); min-width:var(--learn-chip-h); padding:0 var(--s2)}
.chips .kg-alias{font-size:var(--fs-small); color:var(--ink-2); white-space:nowrap; align-self:center}   /* "(Alt+PgDn in a browser tab)" beside Excel's sheet keys (sheet-keys.js) */
.chips .more{font-size:var(--fs-small); font-weight:var(--fw-bold); color:var(--ink-2); white-space:nowrap}


/* ---------- the welcome on entry: one centered card over the dimmed page ---------- */
.wl-veil{position:fixed; inset:0; z-index:90; display:grid; place-items:center; padding:var(--s4); background:var(--veil-dim); animation:kt-fade var(--d-pop-in) ease both}
/* over a lesson the offer never blocks: no dim, the page live behind it (the first key for the sheet answers Not now) */
.wl-veil.wl-pass{background:transparent; pointer-events:none}
.wl-veil.wl-pass :is(.wl, .wl-offer){pointer-events:auto}
.wl, .wl-offer{outline:none}   /* the kit's pop-out card (PS-41, menu-kit.css .ui-popcard) */
.wl:focus, .wl:focus-visible, .tour:focus, .tour:focus-visible{outline:none; box-shadow:var(--shadow-pop)}
.wl-dots{display:flex; gap:var(--s2); justify-content:center; margin:0 0 var(--s4)}
.wl-dots i{width:var(--wl-dot-w); height:var(--wl-dot-h); border-radius:var(--bw-2); background:var(--line)}
.wl-dots i.on, .wl-dots i.seen{background:var(--wl-c, var(--learn))}
.wl-eyebrow{margin:0 0 var(--s2); font-size:var(--fs-small); font-weight:var(--fw-heavy); color:var(--wl-i, var(--learn-ink))}
/* a tour step's picture: a small drawing of the real thing on its mode's tint */
.wl-pic{width:min(var(--wl-pic-w), 100%); height:var(--wl-pic-h); box-sizing:border-box; margin-top:var(--s5); --mode-tint:var(--wl-t, var(--learn-tint)); --mode-line:var(--wl-l, var(--learn-line)); align-items:center; justify-content:center; gap:var(--s3)}   /* a tint inset (.ui-inset-tint) in the step's mode */
.wl-card{flex-direction:row; align-items:center; gap:var(--s3); font-size:var(--fs-small); font-weight:var(--fw-bold); color:var(--ink); text-align:left}
.wl-card p{margin:0}
.wl-tick{flex:none; width:var(--gs-box); height:var(--gs-box); border-radius:var(--kt-r); background:var(--learn)}
.wl-keys{display:flex}
.wl-cells{display:grid; grid-template-columns:repeat(6, var(--s8)); grid-auto-rows:var(--s4); gap:1px; background:var(--grid); border:1px solid var(--grid)}
.wl-cells i{background:var(--sheet)}
.wl-cells i:nth-child(7){background:var(--learn-tint); box-shadow:inset 0 0 0 var(--bw-2) var(--cell-cursor)}
.wl-time{font-family:var(--mono); font-size:var(--fs-time); font-weight:var(--fw-heavy); line-height:1; color:var(--ink); font-variant-numeric:tabular-nums}
.wl-tier{display:flex; align-items:center; gap:var(--s2); font-size:var(--fs-body); font-weight:var(--fw-heavy); color:var(--tier-pro)}
.wl-tier .tiers i{border-color:currentColor} .wl-tier .tiers i.on{background:currentColor}
.wl-best{font-size:var(--fs-small); font-weight:var(--fw-heavy); color:var(--learn-ink)}
.wl-board{list-style:none; margin:0; padding:0; width:100%; display:flex; flex-direction:column; gap:var(--s1)}
.wl-board li{display:grid; grid-template-columns:3ch minmax(0,1fr) auto; align-items:center; gap:var(--s3); padding:var(--s1) var(--s3); border-radius:var(--r-btn); font-size:var(--fs-small); font-weight:var(--fw-semi); text-align:left; color:var(--ink)}
.wl-board li b{color:var(--ink-2)}
.wl-board li em{font-style:normal; font-weight:var(--fw-bold)}
.wl-board li .time{font-family:var(--mono)}
.wl-board li.me{background:var(--sheet); color:var(--daily-ink); font-weight:var(--fw-heavy); box-shadow:inset 0 0 0 1px var(--daily)}
.wl-board li.me b{color:var(--daily-ink)}
.wl-go{flex-direction:row; align-items:center; gap:var(--s4); width:100%; margin-top:var(--s5); --mode-tint:var(--learn-tint); --mode-line:var(--learn-line); text-align:left}   /* a tint inset (.ui-inset-tint): the first lesson, always Learn's */
.wl-go svg{display:block; flex:none; image-rendering:pixelated}
.wl-go b{display:block; font-size:var(--fs-item); font-weight:var(--fw-heavy)}
.wl-go p{margin:var(--bw-2) 0 0; font-size:var(--fs-small); font-weight:var(--fw-semi); color:var(--ink)}
.wl-fine{margin:var(--s3) 0 0; font-size:var(--fs-min); color:var(--ink-2)}   /* the one line that says what the sheet is (the IP audit, 2026-10-12) */
.wl-nav{display:flex; align-items:center; justify-content:flex-start; gap:var(--s3); width:100%; margin-top:var(--s5)}
.wl-nav > .go{margin-left:auto}
@media (prefers-reduced-motion: reduce){ .wl-veil, .first-line, .gsr.tick-in .bx, .tour, .flying .lvl-n{animation:none} .pbar-line i{transition:none} }

/* ---------- the Home tour: a small callout with a pointer, and a ring on the thing it points at ---------- */
.tour-on{position:relative; z-index:56; border-radius:var(--r-plate); box-shadow:0 0 0 var(--tour-ring) var(--learn), 0 0 0 var(--tour-halo) var(--learn-tint) !important}
.tour{position:fixed; z-index:57; overflow:visible; border:var(--bw-2) solid var(--learn); --pop-shadow:var(--shadow-pop); animation:kt-fade var(--d-pop-in) ease both; outline:none}   /* the kit's pop-out card at sm (PS-41): the kit's width, air, gap and corner; Learn's edge, which its pointer continues, and the menus' shadow */
.tour small{display:block; font-size:var(--fs-label); font-weight:var(--fw-bold); color:var(--ink-2)}
.tour p{margin:0; font-size:var(--fs-body); line-height:1.4; font-weight:var(--fw-bold); text-wrap:balance}
.tour-tip{position:absolute; width:var(--tour-tip); height:var(--tour-tip); background:var(--sheet); border:0 solid var(--learn); transform:rotate(45deg)}
.tour[data-side="u"] .tour-tip{top:var(--tour-tip-off); border-left-width:var(--bw-2); border-top-width:var(--bw-2)}
.tour[data-side="d"] .tour-tip{bottom:var(--tour-tip-off); border-right-width:var(--bw-2); border-bottom-width:var(--bw-2)}
.tour[data-side="r"] .tour-tip{right:var(--tour-tip-off); border-right-width:var(--bw-2); border-top-width:var(--bw-2)}
.tour[data-side="l"] .tour-tip{left:var(--tour-tip-off); border-left-width:var(--bw-2); border-bottom-width:var(--bw-2)}

/* ---------- narrow windows (761 to 900): the columns stack, as the shell's other pages do ---------- */
@media (max-width:900px){ .hb{grid-template-columns:minmax(0,1fr)}  }

/* ---------- the paywall: a locked lesson or drill (static-pages-spec 9). The chapter card as Learn draws it, beside the
   Full Access block; the panel is as tall as its words and sits at the top ---------- */
.pw{align-self:stretch; flex:1 1 auto; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) var(--pw-panel-w); gap:var(--learn-v-gap) var(--cols-gap); align-items:start; padding-top:var(--learn-v-page); font-family:var(--font); color:var(--ink)}
.pw .card{min-width:0}
.pw-ch{padding:var(--pw-pad); display:flex; flex-direction:column; gap:var(--pw-pad); max-height:100%; overflow:auto; box-sizing:border-box}
.pw-head{display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:var(--s4); align-items:start}
.pw-art{position:relative; line-height:0}
.pw-art svg{display:block; image-rendering:pixelated}
.pw-badge{position:absolute; right:calc(-1 * var(--s1)); bottom:calc(-1 * var(--s1)); display:grid; place-items:center; width:var(--pw-badge); height:var(--pw-badge); border-radius:50%; background:var(--ink-2); color:var(--sheet); box-shadow:0 0 0 var(--bw-2) var(--sheet)}
.pw-badge .gl-lock{color:var(--sheet)}
.pw-words p{margin:0}
.pw-eyebrow{font-size:var(--fs-small); font-weight:var(--fw-heavy); color:var(--learn-ink)}
.pw-words h1{margin:var(--s1) 0 var(--s2); font-size:var(--fs-title); line-height:1.15; font-weight:var(--fw-heavy)}
.pw-place{font-size:var(--fs-small); font-weight:var(--fw-semi); color:var(--ink-2)}
.pw-title{font-weight:var(--fw-heavy)}
.pw-count{margin-top:var(--s2) !important; font-size:var(--fs-small); font-weight:var(--fw-semi); color:var(--ink-2)}
.pw-lists{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:var(--s6); align-items:start}
.pw-rows{list-style:none; margin:0; padding:0}
.pw-row{display:grid; grid-template-columns:var(--learn-mod-n) minmax(0,1fr) auto; align-items:center; column-gap:var(--s2); min-height:var(--pw-row-h); border-top:1px solid var(--line); font-size:var(--fs-body)}
.pw-row:first-child{border-top:0}
.pw-row .no{color:var(--ink-2); font-weight:var(--fw-bold); font-variant-numeric:tabular-nums}
.pw-row .nm{min-width:0; overflow-wrap:anywhere; padding-block:var(--s1); line-height:1.3; font-weight:var(--fw-semi)}
.pw-mod .nm{font-weight:var(--fw-heavy)}
.pw-mod.open .nm{color:var(--learn-ink)}
.pw-item{grid-template-columns:var(--learn-mark-w) minmax(0,1fr); padding-left:var(--s1)}
.pw-item:has(.lb){grid-template-columns:var(--learn-mark-w) auto minmax(0,1fr)}
.pw-item .mk{display:grid; place-items:center}
.pw-item .lb{font-weight:var(--fw-heavy); color:var(--challenges-ink); white-space:nowrap}
.pw-item.me .nm, .pw-rows .pw-row.me .nm{font-weight:var(--fw-heavy); color:var(--ink)}
.pw-cells{display:flex; align-items:center; gap:var(--s1)}
.pw-cells .sq, .pw-item .sq{display:block; width:var(--pw-cell); height:var(--pw-cell); box-sizing:border-box; border:1px solid var(--edge); background:var(--sheet)}
.pw-cells .dia{margin-inline:var(--bw-2)}
.pw-col.pw-rows .pw-row:not(.pw-mod):not(.pw-item){grid-template-columns:minmax(0,1fr)}
.pw-more .nm{color:var(--ink-2); font-weight:var(--fw-semi)}
.pw-col{min-width:0}
.pw-keys{margin-bottom:var(--s4)}
.pw-fn{margin:0; display:flex; flex-wrap:wrap; gap:var(--s2)}
.pw-tob-h{margin:0 0 var(--s2); font-size:var(--fs-small); font-weight:var(--fw-heavy); color:var(--ink)}
.pw-line{margin:var(--s4) 0 0; font-size:var(--fs-small); font-weight:var(--fw-semi); color:var(--ink-2)}
.pw-panel{padding:var(--pw-pad); display:flex; flex-direction:column; align-items:flex-start; gap:var(--s3)}
.pw-panel p{margin:0}
.pw-lost{margin:0 0 var(--s2); padding:var(--s2) var(--s3); border-radius:var(--r-btn); background:var(--learn-tint); font-size:var(--fs-body); line-height:1.4; font-weight:var(--fw-bold); color:var(--ink)}
.pw-full{font-size:var(--fs-body); line-height:1.45; font-weight:var(--fw-semi); color:var(--ink)}
.pw-price{font-size:var(--fs-body); font-weight:var(--fw-heavy); color:var(--ink)}
.pw-panel .go{margin-top:var(--s1)}
.pw-fine{font-size:var(--fs-small); font-weight:var(--fw-semi); color:var(--ink-2)}
.pw-fine a{color:var(--learn-ink); font-weight:var(--fw-heavy)}
@media (max-width:820px){ .pw{grid-template-columns:minmax(0,1fr)} .pw-panel{order:-1} .pw-lists{grid-template-columns:minmax(0,1fr)} .pw-lists .pw-col + .pw-col{display:none} }

/* thin strokes of a bright lane read its line (the palette pass) */
.dia{box-shadow:inset 0 0 0 var(--bw-2) var(--challenges-line)}
.wl-board li.me{box-shadow:inset 0 0 0 1px var(--daily-line)}
/* Round 2, 2560: when the Getting started card is stretched to the hero's height, its rows share the extra height (the beaver line was
   pushed to the card's foot and left a 180px dead band under the list at 2560); at 1280 and 1440 there is no extra height and nothing
   moves. The two cards keep one top edge and one foot. The top bar's gear and player icon double at 2400 wide and up, in whole art
   pixels (--tb-art in tokens.css), beside the 1.5x nav type */
.gs .gsl{flex:1 0 auto; align-content:space-evenly}
.tb .tb-gear svg{width:var(--tb-art); height:var(--tb-art)}

/* the lesson card leads (Wolf, 2026-10-15): its band in the lesson's colour, the card in its tint, the art and title larger,
   the body centred in the space under the band; every text on the tint is the ink or the mode's ink (contrast pairs) */
.pg-home, .hero{--hero-py:calc(var(--home-hero-pad) * var(--home-air)); --hero-px:calc(var(--hero-py) + var(--s2))}   /* on the page too: the play boxes take the lesson card's padding */

/* Getting started as one line at the course card's foot: its name and count, then the next row with its reward and button */
.hcp-gs{display:flex; align-items:center; gap:var(--s2) var(--s4); padding-top:calc(var(--hp-pad) * var(--home-air) * .75); border-top:1px solid var(--line)}
.hcp-due{display:flex; align-items:center; gap:var(--s3); padding-top:calc(var(--hp-pad) * var(--home-air) * .75); border-top:1px solid var(--line); color:var(--ink); text-decoration:none; font-size:var(--fs-small); font-weight:var(--fw-semi); min-width:0}
.hcp-due .w{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.hcp-due:hover .w{text-decoration:underline}
.hcp-gs h3{margin:0; font-size:var(--fs-body); line-height:1.3; font-weight:var(--fw-heavy); white-space:nowrap}
.hcp-gs .gsn{margin:0}
.gs-nx{flex:1 1 auto; display:flex; align-items:center; gap:var(--s3); min-width:0; font-size:var(--fs-small); font-weight:var(--fw-bold); color:var(--ink)}
.gs-nx .w{min-width:0; margin-right:auto}   /* the next step wraps in the side column rather than cutting off (layout-rules C1) */
.gs-nx .why{color:var(--ink-2); font-weight:var(--fw-semi); white-space:nowrap}


/* the play boxes: the name at the title size, the XP under it, the Play with its triangle at the foot */
/* the five sizes */
.pg-home .hcp-step, .pg-home .hcp-step b, .pg-home .hcp-nm, .pg-home .hcp-gs h3, .pg-home .gs-nx, .pg-home .hcp-n{font-size:var(--fs-small)}
/* every chip on Home a size up (the chip kit: a surface sets the size tokens on its own scope) */
.pg-home{--chip-h:var(--chip-h-lg); --chip-px:var(--chip-px-lg); --chip-fs:var(--chip-fs-lg)}

/* one Play button on Home (Wolf, 2026-10-15 05:31: "the buttons should probably be the same size and style (for main quest,
   daily race, drill, rapid fire when unlocked) just in terms of size, font, icons"): the lesson's Continue is the design
   system's large button with the play triangle, in a slot of the one width; each box's Play draws the same large size */
.go-slot{display:flex; min-width:var(--go-w)}

.pg-learn .dia{box-shadow:inset 0 0 0 var(--bw-2) var(--learn-line)}
.pg-learn .dia.d{background:var(--learn)}

/* the first lesson shown, not told (Wolf, 2026-10-15 13:22: "Instead of text for users saying 'Start here' can we cue users
   more intuitive or more visually? I want to show not tell"): with no lesson done, the main quest's button sends out a soft
   ring in its colour, again and again, the one thing moving on the page; reduced motion keeps a still ring */
.first-cue{position:relative}
.first-cue::after{content:''; position:absolute; inset:0; border-radius:var(--r-btn); pointer-events:none; box-shadow:0 0 0 0 var(--m); animation:go-first var(--d-first-pulse) ease-out infinite}
@keyframes go-first{0%{box-shadow:0 0 0 0 var(--m); opacity:.7} 70%,100%{box-shadow:0 0 0 var(--first-ring) var(--m); opacity:0}}
@media (prefers-reduced-motion: reduce){ .first-cue::after{animation:none; opacity:1; box-shadow:0 0 0 var(--bw-3) var(--m-tint), 0 0 0 calc(var(--bw-3) * 2) var(--m)} }

/* HM-25 (Wolf, 2026-10-15 16:06, "pulse moves on"): the ring sits on the one best next step, the main quest's button or a play
   card's Play, in that card's colour (home-page.js pulseTarget); on a Play it rings the button's outer edge. The card pictures
   play one after another, never together: the pulsed card first, then the rest in page order, each --d-hp-step after the one
   before (the card's turn is --pv-i, set from the markup), after the XP rise when one plays (--pv-lead). Hover replays one
   card from its own start (home-preview.js). Reduced motion: no chain, the pictures are stills and the ring is still */


/* the five sizes and three weights, the lesson card's: the title heavy at the hero size; the names, headings and the band bold
   at the heading size; the lines semi at the body size; the chips, keycaps and small lines semi at the small size; the buttons theirs */
.pg-home .ui-cap{--cap-fs:var(--fs-small)}

/* the main quest complete (Wolf 2026-10-18, option A): a big tick in a filled circle where the lesson's picture sits, one line, a
   quiet Full Access link on a free account, then the one button */

/* ---- Home on the app template (docs/specs/page-templates.md, UI-35): its layout is ui/templates.css; what stays here is
   Home's own ink: the box's chapter colour, a shut Play row in gray, the ring on Continue ---- */
.hn .tpl-act-eye{color:var(--m-ink)}
.hn-what{font-size:var(--fs-small); font-weight:var(--fw-semi); color:var(--ink-2)}
.hn .first-cue::after{inset:calc(var(--btn-edge) * -1); border-radius:var(--btn-r)}
.hl-nm{font-weight:var(--fw-heavy)}
.hl-row.is-shut{cursor:default; color:var(--ink-2)}
.hl-row.is-shut .hl-nm{color:var(--ink-2)}
.hl-row.is-shut .hl-mark img{filter:var(--art-locked)}   /* a shut mode's mark in gray, as its words */
.hl-k{display:flex; align-items:center; color:var(--ink-2)}

/* ---- For you and the club band (HM-40, Wolf 2026-11-15 23:00): colour lives in each row's mark tile and its chip, never the row
   (UI-37). A tile is the club crest (templates.css .club-crest) at a row's size: a mode's fill and its label colour (--tc,
   --tc-on), a club's own, or a won or lost state's tint and ink. ---- */
.club-crest .art-flat{color:inherit}
.fy-two .tpl-row .tpl-t{flex-wrap:nowrap; white-space:nowrap; min-width:0; align-items:center}
.fy-two .tpl-row .tpl-t > .tpl-name{min-width:0; overflow:hidden; text-overflow:ellipsis}
.fy-plate{flex:none}
.fy-plate .np-name{font-weight:var(--fw-bold)}
.fy-big{font-size:var(--fs-item); font-weight:var(--fw-bold)}
.fy-note.is-unread .tpl-name{font-weight:var(--fw-semi); color:var(--ink)}
.fy-race{pointer-events:none}
.fy-row:hover .fy-race, .fy-row:focus-visible .fy-race{background:var(--sheet); border-color:var(--ink-2)}
/* the nudge: one quiet grey row at For you's foot, its X puts it away */
.fy-nudge-row .tpl-name, .fy-nudge-row .tpl-lead{color:var(--ink-2)}
.fy-x{display:inline-grid; place-items:center; color:var(--ink-2); cursor:pointer}
.fy-x:hover{color:var(--ink)}
/* the gentle entrance: For you's rows rise and fade in one after another, once a visit (home-page.js risen) */
@keyframes fy-rise{from{opacity:0; transform:translateY(var(--diag-rise))}}
.fy-in .fy-list > .tpl-li{animation:fy-rise var(--d-step-in) var(--ease-out) both; animation-delay:calc(var(--fy-i, 0) * var(--d-tray-gap))}
@media (prefers-reduced-motion: reduce){ .fy-in .fy-list > .tpl-li{animation:none} }
/* the rail's one reference block (UI-38): its rows at the club rail block's height */
.fy-railblock .tpl-row{min-height:var(--club-u)}
.fy-railblock .tpl-meter > .pbar{width:calc(var(--tpl-meter-w) / 3)}
/* the bounty (AT-35; home-foryou.js bountyHtml, app/bounty.js): a rival's challenge row in the nudge's seat. While it waits it
   carries the kit's dot (.ui-chip-dot, Learn's green, ringed in the sheet as the achievements case's New dot) on its mark
   tile's corner; the cell's face is the rival's avatar. Its pop-out's prize (.bounty-*) is a quiet inset in the kit's sm card:
   the nameplate wearing the title, the club's mark in the colour, or the theme's picture (menu-kit mk-preview). */
.fy-bounty .tpl-lead{position:relative}
.fy-newdot{position:absolute; top:calc(var(--hub-mark) / -3); right:calc(var(--hub-mark) / -3); box-shadow:0 0 0 var(--bw-2) var(--sheet); pointer-events:none}
.fy-cellav{--cell-sm:var(--av-row); background:var(--learn-tint)}   /* the cell's face as a rival's avatar: the tile kit's row tile, its drawing at the tile's size */
.fy-bounty.tpl-step .tpl-end{gap:var(--s2)}   /* three things at its end (the time, Race, the X): a step closer, as a rival's row has two */
.bounty-prize{align-items:center; text-align:left}
.bounty-prize .mk-preview{align-self:stretch}
