/* ================= Tarbieah table v3 (2026-10-17 · Jawaker play style) =================
   One rule for every card game: a big table that fills the screen, two rows of big straight cards under it,
   a slim bar with my avatar, chat / gift and one gold button. No instructions on the table: the deck and the
   pile glow when they can be used, a card is played / thrown by dragging it onto the table / pile (or two taps),
   melds are laid with «انزل». Rules use #app so they beat the game modules' own injected styles. */

/* ---- no instructions inside the game ---- */
#app .scr-table .hand-note,#app .scr-table .pin-note,#app .scr-table .screw-note,#app .scr-table .uno-note,
#app .scr-table .bb-hint,#app .scr-table .hand-steps,#app .scr-table .pin-steps,#app .scr-table .hand-hint{display:none!important}

/* ---- shared hand: rows of big straight cards ---- */
#app .scr-table .fan2{position:relative;direction:ltr;margin:0 auto;flex:none}
#app .scr-table .fan2 .pc{position:absolute;transform:none;touch-action:none;padding:4px 0 0 5px;border-radius:8px;transition:top .16s ease,filter .16s ease;
  box-shadow:0 0 0 1px rgba(0,0,0,.25),0 4px 10px rgba(0,0,0,.45)}
#app .scr-table .fan2 .pc b{font-size:.78em}
#app .scr-table .fan2 .pc .pip{font-size:2.15em}
#app .scr-table .fan2 .pc.dim{filter:brightness(.6) saturate(.8)}
#app .scr-table .fan2 .pc.ok{cursor:grab}
#app .scr-table .fan2 .pc.lift{box-shadow:0 0 0 2.5px var(--gd),0 10px 22px rgba(0,0,0,.6),0 0 18px rgba(242,193,78,.6)}
#app .scr-table .fan2 .pc.drg,#app .scr-table .hand-c.drg,#app .scr-table .pin-c.drg{z-index:200!important;transition:none;cursor:grabbing;box-shadow:0 0 0 2.5px var(--gd),0 18px 34px rgba(0,0,0,.7)}
#app .scr-table .fan-wrap{flex:none;position:relative;z-index:6;margin-top:-22px;padding:0 0 4px}

/* ---- trick games (tarneeb, baloot, trix, complex): the table takes all the room ---- */
#app:not(.land) .scr-table .tmain.hud-float .felt-wrap{padding:0;justify-content:stretch}
#app:not(.land) .scr-table .felt{flex:1;min-height:300px;max-height:none;margin:52px 22px 0}
#app:not(.land) .scr-table .felt .seat.p2{top:-34px}
#app:not(.land) .scr-table .felt .seat.p1{top:40%;right:-18px}
#app:not(.land) .scr-table .felt .seat.p3{top:40%;left:-18px}
/* played cards: a compact cross in the middle of the felt (like a real trick), clear of the side seats' avatar, name and
   status pills; p1 is the right seat, p3 the left one (physical sides, both reading directions and orientations) */
