/* WORKORDER rev1115d H2: the prototype's "Navy and pink" stylesheet, inside the bidder's shadow root. Changed from the prototype: body{margin:0} becomes :host; .wa block-size 100vh becomes 100%; text-align:start, since the prototype ran in its own page and the hero around the host centres its text. */
:host{display:block;height:100%;text-align:start}
/* WhatsAuction v2 Live design rev1110a: the portal kit.
   Values come from the showroom (packages/api/src/promo/showroom.ts) and the portal's fixed state colours (tokens.css).
   "@container wa (min-width: 900px)" here stands for "@media (min-width: 900px)" in the product. */
.wa{--bg:#F5F7FB;--paper:#FFFFFF;--ink:#19233A;--ink-2:#3B465C;--muted:#5E6A80;--line:#E6EAF1;--line-2:#DCE2EB;--photo:#DFE7F2;--brand:#15203F;--action:#DA0554;--action-ink:#FFFFFF;--win:#1E8E5A;--win-ink:#146C43;--win-soft:#E9F6EF;--win-line:#BFE3CF;--out:#C2410C;--out-ink:#A8370A;--out-soft:#FDF0E9;--out-line:#F3CDB9;--warn-ink:#8A4B08;--warn-soft:#FBF0E1;--fav:#B8860B;--tint:color-mix(in srgb,var(--action) 10%,#FFFFFF);--r-card:16px;--r-ctl:12px;--r-sm:10px;--sh-card:0 5px 18px rgba(19,32,59,.04);--sh-bar:0 -6px 20px rgba(16,27,53,.12);--sh-pop:0 12px 32px rgba(16,27,53,.22);container-type:inline-size;container-name:wa;block-size:100%;background:var(--bg);color:var(--ink);font:15px/1.4 "IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased}
.wa.theme-green{--brand:#0B5D3B;--action:#0B5D3B}
.wa.theme-blue{--brand:#1F5FD6;--action:#1F5FD6}
.wa *{box-sizing:border-box}
:where(.wa) button{font:inherit;color:inherit;cursor:pointer}
.wa svg{flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wa :focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.num{font-variant-numeric:tabular-nums}

/* shell */
.app{position:relative;display:flex;flex-direction:column;block-size:100%;overflow:hidden}
.screen{position:relative;flex:1;display:flex;flex-direction:column;min-block-size:0}
.scroll{flex:1;min-block-size:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
/* rev1116e P1: the copy that fills a phone's first screen: at the list's end the next swipe moves the page (the script marks the end on the host) */
:host([data-listend]) .wa.full .list .scroll{overscroll-behavior-y:auto}
/* rev1116f F1: the way past the sample on a line of its own, unbroken, 44 px to the touch */
.demo .about{display:flex;align-items:center;justify-content:center;inline-size:max-content;max-inline-size:100%;min-block-size:44px;margin:4px auto 0;padding-inline:8px;white-space:nowrap}
.lotpage{display:none;background:var(--bg)}
.app.show-lot .list{display:none}
.app.show-lot .lotpage{display:flex}
.deskbar,.desk-title,.sheet-title{display:none}

/* seller band and the bar under it (both scroll away) */
.band{display:flex;align-items:center;justify-content:center;gap:10px;block-size:58px;background:var(--paper);border-block-end:3px solid var(--brand);color:var(--brand);font-size:18px;font-weight:700}
/* rev1116e P2: the logo and its "Sample" tag in the band (the logo is 2209.8 x 305) */
.walogo{display:block;flex:none;inline-size:min(168px,56cqi);block-size:auto;aspect-ratio:2209.8 / 305}
.tag-sample{padding:2px 8px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.02em}
.who{display:flex;align-items:center;gap:4px;padding:6px 6px 6px 16px;background:var(--paper)}
.who .t{flex:1;min-inline-size:0}
.who .t b{display:block;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.who .t > span{font-size:12px;color:var(--muted)}
.icon-btn{display:grid;place-items:center;flex:none;inline-size:44px;block-size:44px;padding:0;border:0;border-radius:50%;background:none}
.icon-btn svg{inline-size:22px;block-size:22px}

/* sticky head: section strip and filter chips */
.head{position:sticky;inset-block-start:0;z-index:3;background:var(--paper);border-block-end:1px solid var(--line)}
.strip{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:6px 16px 2px;border-block-start:1px solid var(--line)}
.strip a{display:flex;align-items:center;min-block-size:44px;font-size:14px;font-weight:600;color:var(--muted);text-decoration:none}
.strip a.end{justify-content:flex-end}
.strip .now{text-align:center}
.strip .now b{display:inline-flex;align-items:center;gap:8px;font-size:20px;font-weight:700;letter-spacing:-.01em;line-height:1.2}
.strip .now > span{display:block;font-size:12px;color:var(--muted)}
.live-dot{inline-size:9px;block-size:9px;border-radius:50%;background:var(--out);animation:wa-pulse 1.6s ease-in-out infinite}
.chips{display:none;gap:8px;overflow-x:auto;padding:8px 12px 10px;scrollbar-width:none}
.chip{position:relative;flex:none;display:inline-flex;align-items:center;gap:6px;min-block-size:38px;padding:0 13px;border:1px solid var(--line-2);border-radius:999px;background:var(--paper);color:#4C5A73;font-size:13px;font-weight:600;white-space:nowrap}
.chip::after{content:"";position:absolute;inset:-4px 0}
.chip .dot{display:none;inline-size:8px;block-size:8px;border-radius:50%}
.chip.c-out .dot{display:block;background:var(--out)}
.chip.c-win .dot{display:block;background:var(--win)}
.chip.c-out.has{border-color:var(--out-line);background:var(--out-soft);color:var(--out-ink)}
.chip.on,.chip.c-out.has.on{border-color:var(--brand);background:var(--brand);color:#FFFFFF}
.chip.on .dot{background:#FFFFFF}
.conn{padding:8px 16px;background:var(--warn-soft);color:var(--warn-ink);font-size:13px;font-weight:600;text-align:center}

/* lot list */
.lots{display:grid;gap:10px;padding:12px 12px 16px}
.cell{display:flex;flex-direction:column;gap:6px;min-inline-size:0}
.cap{margin:6px 2px 0;font-size:13px;font-weight:600;color:var(--ink-2)}
.group{margin:10px 4px 0;font-size:13px;font-weight:600;color:var(--muted)}
.empty{margin:28px 16px;text-align:center;color:var(--muted);font-size:14px}
.demo{margin:0 16px 18px;font-size:12px;color:var(--muted);text-align:center}
.demo-end{display:grid;gap:10px;justify-items:start;padding:16px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-card)}
.demo-end b{font-size:16px}

/* the lot card */
.lot{position:relative;flex:1;display:grid;align-content:start;gap:10px;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--sh-card)}
.lot.is-win{background:var(--win-soft);border-color:var(--win-line)}
.lot.is-out{background:var(--out-soft);border-color:var(--out-line)}
.lot.is-closed{background:#EEF1F6;box-shadow:none}
.lot.is-closed .ph img{opacity:.6}
.lot.is-closed.is-won{background:var(--win-soft);border-color:var(--win-line)}
.lot.is-closed.is-won .ph img{opacity:1}
.drain{position:absolute;inset-inline:16px;inset-block-end:0;block-size:3px;border-radius:3px 3px 0 0;overflow:hidden}
.drain i{display:block;block-size:100%;border-radius:3px;background:var(--out);transition:width 1s linear}
.lot-main{display:flex;gap:12px;inline-size:100%;padding:0;border:0;border-radius:var(--r-ctl);background:none;text-align:start}
.ph{position:relative;flex:none;display:block;inline-size:84px;block-size:84px;border-radius:var(--r-ctl);overflow:hidden;background:var(--photo)}
.ph img{display:block;inline-size:100%;block-size:100%;object-fit:cover}
.tag{position:absolute;inset-block-start:6px;inset-inline-start:6px;padding:2px 6px;border-radius:6px;background:#FFFFFF;color:var(--brand);font-size:10.5px;font-weight:700;letter-spacing:.02em;line-height:1.4}
.lot-body{flex:1;min-inline-size:0;display:flex;flex-direction:column}
.lt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;padding-inline-end:34px;font-size:15px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
.lm{display:block;margin-block-start:2px;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.figs{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-block-start:auto;padding-block-start:6px}
.fig{display:block;min-inline-size:0}
.fig b{display:block;font-size:20px;font-weight:700;line-height:1.15;letter-spacing:-.01em;white-space:nowrap}
.fig > span{display:block;font-size:12px;color:var(--muted);white-space:nowrap}
.fig.clock{text-align:end}
.fig.is-opening b{color:var(--ink-2);font-weight:600}
.lot.is-hot .fig.clock b{color:var(--out-ink)}
.lot.is-bump .fig.price b{animation:wa-bump .7s ease-out}
.ext{display:inline-block;margin-inline-end:6px;padding:1px 6px;border-radius:6px;background:var(--ink);color:#FFFFFF;font-size:11px;font-weight:700;letter-spacing:0;vertical-align:3px;animation:wa-pop .35s ease-out}
.star{position:absolute;inset-block-start:2px;inset-inline-end:2px;display:grid;place-items:center;inline-size:44px;block-size:44px;padding:0;border:0;border-radius:50%;background:none;color:#8A94A6}
.star svg{inline-size:20px;block-size:20px}
.star.on{color:var(--fav)}
.star.on svg{fill:currentColor}
.foot{display:flex;align-items:center;gap:10px;min-block-size:44px}
.state{flex:1;min-inline-size:0;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;line-height:1.25}
.state svg{inline-size:18px;block-size:18px}
.state small{display:block;font-size:12px;font-weight:400;color:var(--muted)}
.state.s-win{color:var(--win-ink)}
.state.s-out{color:var(--out-ink)}
.state.s-quiet{color:var(--muted);font-weight:500}
.note{margin:0;padding:8px 10px;border-radius:var(--r-sm);font-size:13px;line-height:1.3}
.note.warn{background:var(--warn-soft);color:var(--warn-ink)}
.note.auto{background:var(--paper);border:1px solid var(--win-line);color:var(--win-ink)}
.take{display:flex;align-items:center;justify-content:space-between;gap:8px;inline-size:100%;min-block-size:44px;padding:0 8px 0 12px;border:0;border-radius:var(--r-sm);background:var(--bg);font-size:13px;font-weight:600;text-align:start}
.take svg{inline-size:18px;block-size:18px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-block-size:44px;padding:0 16px;border:0;border-radius:var(--r-ctl);background:var(--action);font-size:15px;font-weight:700;white-space:nowrap;text-decoration:none}
.wa .btn{color:var(--action-ink)}
.wa .btn.ghost{background:var(--paper);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line-2)}
.btn.big{min-block-size:52px;font-size:16px}
.btn.small{min-block-size:44px;padding:0 12px;font-size:13px;font-weight:600}
.btn.small svg{inline-size:18px;block-size:18px}
.btn:disabled{opacity:.5;cursor:not-allowed}
/* Not in the prototype: while a bid is sending the button keeps its full colour, so "Sending…" stays readable (it was 2.0:1) */
.btn:disabled:has(.spin){opacity:1}
.btn:active{transform:translateY(1px)}
.foot .btn{flex:none;min-inline-size:148px}
.spin{inline-size:16px;block-size:16px;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:wa-spin .7s linear infinite}
.link{min-block-size:44px;padding:0;border:0;background:none;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.wa .link{color:var(--brand)}

/* bottom of the list on a phone: my position, which is also the filter, and the alert above it */
.tabs{position:relative;z-index:4;display:flex;gap:4px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:var(--paper);border-block-start:1px solid var(--line);box-shadow:var(--sh-bar)}
.tab{flex:1;min-inline-size:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-block-size:52px;padding:4px 6px;border:0;border-radius:var(--r-ctl);background:none}
.tab.wide{flex:1.7}
.tab > span{font-size:12px;font-weight:500;color:var(--muted);white-space:nowrap}
.tab b{font-size:16px;font-weight:700;line-height:1.2;white-space:nowrap}
.tab.c-out.has > span,.tab.c-out.has b{color:var(--out-ink)}
.tab.c-win.has b{color:var(--win-ink)}
.tab.on{background:var(--brand)}
.tab.on > span,.tab.on b,.tab.c-out.has.on > span,.tab.c-out.has.on b,.tab.c-win.has.on b{color:#FFFFFF}
.pos{flex:1;min-inline-size:0;min-block-size:44px;padding:0;border:0;background:none;text-align:start}
.pos > span{display:block;font-size:12px;color:var(--muted)}
.pos b{display:block;font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.need{display:inline-flex;align-items:center;gap:2px;flex:none;min-block-size:44px;padding:0 8px 0 14px;border:1px solid var(--out-line);border-radius:999px;background:var(--out-soft);font-size:14px;font-weight:700}
.wa .need{color:var(--out-ink)}
.need svg{inline-size:18px;block-size:18px}
.alert{position:absolute;z-index:5;inset-inline:10px;inset-block-end:76px;display:flex;align-items:center;gap:10px;padding:8px 2px 8px 12px;border-radius:var(--r-card);background:var(--ink);color:#FFFFFF;box-shadow:var(--sh-pop);animation:wa-rise .25s ease-out}
.alert > svg{inline-size:22px;block-size:22px;color:#FFB48F}
.alert.t-win > svg{color:#8FE0B8}
.alert .msg{flex:1;min-inline-size:0;font-size:13px;line-height:1.3}
.alert .msg b{display:block;font-size:14px;font-weight:600}
.wa .alert .btn{background:#FFFFFF;color:var(--ink);padding:0 12px;font-size:14px}
.wa .alert .icon-btn{color:#FFFFFF}

/* lot page */
.topbar{display:flex;align-items:center;gap:2px;padding:4px 6px;background:var(--paper);border-block-end:1px solid var(--line)}
.back{display:inline-flex;align-items:center;gap:2px;min-block-size:44px;padding:0 10px 0 4px;border:0;border-radius:var(--r-sm);background:none;font-size:15px;font-weight:600}
.back svg{inline-size:22px;block-size:22px}
.topbar .where{flex:1;text-align:center;font-size:14px;font-weight:600;color:var(--muted)}
.gallery{position:relative;inline-size:100%;aspect-ratio:16 / 10;max-block-size:300px;background:var(--photo)}
.gallery img{display:block;inline-size:100%;block-size:100%;object-fit:cover}
.gallery .tag{inset-block-start:12px;inset-inline-start:12px;padding:4px 9px;border-radius:8px;font-size:12px}
.count-pill{position:absolute;inset-inline-end:12px;inset-block-end:12px;padding:4px 9px;border-radius:8px;background:rgba(16,28,57,.8);color:#FFFFFF;font-size:12px;font-weight:600}
.thumbs{display:flex;gap:8px;padding:10px 16px 0}
.thumb{flex:none;inline-size:60px;block-size:45px;padding:0;border:2px solid transparent;border-radius:var(--r-sm);overflow:hidden;background:var(--photo)}
.thumb.on{border-color:var(--ink)}
.thumb img{display:block;inline-size:100%;block-size:100%;object-fit:cover}
.pad{padding:0 16px 20px}
.pills{display:flex;flex-wrap:wrap;gap:6px;margin-block-end:10px}
.pill{padding:3px 10px;border-radius:999px;background:var(--tint);color:var(--ink);font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.lothead h1{margin:12px 0 0;font-size:22px;font-weight:700;line-height:1.2;letter-spacing:-.01em;overflow-wrap:anywhere}
.lothead p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.lot-acts{display:flex;flex-wrap:wrap;gap:8px;margin-block-start:12px}
.wa .btn.small.on{color:var(--fav)}
.btn.small.on svg{fill:currentColor}
.panel{margin-block-start:14px;padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-card)}
.panel.is-win{background:var(--win-soft);border-color:var(--win-line)}
.panel.is-out{background:var(--out-soft);border-color:var(--out-line)}
.panel h2{margin:0 0 8px;font-size:16px;font-weight:700}
.panel p{margin:0;font-size:14px;color:var(--ink-2)}
.panel .sub{margin:-4px 0 10px;font-size:13px;color:var(--muted)}
.twin{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.twin div > span{display:block;font-size:12px;color:var(--muted)}
.twin b{display:block;font-size:28px;font-weight:700;line-height:1.15;letter-spacing:-.02em;white-space:nowrap}
.twin .end{text-align:end}
.panel.is-hot .twin .end b{color:var(--out-ink)}
.banner{display:flex;align-items:center;gap:8px;margin-block-start:12px;padding:10px 12px;border-radius:var(--r-sm);background:var(--paper);font-size:14px;font-weight:600;line-height:1.3}
.banner svg{inline-size:20px;block-size:20px}
.banner.s-win{color:var(--win-ink)}
.banner.s-out{color:var(--out-ink)}
.banner.s-quiet{background:var(--bg);color:var(--ink-2)}
.panel .note{margin-block-start:10px}
.cost{margin-block-start:12px}
.costrow{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:var(--ink-2)}
.res{flex:none;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600}
.res.ok{background:var(--paper);border:1px solid var(--win-line);color:var(--win-ink)}
.res.no{background:var(--paper);border:1px solid var(--line-2);color:var(--muted)}
.meter{block-size:6px;margin-block-start:6px;border-radius:3px;background:var(--line-2);overflow:hidden}
.meter i{display:block;block-size:100%;border-radius:3px;background:var(--ink)}
.panel .hint{display:flex;gap:6px;margin-block-start:12px;font-size:12.5px;color:var(--muted)}
.hint svg{inline-size:16px;block-size:16px;margin-block-start:1px}
.kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin-block-start:12px;font-size:12px;color:var(--muted)}
.kv b{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.kv .wide{grid-column:1 / -1}
.field{display:grid;gap:4px;margin-block-start:10px}
.field label{font-size:12px;color:var(--muted)}
.field input,.field textarea{inline-size:100%;padding:10px 12px;border:1.5px solid var(--line-2);border-radius:var(--r-sm);background:var(--paper);font:inherit;color:var(--ink);resize:none}
/* Not in the prototype: 16 px so a phone does not zoom in when the box is tapped */
.field input,.field textarea{font-size:16px}
.hrow{display:flex;align-items:baseline;gap:8px;padding:9px 0;border-block-start:1px solid var(--line);font-size:14px}
.hrow:first-child{border-block-start:0;padding-block-start:0}
.hrow b{min-inline-size:76px;font-weight:600}
.hrow .by{flex:1;text-align:end;color:var(--muted)}
.hrow.me .by{color:var(--ink);font-weight:600}
.hrow time{min-inline-size:42px;text-align:end;font-size:12px;color:var(--muted)}
.autotag{padding:0 5px;border:1px solid var(--line-2);border-radius:5px;font-size:11px;color:var(--muted)}
.panel .allin{margin-block-start:10px;font-size:13px}
.takerow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-block-start:12px;padding:6px 6px 6px 12px;border:1px solid var(--line-2);border-radius:var(--r-ctl);background:var(--paper);font-size:14px;font-weight:600}
.bidbar{position:relative;z-index:4;padding:0 12px calc(10px + env(safe-area-inset-bottom));background:var(--paper);border-block-start:1px solid var(--line);box-shadow:var(--sh-bar)}
.barline{display:flex;align-items:center;gap:8px;min-block-size:44px;font-size:13px}
.barline .time{display:inline-flex;align-items:center;gap:5px;flex:none;font-size:15px;font-weight:700}
.barline .time svg{inline-size:16px;block-size:16px}
.barline.is-hot .time{color:var(--out-ink)}
.barline .what{flex:1;min-inline-size:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.barline .what.s-win{color:var(--win-ink)}
.barline .what.s-out{color:var(--out-ink)}
.barline .what.s-quiet{color:var(--muted);font-weight:500}
.bidbar .row{display:flex;gap:10px}
.bidbar .row .btn{flex:1;min-inline-size:0}
.bidbar .row .btn.ghost{flex:0 0 36%}
.bidbar .row .btn.ghost.solo{flex:1}

/* sheets */
.scrim{position:absolute;inset:0;z-index:9;display:flex;align-items:flex-end;justify-content:center;background:rgba(16,24,44,.5);animation:wa-fade .2s ease-out}
.scrim-close{position:absolute;inset:0;inline-size:100%;block-size:100%;border:0;background:none;cursor:default}
.sheet{position:relative;inline-size:100%;max-block-size:94%;overflow-y:auto;padding:8px 16px calc(16px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:var(--paper);box-shadow:var(--sh-pop);animation:wa-rise .25s ease-out}
.grab{inline-size:36px;block-size:4px;margin:0 auto 6px;border-radius:2px;background:var(--line-2)}
.sheet-head{display:flex;align-items:center;gap:8px}
.sheet-head h2{flex:1;margin:0;font-size:18px;font-weight:700}
.sheet-head .icon-btn{margin-inline-end:-10px}
.sheet p{margin:2px 0 0;font-size:14px;color:var(--ink-2)}
.amount{display:flex;align-items:center;gap:8px;block-size:60px;margin-block-start:14px;padding:0 14px;border:2px solid var(--ink);border-radius:var(--r-ctl)}
.amount > span{font-size:22px;font-weight:700;color:var(--muted)}
.amount input{flex:1;min-inline-size:0;border:0;outline:0;background:none;font:inherit;font-size:26px;font-weight:700;color:var(--ink)}
.quick{display:flex;gap:8px;margin-block-start:10px}
.quick .chip{flex:1;justify-content:center;min-block-size:44px}
.quick .chip::after{display:none}
.err{margin-block-start:8px;font-size:13px;font-weight:600}
.wa .sheet .err{color:var(--out-ink)}
.sum{display:grid;gap:6px;margin-block-start:14px;padding:12px;border-radius:var(--r-sm);background:var(--bg);font-size:14px;color:var(--ink-2)}
.sum div{display:flex;justify-content:space-between;gap:10px}
.sum .total{padding-block-start:8px;border-block-start:1px solid var(--line-2);font-weight:700;color:var(--ink)}
.bind{display:flex;gap:8px;margin-block-start:12px}
.wa .sheet .bind{font-size:13px;color:var(--ink-2)}
.bind svg{inline-size:18px;block-size:18px}
.sheet .btn.big{inline-size:100%;margin-block-start:14px}
.how{margin-block-start:6px;font-size:13px;color:var(--ink-2)}
.how summary{display:flex;align-items:center;min-block-size:44px;font-weight:600;color:var(--brand);cursor:pointer}
.how ul{margin:0;padding-inline-start:18px;display:grid;gap:4px}

@keyframes wa-pulse{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes wa-spin{to{transform:rotate(360deg)}}
@keyframes wa-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes wa-fade{from{opacity:0}to{opacity:1}}
@keyframes wa-pop{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}
@keyframes wa-bump{0%{transform:scale(1)}30%{transform:scale(1.12)}100%{transform:scale(1)}}
@media (prefers-reduced-motion: reduce){.wa *{animation:none !important;transition:none !important}}

/* the reference sheet of card states */
.scene-states .band,.scene-states .who,.scene-states .head,.scene-states .tabs,.scene-states .demo{display:none}
.app.scene-states .lotpage{display:none}
.scene-states .sheet-title{display:block;margin:0;padding:20px 16px 0;font-size:22px;font-weight:700;letter-spacing:-.01em}

/* laptop */
@container wa (min-width: 900px){
.app{display:grid;grid-template-columns:minmax(0,1fr) 440px;grid-template-rows:auto minmax(0,1fr)}
.deskbar{grid-column:1 / -1;display:flex;align-items:center;gap:8px;block-size:64px;padding:0 16px 0 24px;background:var(--paper);border-block-end:3px solid var(--brand)}
.brandname{display:flex;align-items:center;gap:10px;color:var(--brand);font-size:18px;font-weight:700}
.deskbar nav{display:flex;gap:4px;margin-inline:auto}
.deskbar nav a{display:flex;align-items:center;block-size:44px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:600;color:var(--muted);text-decoration:none}
.deskbar nav a.on{background:var(--brand);color:#FFFFFF}
.paddle{padding:6px 12px;border-radius:999px;background:var(--tint);font-size:13px;font-weight:700}
.list,.app.show-lot .list{display:flex;min-inline-size:0}
.list .band,.list .who,.list .strip,.tabs{display:none}
.head{background:var(--bg);border-block-end:0}
.chips{display:flex}
.desk-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:20px 24px 4px}
.desk-title h1{margin:0;font-size:24px;font-weight:700;letter-spacing:-.02em}
.desk-title p{margin:2px 0 0;font-size:13px;color:var(--muted)}
.desk-title .side{display:flex;align-items:center;gap:10px}
.desk-title .pos{flex:none;text-align:end}
.chips{padding:10px 24px}
.lots{grid-template-columns:repeat(auto-fill,minmax(min(330px,100%),1fr));gap:14px;padding:4px 24px 28px}
.group,.demo-end,.empty{grid-column:1 / -1}
.lot.is-sel{outline:2px solid var(--brand);outline-offset:-1px}
.scroll{scrollbar-width:thin}
.lotpage,.app.show-lot .lotpage{display:flex;min-inline-size:0;border-inline-start:1px solid var(--line);background:var(--paper)}
.lotpage .panel{background:var(--bg)}
.lotpage .panel.is-win{background:var(--win-soft)}
.lotpage .panel.is-out{background:var(--out-soft)}
.back{display:none}
.topbar{padding-inline-start:16px}
.topbar .where{text-align:start;color:var(--ink)}
.alert{inset-inline:24px auto;inset-block-end:20px;inline-size:400px}
.scrim{align-items:center}
.sheet{max-inline-size:440px;padding-block-start:16px;border-radius:20px}
.grab{display:none}
.app.scene-states{grid-template-columns:minmax(0,1fr)}
.scene-states .deskbar{display:none}
.scene-states .sheet-title{padding:24px 24px 8px;font-size:26px}
}
