/* receipt {"rows":["module/shedding.v1","module/stacks_screen.v1"],"source":"kasten/families/table_games/js/felt.css","source_sha":"f523a7a1780a","writer":"kasten/platform/factory.py","writer_sha":"1a878b7c75b6"} */
/* Table games: what every felt of the family draws the same way (felt.mjs), phone first. Colours are the look rows' tokens.
   Lifted out of the ring's table.css when the second felt came (new_car_sow_009 turn 2). */
.others { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.actor { display: grid; justify-items: center; gap: 4px; padding: 6px 10px; border-radius: 12px; opacity: 0.9; }
.actor.on { outline: 2px solid var(--accent); opacity: 1; }
.actor.gone { opacity: 0.35; }
.actor .name { font-size: 0.9rem; }
.backs { position: relative; }
.backs .n, .stock .n { display: block; text-align: center; font-size: 0.85rem; margin-top: 4px; }
/* look.size (mail #5973 b; sow_034 S4 D2 "+25% on each step", the old car's html.big, surface/app.css:1354-1356, hat.js:39-46): every piece size here is
   times --aa, the one dial Aa sets (menu.css); off, the factor is 1 and nothing moves. Words in rem grow with the page's own size. */
.piece { box-sizing: border-box; --pw: calc(64px * var(--aa, 1)); width: var(--pw); height: calc(92px * var(--aa, 1)); --card-r: 8px; border-radius: var(--card-r); background: var(--card); color: var(--card_ink); border: 0; --pp: 6px; --pp-x: 6px; padding: var(--pp) var(--pp-x);
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35); flex: none; }
.piece .inner { font-size: var(--at-num-size, 1.25rem); font-weight: 700; text-align: left; }
.piece .symbol { font-size: 1.9rem; text-align: right; line-height: 1; }
/* a dress's back (sow_089: its back image on its ground, the old car's look/room.css:173, :248); none, the stripes above */
.piece.back { background: var(--back, repeating-linear-gradient(45deg, var(--accent) 0 6px, var(--card) 6px 12px)) center / cover no-repeat; background-color: var(--back-ground, transparent); }
.piece:not(.tile) .inner { font-family: var(--font-serif, inherit); }   /* the figures in the dress's serif (room.css:156, :162: the old car's .card .ix only); a tile keeps the page's face, as the old car's tiles kept theirs (the old tile felt's app.css:27; mail #3866 fix 3, T5) */
.backs .piece.back, .stock .piece.back { width: calc(44px * var(--aa, 1)); height: calc(62px * var(--aa, 1)); }
/* FS0185 (CG-D-133): the stock and the pile one size, where the game's fitment names it (--fit-pile-card); the 44x62 / 46x64 split goes */
.stock .piece.back { width: calc(var(--fit-pile-card, 44px) * var(--aa, 1)); height: calc(var(--fit-pile-card, 44px) * 1.39 * var(--aa, 1)); }
/* FS0184 THE PEEK (CG-D-259; the old app.css:888-893): the drawn card face up on the stock for the fitment's moment, to the drawer only,
   one run of a CSS animation (no timer); started back by the time already gone, so a repaint never restarts it */
