/* Drinkin Winkin over the copied IV frame (css/try.css): DW's navy and gold (duo3 duo.css tokens) for the page, and the
   four layouts of the app inside the device: open wide (two panes + rail), open upright (stacked + rail), closed Duo
   (one pane + rail, the drawn Duo as the recipe has it), one screen (Pro Max, the visitor's own phone or folded Duo: tab bar). */
.try { --mint: var(--gold); --line: rgba(242,179,61,.18); --line-strong: rgba(242,179,61,.35); --ink: #F2EEE4; --ink-soft: #C9CCD8; --ink-dim: #A9B0C6;
  --surface: #18213D; background: #0B1022; font-family: var(--sans); }
.try-bar, .todo { background: #0E1428; }
.try-stage { background: radial-gradient(ellipse 46% 52% at 50% 52%, rgba(242,179,61,.07), rgba(242,179,61,0) 70%); }
.seg { background: #0B1022; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.todo-item[aria-pressed="true"] .todo-tick { background: var(--gold); border-color: var(--gold); }
.todo-tick .ic { width: 15px; height: 15px; opacity: 0; color: var(--gold-ink); stroke-width: 2.4; }
.todo-item[aria-pressed="true"] .todo-tick .ic { opacity: 1; }
.todo-item { text-align: left; }
.todo-head h1 { font: 400 20px/1.3 var(--display); }
.todo-set { margin: 0 0 12px; }
.todo-set .seg { display: flex; }
.todo-set .seg button { flex: 1; justify-content: center; }
.todo-foot .seg button { min-height: 44px; }
.todo-site { color: var(--gold); }
.textlink { color: var(--gold); text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.try-back { color: var(--ink); }
.try-back img { border-radius: 7px; }
.fkey { color: var(--gold); background: #18213D; }
/* the visitor's own one-screen device (critic round 1 item 7): the key is the whole strip under the app (try-core
   IV.keybar(), set here as --kb by try-boot), never over the app's own controls; it does not slide away or move with a drag */
body.phone.own[data-l="phone"] .fkey { top: auto !important; bottom: 0; left: 0; right: 0; width: 100%; height: var(--kb, 44px); padding: 0 !important;
  border-radius: 0; flex-direction: row; gap: 6px; transform: none !important; opacity: 1 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
body.phone.own[data-l="phone"] .fkey::before { display: none; }
/* the own Duo open: the key stays whole in its corner above the rail, never an 8 px sliver (critic round 6, hit area 8 x 56) */
body.phone.own:not([data-l="phone"]) .fkey { transform: none !important; opacity: 1 !important; }
body.phone.own:not([data-l="phone"]) .fkey::before { display: none; }

/* ---------- inside the device ---------- */
.scr { font-family: var(--sans); background: #0D1328; user-select: none; }
.app { position: absolute; inset: 0; }
.app.arriving .screen { animation: dw-arrive .38s cubic-bezier(.2,.8,.2,1); }
@keyframes dw-arrive { from { opacity: .35; transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .app.arriving .screen { animation: none; } }
.screen.dw { width: var(--pw); height: var(--ph); }
.dw .lp-in, .dw .rp-in, .dw .fp-in, .dw .op-in { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 20px; }
.dw :is(.lp-in, .rp-in, .fp-in, .op-in)::-webkit-scrollbar { display: none; }
.dw :is(.lp-in, .rp-in, .fp-in, .op-in) > * { flex: none; }
/* open wide: the two panes take the screen's own height (Safari open wide is 951 x 537, not 669) */
.dw.open .lp, .dw.open .rp { height: 100%; }
/* open upright 669 x 951: the panes stacked at the fold (474), the rail down the right as on the open Duo */
.dw.up .lp { width: calc(100% - 84px); height: 474px; }
.dw.up .rp { left: 0; top: 477px; width: calc(100% - 84px); height: calc(100% - 477px); }
.dw.up .rp > .sky.bleed { left: 0; top: -477px; width: auto; height: 951px; }
.dw.up .lp-in { right: 12px; }
.dw.up .rp-in { left: 20px; right: 12px; }
.dw.up .sb { left: auto; right: 17px; }
.dw.up .vbar { left: auto; right: 11px; }
/* the rail's keys as the app draws them (HomeDock.swift:160-226): 62 pt wide, each key its gold icon over an 11 pt name,
   the lit one's name gold and bold, the others dimmed to 0.72; Friends wears the requests badge; the New card 46 x 64 */
.dw .vbar { width: 62px; left: 887.5px; }
.dw .vgroup.tabs { width: 62px; padding: 12px 0; gap: 2px; }
.dw .tabs .vbtn.rk { width: 58px; height: auto; min-height: 56px; border-radius: 0; background: none; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--gold); opacity: .72; }
.dw .tabs .vbtn.rk.on { opacity: 1; background: none; }
.dw .rk small { font: 500 11px/1.2 var(--sans); color: #F3E6C8; white-space: nowrap; }
.dw .rk.on small { font-weight: 700; color: var(--gold); }
.dw .rk-n { position: absolute; top: 2px; left: 31px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: #B5452F; box-shadow: 0 0 0 2px #1C2647; color: #fff; font: 700 11px/18px var(--sans); font-style: normal; }
.dw .vcard { width: 46px; height: 64px; margin: 4px 0; }
.dw.own.up .lp { height: calc(50% - 2px); } .dw.own.up .rp { top: calc(50% + 1px); height: calc(50% - 1px); }
/* the visitor's own Duo: no drawn status bar; the rail runs the full height */
.dw.own .vbar { top: 12px; }
/* one screen (Pro Max, the visitor's phone, a folded or closed Duo) and the open Duo's Friends / Profile / Games: the
   replica's own phone app in one iframe beside #app (embed.js); on the open Duo it stops at the rail */
.scr > .dw-replica { position: absolute; z-index: 3; left: 0; top: 0; width: 100%; height: 100%; border: 0; background: #070B18; display: block; }
.scr > .dw-replica[hidden] { display: none; }
/* the app's own sheet over a drawn tab: the frame shows only the sheet, over the two panes dimmed as the app dims them */
.scr > .dw-replica.sheet { background: transparent; }
.dw .dw-dim { position: absolute; inset: 0; z-index: 20; background: rgba(4, 7, 16, .5); }
/* New Event over the open Duo: the rail stays live beside it (HomeDock.swift:300 a tab closes the sheet and goes there),
   so the frame leaves the rail's column to the board's rail (critic round 14) */
.scr:has(.dw.rail-up) > .dw-replica.sheet { clip-path: inset(0 72px 0 0); } /* the rail's left edge: b.css .open.d-b .vbar left 879 of 951 */
.scr:has(.dw.up.rail-up) > .dw-replica.sheet { clip-path: inset(0 74px 0 0); }
.dw.rail-up .vbar { z-index: 21; }
/* the lobby's people (DuoEventLeft.swift:158-168): 46 pt faces, names Prompt 13/600 on one line, 58 wide, 12 apart */
.dw .dw-lpeople { display: flex; gap: 12px; overflow-x: auto; padding: 10px 2px 2px; scrollbar-width: none; }
.dw .dw-lp { flex: none; width: 58px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dw .dw-lp small { font: 600 13px/1.3 Prompt, sans-serif; max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw .dw-lpeople + .dw-inv { margin-top: 10px; }
.dw.inapp { background: #070B18; }
/* Profile's wood runs across the whole window, under the rail (DuoMeProfile.swift, critic round 2 D): the frame takes the
   full width and the rail floats over it */
.app:has(> .dw.inapp.under) { z-index: 4; pointer-events: none; }
.dw.inapp.under { background: transparent; pointer-events: none; }
.dw.inapp.under > * { pointer-events: auto; }

/* ---------- screens ---------- */
.dw .ph { align-items: center; }
.dw .ph h1 { font-size: 20px; } /* a side page's h1 = DuoRule.h1 20 (DuoTiles.swift:290) */
.dw .ph:has(+ .dw-seg) h1 { font-size: 32px; line-height: 1.25; } /* the Event title over the strip (DuoEventLeft.swift:106) */
.dw .ph:has(+ .dw-seg) p { font-size: 15px; } /* its line (DuoEventLeft.swift:108) */
.dw .b-figs small { font-size: 13px; } .dw .b-figs b { font-size: 22px; } /* DuoFigureTile (DuoHomeDetail.swift:302-303) */
.dw .b-figs.dw-recapfigs small { font-size: 12px; } .dw .b-figs.dw-recapfigs b { font-size: 20px; } /* recap tile (DuoMoneyRecap.swift:49-50) */
.dw-back { margin-right: 2px; }
.dw .b-seg.dw-seg { grid-template-columns: repeat(5, 1fr); }
.dw .b-seg.dw-seg button { padding: 0 2px; color: #A9B0C6; }
/* DuoTiles.swift:318-341 the picked page: gold words on a 16% gold fill, a 1.5 pt gold line, radius 9 */
.dw .b-seg.dw-seg button.on { color: var(--gold); background: rgba(242,179,61,.16); box-shadow: inset 0 0 0 1.5px var(--gold); border-radius: 9px; font-weight: 600; }
/* DuoEventBills.swift: the Bills as tarot cards (DuoBillCard: the kind art cut 58 tall, Chonburi 14 บิล N, venue 12, chip, total 15) + the add tile */
.dw-bgrid { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dw-bc { display: flex; flex-direction: column; align-items: stretch; text-align: left; border-radius: 16px; overflow: hidden; color: var(--text);
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--hair); }
.dw-bc.on { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 3px rgba(242,179,61,.18); }
.dw-bc-art { height: 58px; overflow: hidden; }
.dw-bc-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.dw-bc-b { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px 10px; min-width: 0; }
.dw-bc-b > b { font: 400 14px/1.3 var(--display); white-space: nowrap; }
.dw-bc-b > small:not(.dw-chip) { max-width: 100%; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-bc-b > span.num { font: 700 15px/1.2 var(--sans); }
.dw-chip { display: inline-block; padding: 4px 7px; border-radius: 5px; font: 600 11px/1.51 var(--sans); white-space: nowrap; color: #F2D58B; background: rgba(242,179,61,.14); } /* .wait: F2D58B on gold 14 %, 11 semibold, 7/4, radius 5 (DuoEventBills.swift:207, 216-236) */
.dw-chip.ok { color: #A6D99B; background: rgba(46,91,51,.5); } /* closed: A6D99B on 2E5B33 50 % (DuoEventBillSide.swift:155) */
.dw-badd { gap: 8px; padding: 12px; }
.dw-badd > b { font: 400 15px/1.3 var(--display); }
.dw-badd .btn { width: 100%; min-height: 44px; }
/* DuoEventBillSide.swift:250-264 ที่ฉันกิน: a tile, pencil, title + sent, chevron */
.dw .b-card.dw-myb { margin-top: 14px; width: 100%; flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; color: var(--text); }
.dw-myb > svg:first-child { color: var(--gold); flex: none; }
.dw-myb > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dw-myb b { font: 600 15px/1.3 var(--sans); }
.dw-myb small { font-size: 12.5px; color: var(--mute); }
.dw-myb > svg:last-child { color: var(--mute); flex: none; }
.dw-items { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.dw-itn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dw-itn b { font-weight: 600; font-size: 14px; line-height: 1.3; }
.dw-itn em { margin-left: 6px; font-style: normal; color: var(--mute); font-weight: 400; }
.dw-itn small { font-size: 12px; color: var(--mute); }
.dw-it > b.num, .dw-line > b.num { flex: none; font-weight: 600; }
/* the tick page by category: TickView.duoTickList (left), DuoTick (right); the table as duo3 p.css .g5-tbl draws it */
.dw-tt { margin-top: 32px; font: 600 32px/1.2 var(--sans); }
.dw-ts { margin-top: 2px; color: var(--mute); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* TickView.swift:101-109: gold capsule, 1.5 pt ring, 14 pt sides, at least 36 tall, 15 semibold gold, 16 pt clock; 16 above it */
.dw-dl { width: fit-content; display: flex; align-items: center; gap: 6px; margin-top: 16px; padding: 0 14px; min-height: 36px; border-radius: 18px;
  background: none; box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); font: 600 15px/1.2 var(--sans); white-space: nowrap; }
.dw-tbl { position: relative; margin-top: 12px; width: 100%; aspect-ratio: 348 / 262; border-radius: 16px; overflow: hidden;
  background: radial-gradient(60% 60% at 50% 45%, #4A4656, #222B4A 70%, #18203E); box-shadow: inset 0 0 0 1.5px rgba(242,179,61,.55); }
/* open upright: the table takes the room left above the fold and keeps its 348:262 (critic round 5: cut at the fold) */
/* (the head above it, title + line + pill, is ~150 px: 170 leaves the pane's foot room) */
.dw.up .lp:has(.dw-tbl) { container-type: size; }
.dw.up .lp-in > .dw-tbl { width: min(100%, calc((100cqh - 170px) * 348 / 262)); align-self: center; }
.dw-tbl-h { position: absolute; z-index: 4; top: 12px; left: 16px; font: 600 15px/1.3 var(--sans); color: #fff; }
.dw-tbl-h em { font-style: normal; color: var(--gold); }
.dw-tbl-me { position: absolute; z-index: 1; left: 50%; top: 9.16%; translate: -50% 0; height: 82%; display: flex; }
.dw-tbl-me > * { height: 100% !important; width: auto !important; }
.dw-tbl-plank { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 24.4%; background: linear-gradient(#4A3420, #2A1C10); border-top: 2px solid var(--gold); }
.dw-tbl-art { position: absolute; z-index: 3; inset: 0; }
.dw-tbl-art img { position: absolute; inset: 0; width: 100%; height: 100%; transition: filter .45s; }
.dw-tbl-art img.g5-g { filter: grayscale(1) brightness(.92); }
/* TickView.swift:305-308: Prompt 14 semibold #C9CFDD, 12 pad, 44 tall, a dashed gold (50%) 1.5 line on 10 corners, no fill */
.dw-tbl-drop { position: absolute; z-index: 5; left: 50%; bottom: 27%; translate: -50% 0; padding: 0 12px; min-height: 44px; display: grid; place-items: center;
  border-radius: 10px; color: #C9CFDD; font: 600 14px/1.2 var(--sans); white-space: nowrap; border: 1.5px dashed rgba(242,179,61,.5); }
.dw-shelf { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
/* TickView.swift:351-376: no tile; art 88 tall (grey and faint once on the table), the gold check 30, bold 15 name, gold 14 price, faces 18, a gold shelf edge */
.dw .dw-cat { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 0 8px; text-align: center; color: #fff;
  background: none; box-shadow: inset 0 -1.5px 0 rgba(242,179,61,.7); border-radius: 0; min-width: 0; }
.dw-cat-a { position: relative; width: 100%; height: 88px; padding-top: 4px; display: flex; align-items: flex-end; justify-content: center; }
.dw-cat-art { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: filter .3s, opacity .3s; }
.dw-cat.on .dw-cat-art { filter: saturate(0); opacity: .3; }
.dw-cat-ck { position: absolute; top: 0; right: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--navy, #141C38); background: var(--gold); }
.dw .dw-cat > b { max-width: 100%; font: 700 15px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw .dw-cat.on > b { color: rgba(255,255,255,.6); }
.dw .dw-cat > small { font: 600 14px/1.3 var(--sans); color: var(--gold); }
.dw-cat-f { display: flex; min-height: 18px; }
.dw-cat-f > * + * { margin-left: -5px; }
.dw .dw-cat:disabled { opacity: .6; }
.dw-mine b.num { transition: color .3s; }
/* DuoTick.swift:145-171: plain paper, radius 6, no torn foot; a row is icon, name, then the faces or ยังไม่มีคนติ๊ก, a
   spacer, the price; my draft's rows on a 0.32 gold wash */
.dw .dw-rcp { margin: 14px 0 0; border-radius: 6px; }
.dw .dw-rcp::after { display: none; }
.dw-rcp .rc-n { flex: none; }
.dw-rcp li > b.num { margin-left: auto; padding-left: 8px; }
.dw-rcp li.me { margin: 0 -8px; padding: 0 8px; border-radius: 4px; background: rgba(242,179,61,.32); }
.dw-roll { margin-top: 8px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.dw-rf { position: relative; flex: none; width: 56px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12.5px; }
.dw-rf:not(.done) .face { filter: grayscale(1); opacity: .45; }
.dw-rf > i { position: absolute; top: 24px; right: 4px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #3D8A3F; }
.dw-rf small { max-width: 56px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.dw-rf em { font-style: normal; font-size: 11px; color: var(--rose); }
.dw-send { flex-direction: column; }
.dw-none { color: var(--mute); font-size: 13px; text-align: center; }
.dw-sent { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; color: #7FC47F; font-weight: 600; }
/* the sent side and the close question (DuoEventBillSide.swift:78-91, 106-145) */
.dw-sentme .face { box-shadow: none; outline: 2px solid var(--gold); outline-offset: 1px; border-radius: 50%; } /* one 2 pt gold ring at padding -3, stroked inside: 1-3 pt out (DuoEventBillSide.swift:78-79) */
.dw-sentme { margin: 4px 0 10px; }
.dw-sharetile { margin: 12px 0; display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; background: rgba(242,179,61,.10); box-shadow: inset 0 0 0 1px rgba(242,179,61,.55); }
.dw-sharetile small { color: var(--mute); font-size: 13px; }
.dw-sharetile small:last-child { font-size: 12px; }
.dw-sharetile b { font: 600 28px/1.15 var(--sans); white-space: nowrap; }
.dw-keys { flex-direction: row; gap: 8px; }
.dw-keys > * { flex: 1; min-height: 44px; }
.btn.ghost { color: var(--text); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--hair); }
.dw-lock { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: rgba(11,28,51,.6); box-shadow: inset 0 0 0 1.5px rgba(242,179,61,.55); }
.dw-shares .pr small { display: block; color: var(--mute); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-net { margin-top: 12px; display: flex; justify-content: space-between; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
.dw-net b:first-child { font-size: 14px; }
.dw-net b:last-child { font-size: 17px; }
.dw-hold { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 12px; touch-action: none; user-select: none; -webkit-user-select: none;
  font: 600 15px/1.2 var(--sans); color: #FFC9BE; background: rgba(185,50,38,.18); box-shadow: inset 0 0 0 1px #F08A7E; }
.dw-hold-f { position: absolute; inset: 0; background: rgba(240,138,126,.35); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }
.dw-shares .pr { min-height: 44px; }
.dw-shares .pr b.num { font-weight: 600; transition: color .3s; }
.dw-note { margin-top: 10px; display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 13px; }
.dw-empty { margin-top: 16px; color: var(--mute); font-size: 14px; text-align: center; }
.dw-line { min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--hair); }
.dw-line > .ic { flex: none; color: var(--gold); }
.dw-step { display: flex; align-items: center; gap: 6px; }
.dw-step b { min-width: 22px; text-align: center; font-weight: 600; }
.dw-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.dw-pick { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 22px; color: var(--text); background: rgba(242,179,61,.08); box-shadow: inset 0 0 0 1px rgba(242,179,61,.45); }
.dw-pick .ic { color: var(--gold); }
.dw-pick small { color: var(--mute); font-size: 12px; }
.dw-opt { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dw-opt > span { font-weight: 600; }
.dw .b-seg.dw-mini { margin-top: 0; display: flex; }
.dw .b-seg.dw-mini button { min-width: 52px; padding: 0 10px; }
.dw-rc { margin-top: 16px; }
.dw .b-foot { margin-top: auto; }
.dw-col { display: flex; flex-direction: column; gap: 10px; }
.dw-open .b-cb { gap: 6px; padding: 12px; }
.dw-open .btn { align-self: flex-start; }
.dw-un { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--rose); font-size: 13px; }
.dw-xs .dw-x { width: 100%; text-align: left; padding: 4px 8px; border-radius: 12px; }
.dw-xs .dw-x.sel { background: rgba(242,179,61,.12); box-shadow: inset 0 0 0 1.5px var(--gold); }
.dw-xs .dw-x b.num { font-weight: 600; }
.dw-qc { margin-top: 14px; }
.dw-qc .qc-qr { width: 190px; }
.dw.wide .rp .dw-qc .qc-qr { width: min(190px, calc(var(--ph) - 330px)); }
.dw-sack { margin: 12px auto 0; width: 60%; }
.dw-sack img { width: 100%; height: auto; }
.dw-kbar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; }
.dw-klist { margin-top: 8px; display: flex; gap: 24px; }
.dw-klist li { display: flex; flex-direction: column; }
/* DuoMoneyRecap.swift:62-64, 86-98: three across 8 apart, an 8 pt dot 6 from the 12 pt label, the amount 17 semibold */
.dw .dw-klist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dw-klist small { display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 12px; white-space: nowrap; }
.dw-klist small i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dw-klist b { font: 600 17px/1.3 var(--sans); }
.dw .b-grid.dw-aws { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }   /* DuoMoneyRecap.swift:107 three across, cardGap 12 */
/* statCard (DuoMoneyRecap.swift:116-131): padding 12, 4 apart; 12 pt gold label; 28 pt face 6 from the 15 semibold name; 17 semibold */
.dw-aw { padding: 12px; gap: 4px; }
.dw-aw small { display: flex; align-items: center; gap: 4px; color: var(--gold); font-size: 12px; font-weight: 400; }
.dw-aw span { display: flex; align-items: center; gap: 6px; }
.dw-aw span > b { font: 600 15px/1.3 var(--sans); }
.dw-aw b.num { font: 600 17px/1.3 var(--sans); }
.dw .dw-recapr > .ph p { font-size: 13.5px; } /* DuoRecapPage's name · day line (DuoMoneyRecap.swift:192) */
.dw-aw span b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* DuoMoneyRecap.swift:138-154 the รายคน tile: gold-tinted, gold ring */
.dw-ptile { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 14px 10px 12px; border-radius: 12px; color: #fff;
  background: rgba(242,179,61,.06); border: 1.5px solid rgba(242,179,61,.5); font: inherit; cursor: pointer; }
.dw-ptile .ic { color: var(--gold); } .dw-ptile b { font: 600 15px/1.5 var(--sans); } .dw-ptile small { color: var(--mute); font-size: 13px; line-height: 1.5; }
.dw .dw-ptile { gap: 8px; padding: 12.5px 8.5px 10.5px; }  /* the 1.5 ring inside the 14/10/12 in, as strokeBorder draws it */   /* DuoMoneyRecap.swift:140-147 VStack spacing 8, 14/12 in: 116 tall with Prompt's lines (critic round 8) */
.dw-ptile.on { background: rgba(242,179,61,.16); }
/* DuoMoneyRecap.swift:220 the group photo's card at 232 wide, whole, 16 under the head */
.dw .gp-tarot { width: 232px; max-width: 100%; margin: 16px 0 0; }
.dw-rpeople { margin-top: 16px; display: grid; gap: 10px; }
.dw-rpeople li { display: flex; align-items: center; gap: 10px; } .dw-rpeople li b:nth-of-type(1) { flex: 1; font-weight: 600; }
.app .toast { position: absolute; z-index: 60; left: 50%; bottom: 96px; translate: -50% 0; max-width: 80%; padding: 10px 16px; border-radius: 12px; background: #F3E6C8; color: var(--paper-ink);
  font: 500 14px/1.35 var(--sans); box-shadow: 0 10px 24px rgba(0,0,0,.45); text-align: center; }
.app[data-l="landscape"] .toast { left: 25%; }
/* โอน cards (DuoMoneySettle.swift:44 `.b-xc`, :84 `.g6-slipt`) */
.dw-xgrid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dw-xc { min-height: 142px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px 10px 12px; border-radius: 10px;
  background: linear-gradient(180deg, #1C2647, #141C38); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--text); }
.dw-xc.sel { box-shadow: inset 0 0 0 2px var(--gold); }
.dw-xc-who { max-width: 100%; font: 600 13px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-xc > b.num { font: 600 15px/1.3 var(--sans); }
.dw-xc .dw-chip { padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--mute); background: rgba(255,255,255,.06); } /* the transfer cards only; the Bill chips are the .wait tone above */
.dw-xc .dw-chip.ok { color: #CDEBC9; background: rgba(61,122,55,.4); }
.dw-sliptile { gap: 8px; background: rgba(242,179,61,.06); box-shadow: inset 0 0 0 1.5px rgba(242,179,61,.5); }
.dw-sliptile .ic { color: var(--gold); }
.dw-sliptile b { font: 600 15px/1.3 var(--sans); }
.dw-sliptile small { font-size: 13px; color: var(--mute); }
/* โอน / สลิป / ภาพรวม (DuoMoneySlips.swift, DuoEventLeft.swift) */
.dw-xs .dw-x { position: relative; }
.dw-xs .dw-x.sent { background: rgba(243,230,200,.07); }
.dw-ok, .dw-dot { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #3D7A37; }
.dw-dot { color: var(--mute); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); }
.dw-dot.ok { color: #fff; background: #3D7A37; box-shadow: none; }
/* DuoEventLeft.swift:274-291: the paid bar in a tile (10/14), an 8 pt capsule on a white .09 track, the line under it */
.dw-bart { margin: 12px 0 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--hair); }
.dw-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.09); overflow: hidden; }
.dw-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #F6BE4C, #E9A932); }
.dw-barline { margin-top: 7px; font-size: 13px; color: var(--mute); }
/* DuoEventLeft.swift:238-248 the invite row: gold user-plus in a 40 tile, Chonburi 15, chevron */
.dw .b-card.dw-inv { margin-top: 10px; width: 100%; flex-direction: row; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; text-align: left; color: var(--text); }
.dw-inv > i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--gold); background: rgba(242,179,61,.12); }
.dw-inv > b { flex: 1; min-width: 0; font: 400 15px/1.3 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-inv > svg { flex: none; color: var(--mute); }
.dw-inv.sel { box-shadow: inset 0 0 0 2px var(--gold); }
.dw-iqr { margin: 14px 0 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dw-iqr > svg { width: 220px; height: 220px; padding: 12px; border-radius: 16px; background: #F3E6C4; }
.dw-iqr figcaption { font: 600 13px/1.3 var(--sans); color: var(--mute); }
.dw .b-card.dw-ilink, .dw .b-card.dw-ippl { margin-top: 10px; flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; }
.dw-ilink > svg { flex: none; color: var(--gold); }
.dw-ilink > span { flex: 1; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-ilink .btn { flex: none; min-height: 36px; }
.dw-ifaces { display: flex; }
.dw-ifaces > * + * { margin-left: -6px; }
.dw-ippl small { font-size: 14px; color: var(--mute); }
/* DuoEventRight.swift:188-203 the person's face 64 in a 2 pt gold ring set 3 out; the chip under the face row */
.dw-pface { flex: none; display: block; width: 64px; height: 64px; border-radius: 50%; outline: 2px solid var(--gold); outline-offset: 1px; } /* the ring out of layout (.overlay padding -3): the name at 64 + 14 */
.dw-pchip { margin-top: 10px; }
.b-figs .gold b { color: var(--gold); }
.dw-ph { gap: 14px; align-items: flex-start; } /* DuoEventRight.swift:59 HStack(alignment: .top, spacing: 14): the name level with the face's top */
.dw-xs li + li { border-top: 1px solid rgba(255,255,255,.08); } /* DuoEventLeft.swift:145-147 a hairline between rows, none above the first */
.dw-ph .ph-t { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dw .dw-sharetile.dw-owe { margin-top: 16px; gap: 4px; } /* duoTile(.on) .padding(.top, 16), VStack spacing 4 (DuoEventRight.swift:205-214) */
.dw-owe > small:first-child { font-size: 13px; } /* the label 13, the rounded line 12 (:206, :210) */
.dw-owe b.num { font: 600 28px/1.25 var(--sans); }
.dw-wide { width: 100%; justify-content: center; margin-top: 10px; }
.dw-foot { display: flex; gap: 8px; padding-top: 14px; }
.dw-foot > * { flex: 1; justify-content: center; }
.dw-file { position: relative; cursor: pointer; }
.dw-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dw-inhand { margin-top: 14px; display: flex; justify-content: center; }
.dw-slipimg { max-width: 100%; max-height: 360px; border-radius: 10px; object-fit: contain; }
.dw-slip { width: min(100%, 260px); padding: 18px 16px 16px; border-radius: 10px; background: #fff; color: #1B2333; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: 0 12px 28px rgba(0,0,0,.4); }
.dw-slip > b { font: 600 15px/1.3 var(--sans); }
.dw-slip > small { font-size: 12px; color: #5E6678; }
.dw-slip-ok { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #3D7A37; }
.dw-slip dl { width: 100%; margin-top: 8px; border-top: 1px dashed #C8CDD8; padding-top: 8px; }
.dw-slip dl div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 22px; }
.dw-slip dt { color: #5E6678; }
.dw-slip-amt { margin-top: 6px; font: 600 24px/1.2 var(--sans); }
.dw-noslip .ic { color: var(--gold); }
.dw-noslip small { color: var(--mute); }
/* a person's receipt paper (DuoEventRight.swift:106-160): parchment F3E6C8, navy ink, 12 pt corners, a 1 pt navy line */
.dw-rcpt { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #F3E6C8; color: #18213D; box-shadow: inset 0 0 0 1px rgba(24,33,61,.25);
  display: flex; flex-direction: column; gap: 8px; }
.dw-rcpt header { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(24,33,61,.15); }
.dw-rcpt header b { flex: 1; min-width: 0; font: 600 15px/1.3 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-rcpt header small { font-size: 12px; color: rgba(24,33,61,.6); }
.dw-rcpt p { display: flex; align-items: center; gap: 8px; min-height: 26px; margin: 0; font-size: 13.5px; }
.dw-rcpt p span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-rcpt p small { font-size: 11.5px; color: rgba(24,33,61,.55); }
.dw-rcpt p b { margin-left: auto; font-weight: 600; }
.dw-rcpt p.ch, .dw-rcpt p.sum { border-top: 1px solid rgba(24,33,61,.15); padding-top: 8px; }
.dw-rcpt p.ch span { font-size: 12.5px; color: rgba(24,33,61,.7); }
.dw-rcpt p.sum { font-size: 14px; font-weight: 700; }
.dw-rcpt p.sum b { font-size: 15px; font-weight: 700; }
/* the open Duo's money pages (DuoMoneySettle.swift): the Bills as gold pills, the sun page's card and figures */
.dw-pills { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; scrollbar-width: none; }
.dw-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; font: 600 13px/1.2 var(--sans); color: var(--gold); background: rgba(242,179,61,.14); box-shadow: inset 0 0 0 1px rgba(242,179,61,.55); white-space: nowrap; }
.dw-sacks { margin: 16px 0 0; border-radius: 12px; background: rgba(255,255,255,.04); overflow: hidden; }
.dw-sun { display: grid; grid-template-columns: 252px 1fr; gap: 16px; align-items: start; margin-top: 16px; }
.dw-shc { --k: .7; width: 252px; margin: 0; border-radius: 12px; box-shadow: 0 0 0 2px var(--gold), 0 14px 30px rgba(0,0,0,.45); }
.dw-sun .b-figs.dw-sunfigs { margin-top: 0; grid-template-columns: 1fr; }
.dw-crowd { position: absolute; translate: -50% 0; }
.btn.rose { color: #fff; background: #B93226; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 4px 10px rgba(0,0,0,.25); }
.btn.off { opacity: .6; pointer-events: none; }
.rp-in:has(> .dw-scroll) { overflow: hidden; } .rp-in > .dw-scroll { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: none; } /* a ScrollView, its foot under it (DuoMoneySettle.swift safeAreaInset) */

/* the host's slip box (DuoMoneySlips.swift:76 DuoSlipRow, :480 DuoSlipPaper, :512 DuoSlipChip, :204 unsent) */
.lp-in:has(> .dw-scroll) { overflow: hidden; } .lp-in > .dw-scroll { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.dw-srs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.dw-sr { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; text-align: left; color: #fff;
  background: #141C36; box-shadow: inset 0 0 0 1.5px rgba(242,179,61,.5); }
.dw-sr.sent { color: var(--navy, #18213D); background: var(--parch); box-shadow: none; }
/* DuoMoneySlips.swift:128-134: picked = a 2 pt gold ring 3 in, inside the row's own 1.5 pt gold-50% edge (an inset shadow
   cannot leave the 3 pt gap, an outline can) */
.dw-sr.sel { outline: 2px solid var(--gold); outline-offset: -5px; }
.dw-sr-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dw-sr-t b { font: 600 16px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-sr-t small { font: 500 13px/1.3 var(--sans); color: var(--mute); } .dw-sr.sent .dw-sr-t small { color: rgba(24,33,61,.62); }
.dw-sp { flex: none; width: 44px; height: 56px; border-radius: 6px; display: grid; place-items: center; color: var(--mute);
  background: rgba(255,255,255,.06); outline: 1.5px dashed rgba(255,255,255,.28); outline-offset: -1.5px; }
.dw-sp.sent { color: #3D7A37; background: #fff; outline: 0; box-shadow: 0 3px 4px rgba(0,0,0,.25); }
.dw-sc { flex: none; padding: 4px 8px; border-radius: 6px; font: 600 12.5px/1.2 var(--sans); color: #B9BED0; background: #2A3352; white-space: nowrap; }
.dw-sc.ok { color: #fff; background: #3D7A37; }
.dw-noslip { margin-top: 16px; padding: 20px; border-radius: 16px; display: grid; justify-items: center; gap: 14px; background: rgba(255,255,255,.04); }
.dw-noslip b { font: 600 17px/1.3 var(--sans); } .dw-noslip small { font: 400 15px/1.3 var(--sans); color: var(--mute); }
.dw-slot { width: 200px; height: 280px; border-radius: 10px; display: grid; place-items: center; color: rgba(242,179,61,.6); outline: 2px dashed rgba(242,179,61,.55); outline-offset: -2px; }
/* the open Duo's sky = the app's StarBand (Theme.swift:88-110): gold dots r 1.9 every 46 pt at (0.2, 0.3), white 0.4 r 1.5
   every 31 pt at (0.7, 0.8), over the board's own ground (critic round 2 C; duo.css drew grey-gold dots every 24) */
.dw .sky { background: radial-gradient(circle at 20% 30%, #F2B33D 0 1.9px, transparent 2.4px) 0 0 / 46px 46px,
  radial-gradient(circle at 70% 80%, rgba(255,255,255,.4) 0 1.5px, transparent 2px) 0 0 / 31px 31px,
  radial-gradient(120% 80% at 70% 0%, #1C2747 0%, #121A33 55%, #0D1328 100%); }
/* self-critic 1: the open Duo's Event and money headings are Prompt semibold (DuoEventLeft.swift:106, DuoMoney.swift:16, DuoTiles.swift:290,
   DuoEventRight.swift:116, SettleUpView.swift:532-535 tag name semibold, figures bold); Chonburi stays on Bill cards and member names */
.dw :is(.ph h1, .rc header b, .t42-plate b) { font-family: var(--sans); font-weight: 600; }
.dw .t42-plate .num { font-family: var(--sans); font-weight: 700; }
/* the covers' ← (MeWood.swift:14-16, DuoRailTop.swift:129 the key at y 92 + 25, x = width - 41): no rail plate, the key alone */
.dw .vbar.cover { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; justify-content: flex-start; padding-top: 92px; }
.dw.own .vbar.cover { padding-top: 80px; }

/* critic round 4 cap 1: Prompt semibold, not Chonburi - ของฉัน 26 (DuoTick.swift:50), its amount 32 (:64-65), the QR card amount 32 (DuoMoneySettle.swift:333) */
.dw .b-t1 { font: 600 26px/1.25 var(--sans); }
.dw :is(.dw-mine .num, .qc-amt) { font: 600 32px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
/* cap 2: the sitting pose on the plank's edge, in front of it (TickView.swift:262-271: top (239-215-41)/262, zIndex 6) */
.dw-tbl-me.up { top: -6.49%; z-index: 6; }
/* cap 3: the QR ask as the Event's top card (EventView.swift:661-681): gold 26 icon in a 44 tile, Prompt 15.5 semibold, the gold house key */
.dw .dw-qa { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 14px 14px 14px 16px; border-radius: 14px; background: linear-gradient(#1B2546, #121A33); box-shadow: inset 0 0 0 1.5px var(--gold), 0 6px 16px rgba(0,0,0,.35); }
.dw .dw-qa .qa-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgba(232,184,76,.12); color: var(--gold); }
.dw .dw-qa .qa-t { flex: 1; min-width: 0; }
.dw .dw-qa .qa-t b { font: 600 15.5px/1.35 var(--sans); color: #FFF4DA; }
.dw .dw-qa .qa-go { flex: none; }
/* cap 4: StepRail (TransferSheet.swift:374-407): two 38 circles joined by a 2 pt line, green done, gold ring now, coral when no QR */
.dw .dw-steps { position: relative; display: flex; margin: 18px 0 0; padding: 0; list-style: none; }
.dw .dw-steps::before { content: ''; position: absolute; left: 25%; right: 25%; top: 18px; height: 2px; background: rgba(255,255,255,.18); }
.dw .dw-steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 13px/1.3 var(--sans); color: #8F97AD; text-align: center; }
.dw .dw-steps i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #232D4E; box-shadow: inset 0 0 0 2px rgba(255,255,255,.16); color: #8F97AD; }
.dw .dw-steps .now { color: #fff; }
.dw .dw-steps .now i { background: #18213D; box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold); }
.dw .dw-steps .now.warn, .dw .dw-steps .now.warn i { color: #FF9B8A; }
.dw .dw-steps .now.warn i { box-shadow: inset 0 0 0 2px #FF9B8A; }
.dw .dw-steps .done { color: #C9CEDB; }
.dw .dw-steps .done i { background: #3D7A37; box-shadow: inset 0 0 0 2px #3D7A37; color: #fff; }
.toast .nw { white-space: nowrap; } /* a notice word kept whole (app.js renderApp) */
/* critic round 7, open Duo left column as the app */
.dw .b-figs { gap: 12px; } .dw .b-figs > div { padding: 12px; }       /* DuoFigureTile padding 12 (DuoHomeDetail.swift:306), DuoRule.cardPadding/cardGap 12 (DuoTiles.swift:287-288) */
.dw .b-figs small, .dw .b-figs b { line-height: 1.5; }                 /* Prompt's own line height: tile ~78 (critic) */
.dw .dw-xs .dw-x { min-height: 52px; }                                     /* person row frame(minHeight: 52) (DuoEventLeft.swift:220) */
.dw .sh { margin: 24px 0 8px; }                                        /* DuoMeSection top 24, bottom 8 (DuoMeFace.swift:87-88) */
.dw-aw small, .dw-aw span > b, .dw-aw b.num { line-height: 1.5; }      /* stat cards 104/115 with Prompt's line height (DuoMoneyRecap.swift:117-131) */
/* ของฉัน card: duoBigCard (DuoTick.swift:59-70, :179-183): padding 14/16, spacing 2, 12 pt labels, 32 semibold amount */
.dw .dw-mine { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(242,179,61,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.dw .dw-mine small { font: 400 12px/1.5 var(--sans); color: var(--mute); }
.dw .dw-mine .num { line-height: 1.5; }
.dw .nw { white-space: nowrap; }                                       /* the QR ask breaks "...QR / Code ของคุณ" as the app */
/* ---------- round 25: the open-Duo Bill page as the app's (critic round 20) ---------- */
/* a side's content 16 pt under its title (DuoEventRight.swift:64 content.padding(.top, 16)) */
.dw .dw-col { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.dw .dw-col > * { margin-top: 0; margin-bottom: 0; }
/* DuoReceipt (DuoEventRight.swift:113-161): parchment, radius 12, navy 25% edge, 12/14 padding, 8 between rows */
.dw .dw-rcs { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; color: #18213D; background: #F3E6C8; box-shadow: inset 0 0 0 1px rgba(24,33,61,.25); }
.dw-rcs header { display: flex; align-items: baseline; gap: 8px; }
.dw-rcs header b { flex: 1; min-width: 0; font: 600 15px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-rcs header small { font-size: 12px; color: rgba(24,33,61,.6); white-space: nowrap; }
.dw-rcs .dw-rule { display: block; height: 1px; background: rgba(24,33,61,.15); }
.dw-rcs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dw-rcs li { min-height: 26px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.dw-rcs li .rc-n { flex: none; max-width: 60%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-rcs li.mine .rc-n { color: #8A5A00; }
.dw-rcs li > b.num { margin-left: auto; padding-left: 4px; font-weight: 600; white-space: nowrap; }
.dw-rcs .faces { flex: none; display: flex; align-items: center; }
.dw-rcs .faces > * + * { margin-left: -6px; }
.dw-rcs .faces .more { margin-left: 10px; font-size: 11px; font-weight: 600; opacity: .8; }
.dw-rcs p { margin: 0; display: flex; justify-content: space-between; gap: 4px; }
.dw-rcs .dw-rcs-c span { font-size: 12.5px; color: rgba(24,33,61,.7); }
.dw-rcs .dw-rcs-c b { font-size: 13px; font-weight: 400; }
.dw-rcs .dw-rcs-t b:first-child { font-size: 14px; font-weight: 700; }
.dw-rcs .dw-rcs-t b:last-child { font-size: 15px; font-weight: 700; }
/* รายงานตัว (DuoEventBillSide.swift:267-296): 36 pt faces 8 apart, the rest at 55 %, a 17 pt check top right, the names line */
.dw-rc2 { display: flex; align-items: flex-start; gap: 10px; }
.dw-rc2-f { flex: none; display: flex; gap: 8px; }
.dw-rf2 { position: relative; flex: none; }
.dw-rf2:not(.done) { opacity: .55; }
.dw-rf2 > i { position: absolute; top: -3px; right: -3px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #A6D99B; }
.dw-rc2-w { flex: 1; min-width: 0; text-align: right; font-size: 12px; color: #9FB0D6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* the sent side's head: my 64 face left of the h1, 14 apart (DuoEventRight.swift:59-63) */
.dw .dw-lead { display: flex; align-items: flex-start; gap: 14px; } /* HStack(alignment: .top) (DuoEventRight.swift:59) */
.dw .dw-lead .dw-sentme { margin: 0; flex: none; }
/* the close question: the lock 20 pt below the pane top, 12 above the h1 (DuoEventRight.swift:58, 70) */
.dw .dw-askp .dw-lock { margin: 20px 0 12px; }
.dw .dw-askp .dw-lock + .ph { padding-top: 0; } /* above.padding(.bottom, 12) is the whole gap to the h1 (DuoEventRight.swift:58) */
.dw .dw-col > .dw-chip { align-self: flex-start; } /* the chip hugs its text (DuoEventBills.swift:211-221) */
.dw-g5s { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dw-g5 { position: relative; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 10px; border-radius: 10px; color: #2A2216; background: #F3E6C8; }
.dw-g5.me { box-shadow: inset 0 0 0 3px var(--gold), 0 0 0 1.5px rgba(242,179,61,.4); }
.dw-g5-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dw-g5-t > b { font: 600 15px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-g5-t small { font-size: 12px; color: #6A5B40; white-space: nowrap; }
.dw-gchips { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; }
.dw-gchip { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 10px; font: 500 12px/1 var(--sans); font-style: normal; color: var(--gold); background: #18213D; white-space: nowrap; }
.dw-g5 > b.num { font: 600 17px/1 var(--sans); }
/* duoTile (DuoTiles.swift:66-81): radius 16, cobalt glass; .on gold gradient with a 60 % gold edge */
.dw .dw-net { margin-top: 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(rgba(45,99,174,.24), rgba(45,99,174,.12)); align-items: baseline; }
.dw .dw-net b:first-child { font-weight: 700; }
/* plain duoTile (DuoTiles.swift:67, :75, :83): radius 16, cobalt .24 -> .12, a 1 pt 78A0E6 edge at .16; padding 12/14,
   the invite row 8/10/8/12 (DuoEventLeft.swift:246, :290; DuoEventBillSide.swift:130, :261; DuoEventBills.swift:133) */
.dw .b-card.dw-inv, .dw .b-card.dw-myb, .dw .dw-bart, .dw .dw-badd, .dw .dw-net { border-radius: 16px; background: linear-gradient(rgba(45,99,174,.24), rgba(45,99,174,.12)); /* cobalt #2D63AE (Inks.swift:5, DuoTiles.swift:73) */ box-shadow: inset 0 0 0 1px rgba(120,160,230,.16); padding: 12px 14px; }
.dw .b-card.dw-inv { padding: 8px 12px 8px 10px; }
.dw .dw-inv.sel { box-shadow: inset 0 0 0 2px var(--gold); }
.dw .dw-owe small { color: #9FB0D6; } .dw .dw-owe b { color: #fff; } /* DuoInk.sub, white (DuoEventRight.swift:206; DuoTiles.swift:70) */
.dw .dw-ph { align-items: flex-start; } /* N4: beats .dw .ph (:94); DuoEventRight.swift:59 HStack(alignment: .top) */
.dw .dw-sharetile { margin: 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(rgba(242,179,61,.2), rgba(242,179,61,.1)); box-shadow: inset 0 0 0 1.5px rgba(242,179,61,.6); }
/* HoldKey (Hand.swift:292-308): radius 10, a 1.5 edge, the fill a 26 % wash of the ink; let go early and the label turns
   into กดค้างไว้, 16 bold in the ink, for 1.8 s */
.dw .dw-hold { border-radius: 10px; box-shadow: inset 0 0 0 1.5px #F08A7E; transition: transform .2s; }
.dw .dw-hold.down { transform: scale(.97); } /* scaleEffect(down ? 0.97 : 1), settle 0.2 (Hand.swift:312-313) */
.dw .dw-hold-f { background: rgba(255,201,190,.26); transition: transform .3s ease-out; } /* an early lift settles back over 0.3 s (Hand.swift:311-326); the fill itself is driven per frame */ .dw .dw-hold.down .dw-hold-f { transition: none; }
.dw .dw-hold.hint > :not(.dw-hold-f) { opacity: 0; }
.dw .dw-hold.hint::after { content: attr(data-hint); position: absolute; inset: 0; display: grid; place-items: center; font: 700 16px/1 var(--sans); color: #FFC9BE; }
/* DuoTickClosed (DuoTickClosed.swift:40-235) */
.dw-tcl { padding: 32px 0 24px; }
.dw-tcl h1 { margin: 0; font: 600 32px/1.2 var(--sans); }
.dw-tc-sub { margin: 2px 0 16px; font-size: 15px; color: #9FB0D6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-stamp { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 8px 14px; border-radius: 8px; font: 600 17px/1.2 var(--sans); color: #FFC9BE; background: rgba(185,50,38,.18); box-shadow: inset 0 0 0 1.5px rgba(210,73,59,.7); }
.dw-stamp.ok { color: #A6D99B; background: rgba(166,217,155,.16); box-shadow: none; }
.dw-tcs { display: flex; flex-direction: column; gap: 12px; }
.dw .dw-tc { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; text-align: left; color: #18213D; background: #F3E6C8; box-shadow: inset 0 0 0 1.5px var(--gold); }
.dw .dw-tc.on { background: #FFF4D6; box-shadow: inset 0 0 0 4px var(--gold), inset 0 0 0 6px #18213D, inset 0 0 0 8px rgba(242,179,61,.55); }
.dw-tc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dw-tc-t > b { font: 600 15px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-tc > b.num { font: 600 17px/1 var(--sans); }
.dw-tc-paid { font: 700 12.5px/1.2 var(--sans); color: #B93226; }
.dw-tc-no { font-size: 12.5px; color: #8C7B5A; }
.dw-coins { display: flex; }
.dw-coins > * + * { margin-left: -4px; }
.dw-coin { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--gold); background: #18213D; box-shadow: 0 0 0 1.5px var(--gold); }
.dw-tc-tot { margin: 12px 0 0; padding-top: 9px; display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); font-size: 15px; }
.dw-tc-tot b { font: 600 28px/1 var(--sans); color: var(--gold); }
.dw-tcp { padding-top: 16px; }
.dw-tch { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dw-tch > span { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dw-tch b { font: 600 26px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dw-tch small { padding: 0 8px; min-height: 24px; display: inline-flex; align-items: center; border-radius: 8px; font: 600 13px/1 var(--sans); color: #DCE4F7; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.dw-tch small.warn { color: #FFC9BE; background: rgba(185,50,38,.18); box-shadow: inset 0 0 0 1px rgba(210,73,59,.7); }
.dw .dw-tcbig { margin-bottom: 16px; }
.dw-tcbig b { font: 600 32px/1.15 var(--sans); color: var(--gold); }
.dw-tcr { margin: 0; padding: 0; list-style: none; }
.dw-tcr li { min-height: 44px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.dw-tcr li:last-child { border-bottom: 0; }
.dw-tcr li > .ic { color: var(--gold); margin-right: 4px; }
.dw-tcr li b { font: 600 15px/1 var(--sans); }
.dw-tcr li small { font-size: 13px; color: #9FB0D6; }
.dw-tcr li .num { margin-left: auto; font: 600 15px/1 var(--sans); }
.dw-tcr-sum { margin: 0; padding-top: 9px; display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font: 600 15px/1 var(--sans); }
.dw-tcr-sum b { font: 600 20px/1 var(--sans); color: var(--gold); }
.dw-tc-none { font-size: 14px; color: #9FB0D6; }
.dw .dw-wait { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; font: 600 14px/1.3 var(--sans); color: #9FB0D6; text-align: center; }

/* a disabled pose key takes no press: it falls to its row, which takes no focus (app.js), so a field typed in keeps it */
[data-seg] button:disabled { pointer-events: none }
/* the spread's close key on the rail's top, 41 in and 92 + 25 down (DuoRailTop.swift:129), as the covers' round key (:389-390) */
.dw .vbar .vkey:has([data-act=neClose]) { position: absolute; top: -3px; left: 6px; margin: 0 }
.dw.own .vbar .vkey:has([data-act=neClose]) { top: 77px }
/* round 35: the spread's ✕ is DuoFoldedRailKey, 50 x 50 (DuoRailTop.swift:52), its centre still at (910, 117) */
.dw .vbar .vkey [data-act=neClose] { width: 50px; height: 50px }
/* round 36: the drawn glass is the group (duo3 duo.css:63 pads it 3), so the group itself is the 50 x 50 Circle (DuoRailTop.swift:52-55, :112-116); centre kept */
.dw .vbar .vkey:has([data-act=neClose]) { padding: 0; width: 50px; height: 50px; border-radius: 50%; top: 0 }
.dw.own .vbar .vkey:has([data-act=neClose]) { top: 80px }
