.rummy{--baize:#0f3a30;--baize-hi:#1a5444;--baize-lo:#0a2a23;--rail-2:#221a15;--oxblood:#6b1d22;--ivory:#f4eedf;--ink:#1c1a17;--red:#b02a24;--brass:#d6a94f;--brass-dim:#8f7236;--text:#efe8d6;--muted:#a9b5a8;--line:#efe8d626;--shade:#00000038;--f-display:"Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;--f-body:"Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;--f-mono:"IBM Plex Mono", ui-monospace, Consolas, monospace;--cw:clamp(52px, 7vw, 82px);--ch:calc(var(--cw) * 1.4);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);font-family:var(--f-body);font-size:14px;line-height:1.45;overflow-x:clip}.rummy *,.rummy :before,.rummy :after{box-sizing:border-box}.rummy button{font:inherit;color:inherit}.rummy .wrap{grid-template-columns:minmax(0,1fr) 290px;gap:16px;display:grid}@media (width<=960px){.rummy .wrap{grid-template-columns:minmax(0,1fr)}}.rummy .top{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:flex-end;gap:10px 20px;display:flex}.rummy .brand{flex-wrap:wrap;align-items:baseline;gap:14px;display:flex}.rummy .brand h1{font-family:var(--f-display);letter-spacing:-.01em;color:var(--text);margin:0;font-size:clamp(30px,4vw,44px);font-style:italic;font-weight:500;line-height:1}.rummy .brand h1 b{color:var(--brass);font-style:normal;font-weight:700}.rummy .meta{font-family:var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:11.5px}.rummy .meta span+span:before{content:"·";color:var(--brass-dim);margin:0 .6em}.rummy .btn{border:1px solid var(--line);color:var(--text);letter-spacing:.01em;cursor:pointer;background:0 0;border-radius:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s,opacity .15s}.rummy .btn:hover:not(:disabled){border-color:var(--brass-dim);background:#d6a94f14}.rummy .btn.primary{background:var(--brass);border-color:var(--brass);color:var(--ink)}.rummy .btn.primary:hover:not(:disabled){background:#e4bb66}.rummy .btn:disabled{opacity:.38;cursor:not-allowed}.rummy :focus-visible{outline:2px solid var(--brass);outline-offset:2px}.rummy .table{background:linear-gradient(160deg,#3a2a1f,#1e1611 60%,#2c2018);border-radius:22px;min-width:0;padding:10px;position:relative;box-shadow:inset 0 0 0 1px #ffffff0f,0 18px 40px #00000073}.rummy .felt{background:radial-gradient(120% 90% at 50% 40%, var(--baize-hi), var(--baize) 55%, var(--baize-lo));border-radius:14px;grid-template-columns:minmax(0,1fr);gap:16px;padding:16px;display:grid;box-shadow:inset 0 0 0 1px #d6a94f59,inset 0 0 60px #00000073}.rummy .seats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;display:grid}.rummy .seat{border:1px solid var(--line);background:var(--shade);border-radius:10px;gap:8px;min-width:0;padding:10px 12px;display:grid}.rummy .seat.active{border-color:var(--brass);box-shadow:0 0 0 1px var(--brass) inset}.rummy .seat-h{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.rummy .seat-name{font-family:var(--f-display);font-size:18px;font-weight:500}.rummy .seat-score{font-family:var(--f-mono);color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.rummy .seat-score b{color:var(--text);font-weight:500}.rummy .bar{background:#ffffff1a;border-radius:2px;height:3px;overflow:hidden}.rummy .bar i{background:var(--brass);height:100%;display:block}.rummy .seat-cards{--cw:22px;align-items:center;gap:10px;display:flex}.rummy .fan{display:flex}.rummy .fan .card+.card{margin-left:-15px}.rummy .seat-cards small{font-family:var(--f-mono);color:var(--muted);font-size:11px}.rummy .seat-cards .dealer:before{content:" · "}.rummy .pile .cap{white-space:nowrap}.rummy .pile{flex:none;min-width:max-content}.rummy .dots{font-family:var(--f-mono);color:var(--brass);font-size:11px}.rummy .dots:after{content:"";animation:1.2s steps(4,end) infinite rummy-dots}@keyframes rummy-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.rummy .mid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.rummy .piles{flex-wrap:wrap;align-items:flex-start;gap:14px 18px;min-width:0;display:flex}.rummy .discards{flex:150px;gap:6px;min-width:0;display:grid}.rummy .dfan{flex-wrap:wrap;align-items:center;row-gap:8px;padding-top:8px;display:flex}.rummy .dfan>.slot{width:var(--cw);height:var(--ch);border-radius:calc(var(--cw) * .09);border:1.5px dashed #efe8d640}.rummy .dfan .card{cursor:default;transition:transform .14s,box-shadow .14s,filter .14s}.rummy .dfan .card+.card{margin-left:calc(var(--cw) * -.5)}.rummy .dfan{padding-left:calc(var(--cw) * .5)}.rummy .dfan>:first-child{margin-left:calc(var(--cw) * -.5)}.rummy .dfan .card.old{filter:brightness(.62)saturate(.6)}.rummy .dfan .card.pick{cursor:pointer;box-shadow:0 0 0 2px var(--brass), 0 0 14px #d6a94f80}@media (hover:hover){.rummy .dfan .card.pick:hover,.rummy .dfan .card.pick:hover~.card{transform:translateY(-8px)}}.rummy .dfan .more{font-family:var(--f-mono);color:var(--muted);margin-right:8px;font-size:11px}.rummy .pile{cursor:default;background:0 0;border:0;justify-items:center;gap:6px;padding:0;display:grid}.rummy .pile .slot{width:var(--cw);height:var(--ch);border-radius:calc(var(--cw) * .09);border:1.5px dashed #efe8d640;transition:transform .15s;position:relative}.rummy .pile .slot .card{position:absolute;inset:0}.rummy .pile.live{cursor:pointer}.rummy .pile.live .slot{box-shadow:0 0 0 2px var(--brass), 0 0 22px #d6a94f73}@media (hover:hover){.rummy .pile.live:hover .slot{transform:translateY(-3px)}}.rummy .cap{font-family:var(--f-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:10.5px}.rummy .melds-wrap{min-width:0}.rummy .melds{--cw:clamp(36px, 4.7vw, 50px);flex-wrap:wrap;gap:12px 14px;display:flex}.rummy .meld{background:var(--shade);border:1px solid #0000;border-radius:8px;gap:4px;padding:7px 8px 5px;display:grid}.rummy .meld .row{display:flex}.rummy .meld .row .card+.card{margin-left:calc(var(--cw) * -.52)}.rummy .meld .who{font-family:var(--f-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:10px}.rummy .meld.mine .who{color:var(--brass)}.rummy .meld.fresh{animation:.4s ease-out rummy-pop}.rummy .empty{color:var(--muted);max-width:46ch;margin:0;padding:10px 0;font-size:13px}.rummy .empty b{color:var(--text);font-weight:600}.rummy .card{width:var(--cw);height:calc(var(--cw) * 1.4);border-radius:calc(var(--cw) * .09);background:var(--ivory);color:var(--ink);font-family:var(--f-display);-webkit-user-select:none;user-select:none;border:1px solid #00000040;flex:none;padding:0;position:relative;overflow:hidden;box-shadow:0 1px #0003,0 3px 8px #00000059}.rummy .card.red{color:var(--red)}.rummy .card .idx{font-weight:700;line-height:.92;font-size:calc(var(--cw) * .25);justify-items:center;display:grid;position:absolute;top:5%;left:7%}.rummy .card .idx i{font-style:normal;font-size:calc(var(--cw) * .21)}.rummy .card .idx.b{inset:auto 7% 5% auto;transform:rotate(180deg)}.rummy .card .pip{font-size:calc(var(--cw) * .5);place-items:center;line-height:1;display:grid;position:absolute;inset:0}.rummy .card .face{background:linear-gradient(#d6a94f2e,#d6a94f0a);border:1px solid;border-radius:3px;align-content:center;place-items:center;line-height:.9;display:grid;position:absolute;inset:19% 17%}.rummy .card .face b{font-style:italic;font-weight:500;font-size:calc(var(--cw) * .46)}.rummy .card .face i{font-style:normal;font-size:calc(var(--cw) * .2)}.rummy .card.back{background:repeating-linear-gradient(45deg, #d6a94f61 0 1.5px, transparent 1.5px 6px), repeating-linear-gradient(-45deg, #d6a94f61 0 1.5px, transparent 1.5px 6px), var(--oxblood);border:2px solid var(--ivory)}.rummy .sm .idx.b,.rummy .seat-cards .idx{display:none}.rummy .card .star{width:calc(var(--cw) * .26);height:calc(var(--cw) * .26);background:var(--brass);color:var(--ink);font-family:var(--f-body);font-size:calc(var(--cw) * .16);border-radius:50%;place-items:center;line-height:1;display:grid;position:absolute;top:4%;right:6%;box-shadow:0 0 0 1px #00000040}.rummy .card.wild{box-shadow:0 0 0 1.5px var(--brass), 0 3px 8px #00000059}.rummy .jokerbox .slot{border:0;transform:rotate(-6deg)}.rummy .sm .card .pip{font-size:calc(var(--cw) * .42);padding-top:18%}.rummy .near{grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;display:grid}.rummy .status{background:var(--shade);border-left:3px solid var(--brass);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:10px 14px;display:flex}.rummy .status p{min-width:0;margin:0;font-size:14px}.rummy .status p em{color:var(--brass);font-style:normal;font-weight:600}.rummy .status .warn{color:#f0a48f}.rummy .hand-h{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.rummy .hand-h h2{font-family:var(--f-display);color:var(--text);margin:0;font-size:20px;font-weight:500}.rummy .hand-h .meta b{color:var(--text);font-weight:500}.rummy .hand{min-height:calc(var(--ch) + 30px);justify-content:center;padding:22px 4px 6px;display:flex}.rummy .hand .card{cursor:pointer;transition:transform .14s,box-shadow .14s}.rummy .hand .card+.card{margin-left:min(calc(var(--cw) * -.36), var(--ov,calc(var(--cw) * -.36)))}.rummy .hand .card.gap{margin-right:calc(var(--cw) * .3)}@media (hover:hover){.rummy .hand .card:not(.sel):hover{transform:translateY(-7px)}}.rummy .hand .card.sel{box-shadow:0 0 0 2px var(--brass), 0 10px 18px #00000073;transform:translateY(-18px)}.rummy .hand .card.new{animation:.45s ease-out rummy-pop}.rummy .hand .card.must{outline:2px dashed var(--brass);outline-offset:2px}.rummy .hand .card.new:after{content:"";background:var(--brass);width:7px;height:7px;box-shadow:0 0 0 1.5px var(--ivory);border-radius:50%;position:absolute;top:4px;right:4px}@keyframes rummy-pop{0%{opacity:.2;transform:translateY(-22px)scale(.92)}to{opacity:1;transform:none}}.rummy .actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.rummy .actions .sep{background:var(--line);flex:0 0 1px;margin:0 4px}.rummy .ledger{border:1px solid var(--line);background:var(--rail-2);border-radius:12px;align-self:start;gap:12px;min-width:0;padding:14px;display:grid}.rummy .tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:2px;display:flex}.rummy .tab{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:6px 9px 8px;font-size:12.5px;font-weight:600}.rummy .tab[aria-selected=true]{color:var(--text);border-color:var(--brass)}.rummy .pane{min-width:0;font-size:13px}.rummy .tbl-wrap{overflow-x:auto}.rummy table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.rummy th,.rummy td{text-align:right;border-bottom:1px solid var(--line);white-space:nowrap;padding:6px}.rummy th:first-child,.rummy td:first-child{text-align:left}.rummy th{font-family:var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:10.5px;font-weight:500}.rummy td{font-family:var(--f-mono);font-size:12.5px}.rummy td.nil{color:#efe8d647}.rummy tr.tot td{color:var(--brass);border-bottom:0;font-weight:500}.rummy tr.me td{color:var(--brass)}.rummy .log{gap:5px;max-height:420px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.rummy .log li{color:var(--muted);border-left:2px solid var(--line);padding-left:10px;font-size:12.5px}.rummy .log li:first-child{color:var(--text);border-color:var(--brass)}.rummy .rules{gap:10px;display:grid}.rummy .rules h3{font-family:var(--f-display);color:var(--text);margin:0;font-size:16px;font-weight:500}.rummy .rules p{color:var(--muted);margin:0;font-size:13px}.rummy .rules p b{color:var(--text);font-weight:600}.rummy .profile{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.rummy .profile strong{font-family:var(--f-display);font-size:18px;font-weight:500}.rummy .note{color:var(--muted);margin:10px 0 0;font-size:12px}.rummy .overlay{z-index:50;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#040c0ab8;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.rummy .dialog{background:var(--rail-2);border:1px solid var(--brass-dim);border-radius:12px;gap:16px;width:100%;max-width:540px;max-height:calc(100% - 32px);padding:22px;display:grid;overflow:auto;box-shadow:0 24px 60px #0009}.rummy .dialog h2{font-family:var(--f-display);text-wrap:balance;color:var(--text);margin:0;font-size:clamp(24px,4vw,32px);font-weight:500;line-height:1.1}.rummy .dialog h2 em{color:var(--brass)}.rummy .dialog p{color:var(--muted);margin:0}.rummy .res{gap:10px;display:grid}.rummy .res-row{--cw:34px;grid-template-columns:120px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.rummy .res-row .n{font-family:var(--f-display);font-size:16px}.rummy .res-row .cs{flex-wrap:wrap;gap:3px;display:flex}.rummy .res-row .v{font-family:var(--f-mono);color:var(--muted);font-size:12.5px}.rummy .res-row.win .n,.rummy .res-row.win .v{color:var(--brass)}.rummy .res-row .cs .pip,.rummy .res-row .cs .face,.rummy .res-row .cs .idx.b{display:none}.rummy .res-row .cs .idx{font-size:calc(var(--cw) * .36);place-content:center;display:grid;inset:0}.rummy .res-row .cs .idx i{font-size:calc(var(--cw) * .34)}.rummy .res-row .n small{font-family:var(--f-mono);color:var(--muted);letter-spacing:.02em;margin-top:2px;font-size:10.5px;display:block}.rummy .res-row.lose .n,.rummy .res-row.lose .v{color:#f0a48f}.rummy .res-row .cs .card.dead{filter:brightness(.55)saturate(.4)}.rummy .res-row .cs .card.tbl{box-shadow:0 0 0 1.5px var(--brass-dim)}.rummy .chip{vertical-align:middle;background:var(--brass);color:var(--ink);font-family:var(--f-mono);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;margin-left:6px;padding:1px 7px;font-size:10px;font-style:normal;font-weight:500;display:inline-block}.rummy td.win{color:var(--brass)}.rummy td.neg{color:#f0a48f}.rummy .field{gap:6px;display:grid}.rummy .field label,.rummy .field legend{font-family:var(--f-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:0;font-size:10.5px}.rummy .field input{border:1px solid var(--line);color:var(--text);font:inherit;background:#17120f;border-radius:6px;padding:9px 11px;font-size:15px}.rummy fieldset{border:0;gap:6px;margin:0;padding:0;display:grid}.rummy .seg{flex-wrap:wrap;gap:6px;display:flex}.rummy .seg input{opacity:0;pointer-events:none;position:absolute}.rummy .seg label{font-family:var(--f-body);text-transform:none;letter-spacing:0;color:var(--text);border:1px solid var(--line);cursor:pointer;border-radius:6px;padding:7px 12px;font-size:13px}.rummy .seg input:checked+label{border-color:var(--brass);color:var(--brass);background:#d6a94f26}.rummy .seg input:focus-visible+label{outline:2px solid var(--brass);outline-offset:2px}.rummy .row-btns{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}@media (width<=520px){.rummy .felt{gap:12px;padding:12px 10px}.rummy .table{border-radius:16px;padding:6px}.rummy .brand{gap:6px 12px}.rummy .brand h1{font-size:30px}.rummy .meta{letter-spacing:.05em;font-size:10.5px}.rummy .top .btn{padding:7px 11px;font-size:12.5px}.rummy .seats{grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:6px}.rummy .seat{gap:5px;padding:7px 8px}.rummy .seat-h{flex-wrap:wrap;gap:0 6px}.rummy .seat-name{font-size:15px}.rummy .seat-score{font-size:11px}.rummy .seat-cards{--cw:15px;gap:6px}.rummy .fan .card+.card{margin-left:-12px}.rummy .fan .card:nth-child(n+5){display:none}.rummy .seat-cards .dealer{color:var(--brass);display:block}.rummy .seat-cards .dealer:before{content:none}.rummy .seat-cards small{font-size:10px}.rummy .chip{margin-left:4px;padding:1px 5px;font-size:9px}.rummy .mid{--cw:47px}.rummy .piles{gap:16px}.rummy .cap{letter-spacing:.05em;font-size:9.5px}.rummy .melds{gap:8px}.rummy .empty{padding:4px 0;font-size:12.5px}.rummy .status{padding:8px 10px}.rummy .status p{font-size:13.5px}.rummy .hand-h h2{font-size:18px}.rummy .hand{--cw:clamp(56px, 17vw, 70px);padding:22px 0 4px}.rummy .hand .card.sel{transform:translateY(-14px)}.rummy .actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.rummy .actions .sep{display:none}.rummy .actions .btn{min-height:44px;padding:9px 4px;font-size:13px;line-height:1.2}.rummy .ledger{padding:12px}.rummy .tab{padding:6px 7px 8px;font-size:12px}.rummy .dialog{gap:12px;padding:16px}.rummy .res-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}.rummy .res-row .cs{order:3;grid-column:1/-1}.rummy .row-btns .btn{flex:auto}}@media (prefers-reduced-motion:reduce){.rummy *,.rummy :before,.rummy :after{transition:none!important;animation:none!important}}.rummy .filters{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.rummy .fchip{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;padding:3px 10px;font-size:12px}.rummy .fchip[aria-pressed=true]{border-color:var(--brass);color:var(--brass);background:#d6a94f1f}.rummy .hwrap{gap:8px;max-height:560px;padding-right:2px;display:grid;overflow:auto}.rummy .hround{border:1px solid var(--line);background:#00000026;border-radius:8px}.rummy .hround summary{cursor:pointer;font-family:var(--f-display);justify-content:space-between;align-items:baseline;gap:8px;padding:8px 10px;font-size:15px;list-style:none;display:flex}.rummy .hround summary::-webkit-details-marker{display:none}.rummy .hround summary:before{content:"▸";color:var(--brass);margin-right:6px;font-size:11px}.rummy .hround[open] summary:before{content:"▾"}.rummy .hround summary small{font-family:var(--f-mono);color:var(--muted);margin-left:auto;font-size:10.5px}.rummy .hist{gap:2px;margin:0;padding:0 8px 8px;list-style:none;display:grid}.rummy .ev{border-top:1px solid var(--line);grid-template-columns:22px minmax(0,1fr);gap:6px;padding:5px 2px;display:grid}.rummy .ev .t{font-family:var(--f-mono);color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;padding-top:2px;font-size:10.5px}.rummy .ev .head{flex-wrap:wrap;align-items:baseline;gap:6px;display:flex}.rummy .ev .who{font-size:12.5px;font-weight:600}.rummy .ev .tag{font-family:var(--f-mono);letter-spacing:.08em;text-transform:uppercase;border:1px solid var(--line);color:var(--muted);border-radius:4px;padding:1px 6px;font-size:9.5px}.rummy .ev .what{color:var(--muted);overflow-wrap:anywhere;margin-top:2px;font-size:12.5px}.rummy .ev .what small{font-family:var(--f-mono);margin-left:4px;font-size:10.5px}.rummy .ev .what b.pos{color:var(--brass);font-weight:600}.rummy .ev .what b.neg{color:#f0a48f;font-weight:600}.rummy .cc{background:var(--ivory);color:var(--ink);font-family:var(--f-display);border-radius:3px;margin:1px 2px 1px 0;padding:0 5px;font-size:12px;font-weight:700;line-height:1.5;display:inline-block}.rummy .cc.red{color:var(--red)}.rummy .cc.wild{box-shadow:0 0 0 1.5px var(--brass)}.rummy .cc.wild:after{content:"★";color:var(--brass-dim);margin-left:2px;font-size:9px}.rummy .ev-take .tag,.rummy .ev-meld .tag,.rummy .ev-add .tag{color:var(--brass);border-color:var(--brass-dim)}.rummy .ev-close .tag,.rummy .ev-clean .tag{background:var(--brass);border-color:var(--brass);color:var(--ink)}.rummy .ev-tercebur .tag{color:#fbe3dc;background:#7a2a22;border-color:#7a2a22}.rummy .ev-score,.rummy .ev-deal,.rummy .ev-deckout{background:#d6a94f0f}.rummy td small{color:var(--muted);font-size:10px;display:block}.rummy td.reset{color:#f0a48f}.rummy td.reset small{color:#f0a48f;font-weight:500}.rummy .ev-overtake .tag{color:#fbe3dc;background:#7a2a22;border-color:#7a2a22}.rummy .hand{position:relative}.rummy .hand .card{touch-action:pan-y;cursor:grab}.rummy .hand .card.dragging{z-index:30;cursor:grabbing;box-shadow:0 0 0 2px var(--brass), 0 18px 30px #0000008c;transition:none}.rummy .drop-marker{background:var(--brass);pointer-events:none;z-index:25;border-radius:2px;width:3px;margin-left:-1.5px;position:absolute;top:14px;bottom:2px;box-shadow:0 0 10px #d6a94fcc}.rummy .reveal{background:var(--shade);border:1px solid var(--line);border-radius:10px;gap:8px;padding:10px 12px;display:grid}.rummy .reveal .res-row{--cw:32px}.rummy .reveal .cap{color:var(--brass)}.rummy .flip{width:var(--cw);height:calc(var(--cw) * 1.4);perspective:700px;flex:none}.rummy .flip-in{width:100%;height:100%;transform-style:preserve-3d;animation:.9s cubic-bezier(.3,.7,.3,1) .35s forwards rummy-flip;position:relative}.rummy .flip.done .flip-in{animation:none;transform:rotateY(180deg)}.rummy .flip-face{backface-visibility:hidden;position:absolute;inset:0}.rummy .flip-face .card{position:absolute;inset:0}.rummy .flip-front{transform:rotateY(180deg)}.rummy .flip-front .card{box-shadow:0 0 0 2px var(--brass), 0 0 18px #d6a94f8c}@keyframes rummy-flip{0%{transform:rotateY(0)}to{transform:rotateY(180deg)}}.rummy .closerbox{justify-items:center;gap:6px;display:grid}.rummy .closerbox .cap{color:var(--brass)}.rummy .closer-show{--cw:58px;align-items:center;gap:14px;display:flex}.rummy .closer-show p{color:var(--text);margin:2px 0 0}@media (prefers-reduced-motion:reduce){.rummy .flip-in{transform:rotateY(180deg)}}.rummy .lobby{border:1px solid var(--line);background:radial-gradient(120% 90% at 50% 30%, var(--baize-hi), var(--baize) 60%, var(--baize-lo));border-radius:14px;grid-column:1/-1;gap:14px;max-width:640px;padding:20px;display:grid;box-shadow:inset 0 0 0 1px #d6a94f4d}.rummy .lobby h2{font-family:var(--f-display);color:var(--text);margin:0;font-size:26px;font-weight:500}.rummy .lobby p{color:var(--muted);margin:0}.rummy .linkbox{gap:8px;min-width:0;display:flex}.rummy .linkbox input{border:1px solid var(--line);min-width:0;color:var(--text);font-family:var(--f-mono);background:#0000004d;border-radius:6px;flex:auto;padding:8px 10px;font-size:12.5px}.rummy .lseats{gap:6px;margin:0;padding:0;list-style:none;display:grid}.rummy .lseat{background:var(--shade);border:1px solid var(--line);border-radius:8px;align-items:center;gap:10px;padding:10px 12px;display:flex}.rummy .lseat b{font-family:var(--f-display);font-size:17px;font-weight:500}.rummy .lseat small{font-family:var(--f-mono);color:var(--brass);letter-spacing:.08em;text-transform:uppercase;margin-left:auto;font-size:10.5px}.rummy .lseat.me{border-color:var(--brass-dim)}.rummy .lseat.empty{color:var(--muted);border-style:dashed}.rummy .dot{background:#efe8d640;border-radius:50%;flex:none;width:8px;height:8px}.rummy .dot.on{background:#6fd39b;box-shadow:0 0 0 3px #6fd39b2e}.rummy .lobby-actions{justify-content:flex-start;align-items:center}.rummy .lobby .warn,.rummy .dialog .warn{color:#f0a48f}.rummy .top .row-btns{align-items:center}.rummy .intro,.rummy .rooms{border:1px solid var(--line);border-radius:14px;grid-column:1/-1;gap:12px;padding:20px;display:grid}.rummy .intro{background:radial-gradient(120% 90% at 50% 30%, var(--baize-hi), var(--baize) 60%, var(--baize-lo));box-shadow:inset 0 0 0 1px #d6a94f4d}.rummy .rooms{background:var(--rail-2)}.rummy .intro h2,.rummy .rooms h2{font-family:var(--f-display);color:var(--text);margin:0;font-size:26px;font-weight:500}.rummy .intro p,.rummy .rooms p{color:var(--muted);margin:0}.rummy .intro p b,.rummy .facts b{color:var(--text);font-weight:600}.rummy .facts{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.rummy .facts li{background:var(--shade);border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:10px 12px;font-size:13px}.rummy .rules-full{border-top:1px solid var(--line);padding-top:12px}.rummy .rules-full summary{cursor:pointer;color:var(--brass);font-weight:600}.rummy .rules-full[open] summary{margin-bottom:12px}.rummy .rooms-h{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;display:flex}.rummy .room-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.rummy .room{background:var(--shade);border:1px solid var(--line);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.rummy .room.mine{border-color:var(--brass-dim)}.rummy .room.playing{opacity:.75}.rummy .room-main{gap:4px;min-width:0;display:grid}.rummy .room-h{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.rummy .room-h b{font-family:var(--f-display);color:var(--text);font-size:18px;font-weight:500}.rummy .room-st{font-family:var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:#6fd39b;font-size:10.5px}.rummy .room.playing .room-st{color:var(--muted)}.rummy .room .room-p{overflow-wrap:anywhere;font-size:13px}.rummy .room .room-p b{color:var(--text);font-weight:600}.rummy .room>.btn{flex:none;text-decoration:none}.rummy span.btn[aria-disabled]{opacity:.45;cursor:default}.rummy .rooms-empty{border:1px dashed var(--line);border-radius:10px;gap:10px;padding:16px;display:grid}.rummy .rooms-empty .row-btns{justify-content:flex-start}.rummy .rooms .warn{color:#f0a48f}@media (width<=560px){.rummy .intro,.rummy .rooms{padding:16px}.rummy .room{flex-direction:column;align-items:stretch}.rummy .room>.btn{text-align:center}}.rummy .wrap-main{display:contents}.rummy .wrap:has(.chat:not([hidden])) .table{grid-row:span 2;align-self:start}.rummy .wrap:has(.chat:not([hidden])) .lobby{grid-column:1}.rummy .chat{border:1px solid var(--line);background:var(--rail-2);border-radius:12px;grid-column:2;align-self:start;gap:10px;min-width:0;padding:12px;display:grid}.rummy .chat-h{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.rummy .chat-h .cap{color:var(--brass)}.rummy .chat-list{overscroll-behavior:contain;align-content:start;gap:8px;height:240px;margin:0;padding:0 2px 0 0;list-style:none;display:grid;overflow-y:auto}.rummy .chat-list li{min-width:0;font-size:13px;line-height:1.35}.rummy .chat-list li b{font-weight:600}.rummy .chat-list li .t{font-family:var(--f-mono);color:var(--muted);margin-left:6px;font-size:10px}.rummy .chat-list li p{color:var(--text);overflow-wrap:anywhere;margin:1px 0 0}.rummy .chat-list li.mine p{color:var(--brass)}.rummy .chat-list .chat-empty{color:var(--muted);font-size:12.5px}.rummy .chat-form{gap:6px;min-width:0;display:flex}.rummy .chat-form input{border:1px solid var(--line);min-width:0;color:var(--text);font:inherit;background:#0000004d;border-radius:6px;flex:auto;padding:8px 10px;font-size:14px}.rummy .chat-form .btn{flex:none}.rummy .voice{border-bottom:1px solid var(--line);gap:8px;padding-bottom:10px;display:grid}.rummy .vbtns{flex-wrap:wrap;gap:6px;display:flex}.rummy .vbtns .btn{padding:7px 11px;font-size:12.5px}.rummy .vlive{font-family:var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:#6fd39b;font-size:10px}.rummy .vlist{gap:4px;margin:0;padding:0;font-size:13px;list-style:none;display:grid}.rummy .vlist li{align-items:center;gap:8px;display:flex}.rummy .vlist .vmic{font-family:var(--f-mono);color:var(--muted);margin-left:auto;font-size:10px}.rummy .vdot{background:#efe8d640;border-radius:50%;width:9px;height:9px;transition:background .1s,box-shadow .1s}.rummy .vlist li.talking .vdot{background:#6fd39b;box-shadow:0 0 0 4px #6fd39b40}.rummy .voice .note{margin:0;font-size:12px}@media (width<=960px){.rummy .wrap:has(.chat:not([hidden])) .table{grid-row:auto}.rummy .chat{order:1;grid-column:1}.rummy .wrap:has(.chat:not([hidden])) .ledger{order:2}.rummy .wrap:has(.chat:not([hidden])) .lobby{grid-column:1}}
