/* ============================================================================
   household/chores/styles.css — Chore Draft.

   The glass system from /site.css, with the Household section's teal as the
   signal colour (shared with the Pet Spot Tracker, so the two read as one
   section). Gold here means points, never money.

   Two layout rules this file exists to protect, because the page is used with
   a phone in one hand and a sponge in the other:

     1. FIXED SLOTS. The room readout under the house, each chore row, the
        rating card and the draft's pick banner have fixed heights, so a long
        chore name or a room with eight chores never moves the button under a
        thumb. A row's text truncates; it does not wrap.
     2. THE SHEET IS FIXED. Editing opens a bottom sheet (docked to the side on
        a wide screen) that is position:fixed, so nothing behind it reflows.
   ========================================================================== */

:root {
  --bg: var(--g-bg);
  --ink: #e9eef3;
  --muted: #93a1b0;
  --line: var(--g-line);
  --gold: #f0c419;
  --accent: #3ecfb2;
  --accent-deep: #1d8f7a;
  --due: #f3a028;
  --late: #ff5448;
  --soon: #f0c419;
  --shadow: var(--g-drop);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.5; min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
.hidden { display: none !important; }
.muted { color: var(--muted); }
.tiny { font-size: .8rem; }
.small { font-size: .86rem; }
.note { margin: 0 0 10px; }
h3 { margin: 0 0 10px; font-size: 1.05rem; letter-spacing: .2px; }
h4 { margin: 14px 0 6px; font-size: .92rem; }
button { font-family: inherit; }

/* ------------------------------------------------------------------ header */

.topbar {
  text-align: center; padding: 22px 16px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 60%),
              linear-gradient(180deg, rgba(29,143,122,.42), rgba(12,64,55,.26));
  border-bottom: 1px solid rgba(62,207,178,.32);
  box-shadow: var(--g-hi), 0 1px 0 rgba(62,207,178,.18), var(--shadow);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
}
.brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.brand .logo { font-size: 1.6rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.topbar h1 { margin: 0; font-size: 1.55rem; letter-spacing: .2px; }
.tagline { margin: 6px auto 0; max-width: 760px; color: #cfe6df; font-size: .9rem; }
.whobar { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; min-height: 34px; flex-wrap: wrap; }
.who {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 6px 14px; border-radius: 999px; font-weight: 650; font-size: .88rem;
  background: rgba(0,0,0,.26); border: 1px solid var(--g-line); color: var(--ink);
}
.who .dot, .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: 0 0 auto; box-shadow: 0 0 0 2px rgba(0,0,0,.35); }
.who.unset { color: var(--gold); border-color: rgba(240,196,25,.5); }
.syncpill {
  cursor: pointer; font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap;
  background: var(--g-in-fill); border: 1px solid var(--g-in-line); color: var(--muted);
}
.syncpill.ok { color: var(--accent); border-color: rgba(62,207,178,.42); background: rgba(62,207,178,.10); }
.syncpill.off { color: var(--due); border-color: rgba(243,160,40,.42); }

.mode-tabs button.active { background: linear-gradient(180deg, #63e3c8, var(--accent)); border-color: rgba(150,240,222,.6); color: #04231e; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 18px rgba(62,207,178,.25); }
.mode-tabs button:not(.active):hover { border-color: rgba(62,207,178,.55); color: var(--accent); }

/* ------------------------------------------------------------------ layout */

main { max-width: 1180px; margin: 0 auto; padding: 16px 16px 40px; }
.panel {
  background: var(--g-sheen), var(--g-base);
  border: 1px solid var(--g-line); border-radius: var(--g-r-xl);
  box-shadow: var(--g-hi), var(--g-lo), var(--shadow);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
  padding: 16px; margin-bottom: 16px;
}
.listhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.listhead h3 { margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  min-height: 40px; padding: 8px 16px; border-radius: 999px; font-weight: 650; font-size: .9rem;
  background: var(--g-in-fill); border: 1px solid var(--g-line-strong); color: var(--ink);
}
.btn:hover { background: var(--g-in-fill-hover); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, #63e3c8, var(--accent)); color: #04231e; border-color: rgba(150,240,222,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 16px rgba(62,207,178,.22); }
.btn.gold { background: linear-gradient(180deg, #ffd955, var(--gold)); color: #241c02; border-color: rgba(255,230,140,.7); }
.btn.danger { color: var(--late); border-color: rgba(255,84,72,.45); }
.btn.wide { width: 100%; }
.btn.small { min-height: 32px; padding: 4px 12px; font-size: .82rem; }
.btn[disabled] { opacity: .45; cursor: default; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pill { display: inline-block; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--g-in-fill); border: 1px solid var(--g-in-line); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pill.best { color: var(--accent); border-color: rgba(62,207,178,.45); }
.pill.gold { color: var(--gold); border-color: rgba(240,196,25,.45); }
.seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--g-well); border: 1px solid var(--g-in-line); }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 5px 11px; border-radius: 999px; font-weight: 650; font-size: .8rem; cursor: pointer; }
.seg button.active { background: rgba(62,207,178,.18); color: var(--accent); }
input[type=text], input[type=number], select {
  font: inherit; color: var(--ink); background: var(--g-well); border: 1px solid var(--g-in-line);
  border-radius: var(--g-r-sm); padding: 8px 10px; min-height: 40px; width: 100%;
}
label.field { display: block; margin: 10px 0; font-size: .84rem; color: var(--muted); }
label.field > span { display: block; margin-bottom: 4px; }
.field2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------------------------------------------------------------- the house */

.housepanel { padding: 10px; }
.stage { position: relative; height: 340px; border-radius: var(--g-r-lg); overflow: hidden;
  background: radial-gradient(80% 70% at 50% 40%, rgba(62,207,178,.10), rgba(0,0,0,.25)); }
#house { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline: none; }
.hud { position: absolute; inset: 8px 8px auto 8px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
#fresh { pointer-events: auto; background: rgba(10,13,19,.72); border: 1px solid var(--g-in-line); border-radius: 12px; padding: 4px 10px; min-width: 92px; height: 42px; }
#fresh b { font-size: 1.15rem; display: block; line-height: 1.1; }
#fresh small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.turns { pointer-events: auto; display: flex; gap: 6px; }
.turns button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--g-line-strong); background: rgba(10,13,19,.72); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.roominfo { height: 132px; overflow-y: auto; padding: 10px 6px 2px; }
.roominfo .ri-head { display: flex; align-items: center; gap: 8px; font-weight: 700; height: 24px; }

.rows { display: flex; flex-direction: column; gap: 6px; }
.row {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
  height: 56px; padding: 0 10px; border-radius: var(--g-r-md);
  background: var(--g-in-fill); border: 1px solid var(--g-in-line);
}
.row.compact { height: 44px; }
.row .em { font-size: 1.3rem; text-align: center; }
.row .tx { min-width: 0; }
.row .t1, .row .t2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .t1 { font-weight: 650; font-size: .92rem; }
.row .t2 { color: var(--muted); font-size: .76rem; display: flex; align-items: center; gap: 6px; }
.row .t2 .dot { width: 9px; height: 9px; }
.row .end { display: flex; align-items: center; gap: 6px; }
.row.late { border-color: rgba(255,84,72,.45); }
.row.due { border-color: rgba(243,160,40,.45); }
.row.mine { background: rgba(62,207,178,.08); }
.state { font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.state.late { color: #ffd2ce; background: rgba(255,84,72,.28); }
.state.due { color: #ffe1b0; background: rgba(243,160,40,.25); }
.state.soon { color: #fff1b8; background: rgba(240,196,25,.16); }
.state.fresh { color: #c4f5ea; background: rgba(62,207,178,.16); }
.pts { color: var(--gold); font-weight: 700; font-size: .8rem; font-variant-numeric: tabular-nums; }
.check {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.15rem; font-weight: 800;
  border: 1px solid rgba(150,240,222,.6); color: #04231e; background: linear-gradient(180deg, #63e3c8, var(--accent));
}
.check.ghost { background: transparent; color: var(--accent); }
.thanks { min-width: 44px; height: 36px; border-radius: 999px; border: 1px solid var(--g-in-line); background: transparent; color: var(--ink); cursor: pointer; font-size: .9rem; }
.thanks.on { border-color: rgba(240,196,25,.5); background: rgba(240,196,25,.12); }
.empty { color: var(--muted); font-size: .86rem; padding: 10px 4px; }

/* ----------------------------------------------------------------- progress */

.progress .pr { display: grid; grid-template-columns: 110px 1fr 92px; align-items: center; gap: 10px; height: 34px; }
.pr .nm { display: flex; align-items: center; gap: 7px; font-weight: 650; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { position: relative; height: 12px; border-radius: 999px; background: var(--g-well); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; }
.bar .tick { position: absolute; top: -2px; bottom: -2px; width: 2px; background: rgba(255,255,255,.7); }
.pr .num { text-align: right; font-variant-numeric: tabular-nums; font-size: .8rem; color: var(--muted); }

/* ------------------------------------------------------------------- split */

.inforce { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.raters { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.rater { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 10px 12px; height: 62px; border-radius: var(--g-r-md); background: var(--g-in-fill); border: 1px solid var(--g-in-line); }
.rater .rn { display: flex; align-items: center; gap: 8px; font-weight: 650; min-width: 0; }
.rater .rn span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rater .rp { font-size: .74rem; color: var(--muted); }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method { padding: 14px; border-radius: var(--g-r-lg); background: var(--g-in-fill); border: 1px solid var(--g-in-line); display: flex; flex-direction: column; }
.method p { flex: 1; margin: 8px 0 12px; }
.m-head { display: flex; align-items: center; gap: 8px; }
.m-icon { font-size: 1.3rem; }

/* the rating card: one chore at a time, five fixed buttons */
.ratecard { text-align: center; }
.rc-prog { height: 6px; border-radius: 999px; background: var(--g-well); overflow: hidden; margin: 2px 0 12px; }
.rc-prog i { display: block; height: 100%; background: var(--accent); }
.rc-chore { height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rc-chore .big { font-size: 2.2rem; line-height: 1.1; }
.rc-chore .nm { font-weight: 700; font-size: 1.05rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-chore .meta { color: var(--muted); font-size: .8rem; }
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.levels button {
  height: 74px; border-radius: var(--g-r-md); cursor: pointer; padding: 4px 2px;
  background: var(--g-in-fill); border: 1px solid var(--g-in-line); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .7rem; font-weight: 650; line-height: 1.15;
}
.levels button .e { font-size: 1.5rem; }
.levels button.on { border-color: rgba(62,207,178,.8); background: rgba(62,207,178,.18); }
.rc-nav { display: flex; justify-content: space-between; margin-top: 12px; }

/* the auction's result: a draft board */
.board { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.lot { display: grid; grid-template-columns: 30px 1fr 74px 120px; gap: 8px; align-items: center; height: 46px; padding: 0 10px; border-radius: var(--g-r-md); background: var(--g-in-fill); border: 1px solid var(--g-in-line); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.lot.in { opacity: 1; transform: none; }
.lot .nm { font-weight: 650; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lot .price { color: var(--gold); font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; font-size: .9rem; }
.lot .sold { font-size: .78rem; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lot .sold b { color: var(--accent); }
.guar { display: grid; gap: 6px; margin: 12px 0; }
.guar div { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; }
.guar .ic { width: 20px; flex: 0 0 auto; text-align: center; }
.summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 10px; }
.person { padding: 10px 12px; border-radius: var(--g-r-md); background: var(--g-in-fill); border: 1px solid var(--g-in-line); }
.person .ph { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.person .pn { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.person .pn b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* the draft */
.onclock { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; border-radius: var(--g-r-lg); background: rgba(240,196,25,.10); border: 1px solid rgba(240,196,25,.4); }
.onclock .who2 { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; min-width: 0; }
.onclock .who2 span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin: 10px 0; }
.plate { padding: 6px 10px; border-radius: var(--g-r-md); background: var(--g-in-fill); border: 1px solid var(--g-in-line); font-size: .8rem; height: 48px; }
.plate.up { border-color: rgba(240,196,25,.6); }
.plate .pl1 { display: flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.pickbtn { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; height: 48px; padding: 0 10px; border-radius: var(--g-r-md); cursor: pointer; text-align: left;
  background: var(--g-in-fill); border: 1px solid var(--g-in-line); color: var(--ink); font-size: .84rem; }
.pickbtn:hover { border-color: rgba(240,196,25,.5); }
.pickbtn[disabled] { opacity: .35; cursor: default; }
.pickbtn .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.pickbtn .mn { color: var(--muted); font-size: .74rem; }

/* ------------------------------------------------------------------ ledger */

table.lg { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
table.lg th { text-align: right; color: var(--muted); font-weight: 600; font-size: .74rem; padding: 6px; border-bottom: 1px solid var(--g-in-line); }
table.lg th:first-child, table.lg td:first-child { text-align: left; }
table.lg td { text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--g-in-line); height: 40px; }
table.lg td .nm { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; }
.pos { color: var(--accent); }
.neg { color: var(--due); }
.guessrow { display: grid; grid-template-columns: 110px 1fr 54px; align-items: center; gap: 10px; height: 44px; }
.guessrow input[type=range] { width: 100%; accent-color: var(--accent); }
.reveal { margin-top: 10px; padding: 12px; border-radius: var(--g-r-md); background: var(--g-well); font-size: .88rem; }

/* ------------------------------------------------------------------ setup */

.planpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.plantile { cursor: pointer; padding: 10px; border-radius: var(--g-r-md); background: var(--g-in-fill); border: 1px solid var(--g-in-line); color: var(--ink); text-align: left; }
.plantile.on { border-color: rgba(62,207,178,.8); background: rgba(62,207,178,.12); }
.plantile svg { width: 100%; height: 64px; display: block; margin-bottom: 6px; }
.plantile b { display: block; font-size: .86rem; }
.plantile span { color: var(--muted); font-size: .72rem; }
.prow { display: grid; grid-template-columns: 1fr 118px auto; gap: 8px; align-items: center; min-height: 48px; padding: 4px 0; border-bottom: 1px solid var(--g-in-line); }
.prow .pname { display: flex; align-items: center; gap: 8px; font-weight: 650; min-width: 0; }
.prow .pname span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roomgroup { margin-top: 12px; }
.roomgroup h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.catlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.codebox { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.15rem; font-weight: 700; letter-spacing: .09em; background: var(--g-well); border-radius: var(--g-r-sm); padding: 6px 12px; user-select: all; display: inline-block; }
.warn { color: var(--due); font-size: .8rem; }

.onboard h3 { font-size: 1.15rem; }
.steps { display: grid; gap: 8px; margin: 8px 0 4px; }
.step { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; min-height: 50px; padding: 6px 10px; border-radius: var(--g-r-md); background: var(--g-in-fill); border: 1px solid var(--g-in-line); }
.step .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--g-well); }
.step.done .n { background: var(--accent); color: #04231e; }
.step.now { border-color: rgba(62,207,178,.6); }

/* ------------------------------------------------------------------ sheet */

.scrim { position: fixed; inset: 0; background: rgba(3,6,10,.55); opacity: 0; pointer-events: none; transition: opacity .18s ease; z-index: 40; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 84vh; display: flex; flex-direction: column;
  transform: translateY(104%); transition: transform .22s cubic-bezier(.2,.8,.3,1);
  background: var(--g-sheen), rgba(13,17,24,.95); border-top: 1px solid var(--g-line-strong);
  border-radius: 20px 20px 0 0; box-shadow: 0 -18px 60px rgba(0,0,0,.55);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet.open { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }
.sheet-head h3 { margin: 0; }
.sheet-x { background: transparent; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.sheet-body { overflow-y: auto; padding: 0 16px 16px; -webkit-overflow-scrolling: touch; }
.choosers { display: grid; gap: 6px; }
.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 30px); opacity: 0; z-index: 60; pointer-events: none;
  background: rgba(13,17,24,.95); border: 1px solid rgba(62,207,178,.45); color: var(--ink); padding: 10px 16px; border-radius: 999px;
  font-weight: 650; font-size: .88rem; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ footer */

.pagefoot { max-width: 1180px; margin: 0 auto; padding: 0 16px 30px; color: var(--muted); font-size: .86rem; }
.pagefoot summary { cursor: pointer; font-weight: 650; color: var(--ink); padding: 8px 0; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.foot-grid h4 { color: var(--ink); }
.foot-grid p { margin: 0 0 8px; }
.refs { margin-top: 12px; line-height: 1.6; }
.fineprint { text-align: center; font-size: .78rem; margin-top: 18px; }
.pagefoot a { color: var(--muted); }

@media (min-width: 920px) {
  .sheet { left: auto; right: 18px; bottom: 18px; top: 76px; width: 440px; border-radius: 20px; transform: translateX(118%); max-height: none; }
  .sheet.open { transform: none; }
  #pane-home { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
  #pane-home .housepanel, #pane-home .onboard { grid-column: 1; }
  #pane-home > .panel:not(.housepanel):not(.onboard) { grid-column: 2; }
  #pane-home .housepanel { grid-row: span 2; }
  .stage { height: 440px; }
}
@media (max-width: 640px) {
  main { padding: 12px 10px 30px; }
  .panel { padding: 13px; border-radius: var(--g-r-lg); }
  .topbar { padding: 16px 12px 12px; }
  .topbar h1 { font-size: 1.3rem; }
  .tagline { font-size: .82rem; }
  .methods { grid-template-columns: 1fr; }
  .lot { grid-template-columns: 26px 1fr 62px 96px; }
  .progress .pr { grid-template-columns: 86px 1fr 80px; }
  .guessrow { grid-template-columns: 86px 1fr 48px; }
  .stage { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet, .lot, .toast { transition: none; }
  .btn:active { transform: none; }
}
