/* Lifewright: the game's own CSS, after theme.css and fd-ui.css. Look C "Pine and copper" (owner's pick, 2026-10-25):
   a pine-black chrome, the Page on a neutral grey-white (light) or a pine-charcoal reading surface (dark), verdigris
   as the one accent, the lamp only on lit marks (flames, pips, bars). Every colour is sampled from the game's own
   renders (ui/img/stills) or takes a sampled hue with its lightness moved for contrast.
   Two faces: Literata for the Page, Schibsted Grotesk for everything else. One radius (4px) on paper; the site's
   pills stay pills. Shadows only on what floats. Motion: UI-V3 6 (emil-design-eng).
   Light and dark: html.pg-dark (set before first paint in index.html from fiddleday.settings.theme, else
   prefers-color-scheme; kept live by app.applyLook) swaps the Page's tokens. The chrome is pine in both. */
@font-face{font-family:"Literata";font-style:normal;font-weight:400 600;font-display:swap;src:url(../../assets/literata-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Literata";font-style:italic;font-weight:400 500;font-display:swap;src:url(../../assets/literata-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* tokens live on body.lw so they beat theme.css's dark-mode :root values (the game is the same in both themes) */
body.lw{
  /* the chrome: pine-black (place-docks pines #151810) */
  --soot:#151810;--soot-2:#1D2117;--soot-3:#2C3224;--soot-4:#3E4634;
  --cream:#E9EAE4;--cream-2:#BFC2B8;--cream-3:#949888;
  /* the Page, light: a neutral grey-white (saturation 9%), not cream */
  --paper:#EBEAE7;--paper-2:#DFDDD9;--paper-3:#C8C5BF;--slip:#F5F4F2;
  --ink:#171A14;--ink-2:#3A3E35;--ink-3:#5E6258;
  /* the accent: verdigris (the hue of the teal fittings in longnight-night, #1E2C2C), on chrome and as the action
     fill; --lamp-deep is the accent on the Page */
  --lamp:#79BFAE;--lamp-deep:#2C6B62;--acc:#79BFAE;--acc-deep:#2C6B62;--acc-ink:#151810;
  /* lit marks: the window lamp (place-wick #EFB277) */
  --lit:#EFB277;--lit-deep:#B5793F;
  /* weakness on chrome; danger and death (lit clay tiles, place-wick #931801); good; the lake */
  --ember:#E0957A;--ember-fill:#C9785F;--ember-line:#931801;
  --wax:#931801;--good:#2E6B45;--lake:#55697A;
  /* the four seasons of the year bar (spring grass, summer lamp, autumn clay, winter slate roofs); keys keep the sim's ids */
  --s-sowing:#6E8F4E;--s-haying:#C99A55;--s-harvest:#A8492E;--s-longnight:#5A6F94;
  --scrim:21,24,16; /* the soot as r,g,b for the scrims */
  --sans:"Schibsted Grotesk",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --serif:"Literata",Georgia,"Times New Roman",serif;
  --r:4px;
  --pt-add:0px; /* the text size setting adds to the Page's sizes */
  --ease-out:cubic-bezier(.23,1,.32,1);--ease-io:cubic-bezier(.77,0,.175,1);
  --float:0 12px 32px rgba(8,10,6,.45);
  /* the site's names, pointed at the game's (theme.css components inside the game: buttons, sheets, chips) */
  --gold:var(--acc);--gold-deep:var(--acc-deep);--gold-tint:#9BD1C4;--mute:var(--ink-3);--card:var(--slip);--card-2:var(--paper-2);
  --line:color-mix(in srgb,var(--ink) 14%,transparent);--line-strong:color-mix(in srgb,var(--ink) 30%,transparent);--g:var(--soot);--font:var(--sans);
}
/* the Page, dark: a pine-charcoal reading surface one step above the chrome, warm off-white ink (13:1), the accent
   and the reds lifted for the dark ground. Not an inversion: the doors sit a step up without an edge, the text gets a
   touch more air (light on dark reads heavier), the seasons and the lamp are lifted to sit on charcoal. */
html.pg-dark body.lw{
  --paper:#1E2219;--paper-2:#272C21;--paper-3:#3A4131;--slip:#242920;
  --ink:#ECE7DD;--ink-2:#CFC9BC;--ink-3:#A29D90;
  --lamp-deep:#79BFAE;--wax:#E58A72;--good:#7FBF8F;--lake:#8A9CC0;--lit-deep:#D89A5C;
  --s-sowing:#8FB06A;--s-haying:#E2B77A;--s-harvest:#D07A5C;--s-longnight:#8A9CC0;
  --float:0 12px 32px rgba(0,0,0,.5);
}
html.cb body.lw{--good:#2F6FA0;--wax:#B5500F}
html.cb.pg-dark body.lw{--good:#7FB3DC;--wax:#E8925A}
html,body{height:100%}
body.lw{margin:0;background:var(--soot);color:var(--cream);font-family:var(--sans);-webkit-font-smoothing:antialiased;overflow:hidden;font-size:16px}
body.lw.scrolls{overflow:auto}
.lw *{box-sizing:border-box}
.sr{font-size:20px;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lw .num{font-variant-numeric:tabular-nums}
.lw .app{height:100vh;height:100dvh;display:flex;flex-direction:column;min-height:0;background:var(--soot);padding:0;width:100%;max-width:none} /* fd-ui caps .app at 1280 for the board games */ /* taste-skill-ignore: fallback for browsers without dvh; the next declaration wins */
.lw [hidden]{display:none!important}

/* ---------------------------------------------------------------- top bar (the site's .gtop.tools), on soot */
.lw .gtop.tools{padding:0 12px;flex:none;min-height:56px;margin:0;position:relative;z-index:5;background:var(--soot)}
.lw .gtop .mid{gap:4px}
.lw .gtop .wm{display:block;height:22px;line-height:0}
.lw .gtop .wm img{height:22px;width:auto;display:block}
.lw .gtop .ib .lbl{display:none}
.lw .gtop .no{font-size:13px;font-weight:600;color:var(--cream-2)}
.lw .gtop .acts{gap:2px}
.lw .gtop .ib.back{background:var(--soot-3)}
@media (max-width:999px){.lw .gtop.tools{min-height:48px}}
@media (max-width:379px){.lw .gtop .wm,.lw .gtop .wm img{height:20px}.lw .gtop .no{font-size:12px}.lw .gtop.tools{padding:0 8px}}

/* ---------------------------------------------------------------- buttons inside the game */
.lw .btn-primary,.lw button.primary{font-size:16px;min-height:46px;background:var(--acc);color:var(--acc-ink);box-shadow:0 3px 0 var(--acc-deep)} /* taste-skill-ignore: the site's gold button keeps its hard offset (UI-TECH 10.1b) */
.lw .btn-ghost{font-size:16px}
.lw .btn{border-radius:var(--r)}
.lw .press{transition:transform 140ms var(--ease-out),background-color 160ms var(--ease-out),opacity 160ms var(--ease-out)}
.lw .press:active{transform:scale(.97)}
.lw .textbtn{font:inherit;font-size:14px;font-weight:700;color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px;padding:10px 0;min-height:44px;background:none;border:0;cursor:pointer}
@media (hover:hover) and (pointer:fine){.lw .textbtn:hover{opacity:.75}}

/* ---------------------------------------------------------------- the hub (Birth) */
.scr{flex:1;min-height:0;position:relative}
.hub{overflow-y:auto;overflow-x:hidden}
.hub .pano{position:absolute;left:0;right:0;top:0;height:520px;pointer-events:none;overflow:hidden;background:var(--soot)}
.hub .pano img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 40%;display:block}
/* the hub (owner, 2026-10-25: "a stack of mismatched boxes"): one column on one shared backing. The picture carries
   a scrim from the left (soot to clear across ~45%) on wide screens, from the top down on phones; the wordmark, the
   tagline, today's birth, free play, the Book of Lives line and the footer share one left edge and one width. */
.hub .pano::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--scrim),.2) 0,rgba(var(--scrim),.55) 30%,rgba(var(--scrim),.92) 62%,var(--soot) 100%)} /* taste-skill-ignore: the scrim under the hub's text (text on a picture, UI-V3 2.2) */
.hub .inner{position:relative;margin:0;padding:12px 16px 32px;display:flex;flex-direction:column;gap:18px;min-height:100%}
.hub{--col:560px}
.hub .inner > *{width:100%;max-width:var(--col)}
.hub .intro{display:flex;flex-direction:column;gap:8px}
.hub .freerow{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap}
.hub .foot{margin-top:auto;display:flex;justify-content:space-between;gap:4px 16px;flex-wrap:wrap;font-size:13px;font-weight:600;color:var(--cream-3);padding-top:14px;border-top:1px solid color-mix(in srgb,var(--cream) 16%,transparent)} /* taste-skill-ignore: the footer's rule closes the column */
@media (min-width:900px){
  body.lw .hub{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto}
  body.lw .hub .pano{grid-area:1/1;position:relative;height:auto;min-height:640px}
  body.lw .hub .pano img{object-position:62% 50%}
  body.lw .hub .pano::after{background:linear-gradient(90deg,rgba(var(--scrim),.94) 0,rgba(var(--scrim),.9) calc(var(--edge) + var(--col) - 40px),rgba(var(--scrim),.55) calc(var(--edge) + var(--col) + 140px),rgba(var(--scrim),0) calc(var(--edge) + var(--col) + 340px))} /* taste-skill-ignore: the scrim from the left under the text column */
  body.lw .hub{--edge:clamp(40px,6vw,140px);--col:572px}
  body.lw .hub .inner{grid-area:1/1;min-height:100%;width:auto;padding:32px var(--edge) 28px}
  body.lw .hub .wmbig{margin-top:auto;padding-top:clamp(16px,4vh,48px)} /* the column sits centred between the top bar and the footer */
  body.lw .hub .inner{min-height:calc(100dvh - 56px)}
  body.lw .card-birth{padding:20px 22px 20px 26px}
}
@media (min-width:1800px) and (min-height:900px){
  body.lw .hub{--col:660px}
  body.lw .hub .wmbig{width:620px!important}
  body.lw .hub h1{font-size:52px}
  body.lw .hub .lead{font-size:19px}
  body.lw .card-birth h2{font-size:30px}
  body.lw .card-birth p{font-size:20px}
  body.lw .hub .chronline,.hub .foot{font-size:15px}
}
.hub .wmbig{width:min(520px,82vw)!important;margin-top:8px;line-height:0}
.hub .wmbig img{width:100%;height:auto;display:block}
.hub h1{margin:0;font-size:clamp(28px,5vw,44px);font-weight:900;letter-spacing:-.035em;line-height:1;color:var(--cream)}
.hub .lead{margin:0;font-size:17px;line-height:1.5;color:var(--cream-2);max-width:32em}
.card-birth{position:relative;background:var(--paper);color:var(--ink);border-radius:var(--r);padding:18px 18px 18px 22px;box-shadow:-6px 0 0 var(--paper-2),-12px 0 0 var(--paper-3);margin-left:12px;max-width:calc(var(--col) - 12px)!important} /* taste-skill-ignore: drawn page edges of the book (an object, not a soft shadow) */
.card-birth .k{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:700;color:var(--ink-3)}
.card-birth h2{margin:8px 0 0;font-size:26px;font-weight:900;letter-spacing:-.03em;line-height:1.1}
.card-birth p{margin:8px 0 0;font-family:var(--serif);font-size:18px;line-height:1.5;color:var(--ink-2)}
.card-birth .row{display:flex;align-items:center;gap:14px;margin-top:16px;flex-wrap:wrap}
.card-birth .row small{font-size:14px;color:var(--ink-3);font-weight:600}
.card-birth .code{font-family:var(--sans)!important;font-size:14px!important;font-weight:700;color:var(--ink-3)!important;margin-top:10px}
.hub .chronline{font-size:14px;font-weight:600;color:var(--cream-2);line-height:1.4;max-width:30em}
.hub .chronline b,.hub .chronline button{color:var(--lamp)}
.picks{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.pickrow{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:start}
.pickrow > span{font-size:14px;font-weight:700;color:var(--ink-3);padding-top:12px}
.pickrow .opts{display:flex;flex-wrap:wrap;gap:8px}
.opt{min-height:44px;padding:0 14px;border-radius:var(--r);background:var(--paper-2);font-size:14px;font-weight:700;color:var(--ink);display:inline-flex;align-items:center;gap:6px;border:0}
.opt.on{background:var(--ink);color:var(--paper)}
.opt[disabled]{opacity:.45;cursor:default}
.opt small{font-size:12px;font-weight:600;opacity:.8}
@media (max-width:499px){.card-birth .k span+span{display:none}}

/* ================================================================ the Life screen
   phone: Window, sill, the running head (the year bar), the Page, the dock.
   desktop (>= 1000): the side column (Window, sill, rows) beside the Page; the clock bar full width under both. */
.life{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"side" "page" "dock";overflow:hidden}
.side{grid-area:side;min-width:0}

/* the Window: the still, the place line on the one scrim */
.window{position:relative;width:100%;height:196px;overflow:hidden;background:var(--soot-2)}
.window .still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;display:block}
.window .still.next{opacity:0;filter:blur(2px);transition:opacity 700ms var(--ease-io),filter 700ms var(--ease-io)}
.window .still.next.on{opacity:1;filter:none}
.cap{position:absolute;left:0;right:0;bottom:0;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:22px 16px 8px;font-size:13px;font-weight:600;color:var(--cream);white-space:nowrap;min-width:0;background:linear-gradient(rgba(var(--scrim),0),rgba(var(--scrim),.72))} /* taste-skill-ignore: the one scrim, text on a picture (UI-V3 2.2) */
.cap > span{overflow:hidden;text-overflow:ellipsis;min-width:0}
.cap .wx{flex:none}
.cap.locked .where{color:var(--lamp);font-weight:800}