#app .scr-table{--tcy:47%;--tdx:44px;--tdy:48px;--tsc:1}
@media (max-height:700px){#app:not(.land) .scr-table{--tcy:54%;--tdy:36px;--tsc:.9}}
#app.land .scr-table{--tcy:61%;--tdx:72px;--tdy:20px;--tsc:.8}
#app .scr-table .pc.t.t0,#app .scr-table .pc.t.t1,#app .scr-table .pc.t.t2,#app .scr-table .pc.t.t3{left:calc(50% - 31px);right:auto;top:calc(var(--tcy) - 44px);bottom:auto;transform-origin:50% 50%}
#app .scr-table .pc.t.t0{transform:translate(0,var(--tdy)) rotate(-3deg) scale(var(--tsc))}
#app .scr-table .pc.t.t2{transform:translate(0,calc(-1 * var(--tdy))) rotate(4deg) scale(var(--tsc))}
#app .scr-table .pc.t.t1{transform:translate(var(--tdx),0) rotate(8deg) scale(var(--tsc))}
#app .scr-table .pc.t.t3{transform:translate(calc(-1 * var(--tdx)),0) rotate(-8deg) scale(var(--tsc))}
#app .scr-table .pc.t{width:62px;height:88px;font-size:22px}
@media (max-width:360px){#app:not(.land) .scr-table .felt{margin-left:18px;margin-right:18px}}

/* ---- the slim bar ---- */
#app .scr-table .tfoot.mebar,#app .scr-table .hand-ctl.mebar,#app .scr-table .pin-me.mebar,#app .scr-table .screw-me.mebar,#app .scr-table .uno-me.mebar,#app .scr-table .dm-me.mebar{
  padding:7px 12px 9px;gap:10px;margin-top:0}
#app .scr-table .mebar .bb-seat .av,#app .scr-table .mebar>.seat .av{width:48px;height:48px;font-size:18px}
#app .scr-table .mebar .bb-ic{gap:5px}
#app .scr-table .mebar .bb-ic .ib{width:36px;height:36px}
#app .scr-table .bb-mid{gap:5px}
#app .scr-table .bb-info{height:40px;font-size:13px;border-radius:12px}
#app .scr-table .bb-info.my{border-color:rgba(242,193,78,.55);color:var(--gd);box-shadow:0 0 14px rgba(242,193,78,.18)}
#app .scr-table .bb-btns{min-height:44px}
#app .scr-table .bb-btns .btn{height:44px;font-size:17px;border-radius:12px}
#app .scr-table .bb-btns .btn.gd[disabled]{opacity:1;background:linear-gradient(180deg,#5C4A1E,#3A2E12);color:rgba(255,236,190,.55);box-shadow:none}
#app .scr-table .bb-btns .hand-undo{flex:0 0 auto;padding:0 14px}
#app .scr-table .bb-wait{height:44px;font-size:13px}
#app .scr-table .rum-meter{height:30px!important}

/* ---- Hand / Banakil: bigger table, piles in the middle, cards right under it ---- */
#app:not(.land) .scr-table .hand-wrap,#app:not(.land) .scr-table .pin-wrap{gap:0;padding:4px 8px 0}
#app:not(.land) .scr-table .hand-felt,#app:not(.land) .scr-table .pin-felt{margin:48px 20px 0;min-height:300px}
#app:not(.land) .scr-table .hand-felt.n2,#app:not(.land) .scr-table .pin-felt.n2{margin-left:6px;margin-right:6px}
#app .scr-table .hand-pl{font-size:0}#app .scr-table .hand-pl b{font-size:11px;color:rgba(255,255,255,.75)}
#app .scr-table .hand-stock,#app .scr-table .hand-dpile{width:56px;height:80px}
#app .scr-table .hand-mid{gap:26px}
#app:not(.land) .scr-table .hand-mine{margin-top:-14px;position:relative;z-index:6;padding-top:0}
#app:not(.land) .scr-table .pin-hand{margin-top:-14px;position:relative;z-index:6}
#app .scr-table .hand-ctl .bb-mid,#app .scr-table .pin-me .bb-mid{gap:6px}
#app .scr-table .pin-none{font-size:0}

/* ---- Screw / Uno: the table grows into the room the prompt used ---- */
#app:not(.land) .scr-table .cg-felt{margin:36px 4px 2px;min-height:320px}
#app:not(.land) .scr-table .screw-wrap,#app:not(.land) .scr-table .uno-wrap{gap:4px}

/* ---- landscape: the same two rows, a little smaller, under the table ---- */
#app.land .scr-table .fan-wrap{margin-top:0}
#app.land .scr-table .fan2 .pc{border-radius:7px}
#app:not(.land) .scr-table .uno-fan{margin-bottom:10px}
/* small cards (3 rows of trix for two): the corner index only, like Jawaker */
#app .scr-table .fan2 .pc.sm .pip{display:none!important}
#app .scr-table .fan2 .pc .pip.face{font-size:max(8px,.42em)!important;letter-spacing:-.06em}
/* dialogs on the table stay above my cards */
#app .scr-table .felt .center{z-index:8}
@media (max-height:700px){#app .scr-table .trix-dbtn .pc{width:36px;height:52px;font-size:13px}#app .scr-table .trix-dgrid{gap:6px}#app .scr-table .trix-dlg{padding:10px;gap:6px}}
#app.land .scr-table .trix-dbtn .pc{width:38px;height:52px;font-size:12px}
/* landscape: the bar floats in the corner so the table keeps the height; cards under the table, unscaled */
#app.land .scr-table .tfoot.mebar{position:absolute;left:8px;bottom:8px;z-index:8;width:auto;max-width:200px}
#app.land .scr-table .tmain:not(.hud-float) .tfoot.mebar{position:static}
#app.land .scr-table .felt-wrap{padding:40px 150px 132px}
#app.land .scr-table .fan-wrap{position:absolute;left:0;right:0;bottom:4px;transform:none;margin:0;z-index:6;pointer-events:none}
#app.land .scr-table .fan-wrap .fan{pointer-events:auto}
#app.land .scr-table .felt{margin:0}
#app.land .scr-table .hand-mine,#app.land .scr-table .pin-hand{align-self:end}
#app.land .scr-table .fan-wrap{padding-inline-start:0;padding-left:212px}
@media (max-height:600px){#app:not(.land) .scr-table .trix-dlg{top:44%}}

/* ===== landscape for every card game = the tarneeb look: the table across the top, my cards under it,
   the bar (meter + gold button) in the bottom corner. Replaces the side-by-side grids of the game modules. ===== */
#app.land .scr-table .hand-wrap,#app.land .scr-table .pin-wrap,#app.land .scr-table .screw-wrap,#app.land .scr-table .uno-wrap{
  display:flex!important;flex-direction:column;align-items:stretch;gap:0;padding:0 8px 6px;position:relative;max-width:none;height:100%;min-height:0}
#app.land .scr-table .hand-felt,#app.land .scr-table .pin-felt,#app.land .scr-table .cg-felt{flex:1 1 auto;min-height:150px;margin:36px 128px 0!important;grid-area:auto}
#app.land .scr-table .hand-felt.n2,#app.land .scr-table .pin-felt.n2{margin-left:40px!important;margin-right:40px!important}
#app.land .scr-table .hand-mine,#app.land .scr-table .pin-hand,#app.land .scr-table .screw-mine,#app.land .scr-table .uno-fan{
  flex:none;align-self:center;grid-area:auto;margin:-16px 0 0!important;position:relative;z-index:6;transform:translateX(106px)}
[dir=rtl] #app.land .scr-table .hand-mine,[dir=rtl] #app.land .scr-table .pin-hand,[dir=rtl] #app.land .scr-table .screw-mine,[dir=rtl] #app.land .scr-table .uno-fan{transform:translateX(106px)}
#app.land .scr-table .hand-mine{--hw:min(46px,calc((100vw - 270px) / var(--cols)))}
#app.rot .scr-table .hand-mine{--hw:min(46px,calc((var(--app-h,100vh) - 270px) / var(--cols)))}
#app.land .scr-table .hand-ctl.mebar,#app.land .scr-table .pin-me.mebar,#app.land .scr-table .screw-me.mebar,#app.land .scr-table .uno-me.mebar{
  position:absolute;left:8px;bottom:8px;width:204px;margin:0!important;z-index:8;border-radius:16px;border:1px solid rgba(242,193,78,.22);padding:7px 8px;grid-area:auto}