.stock { position: relative; }
.stock .peek { position: absolute; top: 4px; left: 4px; z-index: 3; pointer-events: none; animation: peek var(--fit-peek, 1500ms) linear 1 both, peekflip .25s ease-out 1; }
.stock .peek .piece { --pw: calc(var(--fit-pile-card, 44px) * var(--aa, 1)); width: var(--pw); height: calc(var(--fit-pile-card, 44px) * 1.39 * var(--aa, 1)); --pp: 4px; --pp-x: 5px; padding: var(--pp) var(--pp-x); justify-content: flex-start; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45); }
@keyframes peek { 0%, 88% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes peekflip { from { transform: rotateY(90deg) scale(.9); opacity: .4; } to { transform: none; opacity: 1; } }   /* the house's flip (the old app.css:749-750, :892) */
.stock.dry .piece.back { opacity: .25; box-shadow: none; }   /* an empty stock (Handling draw.from-stock, shared:12) */
.piece.empty { background: none; box-shadow: none; outline: 2px dashed var(--felt_ink); opacity: 0.4; }
.tone-red { color: var(--tone-red); }
.tone-black { color: var(--tone-black); }
.say { display: grid; gap: 8px; justify-items: center; }
/* THE SAY BLOCK KEEPS CLEAR OF THE MORE TAB (look five item 3, CG-D-1660; the robot's 7b03527 shot: the tab covered the end of "...or draw
   one." on the rebuilt felt, the fault four-eyes F1 (#8730) fixed for the draw felt alone). On a phone the room's ONE side tab (menu.css
   .sidetab.more, fixed, right 0, its 44px reach) sits over the right edge at the height a say line can be, on every felt; so every felt's
   say block keeps clear of it, as What next does (screen.css, the end part's F37) and the draw felt's F1 did: the same rule, the same
   number, now one part (fan.css's own copy goes). OLD CAR FIRST: the old room's look/room.css:48 and :56 ("the More tab rests just inside
   the gold line and the table keeps its width clear of it"; "never over a card, a pill or a panel"). The rebuilt felt's tip lines are one
   line cut with "..." and open on a tap (rack.css, THE TIP IS ONE LINE), so there a long line now ends in "..." clear of the tab. */
@media (max-width: 699px) { body:has(.sidetab.more:not([hidden])) main > .say { margin-right: 44px; } }
.banner { display: grid; gap: 6px; justify-items: center; padding: 10px 14px; border-radius: 12px; background: var(--sheet); color: var(--sheet_ink);
  max-width: 528px; text-align: center; }
.banner p { margin: 0; }
.banner .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.banner .answer { padding: 10px 22px; border-radius: 999px; border: 0; font-size: 1rem; background: var(--accent); color: var(--card_ink); }
.banner .answer + .answer { background: none; color: var(--sheet_ink); outline: 1px solid var(--sheet_ink); }
.todo, .count { margin: 0; text-align: center; font-size: 0.95rem; opacity: 0.85; }
.result .how { margin: 0 0 12px; }
.status { margin: 0; text-align: center; font-size: 1.1rem; min-height: 1.4em; }
.hand { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-top: 14px; }
.hand { --lift: 18px; }
/* darken, never see-through (the old app.css:754, sow_013 S2, FS0156): a faded piece on an overlapped hand wears its neighbour's corner */
.hand .piece.dim { filter: brightness(.6) saturate(.4); }
/* THEIR GO IS FULL COLOUR (S3; Carl CG-D-1904, design CG-D-1877 "outside your go everything is full colour"): the their-go rest is gone
   (it was `.hand.wait > .piece { filter: brightness(.8) saturate(.7) }`, the old app.css:758, sow_013 S4 F16); the felts still mark .wait, unpainted */
.hand .piece.live { outline: var(--gold-rim) solid var(--accent); box-shadow: 0 0 var(--gold-glow) var(--accent), 0 2px 4px rgba(0, 0, 0, 0.35); }   /* the stock's gold (above); NEW's ring rule, more particular, keeps its box-shadow and the gold rim sits over it */
.hand .piece.picked { transform: translateY(-18px); outline-width: 3px; }
/* FS0199-0201 / FS0001-0006: the hand, on every felt that lays one (the ring, the trick and the meld screens; stage 1 item 6, CG-D-1353), once fit() has laid it out (the rows or the fan, felt.mjs layHand), each card at its place, the card's
   size the fitment's (--cw); a picked card rises 18px with a gold edge and keeps its layer (FS0155), in a fan along its own tilt (FS0006,
   the old look/savoy.css:108-113: the card turns about its foot, the lift is in the turned frame) */
:is(.ring, .spread) .hand.laid { display: block; position: relative; padding: 0; }
:is(.ring, .spread) .hand.laid > .piece { position: absolute; margin: 0; width: var(--cw); height: calc(var(--cw) * 1.43); padding: calc(var(--cw) * 0.08); --pw: var(--cw); --pp: calc(var(--cw) * 0.08); --pp-x: calc(var(--cw) * 0.08); }
:is(.ring, .spread) .hand.laid > .piece .inner { font-size: var(--at-num-size, calc(var(--cw) * 0.3)); }
:is(.ring, .spread) .hand.laid > .piece .symbol { font-size: calc(var(--cw) * 0.28); }
:is(.ring, .spread) .hand.laid > .piece.picked { transform: translateY(-18px); box-shadow: 0 0 0 3px var(--accent), 0 6px 14px rgba(0, 0, 0, 0.45); }
:is(.ring, .spread) .hand.arc > .piece { transform-origin: 50% 100%; transform: rotate(var(--a, 0deg)); }
:is(.ring, .spread) .hand.arc > .piece.picked { transform: rotate(var(--a, 0deg)) translateY(-18px); }
:is(.ring, .spread) .hand.laid > .piece.picked.sent { transform: translateY(-6px); }
:is(.ring, .spread) .hand.arc > .piece.sent, :is(.ring, .spread) .hand.arc > .piece.picked.sent { transform: rotate(var(--a, 0deg)) translateY(-6px); }
.stacked .pile .piece.fresh { box-shadow: 0 0 0 3px var(--drawn, var(--accent)), 0 0 14px var(--drawn, var(--accent)); }   /* #17 the pile pieces the others played since your last go wear the one blue (felt.mjs sinceYourGo) */
/* NEW (S2 A3a; Carl CG-D-1898, design CG-D-1877, cover MC-D-4175): the piece that just arrived in your hand wears ITS OWN colour, the one look row
   card_game.look.house.new (--new), never BLUE's --drawn; gold (.live's outline, above) sits on top when both. It was FS0184's sky ring, the old
   car's only mark for it (~/card_game/surface/app.css:893 .card.drawn, CG-D-259). Never gold (C15). */
:is(.ring, .spread) .hand .piece.drawn { box-shadow: 0 0 0 var(--new-ring) var(--new, var(--accent)), 0 0 14px var(--new, var(--accent)); }
.spread .hand .piece.must { box-shadow: 0 0 0 3px var(--tone-red); }   /* the must ring wins over the drawn one (the old savoy.css's order) */
/* THE THIRD STATE (the old app.css:755, sow_021 S2.3): the piece you sent, greyed and held 6px up until the answer */
.piece.sent, .hand .piece.picked.sent { filter: grayscale(1) brightness(.7); transform: translateY(-6px); }
/* in flight the darkened pieces step aside, so the grey one is read as sent, not as one more you cannot play (the old LOCK_TABLE, app.js:946-948) */
#app[data-sending] .hand .piece.dim { filter: none; }
/* felt.mjs motion(): played once from the last paint's place, on `translate` so a fan's turn (`transform`) stands; numbers there */
@keyframes arrive { from { translate: 0 24px; opacity: 0; } }
@keyframes land { from { translate: 0 28px; opacity: 0; } }
@keyframes land-other { from { translate: 0 -28px; opacity: 0; } }
@keyframes rise { from { translate: 0 var(--lift, 12px); } }
@keyframes settle { from { translate: 0 calc(-1 * var(--lift, 12px)); } }
.piece.covered .mid, .piece.covered .art, .piece.inked.covered .mid, .piece.inked.covered .art { display: none; }   /* felt.mjs layHand: a covered piece shows its corner only */
@media (prefers-reduced-motion: reduce) { .piece { animation: none !important; } .stock .peek { animation: peek var(--fit-peek, 1500ms) linear 1 both; } }
.bar { display: flex; gap: 10px; justify-content: center; padding-bottom: env(safe-area-inset-bottom); }
.bar button { padding: 12px 28px; border-radius: 999px; border: 0; font-size: 1.1rem; background: var(--accent); color: var(--card_ink); }
.bar button:disabled { opacity: var(--dim); }
.bar .menu { background: none; color: var(--felt_ink); outline: 1px solid var(--felt_ink); }
.result .head { font-size: 1.3rem; font-weight: 700; margin: 0 0 8px; }
.result ol { padding-left: 1.4em; margin: 0 0 16px; }
.again { display: block; text-align: center; padding: 14px; border-radius: 999px; background: var(--accent); color: var(--card_ink); text-decoration: none; }
button.stock { background: none; border: 0; padding: 4px; border-radius: 10px; color: inherit; }
/* THE ONE GOLD WEIGHT (S3; card_game's look #14549: a 2px rim did not read on leather at 320/360): the stock's gold ring, the one gold that read in
   every shot, is the weight of every gold here; its two numbers live once on :root (below) and the stock, the hand, the face-up row, the
   tiles and the pills all read them */
:root { --gold-rim: 3px; --gold-glow: 14px; --new-ring: 3px; }
/* NEW AND GOLD (S3 round 3, the lane's call; the picture half B's dressed gold makes, card_game #14555): on a piece that is both, the gold rim
   steps outside NEW's ring, so it reads piece -> green ring -> gold rim. --new-ring is the spread of NEW's ring, S2's 3px (was written in this
   file :75 and rack.css:44 as `0 0 0 3px var(--new, ...)`); at S3's integration both ring rules read it, value-identical, so the 3px is said once */
.hand .piece.live.drawn { outline-offset: var(--new-ring); }
button.stock.live { outline: var(--gold-rim) solid var(--accent); box-shadow: 0 0 var(--gold-glow) var(--accent); }
button.stock:disabled { opacity: var(--dim); }
/* the table's fan once felt.mjs's fit() has placed it: each piece at its left, the fold's "+N" on the seam after the second (the old felts'
   .more, under both corners) */
.fan.fitted { position: relative; display: block; }
.fan > .piece[hidden] { display: none; }
.fan.fitted > .piece { position: absolute; top: 0; margin-left: 0; }
.fan.fitted > .piece:first-child { position: relative; }
.fan .more { position: absolute; bottom: 2px; z-index: 40; font-size: 0.7rem; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--accent_ink); }
/* TWO SIDES (FS0204/0205/0217; CG-D-688 "the left is just the card game and the right are the coins and the chat and turns etc, far more
   elegant", CG-D-692, ruled CG-D-927; first built sideways only, new_car_sow_010 AMENDMENT-01, NEW-D-095, the old felts' app.css:171-202).
   felt.mjs's fit() names the frame (data-frame="two") from the game's frame rows: every frame but a phone held upright, a laptop and an
   upright iPad too (not a finger only). Held upright the table's side (.lpane) is no box at all, so a phone's one column is as it was.
   The rebuilt felt: the table left (the seats, the sets), you right (the go panel, your rack, the bar), as built. The spread felt: the game
   left (the melds, the stock and the pile, the guide just above YOUR HAND at its foot, the bar), the people right (the coins, the ledger).
   sow_099 cleanup cut: the spread felts are on the platform part (sides.mjs + sides.css) and their rules here are gone (0 nodes matched them,
   every game, 5 frames, measured on 2be81c0); the rebuilt felt still leans on what is left: 21-55k px move without it. */
.lpane { display: contents; }
#app:has(> [data-frame="two"]) { max-width: none; height: 100dvh; min-height: 0; }
.rebuild[data-frame="two"] { flex: 1; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto minmax(0, 1fr);
  column-gap: 16px; }