/* the sill: the four objects as one line of words, rules between, no tiles */
.sill{height:48px;background:var(--soot-2);display:flex;align-items:center;padding:0 10px}
.wobj{flex:1;display:flex;align-items:center;gap:6px;height:44px;padding:0 6px;color:var(--cream);background:none;border:0;border-radius:var(--r);min-width:0;text-align:left;cursor:pointer}
.wobj + .wobj{border-left:1px solid var(--soot-3);border-radius:0} /* taste-skill-ignore: the sill: rules between the four cells (UI-V3 3.3) */
.wobj img{width:28px;height:28px;flex:none}
.wobj > span{min-width:0;display:block}
.wobj b{font-size:14px;font-weight:800;display:block;line-height:1.15;white-space:nowrap;transition:color 300ms var(--ease-out)}
.wobj b.up{color:var(--lamp)}.wobj b.down{color:var(--cream-3)}
.wobj small{font-size:12px;font-weight:600;color:var(--cream-2);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}
.wobj.hearth{display:none}
.wobj.bump img{animation:lw-bump 240ms var(--ease-out)}
@keyframes lw-bump{from{transform:scale(1.06)}to{transform:none}}
.wobj:focus-visible{outline:2px solid var(--lamp);outline-offset:-2px}
@media (hover:hover) and (pointer:fine){.wobj:hover{background:var(--soot-3)}}
.deskwork{display:none}

/* ---------------------------------------------------------------- the Page: paper, serif, a calendar down the margin */
.pagewrap{grid-area:page;position:relative;min-height:0;background:var(--paper);color:var(--ink);display:flex;flex-direction:column}
.page{position:relative;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 16px 28px;font-family:var(--serif);font-optical-sizing:auto;font-size:calc(17px + var(--pt-add));line-height:1.5;overscroll-behavior:contain;scroll-padding-top:8px}
.page > *{max-width:34em}
.page p{margin:0 0 12px}
.ent{position:relative}
.ent{transition:opacity 180ms var(--ease-out),transform 180ms var(--ease-out)}
.ent.enter{opacity:0;transform:translateY(6px)}
.yg{margin:0}
/* the margin: the year numeral on a year line, the season on everything else (phone: a line above the entry) */
.m{display:block;font-family:var(--sans);font-size:12px;font-weight:600;color:var(--ink-3);line-height:1.3;margin:0 0 2px;font-style:normal;letter-spacing:0}
.dl .m{font-style:italic}
.m.year{display:inline;font-size:12px;font-weight:700;margin:0 8px 0 0;color:var(--ink-3)}
.m.year small{font-size:12px;font-weight:700}
.m.year small::before{content:" · "}
.yl{font-size:calc(18px + var(--pt-add));line-height:1.4;font-weight:600;margin:18px 0 10px;padding-top:10px;border-top:1px solid var(--paper-3);color:var(--ink)} /* taste-skill-ignore: the year rule: the chapter break (UI-V3 3.5) */
.yg:first-child > .yl{margin-top:0;padding-top:0;border-top:0}
.td{color:var(--ink-2)}
.td.echo{font-style:italic}
.dl{color:var(--ink-2);font-style:italic}
.st,.td.stop{display:flex;gap:10px;align-items:flex-start;font-family:var(--sans);font-size:16px;line-height:1.45;font-weight:500;color:var(--ink);flex-wrap:wrap}
.st > .m,.td.stop > .m{flex-basis:100%}
.st svg,.td.stop svg{width:22px;height:26px;flex:none;margin-top:0}
.st > span,.td.stop > span{flex:1;min-width:0}
.st.press-in{animation:lw-stamp 240ms var(--ease-out)}
@keyframes lw-stamp{from{transform:scale(1.06);opacity:0}to{transform:none;opacity:1}}
.mc{font-family:var(--sans);font-size:16px;font-weight:500;color:var(--ink)}
.deathline{font-size:calc(18px + var(--pt-add));line-height:1.45;font-weight:600;color:var(--ink);margin-top:18px!important}
.who{color:var(--ink);text-decoration:underline;text-decoration-color:var(--lamp-deep);text-decoration-thickness:1.5px;text-underline-offset:3px;text-decoration-skip-ink:auto;cursor:help}
button.who{font:inherit;background:none;border:0;padding:0;display:inline}
.holdbtn{margin:4px 0 14px;font-family:var(--sans)}
.holdbtn .btn-primary[aria-disabled="true"]{opacity:.55}