#app.land .scr-table .hand-ctl .bb-seat,#app.land .scr-table .pin-me .bb-seat,#app.land .scr-table .screw-me .bb-seat,#app.land .scr-table .uno-me .bb-seat{display:none}
#app.land .scr-table .hand-ctl .bb-btns .btn,#app.land .scr-table .pin-me .bb-btns .btn,#app.land .scr-table .screw-me .bb-btns .btn,#app.land .scr-table .uno-me .bb-btns .btn{height:40px;font-size:15px}
#app.land .scr-table .cg-felt .screw-mid,#app.land .scr-table .cg-felt .uno-row{grid-area:auto}
/* landscape: the table gives way to my cards (never the other way round) */
#app.land .scr-table .hand-felt,#app.land .scr-table .pin-felt,#app.land .scr-table .cg-felt{flex:1 1 0!important;min-height:120px!important}
#app.land .scr-table .hand-mine.two{margin-bottom:calc(var(--hw) * .45)!important}
/* domino sideways: the bar in the corner like the card games, the bones next to it */
#app.land .scr-table .dm-me.mebar{position:absolute;left:8px;bottom:6px;width:204px;max-width:none;margin:0;z-index:8;border-radius:16px;border:1px solid rgba(242,193,78,.22);padding:6px 8px}
#app.land .scr-table .dm-me .bb-seat{display:none}
#app.land .scr-table .dm-low{padding-left:214px!important;min-height:64px}

/* ---- v4 (approved design, Oct 2026) · Hand / Banakil: the other side's melds at the top of the felt, the piles in
   the middle, mine (and my partner's) at the bottom; the opponents' cards fanned behind their avatar ---- */