.rebuild[data-frame="two"] > * { grid-column: 2; min-width: 0; }
.rebuild[data-frame="two"] > .lpane { grid-column: 1; grid-row: 1 / -1; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.rebuild[data-frame="two"] > .lpane > :is(.tablebox, .melds) { flex: 1 1 0; min-height: 200px; overflow-y: auto; overscroll-behavior: contain; align-content: start; }
.rebuild[data-frame="two"] > .bar { align-self: start; }
.rebuild[data-frame="two"] { container: seats / inline-size; }
/* a PHONE on its side (under 520 tall: 844x390, 780x360): the rebuilt felt's go panel 52px and its table's box down to 110px, every one
   still FIXED (its app.css:196-202); the spread's melds box down to 110px */
@media (max-height: 520px) {
  .rebuild[data-frame="two"] > .say { height: 52px; }
  .rebuild[data-frame="two"] > .lpane > :is(.tablebox, .melds) { min-height: 110px; }
}
/* EACH OTHER SEAT IS ONE LINE (the old felt's app.css:118-125, "the phone fits: each other seat is ONE line (name · its backs · the count)";
   card_game G10: at 320 the three seats wrapped to two rows and took ~120px from the table's box). Moved here from rack.css with the
   sideways panes, so it is written once: it holds inside whatever names itself the `seats` container, the rebuilt felt always (rack.css)
   and the spread felt's left pane sideways (above); an upright spread has none, so its seats are as they were. TOP BAR T2: the seats'
   chips are the platform's one chip row (felt.mjs chipRow, its rules at this sheet's foot); what stays a column here is a felt's own
   per-seat row (the trays, the stacks). */
@container seats (min-width: 0) {
  :is(.lpane, .ring) > .others { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; }
}

/* NOTHING A PLAYER ACTS ON BELOW THE FOLD on a phone, every ring felt (card_game #5978 R2, Carl's CG-D-183; robot 25 at 360x641: the hand
   and the go 184-261px under the screen with Aa off, up to 481 with it on). Written once for the felts whose seats go round (the trick
   felt and the shedding felt). The old car's answers: each other seat ONE line on a phone held upright (its app.css:118-125, CG-D-348; the
   seats rule above, its container named here); the table the screen's own height with an 8px bottom edge (sow_034 S6, app.css:1131); the
   hand, the go's line and its buttons keep their whole size; the seats and the turns give the room back, each scrolling in its own box,
   never under one line (the old lpane "scrolls in itself"; its STOP: they shrink, never vanish); 8px between (its phone gap, app.css:1470);
   (the trick felt keeps its middle at today's size under Aa, tricks.css) */
@media (max-width: 599.98px) {
  .ring { container: seats / inline-size; display: flex; flex-direction: column; min-height: 0; gap: 8px; }
  #app:has(> .ring) { height: 100dvh; min-height: 0; box-sizing: border-box; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .ring > .others { flex: 0 1 auto; min-height: 1.6em; overflow-y: auto; }
  .ring > .feed { flex: 0 1 auto; min-height: 1.3em; overflow-y: auto; }
  .ring > .centre { flex: 1 0 auto; }
  .ring > :is(.say, .hand, .bar) { flex: none; }
  /* WHAT NEXT IS A SHEET OVER THE FELT'S FOOT (the old car lane's mule walk e1d1aca4 F2; the first try held on #11186: the page grew and
     scrolled, the top bar went under the rim). The old car laid What next over the table as a sheet at the screen's foot (~/<the old car>/
     surface/hat.js:474-475 the .endcard; app.css:1393-1395 its height the screen's at most, scrolling in itself), so nothing on the table was
     squeezed by it. Here the felt keeps the screen's height and never scrolls; the sheet sits at its foot, over the ONE side tab (30) and
     under every window (screen.mjs zOf, 100 up). Round 2 (the seat's robot on 22196bb: a sheet fixed OVER the foot hid the say line, Game
     over and the last move line wherever the middle stood tall): the sheet now takes its own room at the foot of the column, so what is
     above it is never under it. The seats, the say block (its line, Game over) and the move lines keep their whole size; the middle gives up
     its empty height first (clipped top and foot only: a pile caption that reaches past the side, fan.css C6, stays whole; never the lines); your own pieces and the bar, which the sheet covered, step out while it is up; the
     sheet itself gives way last and scrolls in itself (the old car's). Folded, it is one line in the flow, as before. Paint only. */
  .ring > .whatnext:not(.folded) { flex: 0 1 auto; min-height: 0; margin: auto 0 0; z-index: 31; overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
  .ring:has(> .whatnext:not(.folded)) > :is(.others, .say, .feed) { flex: none; }
  .ring:has(> .whatnext:not(.folded)) > .centre { flex: 1 1 0; min-height: 0; overflow: visible clip; }
  .ring:has(> .whatnext:not(.folded)) > :is(.hand, .me, .which, .bar) { display: none; }
}

/* THE DOOR'S FELT (new_car_sow_022 AMENDMENT-02 D1g; the old door's .pfelt, the old car's login.html:76-139): plays once, then rests.
   Every animation runs one time (never a loop), from the person's own page load; .played (the door was tapped) stops them where they
   rest; .dealing (the tap's wait, sow_066 S2) deals the felt's pieces in from the middle, over and over, until the table comes: the
   button never looks dead. Reduced motion: the still. No timer anywhere. */
.scene { position: relative; display: grid; gap: 10px; justify-items: center; padding: 12px; border-radius: 16px; overflow: hidden;
  background: rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12); cursor: pointer; container-type: inline-size; }
.scene .others { justify-content: space-between; width: 100%; }
.scene .backs { display: flex; }
.scene .backs .piece.back + .piece.back { margin-left: -28px; }
.scene .laid, .scene .hand { display: flex; gap: 6px; justify-content: center; padding-top: 0; }
.scene .piece { --pw: calc(52px * var(--aa, 1)); width: var(--pw); height: calc(74px * var(--aa, 1)); --pp: 4px; --pp-x: 4px; padding: var(--pp) var(--pp-x); }
.scene .piece .inner { font-size: var(--at-num-size, 1rem); }
.scene .piece .symbol { font-size: 1.4rem; }
.scene .fly { animation: scenefly 3.2s ease-in-out 0.5s 1 both; z-index: 1; }
.scene .f1 { animation-delay: 0.8s; }
.scene .f2 { animation-delay: 1.1s; }
@keyframes scenefly { 0%, 12% { translate: 0 90px; opacity: 0.9; } 45% { translate: 0 30px; scale: 1.08; } 70%, 100% { translate: 0 0; scale: 1; opacity: 1; } }
.scene .said { margin: 0; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); animation: scenesaid 3.2s ease-out 1.6s 1 both; }
@keyframes scenesaid { 0%, 40% { opacity: 0; scale: 0.7; } 60% { opacity: 1; scale: 1.08; } 100% { opacity: 1; scale: 1; } }
.scene.played .fly, .scene.played .said { animation: none; }
.scene.dealing { cursor: progress; }
.scene.dealing .piece { animation: scenedeal 1.6s cubic-bezier(0.2, 0.7, 0.3, 1) infinite both; }
@keyframes scenedeal { 0% { translate: 0 -40px; opacity: 0; } 15% { opacity: 1; } 55%, 100% { translate: 0 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scene .fly, .scene .said, .scene.dealing .piece { animation: none; } }
/* THE WELCOME'S PIECES (car|first_minute.welcome-pages; the old door's scenes, the old car's login.html:456-471 and :211, :234-259): placed
   on the door's 300 x 260 stage (screen.css .wst). Page 1 the piece travels from the left phone over the middle one to the right one; page 2
   the last piece lands on the pile; page 3 the hand fans and one piece lifts. Once each, as the page shows; reduced motion holds the end. */
.wst .piece, .wst .piece.inked { position: absolute; --pw: 52px; width: var(--pw); height: 74px; --pp: 4px; --pp-x: 4px; padding: var(--pp) var(--pp-x); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); }
.wst .piece .inner { font-size: var(--at-num-size, 1rem); }
.wst .piece .symbol { font-size: 1.4rem; }
.wst .wpile .piece, .wst .whand .piece { --pw: 68px; width: var(--pw); height: 96px; }
.wst .wpile .piece .inner, .wst .whand .piece .inner { font-size: var(--at-num-size, 1.3rem); }
.wst .wtravel .piece { left: 223px; top: 120px; rotate: 8deg; }
.w1.on .wtravel .wmove { animation: wtravel 1.5s cubic-bezier(0.35, 0.7, 0.35, 1) 0.1s both; }
@keyframes wtravel { 0% { opacity: 0; translate: -198px 0; rotate: -12deg; } 10% { opacity: 1; translate: -198px 0; } 45%, 55% { translate: -99px -80px; rotate: 0deg; }
  100% { opacity: 1; translate: 0 0; rotate: 8deg; } }
.wst .wpile .piece:nth-child(1) { left: 84px; top: 92px; rotate: -8deg; }
.wst .wpile .piece:nth-child(2) { left: 112px; top: 86px; rotate: -3deg; }
.wst .wpile .piece:nth-child(3) { left: 140px; top: 94px; rotate: 9deg; }
.w2.on .wpile .wmove { animation: wland 0.7s cubic-bezier(0.3, 0.8, 0.4, 1) 0.15s both; }
@keyframes wland { from { opacity: 0; translate: 0 120px; rotate: -18deg; } 20% { opacity: 1; } }
.wst .whand .piece:nth-child(1) { left: 20px; top: 156px; rotate: -10deg; }
.wst .whand .piece:nth-child(2) { left: 68px; top: 150px; rotate: -4deg; }
.wst .whand .piece:nth-child(3) { left: 116px; top: 148px; rotate: 2deg; }
.wst .whand .piece:nth-child(4) { left: 164px; top: 152px; rotate: 7deg; }
.wst .whand .piece:nth-child(5) { left: 212px; top: 160px; rotate: 12deg; }
.wst .whand .wmove { translate: 0 -24px; box-shadow: 0 0 0 3px var(--accent), 0 10px 20px rgba(0, 0, 0, 0.45); }
.w3.on .whand .wmove { animation: wlift 0.7s cubic-bezier(0.3, 0.8, 0.4, 1) 0.75s both; }
@keyframes wlift { from { translate: 0 0; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); } }

/* FS0206/0207 THE COIN ROW (CG-D-544/546/603/665, CG-D-952; the old look/room.css:347, :440-441, :456-460, app.css:1731-1741): every player a
   coin in table order, you too; the seat's colour (the look's seat rows); the pie from 12 o'clock, banked solid then this hand's put-down
   lighter; the game's piece at the shoulder with the count; whose go rings, theirs breathes by opacity (4.8s, the compositor's layer,
   none under reduced motion); "bot" in small caps; the tab beside it says the total and drops the ledger. */