/* folded quiet years (8x and 16x) */
.fold{margin:14px 0 12px;padding:10px 12px;background:var(--paper-2);border-radius:var(--r)}
.fold .fh{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.fold .fy{font-family:var(--sans);font-size:13px;font-weight:800;color:var(--ink-3);white-space:nowrap}
.fold .fl{flex:1;min-width:12em;color:var(--ink-2);margin:0}
.fold .fl b{font-weight:600;color:var(--ink)}
.fold .textbtn{min-height:32px;padding:2px 0;color:var(--ink-3);font-family:var(--sans)}
.fold .inner{display:none;border-left:2px solid var(--paper-3);padding-left:12px;margin-top:8px}
.fold.open .inner{display:block}

/* ---------------------------------------------------------------- events: the situation, the doors, the roll */
.ev{margin:18px 0 16px}
.ev h4{margin:0 0 4px;font-family:var(--sans);font-size:15px;line-height:1.35;font-weight:800;color:var(--ink)}
.ev h4.move{color:var(--lamp-deep)}
.ev h4 .keys{font-weight:700;color:var(--ink-3)}
@media (max-width:999px){.ev h4 .keys{display:none}}
.ev .sit{margin:0 0 14px;color:var(--ink)}
.ev .vs{font-family:var(--sans);font-size:14px;font-weight:600;color:var(--ink-3);margin:-6px 0 14px}
.rarel{margin:0 0 2px!important;font-family:var(--sans);font-size:14px;font-weight:700;color:var(--wax)}
.doors{display:flex;flex-direction:column;gap:8px;font-family:var(--sans)}
.door{position:relative;display:block;width:100%;text-align:left;background:var(--slip);color:var(--ink);border:1px solid var(--paper-3);border-radius:var(--r);padding:11px 14px;min-height:52px;cursor:pointer;font:inherit;transition:transform 140ms var(--ease-out),background-color 160ms var(--ease-out)} /* taste-skill-ignore: the door: a slip of paper with its edge (UI-V3 3.6) */
.door:active{transform:scale(.985)}
.door.has-stamp{padding-right:88px}
.door.has-death{padding-right:156px}
.door .lb{display:block;font-size:17px;font-weight:600;line-height:1.3}
.door .ht{display:block;font-size:14px;font-weight:500;color:var(--ink-3);margin-top:2px;line-height:1.4}
.door .stamp{position:absolute;right:12px;top:50%;margin-top:-17px}
.door .stamp.dth{right:82px}
.door .rib{position:absolute;left:-5px;top:-5px;width:22px;height:22px}
.door .rib svg{width:100%;height:100%;display:block}
.door[disabled]{background:var(--paper-2);cursor:default}
.door[disabled] .lb{color:var(--ink-3)}
.door:focus-visible,.door.kbd{outline:2px solid var(--ink);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.door:not([disabled]):hover{background:var(--paper);border-color:var(--ink-3)}}
.door.chosen{background:var(--paper-2);outline:2px solid var(--ink);outline-offset:-2px}
.door.leaving{opacity:0;transform:scaleY(.6);transform-origin:top;transition:opacity 160ms var(--ease-out),transform 160ms var(--ease-out)}
.door .kn{display:none}
@media (hover:hover) and (pointer:fine) and (min-width:1000px){
  .door .kn{display:grid;place-items:center;position:absolute;left:-28px;top:15px;width:20px;height:20px;border:1px solid var(--paper-3);border-radius:var(--r);background:var(--paper);color:var(--ink-3);font-size:12px;font-weight:800} /* taste-skill-ignore: the key number drawn as a small paper square (UI-V3 3.6) */
}
.stamp{display:inline-flex;align-items:center;justify-content:center;min-width:56px;height:34px;padding:0 8px;border:2px solid var(--ink);border-radius:3px;color:var(--ink);font-family:var(--sans);font-weight:900;font-size:14px;line-height:1;transform:rotate(-4deg);background:transparent;white-space:nowrap;font-variant-numeric:tabular-nums}
.stamp.dth{border-color:var(--wax);color:var(--wax);transform:rotate(3deg);font-size:12px;font-weight:900}
html.cb .stamp.dth{border-style:dashed}
/* class cards (the Calling) */
.door.cls{display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:start;padding:12px 14px}
.door.cls > img{width:64px;height:64px;object-fit:contain}
.door.cls.barely{background:var(--paper-2)}
.door .brl{display:inline-block;font-size:12px;font-weight:700;color:var(--ink-3);border:1px solid var(--paper-3);border-radius:var(--r);padding:1px 6px;vertical-align:2px;margin-left:4px} /* taste-skill-ignore: a tag drawn on a calling card */
.door.cls .lb{font-size:18px;font-weight:700}
.door.cls ul{margin:4px 0 0;padding:0;list-style:none}
.door.cls li{font-size:14px;line-height:1.4;color:var(--ink-2)}
.door.cls .q{font-size:14px;color:var(--ink-3);font-weight:600;margin-top:6px;display:block}
/* the road: the chosen door, the ones not taken */
.road{display:flex;flex-direction:column;gap:2px;margin:0 0 8px;font-family:var(--sans)}
.road .ch{color:var(--ink);font-weight:700;font-size:16px}
.road .ch::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--lamp-deep);margin-right:8px;vertical-align:1px}
.road .alt{font-size:14px;color:var(--ink-3);font-weight:600;padding-left:17px}
/* the roll tray: the die and the maths as a line of words */
.tray{display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:center;margin:8px 0 12px;padding:12px;background:var(--paper-2);border-radius:var(--r);font-family:var(--sans);box-shadow:var(--float);clip-path:inset(0 0 0 0);transition:clip-path 220ms var(--ease-out),box-shadow 300ms var(--ease-out)} /* taste-skill-ignore: the roll tray floats while open (UI-V3 2.2), settles flat */
.tray.opening{clip-path:inset(0 0 100% 0)}
.tray.settled{box-shadow:none} /* taste-skill-ignore: removes a shadow */
.tray .die{width:64px;height:64px;position:relative}
.tray .die svg{width:64px;height:64px;display:block}
.tray .math{display:flex;flex-wrap:wrap;gap:2px 0;align-items:baseline;min-width:0;font-size:14px;font-weight:600;color:var(--ink-2)}
.tray .math .w{white-space:nowrap}
.tray .math .w + .w::before{content:"·";margin:0 7px;color:var(--ink-3)}
.tray .math b{font-weight:800;color:var(--ink)}
.tray .math .w.in{opacity:0;transform:translateX(-4px)}
.tray .math .w{display:inline-block;transition:opacity 160ms var(--ease-out),transform 160ms var(--ease-out)}
.tot{font-weight:900;font-size:26px;letter-spacing:-.03em;line-height:1;margin:0 8px 0 12px;font-variant-numeric:tabular-nums}
.tot.good{color:var(--good)}.tot.bad{color:var(--wax)}
.vsn{font-size:14px;font-weight:600;color:var(--ink-3)}
.ow{grid-column:1/-1;font-size:16px;font-weight:700;margin:0}
.ow.good{color:var(--good)}.ow.bad{color:var(--wax)}
.res{color:var(--ink)}
.rev{font-size:calc(15px + var(--pt-add));color:var(--ink-3);font-style:italic;line-height:1.45}
.fade{opacity:0;transition:opacity 220ms var(--ease-out)}
.fade.on{opacity:1}
.steward{font-family:var(--sans);font-size:14px;color:var(--ink-3);font-weight:600}
/* what changed: one line of words */
.fxl{margin:-4px 0 12px!important;font-family:var(--sans);font-size:14px;font-weight:700;line-height:1.5;color:var(--ink-2)}
.fxl .fx + .fx::before{content:"·";margin:0 7px;color:var(--ink-3);font-weight:600}
.fxl .fx.good b{color:var(--good)}.fxl .fx.bad b{color:var(--wax)}
.fxl .fx.bad.word{color:var(--wax)}
.flychip{position:fixed;z-index:40;pointer-events:none;padding:2px 7px;border-radius:var(--r);font-size:14px;font-weight:900;background:var(--lit);color:#171A14;will-change:transform;font-variant-numeric:tabular-nums}
.flychip.bad{background:var(--cream-3);color:#171A14}
.flychip.rise{font-size:13px}
.tray[data-tip]{cursor:help}

/* the year summary */
.sum{background:var(--paper-2);border-radius:var(--r);padding:16px;margin:16px 0}
.sum h4{margin:0 0 12px;font-family:var(--serif);font-size:calc(20px + var(--pt-add));font-weight:600;line-height:1.3}
.sum .four{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;font-family:var(--sans)}
.sum .o{display:grid;grid-template-columns:44px 1fr;gap:2px 10px;align-items:center}
.sum .o img{width:44px;height:44px;grid-row:span 2}
.sum .o b{font-size:16px;font-weight:800;line-height:1.15;font-variant-numeric:tabular-nums}
.sum .o .tr{font-style:normal;font-size:13px;font-weight:800;color:var(--ink-3);margin-left:2px}
.sum .o .tr.up{color:var(--good)}.sum .o .tr.down{color:var(--wax)}
.sum .o span{font-size:13px;color:var(--ink-3);font-weight:600;line-height:1.25}
.sum .o .bar{grid-column:1/-1;height:6px;background:var(--paper-3);position:relative;margin-top:4px}
.sum .o .bar i{position:absolute;left:0;top:0;bottom:0;background:var(--ink)}
.sum .o .bar s{position:absolute;left:50%;top:-3px;width:2px;height:12px;background:var(--ink-3);text-decoration:none}
.sum .o.in{opacity:0;transform:translateY(4px)}
.sum .o{transition:opacity 200ms var(--ease-out),transform 200ms var(--ease-out)}
.sum p{margin:12px 0 0}
.sum .why{font-family:var(--sans);font-size:14px;color:var(--ink-3);font-weight:600;line-height:1.45}
.sum .rv{font-style:italic;color:var(--ink-3)}
/* the ambition offer, Marks on the Page */
.ambc{background:var(--paper-2);border-radius:var(--r);padding:16px;margin:16px 0}
.ambc h4{margin:0 0 4px;font-family:var(--serif);font-size:calc(19px + var(--pt-add));font-weight:600}
.ambc p{margin:0 0 12px;color:var(--ink-2)}
.ambs{display:flex;flex-direction:column;gap:8px;margin-bottom:6px;font-family:var(--sans)}
.ambc > .textbtn{font-family:var(--sans);color:var(--ink-3)}
.amb-set{font-weight:500}
.medal{display:inline-block;flex:none;width:22px;height:22px;border-radius:50%;background:#C08A52;box-shadow:inset 0 0 0 3px #8C5A2B} /* taste-skill-ignore: a drawn medal (rim), not depth */
.medal.silver{background:#D9DCE0;box-shadow:inset 0 0 0 3px #9AA1A9} /* taste-skill-ignore: a drawn medal (rim) */
.medal.gold{background:#E8B54A;box-shadow:inset 0 0 0 3px #B8832A} /* taste-skill-ignore: a drawn medal (rim) */
.mkl{display:flex;gap:10px;align-items:flex-start;font-family:var(--sans);font-size:16px;font-weight:500;color:var(--ink-2)}
.mkl .medal{margin-top:1px}
.mkl b{color:var(--ink);font-weight:700}

/* "Now" tab: the site's gold pill, floating */
.nowtab{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:3;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;background:var(--lamp);color:var(--ink);border:0;font-family:var(--sans);font-size:14px;font-weight:800;cursor:pointer}
.nowtab svg{width:16px;height:16px}

/* ---------------------------------------------------------------- the running head: the year bar (the one clock face)
   The year numeral, the season and your age, and one bar that fills across the year at the clock's real rate:
   six season segments (Thaw ... Longnight) revealed by a cover that shrinks (transform only), a notch at "now". */
.rhead{flex:none;position:relative;z-index:2;background:var(--paper);border-bottom:1px solid var(--paper-3);padding:8px 16px 10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"yr when spd" "bar bar bar";column-gap:12px;row-gap:7px;align-items:center;font-family:var(--sans);color:var(--ink);cursor:pointer} /* taste-skill-ignore: the running head's foot (UI-V3 4.1) */
.rhead::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--lamp-deep);opacity:0;transition:opacity 200ms ease-out;pointer-events:none}
.rhead.turn::after{opacity:1}
.rhead:focus-visible{outline:2px solid var(--lamp-deep);outline-offset:-2px}
.ry{grid-area:yr;position:relative;height:26px;width:4.3ch;overflow:hidden;font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:26px;font-variant-numeric:tabular-nums}
.ry span{position:absolute;left:0;top:0;transition:transform 240ms var(--ease-out),opacity 240ms var(--ease-out)}
.ry span.out{transform:translateY(-60%);opacity:0}
.ry span.from{transform:translateY(40%);opacity:0;transition:none}
html.rm .ry span{transition:opacity 120ms linear}
html.rm .ry span.out,html.rm .ry span.from{transform:none}
.rw{grid-area:when;min-width:0;line-height:1.2}
.rw b{display:block;font-size:14px;font-weight:700;white-space:nowrap;transition:opacity 200ms ease}
.rw b.swap{opacity:0}
.rw span{display:block;font-size:12px;font-weight:600;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rspd{grid-area:spd;font-size:13px;font-weight:700;color:var(--ink-3);white-space:nowrap;text-align:right}
.rspd.held{color:var(--lamp-deep)}
.ybar{grid-area:bar;position:relative;height:10px}
.ybar .segs{position:absolute;inset:0;display:flex;gap:2px}
.ybar .segs i{display:block;height:100%;background:var(--s)}
.ybar .cover{position:absolute;inset:0;background:var(--paper-3);transform-origin:100% 50%;will-change:transform}
.ybar .gaps{position:absolute;inset:0;display:flex;gap:2px;pointer-events:none}
.ybar .gaps i{display:flex;height:100%}
.ybar .gaps u{flex:1;border-right:1px solid color-mix(in srgb,var(--paper) 55%,transparent);text-decoration:none} /* taste-skill-ignore: month hairlines inside the year bar */
.ybar .gaps u:last-child{border-right:0}
.ybar .now{position:absolute;left:0;top:-3px;width:2px;height:16px;background:var(--ink);will-change:transform}
.ybar .labels{display:none}
.rhead.held .ybar .now{background:var(--lamp-deep);width:3px}
.ybar .segs{transition:opacity 200ms ease}
.rhead.paused .ybar .segs{opacity:.55}
.rhead.paused .ybar .now{width:8px;margin-left:-3px;background:linear-gradient(90deg,var(--ink) 0 3px,transparent 3px 5px,var(--ink) 5px 8px)} /* taste-skill-ignore: the pause glyph drawn as the notch (two bars), not a decorative gradient */
.ybar .seglab{display:none}
.ybar .seglab.on{display:none}

/* ---------------------------------------------------------------- the dock (phone) and the clock bar (desktop) */
.dock{grid-area:dock;background:var(--soot);padding:2px 16px calc(4px + env(safe-area-inset-bottom));display:flex;flex-direction:column;position:relative;z-index:3}
.row1{display:flex;align-items:center;gap:14px;height:36px;font-size:13px;font-weight:600;color:var(--cream-2);white-space:nowrap;min-width:0}
.row1.gone{display:none}
.row1 button{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;min-height:36px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.row1 #t-work b{color:var(--cream);font-weight:700}
.row1 #t-season{margin-left:auto;color:var(--lamp);font-weight:700;flex-shrink:1}
.row1 #t-season.queued{color:var(--cream)}
.row1 #t-season.locked{color:var(--cream-3)}
.dnote{display:flex;align-items:center;height:36px;font-size:13px;font-weight:700;color:var(--lamp);background:none;border:0;padding:0;width:100%;text-align:left;cursor:pointer;font-family:var(--sans)}
.row2{display:flex;align-items:center;gap:10px;min-width:0}
.row2 .date{display:none}
.spdhint{display:none}
.speeds{position:relative;display:flex;flex:1;gap:0;min-width:0;height:44px;align-items:stretch}
.speeds button{position:relative;z-index:1;flex:1;min-width:0;height:44px;padding:0 2px;background:none;border:0;font-family:var(--sans);font-size:13px;font-weight:800;color:var(--cream-3);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color 160ms var(--ease-out),transform 120ms var(--ease-out)}
.speeds button:active{transform:scale(.97)}
.speeds button svg{width:16px;height:16px}
.speeds button.on{color:var(--lamp)}
.speeds button.stw{flex:1.6}
@media (hover:hover) and (pointer:fine){.speeds button:not(.on):hover{color:var(--cream)}}
.speeds .hl{position:absolute;z-index:0;left:0;bottom:4px;height:3px;width:40px;background:var(--lamp);transition:transform 200ms var(--ease-out),width 200ms var(--ease-out)}
.speeds.blocked .hl{background:var(--lamp)}
.speeds.blocked button.on{color:var(--cream-2)}
.speeds.blocked button[data-v="0"]{color:var(--cream)}
.speeds button:focus-visible{outline:2px solid var(--lamp);outline-offset:-4px}

/* ---------------------------------------------------------------- the moment stage (stills; EXECUTION 2.6) */
.stage{position:fixed;inset:0;z-index:20;overflow:hidden;background:var(--soot);cursor:pointer}
.stage .frame{position:absolute;overflow:hidden}
.stage .frame > img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}
.stage.bleedm .frame{--ih:min(62vh,90vw);--it:max(0px,calc((100% - var(--ih) - 230px) / 2))}
.stage.bleedm .frame > img{height:var(--ih);top:var(--it)}
@media (min-width:700px){.stage.bleedm .frame > img{height:100%;top:0}}
.stage .cap{position:absolute;left:0;right:0;bottom:0;top:auto;height:auto;white-space:normal;font-family:var(--serif);font-size:20px;line-height:1.35;font-weight:600;color:var(--cream);background:var(--soot);padding:12px 16px 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.stage .sdie{position:absolute;right:16px;top:16px;width:84px;height:84px}
.stage .sdie svg{width:100%;height:100%}
.stage .obj{position:absolute;left:50%;top:42%;width:168px;height:168px;transform:translate(-50%,-50%);background:rgba(var(--scrim),.62);border-radius:50%;display:grid;place-items:center}
.stage .obj img{width:132px;height:132px}
.stage .skip{position:absolute;left:8px;top:8px;background:rgba(var(--scrim),.72);border:0;border-radius:999px;font-family:var(--sans);font-size:14px;font-weight:700;color:var(--cream);min-height:44px;padding:0 12px;cursor:pointer}
.stage .bleed{position:absolute;inset:0;background:var(--soot);opacity:0;transition:opacity 900ms linear}
.stage .bleed.on{opacity:.55}
.stage .fam{position:absolute;left:16px;right:16px;bottom:96px;display:flex;gap:10px;flex-wrap:wrap}
.stage.bleedm .fam{top:calc(var(--it) + var(--ih) + 18px);bottom:auto}
.stage.bleedm .cap{top:calc(var(--it) + var(--ih) + 132px);bottom:auto}
@media (min-width:700px){.stage.bleedm .fam{top:auto;bottom:96px}.stage.bleedm .cap{top:auto;bottom:18px}}
.stage .fm{display:flex;flex-direction:column;align-items:center;width:72px;color:var(--cream);font-family:var(--sans);text-align:center;transition:opacity 500ms linear}
.stage .fm > span:not(.pt){background:var(--soot);border-radius:var(--r);padding:2px 6px;margin-top:4px;font-size:12px;font-weight:800;line-height:1.2}
.stage .fm > span:not(.pt) small{display:block;font-size:11px;font-weight:600;color:var(--cream-2)}
.stage .fm.gone{opacity:.18}
.stage .fm.gone .pt img{filter:grayscale(1) opacity(.55)}

/* ---------------------------------------------------------------- sheets (the site's .modal .sheet, on paper) */
.lw .modal .sheet{color:var(--ink);background:var(--paper);border-radius:var(--r) var(--r) 0 0;box-shadow:var(--float);will-change:transform} /* taste-skill-ignore: a sheet floats over the game */
.lw .toast{bottom:calc(112px + env(safe-area-inset-bottom))}
.lw .modal.closing .sheet{transform:translateY(24px);opacity:0;transition:transform 160ms var(--ease-out),opacity 160ms var(--ease-out)}
.lw .modal.closing{background:transparent;transition:background 160ms}
.lw .modal .sheet-h h2{font-size:24px;font-weight:900;letter-spacing:-.02em}
.lw .modal .sheet-h .ib{background:var(--paper-2);color:var(--ink)}
.lw .modal .grab{display:block;width:44px;height:5px;border-radius:3px;background:var(--paper-3);margin:-6px auto 10px}
@media (min-width:600px){.lw .modal .grab{display:none}.lw .modal .sheet{max-width:560px;border-radius:var(--r)}}
.lw .sheet:focus{outline:none}
.sb{font-size:16px;line-height:1.5}
.sb h3{font-size:17px;font-weight:800;margin:22px 0 6px}
.sb h3:first-child{margin-top:4px}
.sb p{margin:0 0 10px}
.sb .muted{color:var(--ink-3);font-size:14px;font-weight:600}
.sb .lst{display:flex;flex-direction:column}
.sb .it{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:9px 0;border-top:1px solid var(--paper-3)} /* taste-skill-ignore: list rows as rules, not boxes (UI-V3 3.11) */
.sb .lst > .it:first-child{border-top:0}
.sb .it svg{width:40px;height:44px}
.sb .it > img,.sb .it > .crop{width:48px;height:48px}
.sb .it b{display:block;font-size:16px;font-weight:700;line-height:1.25}
.sb .it span{display:block;font-size:14px;color:var(--ink-3);font-weight:500;line-height:1.35}
.sb .pick{display:block;width:100%;text-align:left;padding:11px 14px;border-radius:var(--r);background:var(--slip);border:1px solid var(--paper-3);color:var(--ink);margin-bottom:8px;font:inherit;cursor:pointer} /* taste-skill-ignore: a pick is a slip of paper with its edge, like a door */
.sb .pick b{display:block;font-size:16px;font-weight:700;line-height:1.25}
.sb .pick span{display:block;font-size:14px;color:var(--ink-3);font-weight:500;margin-top:2px}
.sb .pick.on{background:var(--paper-2);outline:2px solid var(--ink);outline-offset:-2px}
.sb .pick[disabled]{opacity:.55;cursor:default}
@media (hover:hover) and (pointer:fine){.sb .pick:not(.on):not([disabled]):hover{background:var(--paper)}}
.sb .pick.row{display:flex;align-items:center;gap:12px}
.sb .pick.row > div{flex:1;min-width:0}
.sb .pick .stamp{flex:none}
.skill{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:6px 0}
.skill b{font-size:16px;font-weight:700}
.skill span{font-size:14px;color:var(--ink-3);font-weight:700;text-align:right}
.skill i{grid-column:1/-1;height:4px;background:var(--paper-3);position:relative;overflow:hidden}
.skill i::after{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--f);background:var(--lit-deep)}
.rows .r{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:16px;border-top:1px solid var(--paper-3)} /* taste-skill-ignore: rows of a sum (a real table) */
.rows .r:first-child{border-top:0}
.rows .r span:last-child{font-weight:800;font-variant-numeric:tabular-nums}
.rows .r.tot{font-weight:800;border-top:2px solid var(--ink);margin-top:2px}
.ring{position:relative;width:100%;max-width:420px;aspect-ratio:1;margin:0 auto}
.ring .rbg{position:absolute;inset:6%;border-radius:50%;background:var(--paper-2)}
.ring .rbg2{position:absolute;inset:30%;border-radius:50%;background:var(--paper-3)}
.tface{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:78px;text-align:center;min-height:44px;background:none;border:0;padding:0;font:inherit;cursor:pointer}
.tface svg{display:block}
.tface b{font-size:12px;font-weight:800;line-height:1.15;margin-top:2px;color:var(--ink)}
.tface small{display:block;font-size:11px;font-weight:600;line-height:1.15;color:var(--ink-3)}
.tface .rbn{position:absolute;right:12px;top:30px;width:10px;height:18px;background:var(--wax);clip-path:polygon(0 0,100% 0,100% 100%,50% 75%,0 100%)}
.tface.dead b,.tface.dead small{color:var(--lake)}
.tface.you b{font-size:14px}
.tface .pt{box-shadow:0 0 0 2px var(--paper)} /* taste-skill-ignore: separates a face from the ring behind it */
.tface.dead svg{width:30px;height:26px}
.mapbox{border-radius:var(--r);overflow:hidden;background:var(--paper-2)}
.mapbox svg{width:100%;height:auto;display:block}
.wlist{display:flex;flex-direction:column;margin-top:6px}
.wlist div{display:grid;grid-template-columns:52px 1fr;gap:10px;font-size:14px;line-height:1.45;padding:7px 0;border-top:1px solid var(--paper-3)} /* taste-skill-ignore: a list of years as rows */
.wlist div:first-child{border-top:0}
.wlist b{font-weight:800;color:var(--wax);font-variant-numeric:tabular-nums}
.wlist .k{font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
.keys{margin:6px 0 0;padding:0;list-style:none}
.keys li{font-size:14px;font-weight:600;color:var(--ink-3);padding:3px 0}
.mem li{display:flex;gap:8px}
.mem li b{color:var(--ink);font-variant-numeric:tabular-nums}
/* the character sheet */
.cs-top{display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:center;margin-bottom:6px}
.cs-top b{display:block;font-size:18px;font-weight:800;line-height:1.2}
.cs-top span{display:block;font-size:14px;color:var(--ink-3);font-weight:600;line-height:1.4}
.cs-lock{background:var(--soot);color:var(--lamp);border-radius:var(--r);padding:8px 12px;font-weight:800;font-size:14px}
.cs-attrs{display:flex;flex-direction:column}
.cs-attr{display:grid;grid-template-columns:44px 88px 1fr;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--paper-3)} /* taste-skill-ignore: attribute rows as rules (UI-V3 3.11) */
.cs-attr:first-child{border-top:0}
.cs-attr .v{display:grid;place-items:center;height:32px;border-radius:var(--r);background:var(--paper-2);color:var(--ink);font-size:16px;font-weight:900}
.cs-attr b{font-size:16px;font-weight:700}
.cs-attr span:last-child{font-size:14px;color:var(--ink-3);font-weight:500;line-height:1.35}
@media (max-width:480px){.cs-attr{grid-template-columns:44px 1fr}.cs-attr span:last-child{grid-column:2}}
.cs-skills{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:4px 18px}
.cs-people{display:flex;flex-direction:column}
.cs-people button{position:relative;display:grid;grid-template-columns:40px 1fr 12px;gap:10px;align-items:center;text-align:left;padding:7px 0;border:0;border-top:1px solid var(--paper-3);background:none;color:var(--ink);width:100%;font:inherit;cursor:pointer} /* taste-skill-ignore: people rows as rules (UI-V3 3.11) */
.cs-people button:first-child{border-top:0}
.cs-people b{display:block;font-size:16px;font-weight:700;line-height:1.2}
.cs-people span span{display:block;font-size:14px;color:var(--ink-3);font-weight:500}
@media (hover:hover) and (pointer:fine){.cs-people button:hover b{text-decoration:underline;text-decoration-color:var(--lamp-deep);text-underline-offset:3px}}
.bd{display:block;width:10px;height:10px;border-radius:50%;background:var(--paper-3)}
.bd.b3,.bd.b2{background:#B8573A}.bd.b1{background:#D99A6F}.bd.b0{background:#A29D90}.bd.b-1{background:#93A0AB}.bd.b-2,.bd.b-3{background:var(--lake)}
.crop{display:block;width:56px;height:56px;border-radius:var(--r);overflow:hidden;line-height:0}
.crop img{width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.pc-top{display:flex;gap:14px;align-items:center;margin-top:16px}
.pc-top h3{margin:0!important}
.pc-top span{font-size:14px;color:var(--ink-3);font-weight:600}
.bondbar{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;margin:12px 0 6px;font-size:12px;font-weight:700;color:var(--ink-3)}
.bondbar .track{position:relative;height:6px;background:var(--paper-3)}
.bondbar .track i{position:absolute;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 3px var(--paper)} /* taste-skill-ignore: the marker's ring against the bar (a drawn ring, not depth) */
.pacts{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:4px}
.pacts button{background:none;border:0;padding:6px 0;font:inherit;font-size:14px;font-weight:700;color:var(--lamp-deep);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
/* settings: the live games' rows */
.sb .setrow{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 0;border-bottom:1px solid var(--paper-3)} /* taste-skill-ignore: the site's settings rows */
.sb .setrow.col{flex-direction:column;align-items:stretch;gap:8px;padding:12px 0}
.sb .setrow .lab{font-size:16px;font-weight:700;line-height:1.3;color:var(--ink)}
.sb .setrow .lab small{display:block;font-size:14px;color:var(--ink-3);font-weight:500;margin-top:2px}
.sb .switch{position:relative;flex:none;width:52px;height:44px;cursor:pointer;background:none;border:0}
.sb .switch::before{content:"";position:absolute;left:0;top:8px;width:52px;height:28px;border-radius:14px;background:var(--paper-3);transition:background 200ms var(--ease-out)}
.sb .switch::after{content:"";position:absolute;left:3px;top:11px;width:22px;height:22px;border-radius:50%;background:var(--slip);transition:transform 220ms var(--ease-out)}
.sb .switch[aria-checked="true"]::before{background:var(--ink)}
.sb .switch[aria-checked="true"]::after{transform:translateX(24px)}
.sb .switch:focus-visible{outline:2px solid var(--lamp-deep);outline-offset:2px;border-radius:16px}
.sb .seg3{display:flex;gap:3px;background:var(--paper-2);border-radius:var(--r);padding:3px}
.sb .seg3.wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.sb .seg3 button{flex:1;min-height:42px;border-radius:3px;border:0;background:none;font:inherit;font-size:14px;font-weight:800;color:var(--ink-3);cursor:pointer;transition:background 150ms var(--ease-out),color 150ms var(--ease-out)}
.sb .seg3 button[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
@media (hover:hover) and (pointer:fine){.sb .seg3 button:not([aria-pressed="true"]):hover{color:var(--ink)}}
.sb .seg3 button:active{transform:scale(.97)}
.sb .setbtns{display:flex;gap:8px;flex-wrap:wrap}
.sb .setrow > .btn{align-self:flex-start}
.sb .btn.danger{color:var(--wax)}
.sb .setcode,.sb .codebox{display:flex;flex-direction:column;gap:8px}
.sb .codebox textarea{width:100%;font:600 13px/1.4 var(--sans);padding:10px 12px;border-radius:var(--r);border:1px solid var(--paper-3);background:var(--slip);color:var(--ink);resize:vertical;word-break:break-all} /* taste-skill-ignore: a form field */
.sb .codebox .btn-primary{align-self:flex-start}
.amb-it.met b{color:var(--good)}.amb-it.failed b{color:var(--ink-3);text-decoration:line-through}
.ambbar{position:relative;display:block!important;height:6px;background:var(--paper-3);margin:8px 0 4px}
.ambbar i{position:absolute;left:0;top:0;bottom:0;background:var(--lit-deep)}
html.rm .sb .switch::after,html.rm .sb .switch::before{transition:none}
/* the same card as a hover card, set inside a sheet (touch users read it there) */
.osh{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:start}
.osh > img{width:96px;height:96px}
.tc.inline{font-size:15px;line-height:1.5}
.tc.inline .tc-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 6px}
.tc.inline .tc-h b{font-size:18px;font-weight:800}
.tc.inline .tc-h span{font-size:14px;font-weight:700;color:var(--ink-3)}
.tc.inline p{margin:0 0 8px;color:var(--ink-2)}
.tc.inline dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:2px 0 8px;font-size:14px}
.tc.inline dt{color:var(--ink-3);font-weight:600}
.tc.inline dd{margin:0;font-weight:700;color:var(--ink)}
.tc.inline dd.up{color:var(--good)}.tc.inline dd.down,.tc.inline .bad{color:var(--wax)}
.tc.inline .tc-f{font-size:14px;color:var(--ink-3)}
@media (max-width:420px){.osh{grid-template-columns:64px 1fr}.osh > img{width:64px;height:64px}}

/* ---------------------------------------------------------------- death page and the Book of Lives */
.death,.chron{overflow-y:auto;overflow-x:hidden}
.bookw{max-width:760px;margin:0 auto;padding:18px 16px 40px}
.bookp{position:relative;background:var(--paper);color:var(--ink);border-radius:var(--r);box-shadow:-6px 0 0 var(--paper-2),-12px 0 0 var(--paper-3);padding:22px 18px 22px 22px;margin-left:12px} /* taste-skill-ignore: drawn page edges of the book (an object, not a soft shadow) */
.bookp .ribbon{height:24px;margin:-6px 0 14px}
.bookp .ribbon svg{width:100%;height:100%;display:block}
.bookp .ends{font-size:14px;font-weight:700;color:var(--ink-3);margin:0}
.bookp h1{font-size:26px;font-weight:900;letter-spacing:-.03em;line-height:1.1;margin:4px 0 0}
.bookp .medal-row{display:flex;gap:14px;align-items:center;margin-top:14px}
.bookp .medal-row .pt{flex:none}
.bookp .medal-row .sub{flex:1;min-width:0;font-size:14px;color:var(--ink-3);font-weight:600;line-height:1.45;margin:0}
.epi{margin-top:16px;font-family:var(--serif);font-optical-sizing:auto;font-size:calc(19px + var(--pt-add));line-height:1.55}
.epi p{margin:0 0 10px}
.mstrip{background:var(--soot-2);color:var(--cream);border-radius:var(--r);margin:18px -8px 10px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;position:relative}
.mo{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;align-items:center;padding:4px 2px;min-width:0}
.mo img{width:56px;height:56px}
.mo > span{min-width:0}
.mo b{display:block;font-size:20px;font-weight:800;line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums}
.mo small{display:block;font-size:13px;line-height:1.25;font-weight:600;color:var(--cream-2);margin-top:2px}
.mo .bar{display:block;height:5px;background:var(--soot-3);position:relative;margin-top:7px}
.mo .bar i{position:absolute;left:0;top:0;bottom:0;background:var(--lit)}
.mo .bar s{position:absolute;top:-4px;width:2px;height:13px;background:var(--cream-2);text-decoration:none}
@media (max-width:479px){.mstrip{grid-template-columns:1fr;gap:2px}}
.mstrip.five{grid-template-columns:repeat(5,minmax(0,1fr));margin:0}
.mstrip.five .mo{grid-template-columns:1fr;justify-items:center}
.emptym{max-width:560px}
.emptym p{font-size:16px;font-weight:600;color:var(--cream-2);margin:12px 0 0}
.score{display:flex;align-items:center;gap:16px;margin-top:16px;padding:14px 16px;background:var(--soot);color:var(--cream);border-radius:var(--r);flex-wrap:wrap}
.score .n{font-weight:900;font-size:26px;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.score .stars{display:flex;gap:4px}
.score .stars svg{width:22px;height:22px}
.score .t{font-size:14px;font-weight:600;line-height:1.35;color:var(--cream-2)}
.score .t b{display:block;color:var(--lamp);font-size:16px;font-weight:800}
.seals{display:flex;gap:16px;flex-wrap:wrap;margin-top:16px}
.seals div{display:flex;flex-direction:column;align-items:center;width:84px;text-align:center}
.seals svg{width:46px;height:52px}
.seals b{font-size:12px;font-weight:800;line-height:1.2;margin-top:2px}
.sharebox{margin-top:16px;background:var(--paper-2);border-radius:var(--r);padding:12px 14px;font-size:14px;line-height:1.55;font-weight:600;white-space:pre-line;overflow-wrap:anywhere}
.endbtns{display:flex;gap:10px;margin-top:14px;align-items:center;flex-wrap:wrap}
.endbtns .btn-ghost{color:var(--ink);border-color:var(--line-strong)}
.after{margin-top:18px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.after .cd{font-size:16px;font-weight:700;color:var(--cream)}
.after .cd b{color:var(--lamp);font-variant-numeric:tabular-nums}
.afterbtns{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.weighing{padding:40px 8px;text-align:center;font-size:16px;color:var(--cream-2)}
.chron h1{font-size:26px;font-weight:900;letter-spacing:-.03em;margin:4px 0 4px;color:var(--cream)}
.chron .head,.bookpanel .head{font-size:14px;font-weight:600;color:var(--cream-2);margin:0 0 16px}
.cl{display:flex;flex-direction:column;gap:16px}
.ce{position:relative;background:var(--paper);color:var(--ink);border-radius:var(--r);box-shadow:-5px 0 0 var(--paper-3);padding:16px 16px 14px 18px;margin-left:6px} /* taste-skill-ignore: drawn page edges of the book (an object, not a soft shadow) */
.ce .top{display:flex;gap:12px;align-items:center}
.ce .top .pt{flex:none}
.ce h3{margin:0;font-size:18px;font-weight:800;line-height:1.2}
.ce .sub{font-size:14px;color:var(--ink-3);font-weight:600}
.ce .sq{display:flex;gap:3px;margin-top:10px;flex-wrap:wrap}
.ce .sq i{width:14px;height:14px;border-radius:2px;display:block}
.ce .pc{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:14px;font-weight:700}
.ce .pc span{color:var(--ink-3);font-weight:600}
.ce p{margin:8px 0 0;font-family:var(--serif);font-size:calc(17px + var(--pt-add));line-height:1.5;color:var(--ink-2)}
.ce .bt{display:flex;gap:16px;margin-top:6px;align-items:center;flex-wrap:wrap}
.ce .bt .sc{font-weight:900;font-size:18px;margin-right:auto}
.ce.bm{background:var(--soot-2);color:var(--cream);box-shadow:-5px 0 0 var(--lamp)} /* taste-skill-ignore: drawn page edge of the book in progress */
.ce.bm .sub{color:var(--cream-2)}
.ambl{display:flex;gap:8px;align-items:center;font-family:var(--sans)!important;font-size:14px!important;font-weight:600!important;color:var(--ink)!important}
.ambl .medal{width:16px;height:16px}
.cemarks{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:8px}
.cemarks .mk{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--ink-2)}
.cemarks .medal{width:14px;height:14px}
.sq-g{background:#2E6B45}.sq-y{background:#C99A55}.sq-r{background:#931801}.sq-k{background:var(--ink)}.sq-t{background:#2C6B62}
html.cb .sq-g{background:#2F6FA0}html.cb .sq-r{background:#B5500F}
.booktabs{display:flex;gap:2px;margin:8px 0 16px;max-width:520px;border-bottom:1px solid var(--soot-3)} /* taste-skill-ignore: the tabs sit on a rule */
.booktabs button{flex:1;min-height:44px;background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;font:inherit;font-size:15px;font-weight:800;color:var(--cream-3);display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;transition:color 150ms var(--ease-out),border-color 150ms var(--ease-out)}
.booktabs button small{font-size:12px;font-weight:700}
.booktabs button[aria-selected="true"]{color:var(--lamp);border-bottom-color:var(--lamp)}
@media (hover:hover) and (pointer:fine){.booktabs button:not([aria-selected="true"]):hover{color:var(--cream)}}
.booktabs button:focus-visible{outline:2px solid var(--lamp);outline-offset:-2px}
.markgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:0 16px}
.markc{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start;padding:12px 0;border-top:1px solid var(--soot-3);color:var(--cream)} /* taste-skill-ignore: Marks as rows */
.markc .medal{width:28px;height:28px;filter:grayscale(1);opacity:.4}
.markc.on .medal{filter:none;opacity:1}
.markc b{display:block;font-size:15px;font-weight:800;line-height:1.25}
.markc span{display:block;font-size:13px;line-height:1.4;color:var(--cream-2);margin-top:2px}
.markc small{display:block;font-size:12px;font-weight:700;color:var(--lamp);margin-top:4px}
.markc:not(.on) b{color:var(--cream-3)}
.markc:not(.on) span{color:var(--cream-3)}
.alhead{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:center;background:var(--soot-2);border-radius:var(--r);padding:14px 16px;margin-bottom:12px;color:var(--cream)}
.alhead b{font-size:34px;font-weight:900;letter-spacing:-.03em;grid-row:span 2}
.alhead span{font-size:14px;font-weight:600;color:var(--cream-2)}
.gb{position:relative;display:block;height:6px;background:var(--soot-3)}
.gb i{position:absolute;left:0;top:0;bottom:0;background:var(--lit)}
.alcat{border-top:1px solid var(--soot-3);color:var(--cream)} /* taste-skill-ignore: Almanac categories as rows */
.alcat summary{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;padding:12px 0;cursor:pointer;list-style:none;min-height:44px}
.alcat summary::-webkit-details-marker{display:none}
.alcat summary b{font-size:15px;font-weight:800}
.alcat summary span.num{font-size:14px;font-weight:700;color:var(--cream-2)}
.alcat summary .gb{grid-column:1/-1}
.alcat ul{list-style:none;margin:0;padding:0 0 12px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 16px}
.alcat li{font-size:14px;line-height:1.4;color:var(--cream-3)}
.alcat li.on{color:var(--cream);font-weight:600}
.alcat li b{color:var(--cream-3)}
.alcat summary:focus-visible{outline:2px solid var(--lamp);outline-offset:2px}

/* ---------------------------------------------------------------- art: portraits (rendered busts on a cream disc) */
.pt{display:inline-block;flex:none;border-radius:50%;background:color-mix(in srgb,var(--cream) 7%,transparent);line-height:0;vertical-align:middle}
.pt img{width:100%;height:100%;display:block;border-radius:50%}
.pt.kid img{transform:scale(.8)}
.pt.dead img{filter:grayscale(1) opacity(.55)}
.prop{display:block;object-fit:contain}

/* ---------------------------------------------------------------- hover cards (tip.js), on soot */
.tipcard{isolation:isolate;position:fixed;z-index:60;left:0;top:0;width:max-content;max-width:320px;background:var(--soot);color:var(--cream);border-radius:6px;padding:12px 14px;font-family:var(--sans);font-size:14px;line-height:1.45;pointer-events:none;box-shadow:var(--float);opacity:1;transform:none;transition:opacity 125ms var(--ease-out),transform 125ms var(--ease-out)} /* taste-skill-ignore: a floating card over the game needs separation from what it covers */
.tipcard::before{content:"";position:absolute;left:calc(var(--ax,24px) - 6px);width:12px;height:12px;background:var(--soot);transform:rotate(45deg)}
.tipcard[data-side="below"]::before{top:-5px}
.tipcard[data-side="above"]::before{bottom:-5px}
.tipcard.pinned{pointer-events:auto}
.tipcard.enter{opacity:0;transform:scale(.97)}
.tipcard.instant{transition:none}
.tipcard .tc-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 6px}
.tipcard .tc-h b{font-size:17px;font-weight:800;line-height:1.2}
.tipcard .tc-h span{font-size:13px;font-weight:600;color:var(--cream-2);text-align:right}
.tipcard p{margin:0 0 8px;color:var(--cream)}
.tipcard p:last-child{margin-bottom:0}
.tipcard dl{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;margin:2px 0 8px;font-size:13px}
.tipcard dt{color:var(--cream-3);font-weight:600;white-space:nowrap}
.tipcard dd{margin:0;font-weight:700}
.tipcard dd.up{color:var(--lit)}.tipcard dd.down,.tipcard .bad{color:var(--ember)}
html.cb .tipcard dd.up{color:#8CC8F0}
.tipcard .tc-f{font-size:13px;color:var(--cream-3);font-weight:500;margin-top:8px}
.tipcard .mute{color:var(--cream-3);font-weight:500}
.tipcard .tc-acts{color:var(--lamp);font-weight:700;margin-top:8px}
/* the person card: portrait, name, who they are to you */
.pcard .ph{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.pcard .ph .pt{flex:none}
.pcard .ph b{display:block;font-size:17px;font-weight:800;line-height:1.2}
.pcard .ph span:not(.pt){display:block;font-size:13px;color:var(--cream-2);font-weight:600}
.pcard.dead .ph b,.pcard.dead .ph span:not(.pt){color:#A9B6C1}
.tc.inline.pcard .ph span:not(.pt){color:var(--ink-3)}
[data-tip]{cursor:help}
button[data-tip],[data-tip][data-act]{cursor:pointer}

/* ---------------------------------------------------------------- first-time notes (hints.js): a line in the margin's colour */
.hint{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:4px 0;margin:0 0 8px;font-family:var(--sans);font-size:14px;font-weight:600;line-height:1.4;color:var(--ink-3);transition:opacity 200ms var(--ease-out),transform 200ms var(--ease-out)}
.hint.in{opacity:0;transform:translateY(-4px)}
.hint p{margin:0;flex:1 1 16em}
.hint button{flex:none;background:none;border:0;padding:4px 0;min-height:32px;font:inherit;font-weight:700;color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px;cursor:pointer}
.side .hint,.dock .hint,.deskwork .hint{color:var(--cream-3);padding:6px 12px 2px}
html.rm .hint{transform:none!important}

/* ---------------------------------------------------------------- the marks toast */
.marktoast{position:fixed;z-index:70;left:50%;top:calc(64px + env(safe-area-inset-top));width:min(420px,calc(100% - 32px));display:flex;gap:12px;align-items:center;padding:12px 16px;border-radius:6px;background:var(--soot);color:var(--cream);box-shadow:var(--float);transform:translate(-50%,-8px);opacity:0;transition:opacity 200ms var(--ease-out),transform 200ms var(--ease-out);pointer-events:none} /* taste-skill-ignore: a toast floating over the game */
.marktoast.on{opacity:1;transform:translate(-50%,0)}
.marktoast .medal{width:34px;height:34px}
.marktoast small{display:block;font-size:13px;font-weight:700;color:var(--lamp)}
.marktoast b{display:block;font-size:17px;font-weight:800;line-height:1.25}
.marktoast span span{display:block;font-size:14px;color:var(--cream-2);line-height:1.35}
html.rm .marktoast{transform:translate(-50%,0)}

/* ---------------------------------------------------------------- tablet (600-999): the Window grows; the margin comes back from 760 */
@media (min-width:600px) and (max-width:999px){
  .window{height:auto;aspect-ratio:5/3;max-height:360px}
  .page,.rhead{padding-left:24px;padding-right:24px}
}

/* ---------------------------------------------------------------- the margin calendar (>= 760): a column left of the text */
@media (min-width:760px){
  .page{padding:16px 40px 48px 9.5em}
  .m{position:absolute;left:-8.4em;top:.25em;width:7.4em;text-align:right;margin:0;font-size:13px}
  .m.year{display:block;top:-.05em;font-size:24px;font-weight:800;color:var(--ink);letter-spacing:-.02em;line-height:1.1;margin:0}
  .m.year small{display:block;font-size:12px;font-weight:700;color:var(--ink-3);letter-spacing:0;margin-top:2px}
  .m.year small::before{content:none}
  .yl{margin-top:26px;padding-top:14px}
  .yl > .m.year{top:14px}
  .yg:first-child > .yl > .m.year{top:-.05em}
  .st > .m,.td.stop > .m{flex-basis:auto}
  .fold > .m{top:.9em}
}

/* ---------------------------------------------------------------- desktop (EXECUTION 1.2: two columns, the clock bar under both) */
@media (min-width:1000px){
  .lw.on-life .app{max-width:1440px;margin-left:auto;margin-right:auto} /* the hub and the book use the whole width */
  .lw .gtop .acts .ib:has(.lbl){width:auto;padding:0 12px 0 10px;gap:7px;border-radius:999px;display:inline-flex;align-items:center}
  .lw .gtop .ib .lbl{display:inline;font-size:14px;font-weight:700}
  .life{grid-template-columns:472px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 56px;grid-template-areas:"side page" "dock dock"}
  .side{overflow-y:auto;overflow-x:hidden;padding:0 0 16px 24px;display:flex;flex-direction:column;scrollbar-width:thin;scrollbar-color:var(--soot-3) transparent}
  .side > *{flex:none}
  .window{height:auto;aspect-ratio:5/3}
  .sill{height:52px;padding:0 4px}
  .cap{padding:22px 12px 8px}
  .wobj img{width:32px;height:32px}
  .wobj.hearth{display:flex}
  .pagewrap{margin-left:20px}
  .page{font-size:calc(19px + var(--pt-add));line-height:1.55;padding:16px 40px 48px 9.5em}
  .yl{font-size:calc(20px + var(--pt-add))}
  .deathline{font-size:calc(20px + var(--pt-add))}
  .rhead{padding:12px 40px 8px 180px;column-gap:18px;row-gap:9px}
  .ry{position:absolute;left:0;top:12px;width:162px;height:34px;line-height:34px;font-size:30px;text-align:right}
  .ry span{left:auto;right:0}
  .rw{grid-column:1/3}
  .rhead{grid-template-areas:"when when spd" "bar bar bar"}
  .rw b{font-size:16px;display:inline}
  .rw span{font-size:13px;display:inline;margin-left:10px}
  .ybar{height:12px;margin-bottom:17px;max-width:646px}
  .ybar .labels{display:flex;gap:2px;position:absolute;left:0;right:0;top:15px;font-size:12px;font-weight:700;color:var(--ink-3);pointer-events:none}
  .ybar .labels span{display:block;overflow:hidden;white-space:nowrap;padding-left:1px}
  .ybar .labels span.on{color:var(--ink)}
  /* the side column's lists: rows and rules, no boxes */
  .deskwork{display:flex;flex-direction:column;gap:18px;margin-top:18px}
  .dp .dh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 2px}
  .dp h5{margin:0;font-size:14px;font-weight:800;color:var(--cream)}
  .dp .dh .textbtn{min-height:0;padding:0;font-size:13px;color:var(--lamp);text-decoration:none}
  @media (hover:hover) and (pointer:fine){.dp .dh .textbtn:hover{text-decoration:underline;opacity:1}}
  .dp .dn{font-size:13px;font-weight:600;color:var(--cream-3)}
  .drow{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:12px;align-items:baseline;width:100%;padding:9px 0;border:0;border-top:1px solid var(--soot-3);background:none;color:var(--cream);font:inherit;font-size:14px;text-align:left;cursor:pointer} /* taste-skill-ignore: the side column's rows and rules (UI-V3 3.4) */
  .drow:first-child{border-top:0}
  .drow.static{cursor:default}
  .drow .k{color:var(--cream-3);font-weight:600;font-size:13px}
  .drow b{font-weight:700;display:block}
  .drow b i{font-style:normal;font-size:12px;font-weight:700;color:var(--lamp)}
  .drow .d{display:block;color:var(--cream-2);font-size:13px;font-weight:500;line-height:1.35;margin-top:1px}
  .drow .go{color:var(--lamp);font-weight:700;font-size:13px;white-space:nowrap}
  .drow .st2{color:var(--cream-3);font-weight:600;font-size:13px;white-space:nowrap}
  .drow .stamp{transform:none;height:22px;min-width:0;font-size:12px;border-width:1.5px;border-color:var(--cream-3);color:var(--cream-2);padding:0 5px}
  @media (hover:hover) and (pointer:fine){.drow:not(.static):hover b{text-decoration:underline;text-decoration-color:var(--lamp);text-underline-offset:3px}}
  .drow:focus-visible,.face:focus-visible{outline:2px solid var(--lamp);outline-offset:2px}
  .dlock{margin:0;padding:9px 0;font-size:14px}
  .dlock b{display:block;font-weight:700;color:var(--cream)}
  .dlock span{display:block;color:var(--cream-2);font-size:13px;line-height:1.4}
  .dlock.warn b{color:var(--lamp)}
  .dw-faces{display:flex;gap:2px;flex-wrap:wrap;margin-top:6px}
  .face{position:relative;display:flex;flex-direction:column;align-items:center;width:74px;padding:4px 2px 6px;border:0;border-radius:var(--r);background:none;color:var(--cream);font:inherit;cursor:pointer}
  .face b{font-size:12px;font-weight:800;margin-top:4px;line-height:1.15;text-align:center;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .face > span:not(.pt){font-size:11px;font-weight:600;color:var(--cream-3);line-height:1.2;max-width:72px;text-align:center}
  .face.you .pt{box-shadow:0 0 0 2px var(--lamp)} /* taste-skill-ignore: the lamp ring marks you */
  @media (hover:hover) and (pointer:fine){.face:hover{background:var(--soot-2)}}
  /* the clock bar */
  .dock{flex-direction:row;align-items:center;padding:0 24px;gap:24px}
  .row1,.dnote{display:none!important}
  .row2{flex:1;gap:24px}
  .row2 .date{display:block;font-size:14px;font-weight:700;color:var(--cream);white-space:nowrap}
  .row2 .date span{color:var(--cream-3);font-weight:600}
  .spdhint{display:block;margin-left:auto;font-size:13px;font-weight:700;color:var(--cream-3);white-space:nowrap}
  .speeds{flex:0 0 auto;gap:2px;height:40px}
  .speeds button{flex:none;min-width:52px;height:40px;padding:0 10px;font-size:14px}
  .speeds button.stw{min-width:76px}
  .stage .cap{font-size:20px}
}
@media (min-width:1000px) and (max-width:1199px){.life{grid-template-columns:420px minmax(0,1fr)}}

/* ---------------------------------------------------------------- reduced motion: fades stay, travel goes */
html.rm .ent,html.rm .tray .math .w,html.rm .sum .o{transform:none!important}
html.rm .door.leaving{transform:none}
html.rm .tray{transition:none}
html.rm .stage{transition:none}
html.rm .press:active,html.rm .speeds button:active{transform:none;opacity:.85}
html.rm .speeds .hl{transition:none}
html.rm .wobj.bump img,html.rm .st.press-in{animation:none}
html.rm .window .still.next{transition:none;filter:none}
html.rm .rhead::after{display:none}
.sb .ribbon svg{width:100%;height:100%;display:block}

/* ================================================================ wide screens (owner, 2026-10-25: "on 16:9 it looks empty")
   >= 1500: three columns. Left: the Window (much larger), the sill, this year's work. Middle: the Page, its text kept
   to a 34em measure and centred in the column. Right: this season's Doings and the people around you, as rows with
   faces, who they are, how they feel and what last changed it. Behind the app: the Window's own still, darkened and
   blurred once (a static image, no per-frame work), so the edges read as the town at night, not flat soot. */
.backdrop{display:none}
body.lw:not(.on-life) .backdrop{display:none!important}
.people{display:none}
@media (min-width:1500px){
  .backdrop{display:block;position:fixed;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);object-fit:cover;z-index:0;filter:blur(28px) brightness(.32) saturate(.8);pointer-events:none;transition:opacity 600ms ease}
  .backdrop.swap{opacity:0}
  .lw .app{position:relative;z-index:1}
  .lw.on-life .app{max-width:2200px;background:rgba(var(--scrim),.86)}
  .lw .gtop.tools{background:transparent}
  .life{grid-template-columns:clamp(472px,32vw,820px) minmax(0,1fr) clamp(340px,21vw,420px);grid-template-areas:"side page people" "dock dock dock"}
  .lw .dock{background:transparent}
  .page{padding-left:max(180px,calc((100% - 646px) / 2 + 40px));padding-right:max(40px,calc((100% - 646px) / 2 - 140px))}
  .rhead{padding-left:max(180px,calc((100% - 646px) / 2 + 40px));padding-right:max(40px,calc((100% - 646px) / 2 - 140px))}
  .ry{width:calc(max(180px,calc((100% - 646px) / 2 + 40px)) - 18px)}
  .people{display:flex;flex-direction:column;gap:20px;grid-area:people;min-height:0;overflow-y:auto;padding:4px 24px 16px 20px;scrollbar-width:thin;scrollbar-color:var(--soot-3) transparent}
  .people .dp .dh{margin-bottom:2px}
  .prow{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;width:100%;padding:8px 0;border:0;border-top:1px solid var(--soot-3);background:none;color:var(--cream);font:inherit;text-align:left;cursor:pointer} /* taste-skill-ignore: the people as rows and rules (UI-V3 3.4) */
  .prow:first-child{border-top:0}
  .prow b{display:block;font-size:14px;font-weight:700;line-height:1.25}
  .prow .r{display:block;font-size:13px;font-weight:600;color:var(--cream-2);line-height:1.3}
  .prow .w{display:block;font-size:12px;font-weight:600;color:var(--cream-3);line-height:1.35;margin-top:1px}
  .prow .w.up{color:var(--lit)}
  .prow.you .pt{box-shadow:0 0 0 2px var(--lamp)} /* taste-skill-ignore: the lamp ring marks you */
  @media (hover:hover) and (pointer:fine){.prow:hover b{text-decoration:underline;text-decoration-color:var(--lamp);text-underline-offset:3px}}
  .prow:focus-visible{outline:2px solid var(--lamp);outline-offset:2px}
}
@media (min-width:1500px){
  .people .dp .dh{flex-wrap:wrap;gap:0 12px}
  .people .drow{grid-template-columns:76px minmax(0,1fr) auto}
  .going-r{grid-template-columns:96px minmax(0,1fr) 96px;align-items:center;cursor:help}
  .gbar{position:relative;display:block;height:5px;background:var(--soot-3)}
  .gbar i{position:absolute;left:0;top:0;bottom:0;background:var(--lit)}
  .gbar s{position:absolute;left:50%;top:-3px;width:2px;height:11px;background:var(--cream-3);text-decoration:none}
  .nrow{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:8px 0;border-top:1px solid var(--soot-3);font-size:13px;line-height:1.4;color:var(--cream-2)} /* taste-skill-ignore: world news as rows and rules */
  .nrow .k{font-weight:800;color:var(--cream-3)}
  .lw.on-life .app{background:rgba(var(--scrim),.84)}
}
@media (min-width:1800px) and (min-height:860px){.wobj img{width:40px;height:40px}.sill{height:60px}.wobj b{font-size:15px}}
html.rm .backdrop{transition:none}

/* ---------------------------------------------------------------- the stats on the Life screen: born with, can do */
.statline{display:flex;align-items:center;gap:14px;width:100%;height:32px;padding:0 16px;background:var(--soot);border:0;border-top:1px solid var(--soot-3);color:var(--cream-2);font:inherit;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;cursor:pointer;text-align:left} /* taste-skill-ignore: the strip sits on a rule under the sill */
.statline b{color:var(--cream-3);font-weight:600}
.statline span span{color:var(--cream);font-weight:800}
.statline i{margin-left:auto;font-style:normal;color:var(--lamp);font-weight:800}
.stats .sline{display:flex;flex-wrap:wrap;gap:4px 16px;padding:7px 0;border-top:1px solid var(--soot-3);font-size:13px;font-weight:600;color:var(--cream-3)} /* taste-skill-ignore: rows and rules */
.stats .sline:first-of-type{border-top:0}
.stats .sline b{color:var(--cream);font-weight:800}
.stats .sline.sk b{font-weight:700;color:var(--cream-2)}
.stats .sa{cursor:help}
.srow{align-items:center!important;padding:6px 0!important;cursor:help!important}
.srow b{font-weight:700}
.srow b .num{color:var(--cream-3);font-weight:700;margin-left:4px}
.pips{display:flex;gap:3px}
.pips i{display:block;width:12px;height:5px;background:var(--soot-3)}
.pips i.on{background:var(--lit)}
.sbar{position:relative;display:block;width:76px;height:5px;background:var(--soot-3)}
.sbar i{position:absolute;left:0;top:0;bottom:0;background:var(--lit-deep)}
@media (min-width:1000px){.statline{display:none}}

/* the stats as a character sheet from this world (owner: "make them look better"): the name, five small flames lit for
   the attribute, the word in the Page's italic, the figure; strengths in the lamp, weaknesses in ember */
.num.hi,.av.hi{color:var(--lit)}
.num.mid,.av.mid{color:var(--cream-2)}
.num.lo,.av.lo{color:var(--ember)}
.arow{display:grid;grid-template-columns:84px 76px minmax(0,1fr) 34px;gap:12px;align-items:center;min-height:34px;padding:5px 0;border-top:1px solid var(--soot-3);cursor:help} /* taste-skill-ignore: rows and rules (UI-V3 3.4) */
.dh + .arow{border-top:0}
.arow .an{font-size:14px;font-weight:700;color:var(--cream)}
.arow .aw{font-family:var(--serif);font-style:italic;font-size:16px;line-height:1.2;color:var(--cream-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arow .av{font-size:17px;font-weight:800;text-align:right;letter-spacing:-.01em}
.flames{display:flex;gap:4px}
.flames i{display:block;width:11px;height:15px}
.flames svg{width:100%;height:100%;display:block;fill:none;stroke:var(--soot-4);stroke-width:1.1}
.flames i.on svg{fill:var(--lit);stroke:var(--lit-deep)}
.flames.lo i.on svg{fill:var(--ember-fill);stroke:var(--ember-line)}
.flames.mid i.on svg{fill:color-mix(in srgb,var(--lit) 70%,var(--cream-3));stroke:var(--lit-deep)}
.arow.sk{grid-template-columns:84px 76px minmax(0,1fr)}
.arow.sk .aw{font-family:var(--sans);font-style:normal;font-size:13px}
.arow.sk .aw b{font-size:14px;font-weight:700;color:var(--cream)}
.arow.sk .aw span{color:var(--cream-3);font-weight:600}
.ladder{display:flex;gap:3px}
.ladder i{position:relative;display:block;width:12px;height:6px;background:var(--soot-3);overflow:hidden}
.ladder i.on{background:var(--lit)}
.ladder u{position:absolute;left:0;top:0;bottom:0;background:var(--lit-deep);text-decoration:none}
@media (hover:hover) and (pointer:fine){.arow:hover .an{text-decoration:underline;text-decoration-color:var(--lamp);text-underline-offset:3px}}
.stats .sline b.hi,.statline span span.hi{color:var(--lit)}
.stats .sline b.lo,.statline span span.lo{color:var(--ember)}
.stats .sline.sk b{text-transform:capitalize}

/* ---------------------------------------------------------------- the dark Page: what the token swap alone does not settle */
html.pg-dark .page{line-height:1.6;letter-spacing:.008em}
@media (min-width:1000px){html.pg-dark .page{line-height:1.62}}
html.pg-dark .door{border-color:transparent}
html.pg-dark .door:focus-visible,html.pg-dark .door.kbd{outline-color:var(--lamp-deep)}
@media (hover:hover) and (pointer:fine){html.pg-dark .door:not([disabled]):hover{background:var(--paper-2);border-color:var(--paper-3)}}
html.pg-dark .door.chosen,html.pg-dark .sb .pick.on{outline-color:var(--lamp-deep)}
/* hover cards over the dark Page: a clearly lighter, opaque surface with an edge and a deeper float shadow, so the
   Page behind never reads through (the soot card on the pine-charcoal Page looked like a hole in the text) */
html.pg-dark .tipcard,html.pg-dark .tipcard::before,html.pg-dark .marktoast{background:#323A29}
html.pg-dark .tipcard,html.pg-dark .marktoast{box-shadow:0 0 0 1px rgba(233,234,228,.16),0 16px 40px rgba(0,0,0,.6)} /* taste-skill-ignore: a floating card needs separation from what it covers */
/* the wax seal on the dark Page: a brighter wax with a dark pressed ring, so it reads as a seal, not a ring */
html.pg-dark body.lw{--seal:#C2412A;--seal-tail:#8E2A18;--seal-ring:rgba(20,22,16,.7)}
html.pg-dark .tipcard dt,html.pg-dark .tipcard .tc-f,html.pg-dark .tipcard .mute{color:var(--cream-2)}
html.pg-dark .mstrip,html.pg-dark .score,html.pg-dark .cs-lock{background:var(--paper-2)}
html.pg-dark .opt.on,html.pg-dark .sb .seg3 button[aria-pressed="true"]{background:var(--lamp-deep);color:#151810}
html.pg-dark .sb .switch[aria-checked="true"]::before{background:var(--lamp-deep)}

/* ---------------------------------------------------------------- pacing, chapters, share (2026-10-26) */
/* tap to advance: the first speed; phones keep every target 44px wide by dropping 1x and 16x (keys and Settings keep them) */
.speeds button.tap{flex:1.3}
@media (max-width:599px){.speeds button[data-v="1"],.speeds button[data-v="16"]{display:none}}
/* a chapter card: the still with "Chapter III · Youth" on it; a stopping one carries the summary's numbers below */
.chap{margin:22px 0 14px;font-family:var(--sans)}
.chap-pic{position:relative;margin:0;border-radius:var(--r);overflow:hidden;aspect-ratio:1680/700;background:var(--soot-2)}
.chap-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 55%;display:block}
.chap-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--scrim),0) 30%,rgba(var(--scrim),.82) 100%)} /* taste-skill-ignore: a scrim so the chapter title reads on the still */
.chap-pic figcaption{position:absolute;left:16px;right:16px;bottom:12px;z-index:1;display:flex;flex-direction:column;gap:2px;color:var(--cream)}
.chap-k{font-size:13px;font-weight:700;color:var(--cream-2)}
.chap-pic b{font-family:var(--serif);font-size:calc(24px + var(--pt-add));font-weight:600;line-height:1.15;letter-spacing:-.01em}
.chap.pass .chap-pic{aspect-ratio:1680/480}
.chap.pass .chap-pic b{font-size:calc(20px + var(--pt-add))}
.sum.in-chap{margin:0;border-radius:0 0 var(--r) var(--r)}
.chap.stop .chap-pic{border-radius:var(--r) var(--r) 0 0}
@media (min-width:1000px){.chap-pic figcaption{left:20px;bottom:16px}.chap-pic b{font-size:calc(28px + var(--pt-add))}}
/* the death page's expected rank */
.beat{margin:12px 0 0;font-size:14px;line-height:1.45;color:var(--ink-3);font-weight:600}
.beat b{display:block;font-size:18px;font-weight:800;color:var(--ink)}
/* Chronicles, the door that is not open yet */
.chrondoor{display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap;padding:12px 14px;border:1px solid color-mix(in srgb,var(--cream) 22%,transparent);border-radius:var(--r);max-width:560px}
.chrondoor div{flex:1;min-width:14em;display:flex;flex-direction:column;gap:2px}
.chrondoor b{font-size:15px;font-weight:800;color:var(--cream)}
.chrondoor span{font-size:14px;font-weight:600;color:var(--cream-2);line-height:1.4}
.chrondoor .btn-ghost{color:var(--cream);border-color:color-mix(in srgb,var(--cream) 35%,transparent)}
/* the share cards sheet: both shapes side by side, a small preview of each */
.cardnote{margin:0 0 12px;font-size:14px;color:var(--ink-3);font-weight:600}
.cardgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}
.cardcell{display:flex;flex-direction:column;gap:8px;min-width:0}
.cardcell b{font-size:14px;font-weight:800}
.cardprev{background:var(--soot-2);border-radius:var(--r);overflow:hidden}
.cardcell.square .cardprev{aspect-ratio:1}
.cardcell.story .cardprev{aspect-ratio:9/16;max-height:340px}
.cardprev img{width:100%;height:100%;object-fit:contain;display:block}
.cardbtns{display:flex;gap:8px;flex-wrap:wrap}
.cardbtns .btn-ghost{color:var(--ink);border-color:var(--line-strong)}
/* the static page around the loader (index.html #lw-about), kept under the hub once the game runs */
.lw-about{color:var(--cream);font-family:var(--sans);display:flex;flex-direction:column;gap:16px;padding-top:12px;border-top:1px solid color-mix(in srgb,var(--cream) 14%,transparent)}
.lw-about h2{margin:0;font-size:20px;font-weight:900;letter-spacing:-.02em}
.lw-about p,.lw-about li{margin:0;font-size:15px;line-height:1.55;color:var(--cream-2);max-width:40em}
.lw-about ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.lw-about .stills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.lw-about .stills img{width:100%;height:auto;aspect-ratio:1680/900;object-fit:cover;border-radius:var(--r);display:block;background:var(--soot-2)}
@media (max-width:599px){.lw-about .stills{grid-template-columns:1fr 1fr}.lw-about .stills img:last-child{display:none}}
.lw-about .pitch{font-size:17px;font-weight:700;color:var(--cream)}
#lw-today{font-weight:700;color:var(--lamp)}

/* ---------------------------------------------------------------- the phone layout (owner, 2026-10-26: "the text area is VERY small")
   Under 700px wide, and on landscape phones: the story and the choices get the screen. The Window is a 96px strip
   (tap it, or its arrow, for the bigger picture); the four numbers are one line that opens the score sheet (the
   attributes strip and the score hint live in that sheet); the year head is one slim row; the Page's text is 18px.
   Kept in step with app.js COMPACT_MQ. */
.wtog,.omore{display:none}
.sill.child #o-purse{flex:1.5} /* "Family purse" whole on the sill */
.callline{margin:-2px 0 8px!important;font-family:var(--sans);font-size:14px;font-weight:600;line-height:1.4;color:var(--ink-3)}
@media (max-width:699px), (max-height:520px) and (max-width:999px){
  .lw .gtop.tools{min-height:44px}
  .window{height:96px;aspect-ratio:auto;max-height:none;cursor:pointer;transition:height 240ms var(--ease-out)}
  .window.open{height:min(56vw,240px)}
  .window .still{object-position:50% 55%}
  .cap{padding:14px 44px 6px 16px;font-size:12px}
  .wtog{display:grid;place-items:center;position:absolute;right:2px;bottom:0;z-index:2;width:40px;height:36px;padding:0;background:none;border:0;color:var(--cream);cursor:pointer}
  .wtog svg{width:16px;height:16px;transition:transform 200ms var(--ease-out)}
  .window.open .wtog svg{transform:rotate(180deg)}
  .wtog:focus-visible{outline:2px solid var(--lamp);outline-offset:-4px}
  /* the four numbers: one line, the label before the value */
  .sill{height:40px;padding:0 0 0 8px}
  .wobj{flex:0 0 auto;height:40px;gap:4px;padding:0 6px;border-radius:0}
  .wobj img{width:20px;height:20px}
  .wobj small{overflow:visible}
  .wobj > span{display:flex;flex-direction:row-reverse;align-items:baseline;gap:4px;min-width:0}
  .wobj b{font-size:14px}
  .wobj small{font-size:12px;color:var(--cream-2)}
  .wobj.hearth{display:none}
  .sill.child #o-purse{flex:0 0 auto}
  .omore{display:grid;place-items:center;flex:none;margin-left:auto;width:40px;height:40px;padding:0;background:none;border:0;color:var(--lamp);cursor:pointer}
  .omore svg{width:16px;height:16px}
  .omore:focus-visible{outline:2px solid var(--lamp);outline-offset:-4px}
  .statline{display:none}
  /* the year head: one slim row and a thin bar */
  .rhead{padding:6px 16px 7px;row-gap:5px;column-gap:10px}
  .ry{height:22px;line-height:22px;font-size:18px}
  .rw b{display:inline;font-size:13px}
  .rw span{display:inline;font-size:12px;margin-left:6px}
  .rspd{font-size:12px}
  .ybar{height:5px}
  .ybar .now{top:-2px;height:9px}
  /* the Page: 18px text; the margin is a line above each entry at every width here */
  .page{font-size:calc(18px + var(--pt-add));line-height:1.55;padding:10px 16px 24px}
  .page > *{max-width:40em}
  .m{display:block;position:static;width:auto;text-align:left;margin:0 0 2px;font-size:12px}
  .m.year{display:inline;font-size:12px;font-weight:700;margin:0 8px 0 0;color:var(--ink-3);letter-spacing:0;line-height:inherit}
  .m.year small{display:inline;font-size:12px;margin:0}
  .m.year small::before{content:" · "}
  .yl{font-size:calc(19px + var(--pt-add));margin:16px 0 8px;padding-top:10px}
  .yl > .m.year{top:auto}
  .ev{margin:12px 0 14px}
  .ev h4{font-size:15px}
  .ev .sit{margin:0 0 12px}
  .doors{gap:8px}
  .door{min-height:56px;padding:13px 14px}
  .door .lb{font-size:18px;line-height:1.3}
  .door .ht{font-size:15px}
  .hint{font-size:13px;margin:0 0 6px}
  .dock .hint{padding:4px 0 0}
  .row1{height:34px}
}
@media (max-width:379px){.wobj img{display:none}.wobj{padding:0 7px}}
/* a landscape phone: no room for the picture at all; the Page keeps the height */
@media (max-height:520px) and (max-width:999px){
  .window{display:none}
  .lw .gtop.tools{min-height:40px}
}