.seat.has-fan .pl{position:relative}
.seat.has-fan .pl>.av,.seat.has-fan .pl>.ring{position:relative;z-index:1}
.seat.has-fan .lvb,.seat.has-fan .cb{z-index:2}
.sfan{position:absolute;left:50%;top:50%;width:0;height:0;z-index:0;pointer-events:none}
.sfan i{position:absolute;width:24px;height:34px;left:-12px;top:-38px;border-radius:3px;transform-origin:50% 140%;transform:rotate(var(--r));
  background:var(--back,url(cards/back.webp)) center/cover,#7A1426;box-shadow:0 1px 3px rgba(0,0,0,.6),0 0 0 .5px rgba(0,0,0,.5)}
#app .scr-table .hand-felt .hand-table{display:flex;flex-direction:column;gap:4px;overflow:hidden}
#app .scr-table .hand-felt .hand-mid{flex:none;justify-content:center}
/* Banakil v4: their melds on top, the stock and the pile strip (‹ ›) in the middle, ours at the bottom */
#app .scr-table .pin-felt .pin-tpiles{flex:none;padding:2px 0}
.pin-piles{gap:8px!important;align-items:center}
.pin-strip{position:relative;flex:1;min-width:0;height:78px;border-radius:12px;background:rgba(0,0,0,.32);border:1px solid rgba(242,193,78,.25);display:flex;align-items:center}
.pin-gl{position:absolute;top:-9px;inset-inline-start:10px;z-index:3;font-size:10px;font-weight:700;padding:1px 8px;border-radius:8px;background:rgba(0,0,0,.7);color:var(--gd);border:1px solid rgba(242,193,78,.4);direction:rtl}
.pin-sc{flex:none;width:18px;height:100%;color:var(--gd);font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;opacity:.85}
.pin-strip .pin-pile{flex:1;min-width:0;height:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:0 4px 0 22px;align-items:center}
.pin-strip .pin-pile::-webkit-scrollbar{display:none}
.pin-strip .pin-c.sm{width:40px;height:57px;transform:none!important}
.pin-ctl .pin-take{flex:1;height:44px;font-size:15px;font-weight:700;border-radius:12px}

/* melds (Jawaker, Oct 2026): no scrolling, no boxes — compact groups (each card half under the next, rank and suit
   readable) flowing left to right across the table, theirs from the top, ours from the bottom; core/rummy.js fitMelds
   picks the card size --mw; the zones keep clear of the seats around the felt and of my hand below it */
#app .scr-table .hand-felt .hand-table,#app .scr-table .pin-felt .pin-melds{display:flex;flex-direction:column;gap:6px;overflow:hidden;padding:66px 8px 16px}
.hand-zone,.pin-zone{flex:1 1 0;min-height:0;overflow:hidden;display:flex;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:5px 9px;direction:ltr}
.hand-zone.us,.pin-zone.us{align-content:flex-end}
.hand-felt.n3 .hand-zone.them,.hand-felt.n4 .hand-zone.them,.pin-felt.n3 .pin-zone.them,.pin-felt.n4 .pin-zone.them{padding:0 40px}
.hand-zone .hand-meld,.pin-zone .pin-meld{display:flex;gap:0;padding:1px;border:0;border-radius:4px;background:none;box-shadow:none;flex:none}
.hand-zone .hand-meld>.hand-c.mi:not(:first-child),.pin-zone .pin-meld>.pin-m:not(:first-child){margin-left:calc(var(--mw) * -.5)}
.hand-zone .hand-c.mi,.pin-zone .pin-m{align-items:flex-start;justify-content:flex-start;padding:calc(var(--mw) * .06) 0 0 calc(var(--mw) * .07);gap:0;line-height:.95;box-shadow:-1px 0 1.5px rgba(0,0,0,.35),0 1px 2px rgba(0,0,0,.45)}
:is(.hand-felt,.pin-felt):is(.n3,.n4) :is(.hand-zone .hand-meld,.pin-zone .pin-meld){border-bottom:2px solid var(--oc,transparent);border-radius:3px 3px 2px 2px}
:is(.hand-zone .hand-meld,.pin-zone .pin-meld).p0{--oc:#5B66C8}:is(.hand-zone .hand-meld,.pin-zone .pin-meld).p1{--oc:#E0457B}:is(.hand-zone .hand-meld,.pin-zone .pin-meld).p2{--oc:#35C8B0}:is(.hand-zone .hand-meld,.pin-zone .pin-meld).p3{--oc:#E0A021}
:is(.hand-zone .hand-meld,.pin-zone .pin-meld).ok{box-shadow:0 0 0 2px var(--gd),0 0 14px rgba(242,193,78,.75)}
/* the piles: small, in the middle of the felt (Jawaker) */
#app .scr-table .hand-stock,#app .scr-table .hand-dpile{width:46px;height:65px}
#app .scr-table .hand-mid{gap:14px}
/* my hand: big cards, each row centred, the second row over the bottom half of the first */
.scr-table .hand-mine{--hw:min(68px,calc((min(100vw,480px) - 28px) / var(--cols)));display:flex!important;flex-wrap:wrap;justify-content:center;align-items:flex-start;column-gap:0;row-gap:0;max-width:100%}
.scr-table .hand-mine>.hand-c{width:var(--hw);flex:none}
.scr-table .hand-mine>.hand-br{flex-basis:100%;height:0}
.scr-table .hand-mine>.hand-c.r2{margin-top:calc(var(--hw) * -.62)}
.scr-table .hand-mine.two{margin-bottom:0}
/* Banakil: the pile is a dark band across the felt, the stock at its start */
.scr-table .pin-felt .pin-tpiles{margin:0 -8px!important}
.pin-strip{border-radius:0;border-left:0;border-right:0;background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.3));height:74px}
#app.land .scr-table .hand-felt .hand-table,#app.land .scr-table .pin-felt .pin-melds{padding:34px 6px 6px;gap:3px}
#app.land .scr-table .hand-stock,#app.land .scr-table .hand-dpile{width:40px;height:57px}
#app.land .pin-strip{height:60px}#app.land .pin-strip .pin-c.sm{width:32px;height:45px}
#app.land .scr-table .hand-felt .hand-table,#app.land .scr-table .pin-felt .pin-melds{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) minmax(0,1fr);column-gap:8px}
#app.land .hand-zone.them,#app.land .pin-zone.them{grid-area:1/1}#app.land .hand-zone.us,#app.land .pin-zone.us{grid-area:2/1}
#app.land .scr-table .hand-felt .hand-mid,#app.land .scr-table .pin-felt .pin-tpiles{grid-area:1/2/3/3;align-self:center}
#app.land .scr-table .pin-felt .pin-tpiles{width:min(36vw,270px)}
#app.land .scr-table :is(.hand-felt,.pin-felt)>.seat.p2 .chip{display:none}
#app.land :is(.hand-felt,.pin-felt).n3 :is(.hand-zone,.pin-zone).them,#app.land :is(.hand-felt,.pin-felt).n4 :is(.hand-zone,.pin-zone).them{padding:0 30px}
/* pulling the stock / pile card into the hand (core/rummy.js pullToHand) */
.rum-pull .hand-c,.rum-pull .pin-c{display:flex;width:54px!important;height:76px!important;box-shadow:0 12px 24px rgba(0,0,0,.6),0 0 0 2px var(--gd)!important}
.hand-mine.rum-pull-over,.pin-hand.rum-pull-over{outline:2px dashed rgba(242,193,78,.6);outline-offset:6px;border-radius:12px}
/* Banakil: «اسحب» sheet (the pile cards to take) and «مكان الجوكر» (the end of the run a spare wild goes to) */
.md.tk-md,.md.pe-md{max-width:340px;gap:14px;align-items:center;text-align:center;background:linear-gradient(180deg,#1C1C20,#0E0E10);border:1.5px solid rgba(242,193,78,.45)}
.tk-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;direction:ltr;max-height:46vh;overflow:auto}
.tk-cards .pin-c{width:48px;height:68px}
.tk-go{width:100%;height:48px;font-size:17px;font-weight:800}
.pe-h{display:flex;align-items:center;gap:10px;justify-content:center;font-size:16px}
.pe-h .pin-m{--mw:30px}
.pe-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.pe-o{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 6px;border-radius:14px;background:#16161A;border:1px solid #2C2C33;font-weight:700}
.pe-o:active{transform:scale(.97)}
.pe-c{width:46px!important;height:66px!important}


/* ===== v5 (approved design, Oct 31 2026) · هاند / بناكل: the melds of my hand in colours (no instructions) ===== */
.hand-bp{margin-inline-start:8px;font-weight:700}

/* my hand in portrait: big cards, two rows apart (room for the group bars), overlapping only when the row is full */
#app:not(.land) .scr-table .hand-mine{margin-top:12px;padding-bottom:12px}
#app:not(.land) .scr-table .hand-mine>.hand-c+.hand-c{margin-left:calc(var(--hw) * var(--ov,0) * -1 + (1 - var(--ov,0) * 3) * 2px)}
#app:not(.land) .scr-table .hand-mine>.hand-br+.hand-c{margin-left:0}
#app:not(.land) .scr-table .hand-mine>.hand-c.r2{margin-top:18px}
#app:not(.land) .scr-table .hand-mine .hand-c{height:calc(var(--hw) * 1.4);aspect-ratio:auto}

/* the melds my arrangement forms: a ring in the group colour on every card, a bar under the group with its points */
.mg0{--gc:#3DDC97}.mg1{--gc:#5BC0FF}.mg2{--gc:#FF8A4C}.mg3{--gc:#C78BFF}.mg4{--gc:#FF5C8A}
#app .scr-table .hand-mine .hand-c.mg:not(.sel):not(.drg),#app .scr-table .pin-hand .pin-c.mg:not(.sel):not(.drg){
  box-shadow:0 0 0 2.5px var(--gc),0 0 10px color-mix(in srgb,var(--gc) 50%,transparent),0 3px 8px rgba(0,0,0,.5)}
.mg-x{position:absolute;left:0;top:100%;z-index:7;pointer-events:none;text-decoration:none}
.mg-x s{position:absolute;top:6px;height:4px;border-radius:3px;background:var(--gc);
  left:calc(var(--hw,var(--cw)) * (1 - var(--ov,0)) * var(--gj) * -1 + 3px);width:calc(var(--hw,var(--cw)) * (var(--gl) - (var(--gl) - 1) * var(--ov,0) - var(--ov,0) * .9) - 8px)}
.mg-x b{position:absolute;top:0;left:calc(var(--hw,var(--cw)) * ((var(--gl) - (var(--gl) - 1) * var(--ov,0) - var(--ov,0) * .9) / 2 - (1 - var(--ov,0)) * var(--gj)) - 1px);transform:translateX(-50%);
  background:var(--gc);color:#0B0B0E;font:700 10.5px/16px Poppins;border-radius:8px;padding:0 6px;box-shadow:0 2px 6px rgba(0,0,0,.5);white-space:nowrap}
#app.land .mg-x{display:none}
.rum-ghost .mg-x{display:none}
.hand-c.sel .mg-x,.pin-c.sel .mg-x{display:none}
#app:not(.land) .scr-table .hand-felt:has(~.hand-mine),#app:not(.land) .scr-table .pin-felt:has(~.pin-hand){min-height:200px}
.mg-bar{position:absolute;height:4px;border-radius:3px;background:var(--gc);z-index:120;pointer-events:none;text-decoration:none}
.mg-bar b{position:absolute;left:50%;top:-6px;transform:translateX(-50%);background:var(--gc);color:#0B0B0E;font:700 10.5px/16px Poppins;border-radius:8px;padding:0 6px;box-shadow:0 2px 6px rgba(0,0,0,.5);white-space:nowrap}
#app .scr-table .pin-hand .pin-c.cf.wd.mg:not(.sel):not(.drg){box-shadow:0 0 0 2.5px var(--gc),inset 0 0 0 2px #E0A92A,0 3px 8px rgba(0,0,0,.5)!important}
/* a card I just drew / took: it flips, then glows a moment so the eye finds it in the hand */
#app .scr-table .hand-c.nwc{animation:hflip .42s var(--fd,240ms) ease-in-out both,nwglow 1.3s .62s ease-out both}
#app .scr-table .pin-c.nwc{animation:pnflip .42s var(--fd,240ms) ease-in-out both,nwglow 1.3s .62s ease-out both}
@keyframes nwglow{0%{filter:drop-shadow(0 0 0 rgba(242,193,78,0))}35%{filter:drop-shadow(0 0 10px rgba(242,193,78,.95))}100%{filter:drop-shadow(0 0 0 rgba(242,193,78,0))}}
#app.nomo .scr-table .nwc{animation:none}