.o0 { --sc: var(--seat-0, var(--accent)); } .o1 { --sc: var(--seat-1, var(--accent)); } .o2 { --sc: var(--seat-2, var(--accent)); }
.o3 { --sc: var(--seat-3, var(--accent)); } .o4 { --sc: var(--seat-4, var(--accent)); } .o5 { --sc: var(--seat-5, var(--accent)); } .o6 { --sc: var(--seat-6, var(--accent)); } .o7 { --sc: var(--seat-7, var(--accent)); }
.coins { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.coins .seat { display: grid; grid-template-columns: auto auto; grid-template-areas: "coin tab" "nm nm" "bot bot"; justify-items: center; align-items: center; column-gap: 2px; position: relative; }
.coins .seat.gone { opacity: 0.35; }
.coins .coin { grid-area: coin; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; color: var(--felt_ink); font: inherit; cursor: pointer;
  background: conic-gradient(var(--sc) 0 calc(var(--b) * 360deg), color-mix(in srgb, var(--sc) 45%, transparent) 0 calc((var(--b) + var(--l)) * 360deg), rgba(0, 0, 0, 0.28) 0);
  box-shadow: inset 0 0 0 2px var(--sc); }
.coins .coin::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--felt); }
.coins .coin .ini { position: relative; font-weight: 700; font-size: 1rem; }
.coins .coin .mini { position: absolute; right: -8px; top: -6px; width: 18px; height: 25px; border-radius: 3px; display: grid; place-items: center; transform: rotate(12deg);
  background: repeating-linear-gradient(45deg, var(--accent) 0 3px, var(--card) 3px 6px); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.coins .coin .mini b { font-size: 0.72rem; color: var(--card_ink); background: var(--card); border-radius: 3px; padding: 0 2px; line-height: 1.1; transform: rotate(-12deg); }
.coins .seat.on .coin { outline: 3px solid var(--accent); outline-offset: 2px; }
.coins .seat.on:not(.mine) .coin::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 12px 2px var(--accent); animation: breathe 4.8s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .coins .seat.on .coin::after { animation: none; } }
.coins .tab { grid-area: tab; border: 0; border-radius: 0 999px 999px 0; padding: 2px 8px 2px 6px; font: inherit; font-size: 0.8rem; background: rgba(0, 0, 0, 0.25); color: var(--felt_ink); cursor: pointer; }
.coins .tab.open { background: var(--sc); color: var(--card_ink); }
.coins .nm { grid-area: nm; font-size: 0.85rem; margin-top: 2px; }
.bot { font-size: 0.7rem; font-variant: small-caps; letter-spacing: 0.08em; opacity: 0.8; }   /* a computer's mark: the coin row and the seat chip (felt.mjs seatChip) */
.coins .bot { grid-area: bot; }
.ledger { margin: 6px auto 0; max-width: 528px; padding: 8px 10px; border-radius: 12px; background: var(--sheet); color: var(--sheet_ink); font-size: 0.85rem; overflow-x: auto; cursor: pointer; }
.ledger table { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { padding: 2px 6px; text-align: right; white-space: nowrap; }
.ledger .h { text-align: left; }
.ledger .tot td { font-weight: 700; border-top: 1px solid currentColor; }
.ledger .foot { margin: 6px 0 0; font-size: 0.78rem; opacity: 0.85; }
.chipcard { display: grid; gap: 6px; justify-items: center; text-align: center; }
.chipcard p { margin: 0; }
.chipcard .cc-name { font-weight: 700; font-size: 1.1rem; }
.chipcard .btns { display: flex; gap: 10px; }
.chipcard .answer { padding: 10px 22px; border-radius: 999px; border: 0; font-size: 1rem; background: var(--accent); color: var(--card_ink); }
.way { display: grid; gap: 6px; justify-items: center; margin-top: 10px; }
.way .wayhead { margin: 0; font-weight: 700; }
.way .seg { display: flex; gap: 6px; }
.way button { white-space: nowrap; padding: 8px 18px; border-radius: 999px; border: 1px solid currentColor; background: none; color: inherit; font: inherit; }
.way button[aria-checked="true"] { background: var(--accent); color: var(--accent_ink); border-color: var(--accent); }
.spread .hand .piece.must.picked { box-shadow: 0 0 0 1.5px var(--accent), 0 0 0 4.5px var(--tone-red); }
/* THE DRAWN FACE (class .inked, never .drawn: meld.css:71 owns .drawn = the card just drawn, FS0184 sky; sow_089 S1 step 2, fitting notes P4; PART_003b D1-D3; the old car's look/room.css:161-171). Paint only: no card changes
   size or place (D8). The corner: the inner value in the deck's figure face (Cormorant, lining) over the face's drawn mark; the middle:
   the mark at deck.middle_scale, or the art (an ace; a court's portrait, or its small court under the cut-off: felt.mjs courts()). */
/* THE FACE READS THE POSITION ROWS (card_game_sow_092 v20 s7a B3 round 2; card_game four-eyes #6871 F1, #6878; DEC-D-905, DEC-D-857): the
   part declares into :root exactly nine names, --pos-card-<number|suit|middle>-<x|y|size>, each a UNITLESS share of the card's width, x and
   y measured from the card's top-left corner (border-box). A share is never read straight into a length: the laid hand (the one size the
   rows carry a share for: card_game #6878; sow_092 s1b line 373) states its width (--pw) and padding (--pp top, --pp-x left) beside its
   width and padding, and the middle properties below turn a share into a length on .piece.inked. With no rows a middle property is
   invalid at computed-value time, so every mount takes its fallback = today's value. Every other piece size states --pw: initial beside
   its width (the guaranteed-invalid value: every middle property is invalid on it and no other rule's --pw can leak in), so it stays on
   today's value with the rows set too, until a row carries its share.
     the number: its corner at (x, y), moved from where the padding puts it (left -pp-x, top -pp); its size the .inner's font-size (line-height
       1, as the laid hand's calc(var(--cw) * 0.3)), mounted on every piece size's .inner font-size with that size's value as the fallback.
     the suit: linked below the number; the part resolved its absolute place, so the mark moves with the number and its mount is the shift
       from where the flow puts it (right under the number): across = (suit x - number x) * width, down = (suit y - number y - number
       size) * width (rows 0.08/0.41/0.22 under 0.08/0.08/0.30: across 0, down 0.03 of the width, today's 2px on a 64px card); its size the
       mark's width (today 22% of the piece's content width, at least 9px).
     the middle: x, y, size place the middle mark: .mid becomes a size x size box at (x, y) and the mark fills it; today .mid is the whole
       card (inset 0) with the mark centred, so rows equal to today's give today's place: x 0.28 = (1 - 0.44) / 2; y 0.49 against the laid
       hand's (1.43 - 0.44) / 2 = 0.495 is card_game's accepted rounding.
   card.art reads no name (no row at rung 1): it keeps inset 0. The one lifted skin reads none of these until 1b. */
.piece.inked { position: relative; justify-content: flex-start; }
/* THE GOLD KEYLINE (CG-D-1964, Carl 2026-12-03 "i'd like it back in please"; OLD CAR FIRST ~/card_game/surface/app.css:688, sow_075 P3,
   Carl 2026-10-14 "a faintly visible box inside the card"): ONE line inside every drawn card's edge. Paint only. Its ink, inset and
   weight are the look rows keyline.* (look.table.keyline.*); with no rows the border is invalid and no line is drawn. Its corners are
   the CARD'S CORNERS SCALED (Carl 2026-12-04 option D, 'i really think D looks better to my eye', over the parallel option B): the card's
   own radius (--card-r, stated beside each size's border-radius) times keyline.corner_scale, so each corner of the line is a proportional
   copy of the card's; the gap is the inset along the edges and a touch wider through the bend. The inset is a whole pixel so the four
   sides snap alike (2.5px measured 9/6 device px at 3x). */
.piece.inked::after { content: ""; position: absolute; inset: var(--keyline-inset); border: var(--keyline-width) solid var(--keyline-ink);
  border-radius: calc(var(--card-r, 8px) * var(--keyline-corner_scale)); pointer-events: none; z-index: 2; }
/* THE RULER'S CARD, --pd (CG-D-1962/1963; the look Carl passed on the lab, CG-D-1976 "Rb good"): every share is a share of --pd, the CSS
   width plus the padding each side. The page is border-box (.piece says so; screen.css's `* { box-sizing: border-box }` on every page), so
   the card as drawn is --pw and --pd is 2 x --pp-x WIDER than it: --pd is the card the designer drew (a content-box page), and on a real
   card the parts keep the pixel sizes Carl saw there. The ruler's card sits --pp-x / --pp out past the drawn card's edges, so a place on it
   is taken back by them, the middle's as the number's: the middle is then at the drawn card's true centre (CG-D-1962 "so we centre",
   CG-D-1963; measured on real pages, 0 across and within 0.5px down; 72cfae5 drew it 3-4px right and 1.5-3.8px low). (Measured on real
   pages for new_car's RB four-eyes F2, #15441.) */
.piece.inked, .piece.tile {
  --pd: calc(var(--pw) + 2 * var(--pp-x));
  --at-num-x: calc(var(--ps-number-x) * var(--pd) - var(--pp-x)); --at-num-y: calc(var(--ps-number-y) * var(--pd) - var(--pp));
  --at-num-size: calc(var(--ps-number-size) * var(--pd));
  --at-suit-across: calc((var(--ps-suit-x) - var(--ps-number-x)) * var(--pd));
  --at-suit-down: calc((var(--ps-suit-y) - var(--ps-number-y) - var(--ps-number-size)) * var(--pd));
  --at-suit-size: calc(var(--ps-suit-size) * var(--pd));
  --at-mid-x: calc(var(--ps-middle-x) * var(--pd) - var(--pp-x)); --at-mid-y: calc(var(--ps-middle-y) * var(--pd) - var(--pp));
  --at-mid-size: calc(var(--ps-middle-size) * var(--pd)); }
.piece.inked .inner { position: relative; z-index: 1; left: var(--at-num-x, auto); top: var(--at-num-y, auto); line-height: 1; font-family: var(--deck-figure_font, var(--font-serif, inherit));
  font-weight: var(--deck-figure_weight, 700); font-variant-numeric: lining-nums tabular-nums; }
.piece.inked .symbol { position: relative; z-index: 1; left: var(--at-num-x, auto); top: var(--at-num-y, auto); line-height: 0; text-align: left; }
.piece.inked .symbol .mark { display: block; width: var(--at-suit-size, max(9px, 22%)); aspect-ratio: 1; margin-top: var(--at-suit-down, 2px);
  margin-left: var(--at-suit-across, 0); fill: currentColor; }
/* THE TILE READS ITS ROW (092|RB): its number and symbol take the same middle properties; a tile with no row-bound --pw keeps today's
   (the number's line box today is 1.05 of its size: bound, it is the size, line-height a length = the font size, and the row's 0.022 down
   is the 0.05 the box lost) */
.piece.tile .inner { position: relative; left: var(--at-num-x, auto); top: var(--at-num-y, auto); }
.piece.tile .symbol { position: relative; left: var(--at-num-x, auto); top: var(--at-num-y, auto); margin-top: var(--at-suit-down, 0); margin-left: var(--at-suit-across, 0); }
/* REBIND BEGIN: written by _tools/rebind_css.py from rebind.json and the position rows' names; never hand-edit */
.piece { --ps-number-x: var(--pos-piece-number-x); --ps-number-y: var(--pos-piece-number-y); --ps-number-size: var(--pos-piece-number-size); --ps-suit-x: var(--pos-piece-suit-x); --ps-suit-y: var(--pos-piece-suit-y); --ps-suit-size: var(--pos-piece-suit-size); --ps-middle-x: var(--pos-piece-middle-x); --ps-middle-y: var(--pos-piece-middle-y); --ps-middle-size: var(--pos-piece-middle-size); }
:is(.ring, .spread) .hand.laid > .piece { --ps-number-x: var(--pos-card-number-x); --ps-number-y: var(--pos-card-number-y); --ps-number-size: var(--pos-card-number-size); --ps-suit-x: var(--pos-card-suit-x); --ps-suit-y: var(--pos-card-suit-y); --ps-suit-size: var(--pos-card-suit-size); --ps-middle-x: var(--pos-card-middle-x); --ps-middle-y: var(--pos-card-middle-y); --ps-middle-size: var(--pos-card-middle-size); }
.scene .piece { --ps-number-x: var(--pos-scene-number-x); --ps-number-y: var(--pos-scene-number-y); --ps-number-size: var(--pos-scene-number-size); --ps-suit-x: var(--pos-scene-suit-x); --ps-suit-y: var(--pos-scene-suit-y); --ps-suit-size: var(--pos-scene-suit-size); --ps-middle-x: var(--pos-scene-middle-x); --ps-middle-y: var(--pos-scene-middle-y); --ps-middle-size: var(--pos-scene-middle-size); }
.wst .piece, .wst .piece.inked { --ps-number-x: var(--pos-wst-number-x); --ps-number-y: var(--pos-wst-number-y); --ps-number-size: var(--pos-wst-number-size); --ps-suit-x: var(--pos-wst-suit-x); --ps-suit-y: var(--pos-wst-suit-y); --ps-suit-size: var(--pos-wst-suit-size); --ps-middle-x: var(--pos-wst-middle-x); --ps-middle-y: var(--pos-wst-middle-y); --ps-middle-size: var(--pos-wst-middle-size); }
.wst .wpile .piece, .wst .whand .piece { --ps-number-x: var(--pos-wpile-number-x); --ps-number-y: var(--pos-wpile-number-y); --ps-number-size: var(--pos-wpile-number-size); --ps-suit-x: var(--pos-wpile-suit-x); --ps-suit-y: var(--pos-wpile-suit-y); --ps-suit-size: var(--pos-wpile-suit-size); --ps-middle-x: var(--pos-wpile-middle-x); --ps-middle-y: var(--pos-wpile-middle-y); --ps-middle-size: var(--pos-wpile-middle-size); }
.stock .peek .piece { --ps-number-x: var(--pos-peek-number-x); --ps-number-y: var(--pos-peek-number-y); --ps-number-size: var(--pos-peek-number-size); --ps-suit-x: var(--pos-peek-suit-x); --ps-suit-y: var(--pos-peek-suit-y); --ps-suit-size: var(--pos-peek-suit-size); --ps-middle-x: var(--pos-peek-middle-x); --ps-middle-y: var(--pos-peek-middle-y); --ps-middle-size: var(--pos-peek-middle-size); }
.piece.top { --ps-number-x: var(--pos-top-number-x); --ps-number-y: var(--pos-top-number-y); --ps-number-size: var(--pos-top-number-size); --ps-suit-x: var(--pos-top-suit-x); --ps-suit-y: var(--pos-top-suit-y); --ps-suit-size: var(--pos-top-suit-size); --ps-middle-x: var(--pos-top-middle-x); --ps-middle-y: var(--pos-top-middle-y); --ps-middle-size: var(--pos-top-middle-size); }
.wholerun .piece { --ps-number-x: var(--pos-wholerun-number-x); --ps-number-y: var(--pos-wholerun-number-y); --ps-number-size: var(--pos-wholerun-number-size); --ps-suit-x: var(--pos-wholerun-suit-x); --ps-suit-y: var(--pos-wholerun-suit-y); --ps-suit-size: var(--pos-wholerun-suit-size); --ps-middle-x: var(--pos-wholerun-middle-x); --ps-middle-y: var(--pos-wholerun-middle-y); --ps-middle-size: var(--pos-wholerun-middle-size); }
.run .piece { --ps-number-x: var(--pos-run-number-x); --ps-number-y: var(--pos-run-number-y); --ps-number-size: var(--pos-run-number-size); --ps-suit-x: var(--pos-run-suit-x); --ps-suit-y: var(--pos-run-suit-y); --ps-suit-size: var(--pos-run-suit-size); --ps-middle-x: var(--pos-run-middle-x); --ps-middle-y: var(--pos-run-middle-y); --ps-middle-size: var(--pos-run-middle-size); }
.pile .piece { --ps-number-x: var(--pos-pile-number-x); --ps-number-y: var(--pos-pile-number-y); --ps-number-size: var(--pos-pile-number-size); --ps-suit-x: var(--pos-pile-suit-x); --ps-suit-y: var(--pos-pile-suit-y); --ps-suit-size: var(--pos-pile-suit-size); --ps-middle-x: var(--pos-pile-middle-x); --ps-middle-y: var(--pos-pile-middle-y); --ps-middle-size: var(--pos-pile-middle-size); }
.spread .hand .piece { --ps-number-x: var(--pos-spread_hand-number-x); --ps-number-y: var(--pos-spread_hand-number-y); --ps-number-size: var(--pos-spread_hand-number-size); --ps-suit-x: var(--pos-spread_hand-suit-x); --ps-suit-y: var(--pos-spread_hand-suit-y); --ps-suit-size: var(--pos-spread_hand-suit-size); --ps-middle-x: var(--pos-spread_hand-middle-x); --ps-middle-y: var(--pos-spread_hand-middle-y); --ps-middle-size: var(--pos-spread_hand-middle-size); }
.stacks .piece { --ps-number-x: var(--pos-stacks-number-x); --ps-number-y: var(--pos-stacks-number-y); --ps-number-size: var(--pos-stacks-number-size); --ps-suit-x: var(--pos-stacks-suit-x); --ps-suit-y: var(--pos-stacks-suit-y); --ps-suit-size: var(--pos-stacks-suit-size); --ps-middle-x: var(--pos-stacks-middle-x); --ps-middle-y: var(--pos-stacks-middle-y); --ps-middle-size: var(--pos-stacks-middle-size); }
.stacks.small .piece { --ps-number-x: var(--pos-stacks_small-number-x); --ps-number-y: var(--pos-stacks_small-number-y); --ps-number-size: var(--pos-stacks_small-number-size); --ps-suit-x: var(--pos-stacks_small-suit-x); --ps-suit-y: var(--pos-stacks_small-suit-y); --ps-suit-size: var(--pos-stacks_small-suit-size); --ps-middle-x: var(--pos-stacks_small-middle-x); --ps-middle-y: var(--pos-stacks_small-middle-y); --ps-middle-size: var(--pos-stacks_small-middle-size); }
.stacked .pile .piece.big { --ps-number-x: var(--pos-pile_big-number-x); --ps-number-y: var(--pos-pile_big-number-y); --ps-number-size: var(--pos-pile_big-number-size); --ps-suit-x: var(--pos-pile_big-suit-x); --ps-suit-y: var(--pos-pile_big-suit-y); --ps-suit-size: var(--pos-pile_big-suit-size); --ps-middle-x: var(--pos-pile_big-middle-x); --ps-middle-y: var(--pos-pile_big-middle-y); --ps-middle-size: var(--pos-pile_big-middle-size); }
.stacked .pile .piece.over { --ps-number-x: var(--pos-pile_over-number-x); --ps-number-y: var(--pos-pile_over-number-y); --ps-number-size: var(--pos-pile_over-number-size); --ps-suit-x: var(--pos-pile_over-suit-x); --ps-suit-y: var(--pos-pile_over-suit-y); --ps-suit-size: var(--pos-pile_over-suit-size); --ps-middle-x: var(--pos-pile_over-middle-x); --ps-middle-y: var(--pos-pile_over-middle-y); --ps-middle-size: var(--pos-pile_over-middle-size); }
.rack .piece.tile { --ps-number-x: var(--pos-tile-number-x); --ps-number-y: var(--pos-tile-number-y); --ps-number-size: var(--pos-tile-number-size); --ps-suit-x: var(--pos-tile-symbol-x); --ps-suit-y: var(--pos-tile-symbol-y); --ps-suit-size: var(--pos-tile-symbol-size); --ps-middle-x: initial; --ps-middle-y: initial; --ps-middle-size: initial; }
/* REBIND END */
.piece.inked .mid, .piece.inked .art { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.piece.inked .mid { top: var(--at-mid-y, 0); left: var(--at-mid-x, 0); width: var(--at-mid-size, auto); height: var(--at-mid-size, auto); }
.piece.inked .mid .mark { width: var(--at-mid-size, calc(var(--deck-middle_scale, .44) * 100%)); aspect-ratio: 1; fill: currentColor; }
.piece.inked .art .draw { width: 100%; height: 100%; }
/* a court: its portrait only at its size; else the small court (court.small): Hark's monogram at deck.court_scale of the card's width
   (Carl CG-D-1881/1882: 38%, so the Q's tail clears the corner), or the oval with its letter in the suit's ink (PART_003b D3/M2, the
   accent gold); before fit() has measured, the oval */
.piece.court .art .draw, .piece.court .art .small { display: none; }
.piece.court[data-court="portrait"] .art .draw { display: block; }
.piece.court[data-court="monogram"] .art .small { display: block; width: calc(var(--deck-court_scale, .6) * 100%); aspect-ratio: 1; fill: currentColor; }
.piece.court:not([data-court="portrait"]):not([data-court="monogram"]) .art::before { content: ""; position: absolute; top: 50%; left: 50%;
  width: calc(var(--deck-court_scale, .6) * 100%); aspect-ratio: 68 / 88; transform: translate(-50%, -50%); border-radius: 50%;
  border: 1.5px solid var(--oval_ink, var(--accent)); box-shadow: inset 0 0 0 2px var(--card), inset 0 0 0 2.6px var(--oval_ink, var(--accent)); }
.piece.court:not([data-court="portrait"]):not([data-court="monogram"]) .art::after { content: attr(data-letter); position: relative;
  font: var(--deck-figure_weight, 700) 1.25em/1 var(--deck-figure_font, var(--font-serif, serif)); }
/* THE SECOND CORNER (B4b, Carl CG-D-1897 "both corners at every size"; seat cover MC-D-4174; felt.mjs face): a hand card wears its corner
   twice, the second turned 180 degrees at the bottom right. Paint only: the card keeps its size and place. The second corner is a copy of
   the card's own box (inset 0, the piece's own padding), turned, holding the same .inner and .symbol, so it mirrors the top-left corner at
   every size every felt sets (the 52-wide card too) and no size is typed here. OLD CAR FIRST: ~/card_game/surface/app.css:715-716 (.ix.tl,
   .ix.br rotate(180deg)); an overlapped card hides it (app.css:757, sow_013 S4 F15), here a .covered one. Shown on a hand card alone. */
.piece .corner2 { display: none; }
/* every full card wears it (Carl CG-D-1959 'second corner on', 2026-12-05 'no bottom right number and suit' on a meld game's hand) */
.piece.inked > .corner2 { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-start;
  padding: inherit; box-sizing: border-box; transform: rotate(180deg); pointer-events: none; }
.piece.inked.covered > .corner2 { display: none; }
/* ...and where a card is laid under the next (a run or a pile: the later card paints over this one's foot) or cut to its top (a tight meld
   row's stub, corners only), the second corner would show as slivers past the card over it: none there (new_car's RB four-eyes F3, #15441,
   measured 15/25 and 10/25 of the corner showing under the next card; the scar app.css:757 names). The last card of a run or pile keeps it. */
:is(.run, .pile) > .piece.inked:has(~ .piece) > .corner2, .melds.tight .run .piece.inked > .corner2 { display: none; }
.piece .corner2 > .inner::before { content: attr(data-v); }
/* THE DEALER'S MARK (felt.mjs dealerChip; Carl #5992 item 6, the room's sketch: the old car drew none): a small round chip beside the dealer's
   name, its colours and size the look rows' (--dealer-ground, --dealer-ink, --dealer-size), in em so Aa grows it with the name and a
   small-caps plate keeps it inside its line (robot DEALER: a 10px floor made a 16px chip the plate clipped, over the score). Your own deal:
   on your own chip in the top row, as anyone's (#6074; the mark at your hand's corner is retired). */
.dmark { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; margin: 0 0.3em; vertical-align: middle; flex: none;
  font-size: var(--dealer-size); font-weight: 700; font-style: normal; line-height: 1; letter-spacing: 0; text-transform: none;
  background: var(--dealer-ground); color: var(--dealer-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
/* THE PARTNERS' TINT (felt.mjs pairOf; Carl #5992 item 6, the room's sketch "partners share one tint"): each side's seats wear its tint, the
   look rows' --pair-0 / --pair-1, as a wash under the chip and a bar at its start (felt.mjs seatChip's `partner` field: .seatchip rules below).
   The gold ring stays whose go it is: the tint never draws an outline. */
.pair0 { --pair: var(--pair-0); } .pair1 { --pair: var(--pair-1); }
/* an extra wearing a word (felt.mjs face corner; four-eyes #6271 L4): the word stands in both index corners, one letter under the next, the
   bottom one turned as a real deck's is, and the symbol sits only in the middle (the old car's JOKER_FACE, its app.css:720-724) */
.piece.extra { position: relative; }
.piece.extra .word { width: 1ch; font-size: 0.62rem; font-weight: 700; line-height: 0.92; letter-spacing: 0; word-break: break-all; white-space: normal; text-align: center; }
.piece.extra .symbol.word { position: absolute; right: 4px; bottom: 4px; transform: rotate(180deg); }
.piece.extra .mid { display: grid !important; position: absolute; inset: 0; place-items: center; color: var(--accent); font-size: 1.6rem; pointer-events: none; }
/* TOP BAR T1, THE ONE CHIP (felt.mjs seatChip; MC-D-4134 part 1; Carl's yes on card_game's look sheet #14270, its pill chips): one seat's
   pill, the coin at its start, its name line and its score line beside it. OLD CAR FIRST: the coin is the old car's CHIP B
   (~/card_game/surface/app.css:1723-1800: the seat's colour as the body round a lighter inlay, the initial in the body's hue, the pie from
   12 o'clock banked solid then this hand's put-down a shade down, the rest dark (CG-D-664), whose go a gold ring outside the edge, out laid
   down); the count a badge at the coin's shoulder (hat.js data-n, room.css's ::after badge), the crown above it. A field with nothing to say
   is drawn empty and takes no room. Paint only: no animation, no listener, no call. */
.chiprow { flex: none; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 4px; margin: 4px 0 0; padding: 6px 0 2px; }
/* TOP BAR T2 ROUND 2 THE FIT (card_game #14306, the look sheet's slim row; CG-D-1875 the chip row ~50px): ONE row, every seat a column,
   never wrapping; every chip inside the felt's gutter (#app's own padding: nothing on the rim) */
.chiprow[data-n="1"] { --n: 1; } .chiprow[data-n="2"] { --n: 2; } .chiprow[data-n="3"] { --n: 3; } .chiprow[data-n="4"] { --n: 4; }
.chiprow[data-n="5"] { --n: 5; } .chiprow[data-n="6"] { --n: 6; } .chiprow[data-n="7"] { --n: 7; } .chiprow[data-n="8"] { --n: 8; }
/* the pill: as tall as its coin (32px, 3px air, a 1px edge), one line; the coin leaves 15px at its left for the count's tab */
.seatchip { position: relative; display: flex; align-items: center; gap: 4px; min-width: 0; box-sizing: border-box; height: 40px;
  padding: 3px 6px 3px 2px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--felt_ink) 18%, transparent);
  background: rgba(0, 0, 0, 0.28); color: var(--felt_ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* whose go: the sheet's gold pill (its .chip.go) on that chip only */
.seatchip.on { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 95%, transparent), color-mix(in srgb, var(--accent) 75%, transparent));
  border-color: var(--accent); color: var(--accent_ink, #1a0f0d); }
/* a place that left (T12 ROUND 3 F1, seat MC-D-4151; CHIP 872, CG-D-1865): the chip laid back as it was built (the seat's .actor.gone, 0.35,
   above), its one state word ("left the table", the felt's word row) its second line in place of the score line */
.seatchip.gone { opacity: 0.35; }
.seatchip > .txt:has(> .state) > .scline { display: none; }
/* the word stands on its own line under the coin and the name, the pill's whole width (as it stood under the seat before, and as an open
   hand's line does, below): a 4-seat phone row leaves the words ~25px beside the coin, where "left the table" ran out of the pill (robot,
   T12 round 3: 3 lines in a 34px pill at 320). Only that chip grows, only while a place has left. */
.seatchip:has(> .txt > .state) { height: auto; min-height: 40px; flex-wrap: wrap; row-gap: 0; }
.seatchip > .txt:has(> .state) { display: contents; }
.seatchip > .txt:has(> .state) > .nmline { flex: 1 1 0; min-width: 0; }
.seatchip > .txt > .state { display: block; flex: 1 0 100%; min-width: 0; padding: 0 2px 1px; text-align: center; font-size: calc(9px * var(--aa, 1)); line-height: 1.1; white-space: normal; opacity: 0.9; }
.seatchip [data-chip-field][data-empty] { display: none !important; }   /* nothing to say: no room taken, over any of the chip's own display rules */
/* partners: the side's tint washed over the whole pill (the look rows' --pair-0/1 and --pair-wash), a layer under its contents */
.seatchip > .tint { position: absolute; inset: 0; border-radius: inherit; background: color-mix(in srgb, var(--pair) var(--pair-wash, 26%), transparent); pointer-events: none; }
.seatchip > :not(.tint) { position: relative; }
.seatchip > .coin { display: grid; place-items: center; flex: none; width: 32px; height: 32px; margin-left: 15px; }
.seatchip > .coin > .disc { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle closest-side, color-mix(in srgb, var(--sc) 22%, #faf7f0) 0 70%, var(--sc) calc(70% + 0.5px));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.45); }
.seatchip > .coin.fill > .disc {
  background: radial-gradient(circle closest-side, color-mix(in srgb, var(--sc) 22%, #faf7f0) 0 70%, transparent calc(70% + 0.5px)),
    conic-gradient(var(--sc) 0 calc(var(--b, 0) * 360deg), color-mix(in srgb, var(--sc) 50%, rgba(0, 0, 0, 0.5)) 0 calc((var(--b, 0) + var(--l, 0)) * 360deg), rgba(0, 0, 0, 0.55) 0); }
.seatchip > .coin.out > .disc { filter: saturate(0.12) brightness(0.9); }
.seatchip > .coin > .ini { position: relative; font: 700 15px/1 var(--deck-figure_font, Georgia, "Times New Roman", serif); color: color-mix(in srgb, var(--sc) 30%, #1a120c); }
/* the count: a tab at the coin's top-left, in the 15px the coin leaves, inside the pill, clear of the coin's face and ring */
.seatchip > .coin > .badge { position: absolute; top: -2px; left: -16px; box-sizing: border-box; min-width: 15px; height: 14px; padding: 0 2px; border-radius: 3px;
  display: grid; place-items: center; font: 600 10px/1 system-ui, sans-serif; background: #111; color: var(--felt_ink); border: 1px solid var(--accent); }
.seatchip > .coin > .crown { position: absolute; top: -8px; right: -5px; font-size: 11px; line-height: 1; }
/* sow_099 4.06 YOUR COLOUR MARK (the mule's app.css:1785-1787): a small palette disc at your own coin's foot, the eight colours round it */
.seatchip > .coin > .pick { position: absolute; right: -5px; bottom: -4px; width: 10px; height: 10px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(var(--seat-0, var(--accent)) 0 12.5%, var(--seat-1, var(--accent)) 0 25%, var(--seat-2, var(--accent)) 0 37.5%,
    var(--seat-3, var(--accent)) 0 50%, var(--seat-4, var(--accent)) 0 62.5%, var(--seat-5, var(--accent)) 0 75%, var(--seat-6, var(--accent)) 0 87.5%,
    var(--seat-7, var(--accent)) 0);   /* the table's own seat colours (the .o0-.o7 above), never a colour of its own */
  box-shadow: 0 0 0 1.5px #111, 0 1px 2px rgba(0, 0, 0, 0.6); }
.seatchip > .coin > .pick[data-empty="true"] { display: none; }
.seatchip > .coin > .ring { position: absolute; inset: -2px; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent_ink, #1a0f0d); }
/* READY: a small tick on the coin's foot (the row's ready field; its word is its label) */
.seatchip > .coin > .rtick { position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%;
  background: #3c8a5a; color: #fff; font: 700 9px/1 system-ui, sans-serif; font-style: normal; }
.seatchip > .coin > .rtick::before { content: "\2713"; }
.seatchip > .txt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; line-height: 1.05; }
.seatchip .nmline { display: flex; flex-wrap: nowrap; align-items: center; gap: 3px; min-width: 0;
  font-size: calc(10px * var(--aa, 1)); letter-spacing: 0.06em; font-variant-caps: all-small-caps; }   /* the look sheet's capitals, drawn as small capitals: the words stay the row's ("You") */
.seatchip .nmline > .name { display: block; flex: 0 1 auto; min-width: 0; white-space: nowrap; }
/* the name the chip's room allows (felt.mjs fitChips): whole, else its first word, else its letter */
.seatchip .name > :is(.n1, .n0), .seatchip[data-short="1"] .name > :not(.n1), .seatchip[data-short="2"] .name > :not(.n0) { display: none; }
.seatchip[data-short="1"] .name > .n1, .seatchip[data-short="2"] .name > .n0 { display: inline; }
.seatchip .nmline > :not(.name) { flex: none; }
.seatchip .nmline > .dm > .dmark { margin: 0; font-size: 8px; }
.seatchip .nmline > .bot { font-size: calc(8px * var(--aa, 1)); letter-spacing: 0.1em; opacity: 0.75; font-variant: normal; }
.seatchip .nmline > .tick { font-style: normal; font-weight: 700; font-size: 11px; line-height: 1; color: #7fd39b; }
.seatchip .nmline > .tick::before { content: "\2713"; }
.seatchip .scline { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 0 3px; min-width: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.seatchip .scline:not(:has(> :not([data-empty]))) { display: none; }
.seatchip .scline > .cnum { font-size: calc(13px * var(--aa, 1)); font-weight: 600; }
.seatchip .scline > .plus { font-style: normal; font-size: calc(9px * var(--aa, 1)); opacity: 0.8; }
.seatchip .took.miss { color: var(--tone-red); font-weight: 700; opacity: 1; } .seatchip .took.made { color: var(--tone-green); font-weight: 700; opacity: 1; }   /* sow_099 4.03 bids made or missed (the mule's app.css:1029; the green its --colour-green-300, app.css:238, until a tone.green look row is cut) */
.seatchip .scline > .plus.hot { color: var(--tone-red); font-weight: 700; opacity: 1; }   /* this hand's points at the layout's hot_at or more (was the trick strip's i.hot) */
.seatchip .scline > .took { font-size: calc(10px * var(--aa, 1)); opacity: 0.9; }
.seatchip .scline > .tag { padding: 0 4px; border-radius: 3px; background: #3c8a5a; color: #fff; font: 700 calc(9px * var(--aa, 1))/1.3 system-ui, sans-serif; letter-spacing: 0.04em; font-variant-caps: all-small-caps; }
/* a mark a felt lays on a seat, on the coin's rim, off its face and off the name: the loser's hat at its top-right, the pick felt's tick
   (a seat has picked) at its foot as READY's is (the coin: 2px pad + its 15px + 32px) */
.seatchip > .mark { position: absolute; left: 40px; top: 0; font-size: 11px; line-height: 1; font-style: normal; }
.seatchip > .mark.tick { top: auto; bottom: 1px; display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: #3c8a5a; color: #fff; font: 700 9px/1 system-ui, sans-serif; }
.seatchip > .mark.tick::before { content: "\2713"; }
/* a practice rung's open hand (LEARN (b) step 3): its own line under the chip, the one chip that grows */
.seatchip:has(> .openhand) { height: auto; flex-wrap: wrap; }
/* A TIGHT ROW (card_game #14306 item 1: one line a chip at every count, the name giving way, never the row): where a chip has under 100px
   (measured: felt.mjs fitChips sets data-tight; three seats on a 320 phone, four under 420) the coin is 26px, the count's tab 12px, the words
   a size down and held at it under Aa, and the dealer's D rides the coin's foot, so the name keeps the line's room */
.chiprow[data-tight] .seatchip { gap: 3px; padding: 2px 3px 2px 1px; height: 34px; }
.chiprow[data-tight] .seatchip > .coin { width: 26px; height: 26px; margin-left: 12px; }
.chiprow[data-tight] .seatchip > .coin > .ini { font-size: 12px; }
.chiprow[data-tight] .seatchip > .coin > .badge { left: -13px; min-width: 12px; height: 12px; padding: 0 1px; font-size: 8.5px; }
.chiprow[data-tight] .seatchip .nmline { font-size: 9px; gap: 2px; }
.chiprow[data-tight] .seatchip > .txt { position: static; }
.chiprow[data-tight] .seatchip .nmline > .dm { position: absolute; left: 10px; bottom: 0; z-index: 1; }
.chiprow[data-tight] .seatchip .nmline > .dm > .dmark { font-size: 7px; }
.chiprow[data-tight] .seatchip > .mark { left: 30px; }
.chiprow[data-tight] .seatchip .nmline > .bot { font-size: 7px; }
.chiprow[data-tight] .seatchip .scline { gap: 0 2px; }
.chiprow[data-tight] .seatchip .scline > .cnum { font-size: 10px; }
.chiprow[data-tight] .seatchip .scline > :is(.took, .plus, .tag) { font-size: 8.5px; }
.chiprow[data-tight] .seatchip > .txt > .state { font-size: 8.5px; line-height: 1.05; }
.chiprow[data-tight] .seatchip:has(> .txt > .state) { height: auto; min-height: 34px; }
/* T12 ROUND 3 F2 (card_game #14327, as new_car recommended; seat MC-D-4151 leaves it to card_game's look): under Aa the tight row gives way in
   the NAME first (felt.mjs fitChips: whole, then the first name, then the letter), never in the type: the name and the state word stay at
   their Aa size, never under the Aa-off chip's own (10px, 9px) */
html[data-big] .chiprow[data-tight] .seatchip .nmline { font-size: calc(10px * var(--aa, 1)); }
html[data-big] .chiprow[data-tight] .seatchip > .txt > .state { font-size: calc(9px * var(--aa, 1)); }
.seatchip > .openhand { flex: 1 0 100%; min-width: 0; }
/* cg_sow_099 4.01 the calling card under a sender's chip (moved from the platform's menu.css: it wears the card face, a family word) */
.seatchip > .callcard.callcard { position: absolute; left: 0; top: calc(100% + 4px); z-index: 2; max-width: 180px; padding: 6px 10px; border: 0; border-radius: 8px; text-align: left;
  background: var(--card); color: var(--card_ink); font: 600 13px/125% inherit;   /* 125% of 13px = the 1.25 it had in menu.css (16.25px); aa_size reads 1.25 here as a re-typed step */ overflow-wrap: anywhere;
  box-shadow: 0 0 0 1px var(--accent), inset 0 0 0 3px var(--card), inset 0 0 0 4px color-mix(in srgb, var(--accent) 50%, transparent), 0 10px 24px rgba(0, 0, 0, .55);   /* the mule's svcard: panel face, a gold line in */
  animation: callcard 5s ease both; }
.seatchip > .callcard.react { color: var(--accent); font-size: 16px; }
@keyframes callcard { 0% { opacity: 0; transform: translateY(-6px); } 8%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .seatchip > .callcard { animation: callcard-still 5s step-end both; } @keyframes callcard-still { to { opacity: 0; } } }
/* ONE CARD in a skin's box (Carl 2026-12-05 "they need to just use the cards we put so much effort into"; skin_felt.mjs cardEl): the
   shared face fills the skin's .card box and takes that box's width (--cw) as its own, so the number, suit, middle, portrait and keyline
   sit where every other game's card has them; the box keeps its shadow, the face draws no second one. */
.card.one { overflow: visible; }
.card.one::after { content: none; }
.card.one > .piece.fill { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; --pw: var(--cw, 64px); --pp: calc(var(--cw, 64px) * 0.08); --pp-x: calc(var(--cw, 64px) * 0.08); padding: var(--pp) var(--pp-x); box-shadow: none; border-radius: inherit; }
/* THE BIG COIN (CG-D-1982, Carl 2026-12-05 "72px will be too big on phones but should be fine on iPad in portrait orientation"): on the
   big screen, by the house's own rule (screen.css's pop-up block: upright and 744px or wider, or 900x600 and up), every seat's coin is
   72px and its pill grows to hold it (72 + 3px air + a 1px edge each side = 80px); phones keep the 32px above. Only a row of one to three
   chips, or the people side's one chip a line: four in an upright row at 744px left each pill ~130px and the names ran under the next
   coin (measured 2026-12-05), and a tight row (fitChips' data-tight) keeps its 26px. The marks on the coin's rim scale with it; the words
   a size up on the people side alone (in a row of three the name and its "bot" ran together at 14px). CSS only, +0 calls. */
@media (orientation: portrait) and (min-width: 744px), (min-width: 900px) and (min-height: 600px) {
  .chiprow:is([data-n="1"], [data-n="2"], [data-n="3"]):not([data-tight]) .seatchip,
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip { height: 80px; border-radius: 40px; gap: 8px; padding: 3px 12px 3px 2px; }
  .chiprow:is([data-n="1"], [data-n="2"], [data-n="3"]):not([data-tight]) .seatchip:is(:has(> .txt > .state), :has(> .openhand)),
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip:is(:has(> .txt > .state), :has(> .openhand)) { height: auto; min-height: 80px; }
  .chiprow:is([data-n="1"], [data-n="2"], [data-n="3"]):not([data-tight]) .seatchip > .coin,
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip > .coin { width: 72px; height: 72px; margin-left: 18px; }
  .chiprow:is([data-n="1"], [data-n="2"], [data-n="3"]):not([data-tight]) .seatchip > .coin > .ini,
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip > .coin > .ini { font-size: 34px; }
  .chiprow:is([data-n="1"], [data-n="2"], [data-n="3"]):not([data-tight]) .seatchip > .coin > .badge,
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip > .coin > .badge { left: -19px; min-width: 18px; height: 18px; font-size: 12px; }
  .chiprow:is([data-n="1"], [data-n="2"], [data-n="3"]):not([data-tight]) .seatchip > .coin > .crown,
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip > .coin > .crown { top: -10px; right: -4px; font-size: 18px; }
  .chiprow:is([data-n="1"], [data-n="2"], [data-n="3"]):not([data-tight]) .seatchip > .coin > .pick,
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip > .coin > .pick { width: 16px; height: 16px; right: -3px; bottom: -2px; }
  .chiprow:is([data-n="1"], [data-n="2"], [data-n="3"]):not([data-tight]) .seatchip > .coin > .rtick,
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip > .coin > .rtick { width: 20px; height: 20px; font-size: 12px; }
  .chiprow:is([data-n="1"], [data-n="2"], [data-n="3"]):not([data-tight]) .seatchip > .mark,
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip > .mark { left: 82px; font-size: 16px; }
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip .nmline { font-size: calc(14px * var(--aa, 1)); }
  [data-side="people"] > .chiprow:not([data-tight]) .seatchip .scline > .cnum { font-size: calc(17px * var(--aa, 1)); }
}
