@font-face{font-family:Rubik;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/rubik-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Rubik;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/rubik-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#f2eee6;--felt:#e8e1d5;--surface:#fff;--sunken:#f2eee6;--sunken-2:#281e140f;--fg:#1f1b16;--fg-inv:#fff;--muted:#5e574d;--muted-2:#6b645a;--line:#e2dbcf;--line-strong:#d9d1c3;--slot:#cbc1b0;--slot-text:#6f675b;--gold:#ffc531;--gold-text:#7a5600;--gold-glow:#ffc53173;--tint:#fff1c2;--tint-text:#3d2e00;--shadow:#281e1424;--shadow-soft:#281e1412;--name-1:#9a5b00;--name-2:#2f5fc4;--name-3:#b42335;--name-4:#2f7a35;--name-5:#8e3aa8;--name-6:#0f6f86;--paper:#fff;--ink:#1f1b16;--blue:#2f5fc4;--green:#2f8a35;--red:#d0263a;--wild:#e8820f;--back:#263252;--muted-on-paper:#5e574d;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--w-xs:20px;--h-xs:28px;--w-sm:42px;--h-sm:59px;--w-md:62px;--h-md:87px;--w-lg:76px;--h-lg:106px;--w-xl:92px;--h-xl:128px;--w-xxl:108px;--h-xxl:150px;--strip:16px}:root[data-theme=dark]{--bg:#15130f;--felt:#25211b;--surface:#1e1b16;--sunken:#15130f;--sunken-2:#00000040;--fg:#f3eee6;--fg-inv:#15130f;--muted:#b9b0a2;--muted-2:#a89f91;--line:#3a342c;--line-strong:#4a4339;--slot:#4c4539;--slot-text:#9a9183;--gold-text:#f2c14e;--tint:#3a3018;--tint-text:#ffe08a;--shadow:#0006;--shadow-soft:#00000040;--name-1:#f0a94a;--name-2:#8fb0ff;--name-3:#ff8a8a;--name-4:#7fd086;--name-5:#d59cf0;--name-6:#6fd3e8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){:root:not([data-theme]){--bg:#15130f;--felt:#25211b;--surface:#1e1b16;--sunken:#15130f;--sunken-2:#00000040;--fg:#f3eee6;--fg-inv:#15130f;--muted:#b9b0a2;--muted-2:#a89f91;--line:#3a342c;--line-strong:#4a4339;--slot:#4c4539;--slot-text:#9a9183;--gold-text:#f2c14e;--tint:#3a3018;--tint-text:#ffe08a;--shadow:#0006;--shadow-soft:#00000040;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html{background:var(--bg)}body{background:var(--bg);min-height:100vh;color:var(--fg);-webkit-tap-highlight-color:transparent;margin:0;font-family:Rubik,ui-rounded,SF Pro Rounded,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}button{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--fg);outline-offset:2px}.wrap{flex-direction:column;gap:14px;max-width:540px;margin:0 auto;padding:14px 16px 40px;display:flex}.title{letter-spacing:-.02em;text-align:center;margin:16px 0 0;font-size:2.2rem;font-weight:800}.subtitle{text-align:center;color:var(--muted);margin:0 0 6px}.panel{background:var(--surface);box-shadow:0 1px 2px var(--shadow-soft), 0 6px 18px var(--shadow-soft);border-radius:18px;padding:16px}.setup{flex-direction:column;gap:14px;display:flex}.setup .row,.setup label{justify-content:space-between;align-items:center;gap:12px;font-weight:500;display:flex}.setup .check{justify-content:flex-start;font-weight:500}.setup .check input{width:20px;height:20px;accent-color:var(--fg)}.seg{background:var(--sunken);border-radius:11px;padding:3px;display:flex}.seg button{cursor:pointer;min-width:40px;color:var(--muted);background:0 0;border:0;border-radius:8px;padding:8px 12px;font-weight:600}.seg button.on{background:var(--surface);color:var(--fg);box-shadow:0 1px 3px var(--shadow);font-weight:700}.seg button:disabled{cursor:default}.setup .row{flex-wrap:wrap;row-gap:8px}.setup .row>span:first-child{flex:6em}.setup .row>.seg{max-width:100%;margin-left:auto}@media (max-width:400px){.seg button{min-width:34px;padding:8px 9px}}.primary{background:var(--fg);color:var(--fg-inv);cursor:pointer;border:0;border-radius:14px;padding:14px;font-size:1.05rem;font-weight:700}.primary.alt{background:var(--gold);color:#1f1b17}.ghost{border:1.5px solid var(--line);background:var(--surface);color:var(--fg);cursor:pointer;border-radius:11px;padding:8px 14px;font-weight:600}.ghost:disabled{opacity:.4;cursor:default}.dark-btn{background:var(--fg);height:40px;color:var(--fg-inv);cursor:pointer;white-space:nowrap;border:0;border-radius:11px;padding:0 16px;font-weight:600}.muted{color:var(--muted)}.small{font-size:.8rem}.tiny{color:var(--muted);white-space:nowrap;font-size:.7rem}.lbl{letter-spacing:.1em;text-transform:uppercase;color:var(--muted-2);font-size:.68rem;font-weight:700}.lbl.strong{color:var(--fg)}.icon-btn{justify-content:center;align-items:center;width:40px;height:40px;padding:0;line-height:1;display:inline-flex;position:relative}.icon-btn.on{background:var(--fg);border-color:var(--fg);color:var(--fg-inv)}.mini-btn{width:32px;height:32px;color:var(--muted-2);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;justify-content:center;align-items:center;display:inline-flex}.mini-btn:hover{background:var(--sunken);color:var(--fg)}.mini-btn.danger{color:var(--red)}.mini-btn.join{color:var(--fg)}.mini-btn:disabled{opacity:.4;cursor:default}.game-shell{flex-direction:column;gap:12px;max-width:1480px;margin:0 auto;padding:12px 20px 16px;display:flex}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.topbar-left{align-items:center;gap:14px;min-width:0;display:flex}.brand{font-size:1.15rem;font-weight:800}.status{background:var(--surface);border:1.5px solid var(--line);border-radius:999px;align-items:center;min-height:32px;padding:4px 14px;font-size:.85rem;font-weight:700;display:inline-flex}.status.my-turn{background:var(--gold);border-color:var(--gold);color:#1f1b17}.top-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.scoreline{background:var(--surface);border:1.5px solid var(--line);min-height:40px;color:var(--muted);white-space:nowrap;border-radius:11px;align-items:center;gap:12px;margin-left:auto;padding:0 14px;font-size:.82rem;display:flex}.score-btn{display:none}.scoreline strong,.scoreline b{color:var(--fg)}.scoreline .score-me b{color:var(--gold-text)}.game-grid{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:12px;display:grid}.game-main{flex-direction:column;gap:12px;min-width:0;display:flex}.side{min-width:0}.side-head{justify-content:space-between;align-items:center;gap:8px;min-height:32px;display:flex}.side-log{flex-direction:column;gap:8px;padding:12px 14px;display:flex}.side-chat{display:flex}.side-chat .chat-panel{flex:1}.log{color:var(--muted);flex-direction:column;gap:8px;margin:0;padding:0;font-size:.82rem;list-style:none;display:flex}.log li{gap:9px;line-height:1.35;display:flex}.log li:before{content:"";background:var(--slot);border-radius:50%;flex:none;width:7px;height:7px;margin-top:5px}.log .latest{color:var(--fg);font-weight:600}.log .latest:before{background:var(--gold);box-shadow:0 0 0 1px #e0a800}@media (min-width:1100px){.game-grid.has-log{grid-template-columns:230px minmax(0,1fr)}.game-grid.has-chat{grid-template-columns:minmax(0,1fr) 290px}.game-grid.has-log.has-chat{grid-template-columns:230px minmax(0,1fr) 290px}}@media (max-width:1099px){.side{z-index:50;width:min(330px,100vw - 24px);box-shadow:0 20px 44px var(--shadow);border-radius:18px;position:fixed;top:64px;bottom:12px}.side-log{left:12px;overflow-y:auto}.side-chat{right:12px}}.card{--bw:5px;width:var(--w-lg);height:var(--h-lg);background:var(--paper);color:var(--ink);box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 1px #281e141f, 0 2px 3px #281e1424, 0 6px 14px #281e1424;-webkit-user-select:none;user-select:none;border:0;border-radius:12px;flex:none;justify-content:center;align-items:center;padding:0;font-family:inherit;transition:transform .12s,box-shadow .12s;display:flex;position:relative}.card-xs{--bw:2px;width:var(--w-xs);height:var(--h-xs);border-radius:4px}.card-sm{--bw:3px;width:var(--w-sm);height:var(--h-sm);border-radius:8px}.card-md{--bw:4px;width:var(--w-md);height:var(--h-md);border-radius:11px}.card-lg{--bw:5px;width:var(--w-lg);height:var(--h-lg);border-radius:12px}.card-xl{--bw:6px;width:var(--w-xl);height:var(--h-xl);border-radius:14px}.card-xxl{--bw:7px;width:var(--w-xxl);height:var(--h-xxl);border-radius:15px}.card .face{text-shadow:0 2px #00000024;font-weight:800;line-height:1}.card .corner{top:calc(var(--bw) + 4px);left:calc(var(--bw) + 4px);font-weight:800;line-height:1;position:absolute}.card .corner2{top:auto;left:auto;bottom:calc(var(--bw) + 4px);right:calc(var(--bw) + 4px);transform:rotate(180deg)}.card-sm .face{font-size:calc(var(--w-sm) * .6)}.card-sm .corner{font-size:calc(var(--w-sm) * .25);top:calc(var(--bw) + 2px);left:calc(var(--bw) + 3px)}.card-md .face{font-size:calc(var(--w-md) * .6)}.card-md .corner{font-size:calc(var(--w-md) * .19)}.card-lg .face{font-size:calc(var(--w-lg) * .63)}.card-lg .corner{font-size:calc(var(--w-lg) * .17)}.card-xl .face{font-size:calc(var(--w-xl) * .63)}.card-xl .corner{font-size:calc(var(--w-xl) * .165)}.card-xxl .face{font-size:calc(var(--w-xxl) * .65)}.card-xxl .corner{font-size:calc(var(--w-xxl) * .155)}.c-blue{background:var(--blue);color:#fff}.c-green{background:var(--green);color:#fff}.c-red{background:var(--red);color:#fff}.c-wild{background:var(--wild);color:#2a1600}.c-wild .face{text-shadow:none;font-size:calc(var(--w-lg) * .5);margin-top:-16%}.card-sm.c-wild .face{font-size:calc(var(--w-sm) * .5);margin-top:-10%}.card-md.c-wild .face{font-size:calc(var(--w-md) * .5)}.card-xl.c-wild .face{font-size:calc(var(--w-xl) * .5)}.card-xxl.c-wild .face{font-size:calc(var(--w-xxl) * .5)}.wild-text{left:0;right:0;bottom:calc(var(--bw) + 16px);text-align:center;letter-spacing:.14em;font-size:.55rem;font-weight:800;position:absolute}.wild-bar{left:calc(var(--bw) + 6px);right:calc(var(--bw) + 6px);bottom:calc(var(--bw) + 6px);border-radius:3px;height:6px;display:flex;position:absolute;overflow:hidden}.card-sm .wild-bar{height:4px;left:calc(var(--bw) + 3px);right:calc(var(--bw) + 3px);bottom:calc(var(--bw) + 3px)}.wild-bar i{flex:1;display:block}.was-wild .wild-dot{z-index:3;background:var(--wild);color:#2a1600;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;display:flex;position:absolute;top:-7px;right:-7px;box-shadow:0 0 0 2px #fff,0 2px 4px #281e1433}.card-empty{border:2px dashed var(--slot);box-shadow:none;color:var(--slot-text);background:0 0;font-size:.9rem;font-weight:700}.card-back{background:var(--back)}.card-back:before{content:"";inset:calc(var(--bw) + 3px);background:repeating-linear-gradient(135deg,#ffffff14 0 4px,#0000 4px 9px);border-radius:5px;position:absolute}.card-xs.card-back:before{border-radius:2px;inset:3px}.badge{z-index:3;background:var(--fg);min-width:26px;height:22px;color:var(--fg-inv);box-shadow:0 0 0 2px var(--surface);border-radius:11px;justify-content:center;align-items:center;padding:0 7px;font-size:.72rem;font-weight:700;display:flex;position:absolute;top:-8px;right:-8px}.card-sm .badge{min-width:20px;height:18px;padding:0 5px;font-size:.65rem;top:-6px;right:-6px}.is-clickable{cursor:pointer}.is-clickable:active{transform:scale(.97)}.is-selected,.is-selected:active{box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 3px var(--gold), 0 0 20px var(--gold-glow), 0 22px 32px #281e144d;transform:translateY(-16px)}.is-target{box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 3px var(--gold), 0 0 20px var(--gold-glow), 0 6px 14px #281e1424;animation:1.3s ease-in-out infinite pulse}.card-empty.is-target{border-color:var(--gold);background:var(--tint);color:var(--tint-text)}.is-hint:after{content:"";background:var(--fg);border-radius:50%;width:7px;height:7px;margin-left:-3.5px;position:absolute;bottom:-12px;left:50%}@keyframes pulse{50%{box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 3px var(--gold), 0 0 6px #ffc53133, 0 6px 14px #281e1424}}.opponents{flex-wrap:wrap;gap:12px;display:flex}.opp{background:var(--surface);min-width:0;box-shadow:0 1px 2px var(--shadow-soft), 0 6px 18px var(--shadow-soft);border:1.5px solid #0000;border-radius:18px;flex:280px;align-items:flex-start;gap:14px;padding:10px 14px 12px;display:flex}.opp.active{border-color:var(--gold);box-shadow:0 0 0 2px #ffc53159,0 6px 18px #ffc5312e}.opp.away>.opp-stock,.opp.away .opp-hand,.opp.away .opp-discards{filter:grayscale();opacity:.45}.opp-waiting{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:.8rem;font-weight:600;display:flex}.opp-waiting .tiny-btn{margin-left:auto}.opp-stock{padding-top:4px}.opp-body{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.opp-head{flex-wrap:wrap;align-items:center;gap:8px;min-height:28px;display:flex}.opp-who{align-items:center;gap:8px;margin-left:auto;display:flex}.opp-name{font-size:.92rem}.opp-turn,.opp-away{background:var(--felt);color:var(--muted);border-radius:999px;padding:2px 8px;font-size:.7rem;font-weight:700}.opp-turn{background:var(--gold);color:#1f1b17}.opp-hand{--w-xs:30px;--h-xs:42px;align-items:center;margin-left:4px;display:flex}.opp-hand .card+.card{margin-left:-15px}.opp-discards{align-items:flex-start;gap:7px;display:flex}.pile-col{flex-direction:column;align-items:center;display:flex}.strip{width:var(--w-sm);height:var(--strip);color:#fff;text-align:left;border:3px solid #fff;border-bottom:0;border-radius:8px 8px 0 0;margin-bottom:-2px;padding:2px 0 0 4px;font-size:.66rem;font-weight:800;line-height:1;box-shadow:0 0 0 1px #281e141f}.strip.c-wild{color:#2a1600}.discard-col .strip{width:var(--w-md);height:calc(var(--strip) + 2px);border-width:4px;border-radius:11px 11px 0 0;padding:2px 0 0 5px;font-size:.72rem}.disc-mark{z-index:4;background:var(--fg);width:16px;height:16px;color:var(--fg-inv);box-shadow:0 0 0 2px var(--surface);pointer-events:none;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:-6px;right:-6px}.table{--muted:#faead2c7;--muted-2:#faead2b3;--slot:#faead252;--slot-text:#faead299;background:radial-gradient(75% 85% at 50% 40%,#fff0c829,#0000 70%) padding-box padding-box,repeating-linear-gradient(45deg,#ffffff05 0 2px,#0000 2px 4px) padding-box padding-box,repeating-linear-gradient(-45deg,#0000000f 0 2px,#0000 2px 4px) padding-box padding-box,linear-gradient(#2a7a55,#1d5a3d) padding-box padding-box,linear-gradient(#ffe6c847,#0000 18% 80%,#00000059) border-box,repeating-linear-gradient(100deg,#0000001f 0 2px,#0000 2px 11px) border-box,linear-gradient(135deg,#8a4a29,#5a2c16 45%,#7a3f22 70%,#4a2311) border-box;border:10px solid #0000;border-radius:26px;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:14px;padding:22px 34px 14px;display:flex;position:relative;box-shadow:inset 0 0 0 1px #00000073,inset 0 4px 20px #00000073,0 0 0 1px #00000080,0 14px 34px #0000008c,0 0 60px #ffc88214}.table-label{display:none}.table .card:not(.card-empty):not(.is-target):not(.is-over){box-shadow:inset 0 0 0 var(--bw) #fff, 0 1px 2px #00000073, 0 6px 14px #0006}.table .table-divider{background:#00000059;box-shadow:1px 0 #ffdcb414}.stockbox,.drawbox,.buildbox,.handbox{flex-direction:column;gap:6px;display:flex}.drawbox,.buildbox{align-items:center}.decks{gap:10px;margin-right:10px;display:flex}.bot-speed{flex-direction:column;gap:4px;font-weight:500;display:flex}.bot-speed-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.bot-speed-head strong{font-size:.9rem}.bot-speed-row{align-items:center;gap:8px;display:flex}.bot-speed-row input{min-width:0;accent-color:var(--gold);flex:1}.setup .bot-speed{flex-direction:column;align-items:stretch;gap:4px}.mat-color{flex-direction:column;gap:8px;font-weight:500;display:flex}.mat-swatches{flex-wrap:wrap;gap:9px;display:flex}.mat-swatch{cursor:pointer;width:34px;height:34px;box-shadow:inset 0 1px 0 #ffffff2e, 0 0 0 1px var(--line-strong), 0 2px 4px var(--shadow);border:0;border-radius:50%;padding:0;display:inline-flex;position:relative}.mat-swatch.on{box-shadow:inset 0 1px 0 #ffffff2e, 0 0 0 2px var(--surface), 0 0 0 4px var(--gold)}.mat-custom{background:conic-gradient(#e0433b,#e8b23a,#5fbf4a,#3bb7c9,#3b5fe0,#b23be0,#e0433b);overflow:hidden}.mat-custom input{opacity:0;cursor:pointer;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.setup .mat-swatch{gap:0;display:inline-flex}.me{position:relative}.turn-pill{z-index:2;text-overflow:ellipsis;white-space:nowrap;border-radius:999px;max-width:calc(100% - 140px);padding:4px 14px;font-size:.85rem;font-weight:800;line-height:1.3;animation:.3s cubic-bezier(.2,.8,.3,1.2) turn-in;position:absolute;top:8px;left:50%;overflow:hidden;transform:translate(-50%)}.turn-pill.mine{background:var(--gold);color:#1f1b17;box-shadow:0 0 0 3px #ffc53140,0 4px 12px #ffc53159}.turn-pill.other{background:var(--fg);color:var(--fg-inv)}.turn-pill.ended{background:var(--surface);color:var(--muted)}@keyframes turn-in{0%{opacity:0;scale:.8}}.wastebox .card:not(.card-empty){filter:saturate(.55)brightness(.92)}.drawbox.is-shuffling .card{visibility:hidden}.shuffle-card{transform-origin:50%}.table-divider{background:var(--line-strong);border-radius:1px;align-self:stretch;width:2px;margin-bottom:22px}.builds{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.pile-label{color:var(--muted);white-space:nowrap;font-size:.74rem;font-weight:600}.pile-label.can-drop{color:var(--gold-text)}.pl-short{display:none}.who-tag{z-index:4;background:var(--fg);color:var(--fg-inv);white-space:nowrap;pointer-events:none;border-radius:999px;padding:2px 8px;font-size:.68rem;font-weight:700;animation:.25s ease-out backwards who-in;position:absolute;top:-10px;left:50%;transform:translate(-50%)}@keyframes who-in{0%{opacity:0;transform:translate(-50%,4px)}}.notice{z-index:6;background:var(--fg);width:max-content;max-width:90%;color:var(--fg-inv);text-align:center;box-shadow:0 6px 16px var(--shadow);border-radius:10px;margin:0;padding:7px 12px;font-size:.82rem;font-weight:600;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.notice.empty{display:none}.me{background:var(--surface);box-shadow:0 1px 2px var(--shadow-soft), 0 6px 18px var(--shadow-soft);border:1.5px solid #0000;border-radius:18px;flex-direction:column;gap:10px;padding:12px 18px 14px;display:flex}.me.active{border-color:var(--gold);box-shadow:0 0 0 2px #ffc53159,0 6px 18px #ffc53133}.me-row{flex-wrap:wrap;align-items:flex-end;gap:20px;display:flex}@media (min-width:641px){.me{grid-template-columns:minmax(0,max-content);justify-content:center;display:grid}.hand{min-width:calc(var(--w-xl) * 5 + 40px)}.game-main{justify-self:center;width:fit-content;max-width:100%}.table{--w-lg:var(--w-xl);--h-lg:var(--h-xl)}.opp{flex:auto}.opp-hand{min-width:calc(var(--w-xs) * 5 - 60px)}}.me-divider{background:var(--line);border-radius:1px;align-self:stretch;width:2px}.hand{min-height:calc(var(--h-xl) + 16px);align-items:flex-end;gap:10px;padding-top:16px;display:flex}.me-discards{border-top:1px solid var(--line);align-items:flex-start;gap:20px;padding-top:8px;display:flex}.me-discards-info{flex-direction:column;flex:none;align-items:flex-start;gap:4px;width:112px;padding-top:6px;display:flex}.rule{color:var(--muted);font-size:.75rem;line-height:1.35}.my-discards{align-items:flex-start;gap:12px;display:flex}.discard-col{min-height:calc(var(--h-md) + 8px);color:inherit;cursor:pointer;background:0 0;border:0;border-radius:13px;flex-direction:column;align-items:center;padding:4px;display:flex;position:relative}.discard-col:disabled{cursor:default}.discard-col.is-target{background:var(--tint);box-shadow:0 0 0 2px var(--gold);animation:none}.discard-col.is-hint{box-shadow:0 0 0 2px var(--fg)}.more{color:var(--muted);margin-bottom:2px;font-size:.65rem}.below{flex-direction:column;gap:12px;width:100%;max-width:760px;margin:12px auto 0;display:flex}.rules summary{cursor:pointer;font-weight:700}.rules ul{margin:10px 0 0;padding-left:20px;font-size:.9rem;line-height:1.5}.overlay{z-index:70;background:#14100c8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.result{text-align:center;flex-direction:column;gap:12px;min-width:280px;padding:22px;display:flex}.result h2{margin:0;font-size:1.8rem;font-weight:800}@media (min-width:1500px) and (min-height:940px){:root{--w-xs:22px;--h-xs:31px;--w-sm:48px;--h-sm:67px;--w-md:70px;--h-md:98px;--w-lg:88px;--h-lg:123px;--w-xl:106px;--h-xl:148px;--w-xxl:124px;--h-xxl:173px;--strip:18px}}@media (min-width:641px) and (max-height:820px){:root{--w-sm:38px;--h-sm:53px;--w-md:56px;--h-md:78px;--w-lg:68px;--h-lg:95px;--w-xl:82px;--h-xl:115px;--w-xxl:96px;--h-xxl:134px;--strip:14px}.game-shell,.game-main,.game-grid{gap:10px}.game-shell{padding-top:10px;padding-bottom:12px}}@media (min-width:641px) and (max-height:720px){:root{--w-sm:34px;--h-sm:48px;--w-md:50px;--h-md:70px;--w-lg:60px;--h-lg:84px;--w-xl:72px;--h-xl:101px;--w-xxl:84px;--h-xxl:118px;--strip:12px}.opp{padding:8px 12px 10px}.table{padding-top:18px;padding-bottom:8px}.me{gap:8px;padding:10px 16px 12px}.hand{padding-top:12px}}@media (max-width:640px){:root{--w-xs:14px;--h-xs:20px;--w-sm:28px;--h-sm:39px;--w-md:46px;--h-md:64px;--w-lg:58px;--h-lg:82px;--w-xl:62px;--h-xl:87px;--w-xxl:80px;--h-xxl:112px;--strip:11px}.game-shell{gap:8px;padding:8px 10px 12px}.game-main,.game-grid{gap:8px}.topbar .brand{display:none}.status{min-height:30px;padding:3px 10px;font-size:.78rem}.top-actions{gap:3px}.icon-btn{width:34px;height:34px}.dark-btn{height:36px;padding:0 10px}.score-btn{display:inline-flex}.scoreline:not(.open){display:none}.scoreline{flex-basis:100%;order:3;justify-content:center;gap:10px;min-height:30px;margin-left:0;font-size:.75rem}.opponents{flex-direction:column;gap:6px}.opp{border-radius:14px;flex:none;gap:10px;padding:7px 10px 8px}.opp-stock{padding-top:2px}.opp-body{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:8px}.opp-head{flex-direction:column;align-items:flex-start;gap:4px;min-height:0}.opp-who{order:-1;gap:6px;margin-left:0}.opp-name{font-size:.85rem}.opp-hand{--w-xs:21px;--h-xs:29px;margin-left:0}.opp-hand .card+.card{margin-left:-10px}.opp-discards{gap:4px}.strip{border-width:2px;border-radius:5px 5px 0 0;padding:1px 0 0 3px;font-size:.55rem}.card-sm{--bw:2px;border-radius:5px}.card-sm .corner{display:none}.card-sm .badge{min-width:16px;height:15px;font-size:.58rem}.disc-mark{width:14px;height:14px}.table{border-width:5px;border-radius:16px;flex-wrap:nowrap;justify-content:space-between;gap:6px;padding:14px 7px 8px}.table-label{top:9px;left:12px}.table-divider{display:none}.table{--w-tbl:min(58px, calc((100vw - 96px) / 5.64));--w-lg:var(--w-tbl);--h-lg:calc(var(--w-lg) * 1.41);align-items:flex-end}.decks{--w-lg:calc(var(--w-tbl) * .82);--h-lg:calc(var(--w-lg) * 1.41);gap:6px;margin-right:10px}.turn-pill{max-width:calc(100% - 130px);padding:3px 12px;font-size:.78rem;top:6px;left:auto;right:10px;transform:none}.builds{flex-wrap:nowrap;gap:6px}.pile-label{font-size:.64rem}.pl-long{display:none}.pl-short{display:inline}.card-lg{--bw:4px;border-radius:10px}.card-xxl{--bw:5px;border-radius:13px}.card-xl{--bw:4px;border-radius:11px}.me{border-radius:16px;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"stock disc""hand hand";gap:8px 12px;padding:10px 10px 12px;display:grid}.me-row{display:contents}.me-row .stockbox{grid-area:stock}.me-row .handbox{grid-area:hand}.me-divider{display:none}.me-discards{border-top:0;flex-direction:column;grid-area:disc;align-self:end;gap:4px;padding-top:0}.me-discards-info{width:auto;padding-top:0}.me-discards-info .rule{display:none}.my-discards{justify-content:space-between;gap:2px}.discard-col{padding:3px}.discard-col .strip{border-width:3px;border-radius:8px 8px 0 0;font-size:.6rem}.hand{justify-content:space-between;gap:4px;padding-top:14px}.me{--me-w:calc(100vw - 43px);--w-xl:min(62px, calc((var(--me-w) - 17px) / 5));--h-xl:calc(var(--w-xl) * 1.4);--w-xxl:min(80px, calc(var(--me-w) * .24));--h-xxl:calc(var(--w-xxl) * 1.4);--w-md:min(46px, calc((var(--me-w) - max(var(--w-xxl), 86px) - 42px) / 4));--h-md:calc(var(--w-md) * 1.39)}.table .empty-label{font-size:min(.9rem, calc(var(--w-lg) * .26))}.side{border-radius:22px 22px 0 0;width:auto;inset:auto 0 0}.side-log{max-height:60vh}.side-chat{height:min(72vh,540px)}.side-chat .chat-panel{border-radius:22px 22px 0 0}}@media (max-width:380px){:root{--w-lg:54px;--h-lg:76px;--w-xl:58px;--h-xl:81px;--w-md:42px;--h-md:59px}}.panel-title{margin:0;font-size:1.05rem;font-weight:700}.setup input[type=text],.setup input:not([type]),.t-select{font:inherit;color:var(--fg);background:var(--surface);border:1.5px solid var(--line-strong);border-radius:11px;min-width:0;padding:10px 12px}.setup input::placeholder{color:var(--muted-2)}.field input{flex:1;max-width:220px}.join{gap:8px;display:flex}.join input{flex:1}.join .code-input{letter-spacing:.15em;font-weight:700}.primary:disabled{opacity:.5;cursor:default}.room-code{flex-direction:column;align-items:center;gap:2px;display:flex}.room-code strong{letter-spacing:.2em;color:var(--fg);font-size:2.6rem}.seats{flex-direction:column;gap:4px;margin:0;padding-left:20px;display:flex}.menu .menu-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.menu-actions{gap:6px;display:flex}.hero{justify-content:space-between;align-items:center;gap:12px;min-height:120px;display:flex}.hero-text{flex-direction:column;gap:8px;min-width:0;display:flex}.hero .title{text-align:left;margin:0;font-size:2rem;line-height:1.05}.hero .subtitle{text-align:left;margin:0;font-size:.92rem}.hero-cards{flex:none;width:150px;height:116px;position:relative}.hero-cards .card{--w-md:58px;--h-md:81px;box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 1px #281e141a, 0 10px 20px #281e142e;position:absolute}.hero-cards .card:first-child{top:22px;left:0;transform:rotate(-14deg)}.hero-cards .card:nth-child(2){top:8px;left:30px;transform:rotate(-4deg)}.hero-cards .card:nth-child(3){top:10px;left:60px;transform:rotate(6deg)}.hero-cards .card:nth-child(4){top:24px;left:90px;transform:rotate(15deg)}.game-tabs{align-self:stretch}.game-tabs button{flex:1;padding:10px;font-size:.95rem}@media (max-width:420px){.hero .title{font-size:1.6rem}.hero-cards{transform-origin:100%;margin-left:-30px;transform:scale(.8)}}.tc{background:var(--paper);color:var(--ink);-webkit-user-select:none;user-select:none;border:2px solid #0000;border-radius:7px;flex-direction:column;flex:none;justify-content:center;align-items:center;padding:0;font-family:inherit;line-height:1;transition:transform .12s,box-shadow .12s;display:flex;position:relative;box-shadow:0 2px 4px #00000059}.tc-xs{border-radius:4px;width:22px;height:31px}.tc-sm{border-radius:5px;width:34px;height:48px}.tc-md{width:54px;height:76px}.tc-lg{border-radius:9px;width:76px;height:106px}.tc-rank{font-size:1.4rem;font-weight:800}.tc-suit{font-size:1.3rem}.tc-sm .tc-rank{font-size:.95rem}.tc-sm .tc-suit{font-size:.9rem}.tc-lg .tc-rank{font-size:2rem}.tc-lg .tc-suit{font-size:1.85rem}.tc-red{color:var(--red)}.tc-joker{color:#b45309;background:linear-gradient(160deg,#fff7d6,#f2c14e)}.tc-jtext{letter-spacing:.05em;margin-top:4px;font-size:.5rem;font-weight:800}.tc-lg .tc-jtext{font-size:.62rem}.tc-note{color:var(--gold-text);white-space:nowrap;font-size:.62rem;font-weight:700;position:absolute;bottom:-15px;left:50%;transform:translate(-50%)}.tc-back{border:3px solid var(--paper);color:var(--gold-text);background:repeating-linear-gradient(45deg,#1e3a8a,#1e3a8a 6px,#1e40af 6px 12px)}.tc-xs.tc-back{background:repeating-linear-gradient(45deg,#1e3a8a,#1e3a8a 3px,#1e40af 3px 6px);border-width:2px}.tc-empty{box-shadow:none;background:#0000002e;border:2px dashed #faead259}.tc.is-selected{box-shadow:0 0 0 3px var(--gold), 0 8px 16px #0006;transform:translateY(-8px)}.tc.is-hint{box-shadow:0 0 0 3px var(--gold), 0 0 14px var(--gold-glow)}.tc.is-clickable{cursor:pointer}.tc.is-target,.is-target>.tc{box-shadow:0 0 0 3px var(--gold), 0 0 8px #ffc53140;animation:none}.tc.is-target:after,.is-target>.tc:after{content:"";border-radius:inherit;pointer-events:none;animation:1.4s ease-in-out infinite t-glow-pulse;position:absolute;inset:-2px;box-shadow:0 0 22px #ffc5318c}@keyframes t-glow-pulse{50%{opacity:0}}.t-shell .is-target:not(.tc){animation:none}.tiny-btn{padding:4px 8px;font-size:.8rem}.t-roundtitle{background:#00000047;border:1px solid #ffe4be24;border-radius:999px;align-items:baseline;gap:8px;min-width:0;min-height:34px;padding:6px 14px;font-size:.95rem;display:inline-flex}.t-roundno{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);white-space:nowrap;font-size:.78rem;font-weight:700}.t-roundtitle strong{color:var(--gold-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.game-main.t-main{justify-self:stretch;width:auto;max-width:1180px;margin:0 auto}.game-grid.has-log .game-main.t-main,.game-grid.has-chat .game-main.t-main{max-width:none;margin:0}.t-opps{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.opp.t-opp{flex-direction:column;align-items:stretch;gap:6px;padding:12px 16px}.t-opp-top{align-items:center;gap:10px;min-height:34px;display:flex}.t-opp-hand{align-items:center;gap:8px;display:flex}.t-fan{align-items:center;display:flex}.t-fan .tc+.tc{margin-left:-15px}.t-opp-count{font-size:1.05rem;font-weight:800}.t-opp .opp-who{flex-wrap:wrap;justify-content:flex-end;min-width:0}.t-opp .opp-name{text-overflow:ellipsis;white-space:nowrap;font-size:1.02rem;overflow:hidden}.t-dealer{background:var(--paper);width:20px;height:20px;color:var(--ink);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:.72rem;font-weight:800;display:inline-flex}.t-badge-tirri{background:var(--red);color:#fff;letter-spacing:.05em;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:900}.t-opp-stats,.t-me-stats{flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:.88rem;display:flex}.t-tirris{align-items:center;gap:4px;display:inline-flex}.t-tirris-lbl{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-right:2px;font-size:.68rem;font-weight:700}.t-dot{border:2px solid var(--gold);opacity:.55;border-radius:50%;width:11px;height:11px}.t-dot.on{background:var(--gold);opacity:1}.t-done{color:#86efac;font-weight:700}.t-me-score{white-space:nowrap;align-items:center;gap:4px;font-weight:800;display:inline-flex}.t-wait{color:var(--muted)}.t-score{margin-left:auto;font-weight:800}.t-last{color:var(--gold-text);white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;animation:.6s t-fade;overflow:hidden}.t-taken{flex-wrap:wrap;align-items:center;gap:3px;font-size:.74rem;line-height:1.25;display:flex}.t-taken-lbl{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-right:3px;font-size:.66rem;font-weight:700}.t-taken span:not(.t-taken-lbl){background:var(--paper);color:var(--ink);border-radius:4px;padding:0 4px;font-weight:700}.t-taken span.r{color:var(--red)}.t-taken span.j{color:#b45309}.game-shell .opp.t-opp.tirri-caller{border-color:var(--red);box-shadow:0 0 0 3px var(--red), 0 6px 20px #d0263a59}.table.t-table{grid-template:"piles event""piles melds"1fr/auto minmax(0,1fr);justify-content:stretch;align-items:start;gap:10px 22px;min-height:190px;padding:18px 22px 22px;transition:box-shadow .15s;display:grid}.t-table.can-discard{box-shadow:inset 0 0 0 2px #ffc53173,inset 0 4px 20px #00000073,0 14px 34px #0000008c}.t-table.discard-over{box-shadow:inset 0 0 0 3px var(--gold), inset 0 0 40px #ffc53140, 0 14px 34px #0000008c}.t-piles{grid-area:piles;align-items:flex-start;gap:16px;display:flex}.t-pile{flex-direction:column;align-items:center;gap:8px;display:flex}.t-pile>button:not(.tc),.t-pile .t-discard-top,.t-under{cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0;position:relative}.t-pile>button:disabled,.t-under:disabled{color:inherit;opacity:1;cursor:default}.t-pile .tc-back.tc-lg .badge{min-width:30px;height:26px;font-size:.85rem;top:-9px;right:-9px}.t-discard.is-drop .tc-lg{box-shadow:0 0 0 3px var(--gold), 0 0 22px #ffc5318c}.t-discard.is-over .tc-lg{box-shadow:0 0 0 4px var(--gold), 0 0 30px #ffc531cc;transform:scale(1.08)}.t-discard .pile-label{text-overflow:ellipsis;max-width:150px;overflow:hidden}.t-discard.is-drop .pile-label{color:var(--gold-text);font-weight:800}.t-table .pile-label{font-size:.8rem}.t-table .tc:not(.tc-empty):not(.is-target):not(.is-hint){box-shadow:0 1px 2px #00000073,0 6px 14px #0006}.t-discard-top{position:relative}.t-tirri-flag{white-space:nowrap;background:var(--red);color:#fff;border:2px solid var(--gold);letter-spacing:.04em;z-index:2;border-radius:8px;padding:2px 8px;font-size:.85rem;font-weight:900;animation:.9s ease-in-out infinite alternate t-flag;position:absolute;top:-14px;left:50%;transform:translate(-50%)rotate(-6deg);box-shadow:0 4px 10px #00000080}@keyframes t-flag{to{transform:translate(-50%)rotate(-6deg)scale(1.12)}}.t-event{background:#0000004d;border-radius:10px;grid-area:event;justify-self:start;margin:0;padding:6px 12px;font-size:.92rem;font-weight:700;animation:.4s t-fade}.t-event.tirri{color:#fff;background:#b91c1ce6;border:2px solid #ffc531b3;padding:7px 14px;font-size:1rem}.t-event.mine{color:#fff;border:2px solid var(--gold);background:#b91c1c;padding:8px 12px;font-size:1rem}.t-melds{flex-direction:column;grid-area:melds;gap:10px;min-width:0;display:flex}.t-melds-empty{color:var(--muted);margin:0;padding:18px 0;font-size:.9rem;font-style:italic}.t-owner-name{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:4px;font-size:.78rem;font-weight:700}.t-owner-melds{flex-wrap:wrap;gap:8px;display:flex}.t-meld{cursor:default;background:#0000003d;border:1.5px solid #fff0dc24;border-radius:10px;padding:5px 8px 17px}.t-meld.is-target{cursor:pointer;border-style:dashed;border-color:#86efac}.t-meld-label{color:var(--muted);font-size:.7rem}.t-meld-cards{flex-wrap:wrap;gap:3px;margin-top:3px;display:flex}.t-meld-cards>span{cursor:pointer}.t-ends{gap:6px;margin-top:6px;display:flex}.t-new .tc{animation:2.4s t-glow}.me.t-me{flex-direction:column;gap:12px;padding:14px 20px 18px;display:flex}.t-me .turn-pill{align-self:center;max-width:100%;padding:7px 20px;font-size:1rem;position:static;transform:none}.t-me-head{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.t-me-stats .t-score{margin-left:0}.t-sort{margin-left:auto}.t-sort button{padding:6px 10px;font-size:.82rem}.t-bar{text-align:center;background:#0000004d;border:1px solid #ffe4be1f;border-radius:14px;flex-direction:column;align-items:center;gap:10px;padding:12px;display:flex}.t-bar-buttons{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.t-bar .primary{padding:12px 20px;font-size:1.02rem}.t-tirri-banner{color:var(--gold-text);text-align:center;font-size:1.15rem;font-weight:800}.t-tirri-left strong{color:var(--fg)}.t-timer{flex-direction:column;align-items:center;gap:5px;width:min(320px,100%);display:flex}.t-timer-text{color:var(--muted);font-size:.85rem}.t-timer-track{background:#fff0dc26;border-radius:3px;width:100%;height:6px;overflow:hidden}.t-timer-fill{background:var(--gold);transform-origin:0;height:100%;animation:linear forwards t-timer-run;display:block}@keyframes t-timer-run{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.t-tirri-btn{color:#fff;cursor:pointer;background:linear-gradient(#e3343f,#b91c2c);border:0;border-radius:18px;grid-template-columns:auto auto;grid-template-areas:"word card""name card";align-items:center;column-gap:18px;padding:12px 14px 12px 26px;display:grid;position:relative;box-shadow:0 5px #7f1d1d,0 0 0 3px #ffc5318c,0 12px 26px #00000073}.t-tirri-btn:after,.t-lay.pulse:not(:disabled):after{content:"";border-radius:inherit;opacity:0;pointer-events:none;animation:1.3s ease-in-out infinite t-ring-pulse;position:absolute;inset:0;box-shadow:0 0 0 6px #ffc53159}@keyframes t-ring-pulse{50%{opacity:1}}.t-tirri-btn:active{transform:translateY(4px);box-shadow:0 1px #7f1d1d,0 0 0 3px #ffc5318c}.t-tirri-word{letter-spacing:.06em;text-shadow:0 2px #0000004d;grid-area:word;font-size:2.2rem;font-weight:900;line-height:1}.t-tirri-name{text-transform:uppercase;letter-spacing:.04em;color:#ffe9a8;grid-area:name;margin-top:4px;font-size:1.15rem;font-weight:800}.t-tirri-card{background:var(--paper);width:68px;height:94px;color:var(--ink);border-radius:10px;flex-direction:column;grid-area:card;justify-content:center;align-items:center;gap:2px;display:flex;box-shadow:0 3px 8px #0006}.t-tirri-card.r{color:var(--red)}.t-tirri-card.j{color:#b45309;background:linear-gradient(160deg,#fff7d6,#f2c14e)}.t-tirri-suit{font-size:2rem;line-height:1}.t-tirri-rank{font-size:2.1rem;font-weight:900;line-height:1}.t-assist{background:#ffc5311f;border:1px solid #ffc53166;border-radius:12px;align-items:flex-start;gap:10px;padding:10px 14px;font-size:.9rem;line-height:1.45;display:flex}.t-assist-icon{background:var(--gold);color:#2a1a05;border-radius:50%;flex:none;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.t-assist strong{color:var(--gold-text)}.t-assist-body{color:var(--fg)}.t-assist-fit{color:#86efac;font-weight:600}.t-hand,.t-pending{flex-wrap:wrap;gap:6px;display:flex}.t-hand{justify-content:center;min-height:90px;padding-top:10px;position:relative}.t-hand-empty{color:var(--muted);align-self:center;font-size:.9rem}.t-pending{border:1px solid var(--gold);border-radius:12px;align-items:center;padding:8px}.t-hcard{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.t-drag{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;display:inline-block;position:relative}.t-drag.dragging{z-index:80;cursor:grabbing;opacity:.95;filter:drop-shadow(0 10px 14px #00000080);will-change:transform}.t-hand.drop-over,.t-meld.drop-over{outline:2px solid var(--gold);outline-offset:2px;border-radius:10px}.t-drop-marker{background:var(--gold);pointer-events:none;border-radius:2px;width:4px;position:absolute}.t-hcard.is-new .tc{box-shadow:0 0 0 3px #38bdf8,0 0 14px #38bdf8b3}.t-hcard.is-new .tc.is-selected{box-shadow:0 0 0 3px var(--gold), 0 8px 16px #0006}.t-new-tag{color:#082f49;pointer-events:none;background:#38bdf8;border-radius:4px;padding:0 4px;font-size:.62rem;font-weight:800;position:absolute;top:-9px;left:50%;transform:translate(-50%)}.t-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.t-actions .primary{padding:12px 22px;font-size:1rem}.t-template{background:#0000004d;border:1.5px dashed #ffe4be59;border-radius:14px;flex-direction:column;gap:10px;padding:12px;display:flex}.t-template-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.t-template-head strong{font-size:1rem}.t-template-help{color:var(--muted);margin-top:2px;font-size:.82rem;line-height:1.4}.t-lay{flex:none;padding:10px 18px;font-size:1rem}.t-tirri-first{color:var(--gold-text);white-space:nowrap;border:1px solid;border-radius:999px;flex:none;align-self:center;margin-left:auto;padding:2px 9px;font-size:.78rem;font-weight:700}.t-lay.pulse:not(:disabled){position:relative}.t-lay.pulse:not(:disabled):after{animation-duration:1.2s}.t-groups{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;display:grid}.t-group{cursor:default;background:#fff0dc0f;border:1.5px dashed #ffe4be6b;border-radius:11px;padding:8px}.t-group.ok{background:#86efac1a;border-style:solid;border-color:#86efac}.t-group.can-add{cursor:pointer;border-color:var(--gold)}.t-group.drop-over{border-style:solid;border-color:var(--gold);background:#ffc53129}.t-group-head{flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:0 0 6px;font-weight:700;display:flex}.t-group-state{color:var(--muted);font-size:.78rem;font-weight:500}.t-group.ok .t-group-state{color:#86efac;font-weight:700}.t-add{color:var(--gold-text);margin-left:auto;font-size:.82rem}.t-group-cards{flex-wrap:wrap;gap:4px;min-height:48px;display:flex}.t-group-cards>span{cursor:pointer}.tc-slot{color:#fff0dc99;box-shadow:none;background:#fff0dc12;border:1.5px dashed #fff0dc73;font-weight:700}.tc-need{color:#fff0dcbf;font-size:.62rem}.t-scores-btn{z-index:60;position:fixed;bottom:14px;left:50%;transform:translate(-50%);box-shadow:0 8px 20px #00000073}.t-result{max-width:100%;max-height:90vh;overflow-y:auto}.t-scoretable{overflow-x:auto}.t-scoretable table{border-collapse:collapse;width:100%;font-size:.92rem}.t-scoretable th,.t-scoretable td{text-align:right;border-bottom:1px solid var(--line);padding:5px 7px}.t-scoretable .t-sname{text-align:left;text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}.t-scoretable .score-me td{color:var(--gold-text)}.t-scoretable .neg{color:#fca5a5}.t-continue{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.t-continue select{font:inherit;color:var(--ink);background:var(--paper);border:0;border-radius:10px;max-width:100%;padding:8px 10px}.t-guide-modal{flex-direction:column;gap:12px;width:min(680px,100%);max-height:88vh;padding:20px 22px;display:flex;overflow-y:auto}.t-guide-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.t-guide-head h2{margin:0;font-size:1.4rem}.t-guide{flex-direction:column;gap:4px;font-size:.92rem;line-height:1.5;display:flex}.t-guide h3{margin:10px 0 4px;font-size:1rem}.t-guide p{margin:0}.t-guide ul,.t-guide ol{flex-direction:column;gap:4px;margin:0;padding-left:20px;display:flex}.t-guide-cards{vertical-align:middle;gap:3px;margin-left:8px;display:inline-flex}.t-guide-cards .tc-sm{width:26px;height:36px}.t-guide-cards .tc-sm .tc-rank{font-size:.78rem}.t-guide-cards .tc-sm .tc-suit{font-size:.72rem}.t-guide-rounds{border-collapse:collapse;width:100%}.t-guide-rounds td{border-bottom:1px solid var(--line);padding:3px 6px}.t-guide-rounds td:first-child{width:1.6em;color:var(--muted)}.t-guide-rounds tr.on td{background:#ffc5312e;font-weight:700}.rules .t-guide{margin-top:8px}.t-select,.setup .t-select{max-width:60%}.t-hero-cards .tc{width:58px;height:81px;position:absolute;box-shadow:0 0 0 1px #281e141a,0 10px 20px #281e142e}.t-hero-cards .tc:first-child{top:22px;left:0;transform:rotate(-14deg)}.t-hero-cards .tc:nth-child(2){top:8px;left:30px;transform:rotate(-4deg)}.t-hero-cards .tc:nth-child(3){top:10px;left:60px;transform:rotate(6deg)}.t-hero-cards .tc:nth-child(4){top:24px;left:90px;transform:rotate(15deg)}.t-pop{animation:.45s t-pop}@keyframes t-fade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@keyframes t-pop{0%{opacity:0;transform:translateY(-30px)scale(.7)}70%{opacity:1;transform:translateY(2px)scale(1.05)}to{transform:none}}@keyframes t-glow{0%,60%{box-shadow:0 0 0 3px #38bdf8,0 0 14px #38bdf8cc}to{box-shadow:0 2px 4px #00000059}}@media (prefers-reduced-motion:reduce){.t-last,.t-pop,.t-new .tc,.t-tirri-flag,.t-tirri-btn:after,.t-lay.pulse:after,.tc.is-target:after,.is-target>.tc:after{animation:none}}.t-fly-layer{pointer-events:none;z-index:65;position:fixed;inset:0;overflow:hidden}.t-flyer{will-change:transform, opacity;position:fixed}.t-flyer .tc{box-shadow:0 10px 22px #00000073}.t-land{animation:t-land .26s cubic-bezier(.3, 1.4, .5, 1) var(--land,0s) both}@keyframes t-land{0%{opacity:0;transform:scale(1.12)}1%{opacity:1}to{opacity:1;transform:none}}.t-dealt{animation:t-deal .36s cubic-bezier(.25, .8, .3, 1) var(--deal,0s) both}@keyframes t-deal{0%{opacity:0;transform:translate(var(--fx,0), var(--fy,0))}.1%{opacity:1;transform:translate(var(--fx,0), var(--fy,0)) perspective(400px) rotateY(90deg)}to{opacity:1;transform:none}}.t-pile.is-shuffling .tc{visibility:hidden}.t-shuffle-card{transform-origin:50%}.t-shuffle-card .tc{box-shadow:0 2px 6px #00000073}.t-stamp{z-index:7;color:#fff;box-shadow:0 0 0 4px var(--gold), 0 20px 40px #00000080;pointer-events:none;background:#d0263aeb;border:5px solid #fff;border-radius:16px;flex-direction:column;align-items:center;padding:8px 26px 10px;animation:2.8s cubic-bezier(.2,.9,.3,1) forwards t-stamp;display:flex;position:absolute;top:50%;left:50%}.t-stamp-word{letter-spacing:.08em;font-size:3rem;font-weight:900;line-height:1}.t-stamp-name{color:#ffe9a8;text-transform:uppercase;letter-spacing:.05em;align-items:center;gap:8px;font-size:1.35rem;font-weight:800;display:flex}.t-stamp-card{background:var(--paper);color:var(--ink);text-transform:none;letter-spacing:0;border-radius:6px;padding:1px 7px}.t-stamp-card.r{color:var(--red)}.t-stamp-card.j{color:#b45309}@keyframes t-stamp{0%{opacity:0;transform:translate(-50%,-50%)rotate(-24deg)scale(2.6)}8%{opacity:1;transform:translate(-50%,-50%)rotate(-10deg)scale(.92)}13%{transform:translate(-50%,-50%)rotate(-12deg)scale(1)}86%{opacity:1;transform:translate(-50%,-50%)rotate(-12deg)scale(1)}to{opacity:0;transform:translate(-50%,-50%)rotate(-12deg)scale(1.08)}}@media (max-width:640px){.t-stamp-word{font-size:2.2rem}.t-stamp{border-width:4px;padding:6px 18px 8px}}@media (prefers-reduced-motion:reduce){.t-land,.t-dealt,.t-stamp{animation:none}}@media (max-width:640px){.t-shell{padding-bottom:24px}.t-shell .topbar{gap:6px}.t-shell .topbar-left{flex:100%;order:2;justify-content:center}.t-shell .top-actions{flex:100%;justify-content:center}.t-roundtitle{max-width:100%;min-height:30px;padding:4px 12px;font-size:.85rem}.t-roundno{font-size:.7rem}.t-opps{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.opp.t-opp{border-radius:14px;gap:3px;padding:8px 10px 9px}.game-shell .t-opp:before{border-radius:11px;inset:3px}.t-opp-top{align-items:flex-start;gap:6px;min-height:0}.t-opp-hand{order:2;gap:3px;margin-left:auto}.t-fan{display:none}.t-opp-count:before{content:"🂠";margin-right:1px;font-weight:400}.t-opp-count{white-space:nowrap;font-size:.9rem}.t-opp .opp-who{order:1;justify-content:flex-start;gap:4px;margin-left:0}.t-opp .opp-name{font-size:.9rem}.t-opp .opp-turn,.t-opp .opp-away,.t-badge-tirri{padding:1px 6px;font-size:.62rem}.t-dealer{width:17px;height:17px;font-size:.62rem}.t-opp-stats,.t-me-stats{gap:4px 8px;font-size:.78rem}.t-tirris-lbl{display:none}.t-dot{width:9px;height:9px}.t-last{font-size:.72rem}.t-taken{gap:2px;font-size:.64rem}.t-taken-lbl{display:none}.t-taken span:not(.t-taken-lbl){padding:0 2px}.table.t-table{border-width:7px;border-radius:20px;grid-template:"piles""event""melds"/minmax(0,1fr);gap:8px;min-height:0;padding:12px 10px 14px}.t-piles{justify-content:center;gap:14px}.tc-lg{width:60px;height:84px}.tc-lg .tc-rank{font-size:1.6rem}.tc-lg .tc-suit{font-size:1.45rem}.t-event{text-align:center;justify-self:center;font-size:.82rem}.t-melds{gap:6px}.t-melds-empty{text-align:center;padding:4px 0;font-size:.8rem}.t-owner-melds{gap:5px}.t-meld{padding:4px 5px 15px}.tc-sm{border-radius:4px;width:27px;height:38px}.tc-sm .tc-rank{font-size:.78rem}.tc-sm .tc-suit{font-size:.72rem}.tc-note{font-size:.55rem;bottom:-13px}.me.t-me{gap:9px;padding:10px 8px 12px}.game-shell .t-me:before{inset:3px}.t-me .turn-pill{white-space:normal;text-align:center;padding:6px 14px;font-size:.88rem}.t-me-head{gap:6px 10px}.t-sort button{min-width:0;padding:5px 8px;font-size:.74rem}.t-bar{gap:8px;padding:8px}.t-bar .primary{padding:10px 14px;font-size:.92rem}.t-assist{gap:8px;padding:8px 10px;font-size:.8rem}.t-assist-icon{width:24px;height:24px}.t-hand{gap:4px;min-height:70px;padding-top:10px}.t-hand .tc-md,.t-pending .tc-md{width:42px;height:60px}.t-hand .tc-rank,.t-pending .tc-rank{font-size:1.1rem}.t-hand .tc-suit,.t-pending .tc-suit{font-size:1rem}.t-hand .tc-jtext{display:none}.tc.is-selected{transform:translateY(-6px)}.t-actions .primary{flex:1;padding:11px 14px}.t-template{gap:8px;padding:8px}.t-template-head{flex-wrap:wrap}.t-template-help{font-size:.74rem}.t-lay{width:100%}.t-groups{grid-template-columns:minmax(0,1fr);gap:6px}.t-group{padding:6px}.t-group-cards{gap:3px;min-height:38px}.t-bar-tirri{z-index:60;background:#1d150ff2;position:fixed;bottom:8px;left:8px;right:8px;box-shadow:0 14px 34px #0009}.t-tirri-btn{justify-content:center;column-gap:14px;width:100%;padding:10px 12px 10px 18px}.t-tirri-word{font-size:1.6rem}.t-tirri-name{font-size:1rem}.t-tirri-card{width:48px;height:66px}.t-tirri-suit,.t-tirri-rank{font-size:1.45rem}.t-bar-tirri{gap:4px;padding:6px}.t-timer-text{font-size:.78rem}.t-guide-modal{max-height:92vh;padding:16px}.t-guide-head h2{font-size:1.2rem}.t-guide{font-size:.86rem}.t-select,.setup .t-select{max-width:100%}}@media (max-width:360px){.t-opps{grid-template-columns:minmax(0,1fr)}.t-hand .tc-md{width:38px;height:54px}}.table.t-table{flex-direction:column;align-items:stretch;gap:12px;min-height:0;padding:14px 16px 16px;display:flex}.t-zones-top{grid-template-columns:repeat(var(--zones,3), minmax(0, 1fr));gap:12px;display:grid}.t-zone{background:#00000024;border:1px dashed #fff0dc24;border-radius:12px;min-width:0;min-height:66px;padding:6px 10px 8px}.t-zone.mine{background:#0000002e;min-height:74px}.t-zone .t-owner-name{margin-bottom:4px}.t-zone-empty{color:var(--muted);opacity:.8;font-size:.78rem;font-style:italic}.t-center{flex-direction:column;align-items:center;gap:8px;display:flex}.t-table .t-piles{grid-area:auto;grid-template-columns:1fr auto 1fr;align-items:start;gap:18px;width:100%;display:grid}.t-table .t-deck{justify-self:end}.t-table .t-discard{justify-self:center}.t-table .t-under-pile{justify-self:start}.t-table .t-event{text-align:center;grid-area:auto;place-self:center;padding:5px 12px;font-size:.88rem}.t-table .t-event.tirri{padding:5px 12px;font-size:.92rem}.t-flip-land{animation:t-flip-land .13s ease-out var(--land,0s) both}@keyframes t-flip-land{0%{opacity:0}.1%{opacity:1;transform:perspective(600px)rotateY(-90deg)}to{opacity:1;transform:perspective(600px)rotateY(0)}}.t-tirri-btn{border-radius:14px;grid-template-columns:none;grid-template-areas:none;justify-content:center;align-items:center;gap:12px;padding:10px 20px;display:inline-flex}.t-tirri-word{letter-spacing:.06em;font-size:1.45rem}.t-tirri-card{border-radius:7px;flex-direction:row;width:auto;height:auto;padding:3px 9px;font-size:1.3rem;font-weight:900;line-height:1.1}.t-tirri-name{margin-top:0;font-size:.95rem}.t-tirri-left{color:var(--muted)}.t-kbd-hint{opacity:.75}@media (hover:none){.t-kbd-hint{display:none}}@media (prefers-reduced-motion:reduce){.t-flip-land{animation:none}}@media (max-width:640px){.table.t-table{gap:8px;padding:10px 8px 12px}.t-zones-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.t-zone{min-height:44px;padding:4px 6px 6px}.t-zone.mine{min-height:50px}.t-table .t-piles{gap:12px}.t-tirri-btn{gap:10px;width:100%;padding:9px 12px}.t-tirri-word{font-size:1.3rem}.t-tirri-card{width:auto;height:auto;font-size:1.15rem}.t-tirri-name{font-size:.85rem}}.t-cardref{white-space:nowrap;align-items:center;gap:4px;font-weight:700;display:inline-flex}.t-cardref .tc{vertical-align:middle;border-width:1px;border-radius:3px;width:18px;height:25px;display:inline-flex;box-shadow:0 1px 2px #0006}.tc-xs .tc-rank{font-size:.6rem}.tc-xs .tc-suit{font-size:.55rem}.opp.t-opp{gap:8px}.t-opp-row{align-items:center;gap:10px;min-width:0;display:flex}.t-opp-row1 .opp-who{margin-left:auto}.t-done-badge{color:#86efac;white-space:nowrap;background:#86efac2e;border-radius:999px;padding:2px 8px;font-size:.74rem;font-weight:800}.t-opp-last{min-width:0;min-height:28px;color:var(--gold-text);background:#00000038;border-radius:8px;flex-wrap:wrap;flex:1;align-items:center;gap:2px 5px;padding:3px 8px;font-size:.86rem;animation:.5s t-fade;display:flex}.t-faint{color:var(--muted);font-style:italic;font-weight:400}.t-opp-row2 .t-score{white-space:nowrap;margin-left:0;font-size:1.05rem}.t-opp-row3{align-items:stretch}.t-opp-taken{align-items:center;gap:4px;display:flex}.t-taken-slot{box-shadow:none;background:0 0;border:1.5px dashed #fff0dc40}.t-taken-unknown{color:#fff0dc99;background:#fff0dc1a;border-style:solid;place-items:center;font-weight:800;display:grid}.t-taken-more{color:var(--muted);font-size:.78rem;font-weight:700}.t-opp-tirri{text-align:right;background:#00000038;border-radius:10px;flex-direction:column;justify-content:center;align-items:flex-end;margin-left:auto;padding:4px 10px;line-height:1.15;display:flex}.t-opp-tirri strong{font-size:1.35rem;font-weight:900}.t-opp-tirri strong small{color:var(--muted);font-size:.75rem;font-weight:700}.t-opp-tirri span{font-size:.76rem;font-weight:700}.t-opp-tirri.yes span{color:#86efac}.t-opp-tirri.no strong{color:var(--muted);font-size:.95rem}.t-opp-tirri.no span{color:var(--muted)}.me.t-me{position:relative}.t-me-top{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px 16px;display:grid}.t-me-info{flex-wrap:wrap;justify-self:start;align-items:center;gap:6px 12px;display:flex}.t-me-center{flex-direction:column;align-items:center;gap:8px;min-width:0;display:flex}.t-me-center .turn-pill{white-space:normal;text-align:center;max-width:100%;padding:7px 20px;font-size:1rem;position:static;transform:none}.t-me-center .t-bar{background:0 0;border:0;padding:0}.t-me-top .t-sort{justify-self:end;margin-left:0}.t-assist-fab{z-index:3;width:58px;height:58px;color:var(--muted);font:inherit;cursor:pointer;background:#00000059;border:1.5px solid #ffe4be40;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:.7rem;font-weight:700;display:flex;position:absolute;bottom:14px;right:16px;box-shadow:0 4px 12px #00000059}.t-assist-fab.on{background:var(--gold);border-color:var(--gold);color:#2a1a05}.t-me .t-hand{padding-left:70px;padding-right:70px}@media (max-width:640px){.t-opp-row{gap:6px}.t-opp-row1{flex-wrap:wrap}.t-opp-row1 .opp-who{flex-basis:100%;order:-1;margin-left:0}.t-done-badge{padding:1px 6px;font-size:.62rem}.t-opp-last{min-height:22px;padding:2px 5px;font-size:.72rem}.t-opp-row2 .t-score{font-size:.85rem}.t-opp-taken{gap:2px}.t-opp-taken .tc-sm{border-radius:3px;width:17px;height:24px}.t-opp-taken .tc-sm .tc-rank{font-size:.55rem}.t-opp-taken .tc-sm .tc-suit{font-size:.5rem}.t-opp-tirri{padding:2px 6px}.t-opp-tirri strong{font-size:.95rem}.t-opp-tirri strong small,.t-opp-tirri span{font-size:.6rem}.t-opp-tirri.no strong{font-size:.7rem}.t-cardref .tc{width:15px;height:21px}.t-me-top{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"center center""info sort";gap:8px}.t-me-center{grid-area:center}.t-me-info{grid-area:info}.t-me-top .t-sort{grid-area:sort}.t-me-center .turn-pill{padding:6px 14px;font-size:.88rem}.t-me .t-hand{padding-left:0;padding-right:0}.t-assist-fab{align-self:flex-end;width:46px;height:46px;font-size:.6rem;position:static}}.card-inner{display:contents}.is-draggable{touch-action:none}.is-over{box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 4px var(--gold), 0 0 26px var(--gold-glow), 0 10px 20px #281e1433;animation:none;transform:scale(1.06)}.discard-col.is-over{background:var(--tint);box-shadow:0 0 0 3px var(--gold), 0 0 18px var(--gold-glow)}.is-flash{animation:1.1s ease-out pino-flash}@keyframes pino-flash{0%{box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 3px var(--fg), 0 0 22px var(--shadow);transform:scale(1.14)}60%{box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 2px var(--fg), 0 0 10px var(--shadow);transform:scale(1)}}.link-btn{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:.75rem;text-decoration:underline}.drag-ghost{z-index:30;pointer-events:none;opacity:.94;filter:drop-shadow(0 12px 16px #00000059);position:fixed;transform:translate(-50%,-60%)rotate(4deg)}.resume{border:2px solid var(--gold)}.stats{color:var(--muted);flex-wrap:wrap;gap:6px 16px;font-size:.85rem;display:flex}.stats strong{color:var(--fg)}.stats-head{justify-content:space-between;align-items:center;display:flex}.stats-head .link-btn{margin:0}@media (prefers-reduced-motion:reduce){.is-flash,.is-target{animation:none}}.stats-block{flex-direction:column;gap:6px;display:flex}.result .stats,.result .stats-head{justify-content:center}.ss-body{flex-direction:column;gap:12px;margin-top:12px;display:flex}.ss-slider{flex-direction:column;gap:4px;font-size:.85rem;font-weight:600;display:flex}.ss-slider-row{align-items:center;gap:8px;font-weight:400;display:flex}.ss-slider-row input,.ss-range{min-width:0;accent-color:var(--fg);flex:1}.ss-events{flex-direction:column;display:flex}.ss-event{border-top:1px solid var(--line);grid-template-columns:1fr auto;grid-template-areas:"name play""select range";align-items:center;gap:6px 10px;padding:10px 0;display:grid}.ss-event.off .ss-select,.ss-event.off .ss-range{opacity:.4}.ss-name{cursor:pointer;grid-area:name;align-items:center;gap:8px;font-size:.9rem;display:flex}.ss-name input{width:18px;height:18px;accent-color:var(--fg);margin:0}.ss-play{grid-area:play;padding:4px 12px}.ss-select{min-width:0;font:inherit;color:var(--fg);background:var(--surface);border:1.5px solid var(--line-strong);border-radius:9px;grid-area:select;padding:6px 8px;font-size:.85rem}.ss-range{grid-area:range;width:110px}.ss-actions{flex-wrap:wrap;gap:8px;display:flex}.pile-stack{position:relative}.pile-stack .under{pointer-events:none;position:absolute;inset:0}.flight{z-index:25;pointer-events:none;opacity:0;transform-origin:0 0;will-change:transform;position:fixed}.flight .card{width:100%;height:100%;box-shadow:inset 0 0 0 var(--bw) #fff, 0 10px 20px #00000059}.flight.is-flip{perspective:700px}.flip-inner{width:100%;height:100%;transform-style:preserve-3d;position:relative}.flip-face{backface-visibility:hidden;position:absolute;inset:0}.flip-back{transform:rotateY(180deg)}.is-landing{animation:.24s cubic-bezier(.2,.8,.3,1.2) backwards card-land}@keyframes card-land{0%{opacity:0;transform:scale(1.04)}.1%{opacity:1;transform:scale(1.04)}to{opacity:1;transform:scale(1)}}.is-landing.is-flash{animation:1.1s ease-out backwards card-land-flash}@keyframes card-land-flash{0%{opacity:0;transform:scale(1.04)}.1%{opacity:1;box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 3px var(--fg), 0 0 22px var(--shadow);transform:scale(1.04)}25%{transform:scale(1)}60%{box-shadow:inset 0 0 0 var(--bw) #fff, 0 0 0 2px var(--fg), 0 0 10px var(--shadow)}to{opacity:1}}.is-dealt{animation:.22s ease-out backwards card-deal}@keyframes card-deal{0%{opacity:0}.1%{opacity:1;transform:scaleX(.05)}to{opacity:1;transform:scaleX(1)}}.is-vanish{animation:10ms linear forwards card-vanish}@keyframes card-vanish{to{visibility:hidden}}@media (prefers-reduced-motion:reduce){.is-landing,.is-landing.is-flash,.is-dealt,.is-vanish{animation:none}}.music-on{border-color:var(--fg);box-shadow:0 0 0 1px var(--fg)}.music-row{align-items:center;gap:8px;display:flex}.music-play{min-width:46px;padding:8px 14px;font-size:1rem}.music-track{flex-direction:column;min-width:0;display:flex}.music-track strong{white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;overflow:hidden}.music-credit{margin:0}.popover-wrap{position:relative}.top-panel{z-index:60;background:var(--surface);border:1.5px solid var(--line);width:280px;max-width:calc(100vw - 24px);box-shadow:0 16px 36px var(--shadow);text-align:left;flex-direction:column;gap:10px;padding:14px;display:flex;position:absolute;top:calc(100% + 6px);right:0}.top-panel .notice{width:auto;max-width:none;position:static;transform:none}.top-panel .ss-select{width:100%}.top-panel .is-off{opacity:.45}.top-panel-link{align-self:flex-start}.switch-row{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;font-size:.9rem;font-weight:700;display:flex}.switch{appearance:none;background:var(--line-strong);cursor:pointer;border-radius:999px;flex:none;width:42px;height:24px;margin:0;transition:background .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #00000040}.switch:checked{background:var(--fg)}.switch:checked:after{background:var(--fg-inv);transform:translate(18px)}.score-block{flex-direction:column;gap:4px;display:flex}.score-table{border-collapse:collapse;min-width:220px;margin:0 auto;font-size:.95rem}.score-table th,.score-table td{text-align:right;padding:4px 10px}.score-table th:first-child{text-align:left;font-weight:600}.score-table thead th{color:var(--muted);border-bottom:1px solid var(--line);font-size:.75rem;font-weight:600}.score-table tr.score-me th,.score-table tr.score-me strong{color:var(--gold-text)}.chat-btn-wrap{display:inline-flex;position:relative}.chat-btn.on{background:var(--fg);border-color:var(--fg);color:var(--fg-inv)}.chat-badge{background:var(--red);color:#fff;text-align:center;pointer-events:none;min-width:20px;height:20px;box-shadow:0 0 0 2px var(--bg);border-radius:10px;padding:0 5px;font-size:.7rem;font-weight:700;line-height:20px;position:absolute;top:-6px;right:-6px}.chat-toast{z-index:60;background:var(--fg);width:max-content;max-width:min(280px,80vw);color:var(--fg-inv);box-shadow:0 10px 24px var(--shadow);text-align:left;overflow-wrap:anywhere;-webkit-line-clamp:2;cursor:pointer;border:0;border-radius:12px;-webkit-box-orient:vertical;padding:8px 12px;font-size:.85rem;line-height:1.35;animation:.18s ease-out chat-pop;display:-webkit-box;position:absolute;top:calc(100% + 6px);right:0;overflow:hidden}@keyframes chat-pop{0%{opacity:0;transform:translateY(-4px)}}.chat-panel{flex-direction:column;gap:10px;min-height:0;padding:12px 14px;display:flex}.chat-list{overscroll-behavior:contain;flex-direction:column;flex:1;gap:8px;min-height:60px;display:flex;overflow-y:auto}.chat-lobby .chat-list{min-height:48px;max-height:240px}.side-chat .chat-list{min-height:0}.chat-empty{margin:0}.chat-msg{flex-direction:column;align-self:flex-start;align-items:flex-start;gap:2px;max-width:88%;display:flex}.chat-msg.mine{align-self:flex-end;align-items:flex-end}.chat-name{font-size:.7rem}.chat-bubble{background:var(--sunken);overflow-wrap:anywhere;border-radius:13px;padding:7px 11px;font-size:.86rem;line-height:1.4}.chat-msg.mine .chat-bubble{background:var(--fg);color:var(--fg-inv)}.chat-form{gap:8px;display:flex}.chat-form input{border:1.5px solid var(--line-strong);background:var(--surface);min-width:0;height:40px;color:var(--fg);font:inherit;border-radius:999px;flex:1;padding:0 14px;font-size:16px}.chat-form input::placeholder{color:var(--muted-2)}.send-btn{background:var(--fg);width:40px;height:40px;color:var(--fg-inv);cursor:pointer;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.send-btn:disabled{opacity:.35;cursor:default}@media (prefers-reduced-motion:reduce){.chat-toast{animation:none}}.voice-btn.on{background:var(--green);border-color:var(--green);color:#fff}.voice-btn.speaking{box-shadow:0 0 0 3px #2f8a3559}.voice-btn.muted{background:var(--red);border-color:var(--red);color:#fff}.voice-badge{background:var(--green)}.voice-row{background:var(--sunken);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:8px 10px;display:flex}.voice-members{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.voice-av{background:var(--felt);width:34px;height:34px;color:var(--fg);font:inherit;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;font-size:.8rem;font-weight:800;transition:box-shadow .1s;display:inline-flex;position:relative}button.voice-av{cursor:pointer}.voice-av.speaking{box-shadow:0 0 0 2px var(--sunken), 0 0 0 4px var(--green)}.voice-av.off,.voice-av.silenced{opacity:.55}.voice-av.linking{opacity:.75}.voice-status{background:var(--fg);width:16px;height:16px;color:var(--fg-inv);box-shadow:0 0 0 2px var(--sunken);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:-3px;right:-3px}.voice-status.g{background:var(--green);color:#fff}.voice-status.x{background:var(--line-strong);color:var(--muted)}.voice-actions{gap:2px;margin-left:auto;display:flex}.voice-error{width:100%;color:var(--red);margin:0}@media (prefers-reduced-motion:reduce){.voice-av{transition:none}}.game-shell{--bg:#24180f;--felt:#ffecd21a;--surface:#2e2219;--sunken:#1d150f;--sunken-2:#00000047;--fg:#f4ead9;--fg-inv:#1d150f;--muted:#cdbda6;--muted-2:#bcac95;--line:#ffe4be24;--line-strong:#ffe4be42;--slot:#faead24d;--slot-text:#faead29e;--gold-text:#f2c14e;--tint:#ffc53133;--tint-text:#ffe08a;--shadow:#00000073;--shadow-soft:#0000004d;--name-1:#f0a94a;--name-2:#8fb0ff;--name-3:#ff8a8a;--name-4:#7fd086;--name-5:#d59cf0;--name-6:#6fd3e8;--mat:#5c2330;--mat-2:#431822;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--fg)}:root[data-theme=dark] .game-shell{--mat:#4c1d28;--mat-2:#36131c;--surface:#261c14}@media (prefers-color-scheme:dark){:root:not([data-theme]) .game-shell{--mat:#4c1d28;--mat-2:#36131c;--surface:#261c14}}:is(html:has(.game-shell),body:has(.game-shell)){--room:#2c1d13;background:radial-gradient(ellipse 85% 55% at 50% -5%, #ffc47833, transparent 70%), radial-gradient(ellipse 130% 90% at 50% 45%, transparent 50%, #00000080), repeating-linear-gradient(90deg, #00000038 0 2px, #ffdcb408 2px 3px, transparent 3px 150px), repeating-linear-gradient(90deg, #ffe1be06 0 1px, transparent 1px 13px), var(--room);background-attachment:fixed}:root[data-theme=dark]:has(.game-shell){--room:#180f09}:root[data-theme=dark] body:has(.game-shell){--room:#180f09}@media (prefers-color-scheme:dark){:root:not([data-theme]):has(.game-shell){--room:#180f09}:root:not([data-theme]) body:has(.game-shell){--room:#180f09}}.game-shell .opp,.game-shell .me{background:radial-gradient(ellipse 80% 110% at 30% 0%, #ffdcc81a, transparent 60%), radial-gradient(circle at 20% 30%, #00000014 0 1px, transparent 1.5px) 0 0 / 7px 7px, radial-gradient(circle at 70% 80%, #ffe6dc0a 0 1px, transparent 1.5px) 0 0 / 9px 9px, linear-gradient(180deg, var(--mat), var(--mat-2));border-color:#00000073;position:relative;box-shadow:inset 0 1px #ffdcc81f,inset 0 -3px 10px #0000004d,0 6px 16px #0006}.game-shell .opp:before,.game-shell .me:before{content:"";pointer-events:none;border:1.5px dashed #e8be7861;border-radius:13px;position:absolute;inset:5px}.game-shell .opp.away{--mat:#4d4b49!important;--mat-2:#363432!important}.game-shell .opp.away:before{border-color:#ffffff2e}.game-shell .opp-waiting{color:#fff0e1d9}.game-shell .opp.active,.game-shell .me.active{border-color:var(--gold);box-shadow:inset 0 1px #ffdcc81f,inset 0 -3px 10px #0000004d,0 0 0 2px #ffc53159,0 6px 20px #ffc53138}.game-shell .panel{background:linear-gradient(180deg, #ffe6c80d, transparent 60%), var(--surface);border:1px solid #ffe4be14;box-shadow:inset 0 1px #ffe6c80f,0 6px 18px #00000059}.game-shell .ghost,.game-shell .scoreline{border-color:#ffe4be1f;box-shadow:inset 0 1px #ffe6c80f,0 2px 6px #0000004d}.game-shell .ghost.on{background:var(--fg);color:var(--fg-inv)}.game-shell .dark-btn{color:#2a1a05;background:linear-gradient(#f2d27e,#d2a540);box-shadow:inset 0 1px #ffffff73,0 2px 6px #0006}.game-shell .brand{color:#f6e3c0;text-shadow:0 1px 2px #00000080}.t-rail-label{display:none}.t-rail-icons{display:contents}.t-grid>.t-rail{order:-1}.t-opps{grid-template-columns:repeat(var(--zones,3), minmax(0, 1fr))}@media (min-width:1100px){.t-shell{max-width:1920px;padding:10px 14px 16px}.t-shell .game-grid.t-grid{grid-template-columns:minmax(0,1fr) 176px;gap:12px;min-height:calc(100dvh - 20px)}.t-shell .game-grid.t-grid.has-chat{grid-template-columns:minmax(0,1fr) 176px 290px}.t-grid>.t-main{grid-area:1/1;max-width:none;margin:0}.t-grid>.t-rail{order:0;grid-area:1/2}.t-grid>.side-chat{grid-area:1/3}.t-main{gap:10px}.t-main>.t-table{flex:auto}.t-shell .topbar.t-rail{border:1px solid var(--line);background:#0000003d;border-radius:18px;flex-flow:column;justify-content:flex-start;align-items:stretch;gap:14px;height:calc(100dvh - 20px);min-height:0;padding:14px 12px;position:sticky;top:10px}.t-rail-head{flex-direction:column;align-items:stretch;gap:10px}.t-rail .brand{padding-left:4px;font-size:1.3rem}.t-rail .t-roundtitle{border-radius:14px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 12px}.t-rail .t-roundtitle strong{white-space:normal;line-height:1.2}.t-rail-actions{flex-flow:column;flex:auto;align-items:stretch;gap:8px}.t-rail .t-rail-btn{width:100%;font:inherit;justify-content:flex-start;gap:10px;padding:0 12px;font-size:.88rem;font-weight:700}.t-rail-label{display:inline}.t-rail-icons{border-top:1px solid var(--line);flex-wrap:wrap;gap:6px;padding-top:6px;display:flex}.t-rail-leave{width:100%;margin-top:auto}.opp.t-opp{gap:6px;padding:9px 14px}.table.t-table{justify-content:space-between;gap:10px;padding:14px 16px 12px}.t-zone{min-height:52px}.t-zone.mine{min-height:60px}.t-template{gap:8px;padding:10px 12px}.t-template-head{align-items:center}.t-template-head>div{flex-wrap:wrap;align-items:baseline;gap:2px 12px;display:flex}.t-template-help{margin-top:0}.me.t-me{gap:9px;padding:12px 20px}.t-me-center:not(.t-bar-tirri){flex-flow:wrap;justify-content:center;gap:8px 12px}.t-assist{padding:7px 12px}}.t-zones-top{grid-template-columns:repeat(var(--zones,3), minmax(0, 1fr));border:1px solid #fff0dc29;border-radius:14px;padding:16px 10px 10px;position:relative}.t-zones-top:before{content:"Pelit";letter-spacing:.08em;text-transform:uppercase;color:var(--muted);background:#103c24f2;border-radius:999px;padding:0 10px;font-size:.72rem;font-weight:800;position:absolute;top:-9px;left:50%;transform:translate(-50%)}.t-table .t-piles{align-items:center}.t-piles-right{justify-self:start;align-items:center;gap:16px;min-width:0;display:flex}.t-piles-right .t-under-pile:empty{display:none}.t-table .t-event{text-align:center;border:1px solid #fff0dc29;border-radius:12px;justify-content:center;align-items:center;width:220px;min-height:100px;padding:10px 14px;font-size:.9rem;line-height:1.45;display:flex}.t-table .t-event.empty{background:#0000001f;border-style:dashed;font-size:.8rem;font-weight:500}.t-log-panel{flex-direction:column;gap:8px;padding:12px 16px;display:flex}.t-log-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.log.t-log{gap:4px;max-height:300px;padding-right:4px;overflow-y:auto}.log.t-log li{border-radius:7px;align-items:center;padding:3px 8px}.log.t-log li:before{margin-top:0}.log.t-log li.own{color:var(--fg);box-shadow:inset 3px 0 0 var(--gold);background:#ffc53121}.log.t-log li.own:before{display:none}.t-log-tag,.t-log-key{background:var(--gold);color:#2a1a05;letter-spacing:.04em;text-transform:uppercase;border-radius:999px;flex:none;padding:1px 7px;font-size:.68rem;font-weight:800;display:inline-block}@media (max-width:640px){.t-opps{grid-template-columns:repeat(2,minmax(0,1fr))}.t-zones-top{grid-template-columns:repeat(var(--zones,3), minmax(0, 1fr));gap:4px;padding:14px 6px 6px}.t-table .t-piles{grid-template-columns:auto auto minmax(0,1fr);justify-content:center;gap:10px}.t-table .t-deck,.t-table .t-discard{justify-self:center}.t-piles-right{gap:8px}.t-table .t-event{width:auto;min-width:0;min-height:0;padding:6px 8px;font-size:.74rem}}.t-template-head>strong{font-size:1rem}.t-groups{flex-wrap:wrap;justify-content:center;display:flex}.t-groups .t-group{flex:0 380px;min-width:260px}.t-group-cards{align-items:center}.t-suggest{color:var(--gold-text);font:inherit;cursor:pointer;background:#ffc5311a;border:1.5px dashed #ffc53199;border-radius:9px;flex-direction:column;align-items:center;gap:3px;margin-left:auto;padding:4px 8px 5px;animation:.3s t-fade;display:inline-flex}.t-suggest:hover,.t-suggest:focus-visible{background:#ffc53138;border-style:solid}.t-suggest-label{letter-spacing:.06em;text-transform:uppercase;font-size:.66rem;font-weight:800}.t-suggest-cards{gap:2px;display:flex}.t-suggest-add{font-size:.68rem;font-weight:700}.t-me-body{grid-template-columns:minmax(200px,250px) minmax(0,1fr);align-items:center;gap:16px;display:grid}.t-me .t-me-body .t-hand{padding-left:0;padding-right:74px}.t-act-box{background:#00000047;border:1px solid #ffe4be24;border-radius:14px;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px;display:flex}.t-act-box.mine{border-color:#ffc5318c;box-shadow:0 0 0 1px #ffc53133}.t-act-text{margin:0;font-size:.86rem;font-weight:600;line-height:1.4}.t-act-box .t-bar{background:0 0;border:0;align-items:stretch;gap:8px;padding:0}.t-act-box .t-bar-buttons{flex-direction:column;align-items:stretch;gap:6px}.t-act-box .t-bar .primary{padding:10px 14px;font-size:.95rem}.t-act-box .t-tirri-banner{font-size:.98rem}@media (max-width:640px){.t-groups .t-group{flex-basis:100%;min-width:0}.t-me-body{grid-template-columns:minmax(0,1fr);gap:8px}.t-me .t-me-body .t-hand{padding-right:0}.t-act-box .t-bar-buttons{flex-flow:wrap}.t-act-box .t-bar-buttons>*{flex:auto}}.table.t-table{grid-template:none/minmax(0,1fr);grid-auto-rows:auto;align-content:space-between;align-items:stretch;display:grid}.t-suggest{gap:2px;padding:3px 7px 4px}.t-act-box{gap:6px;padding:8px 10px}.t-act-text{font-size:.82rem}.t-me .t-me-body .t-hand{padding-right:0}.t-me-side{justify-content:flex-end;align-self:stretch;align-items:flex-end;gap:10px;min-width:0;display:flex}.t-me-side .t-assist-fab{flex:none;position:static}.t-assist.t-assist-pop{transform-origin:100% 100%;flex-direction:column;flex:auto;align-items:stretch;gap:2px;min-width:0;padding:8px 12px;font-size:.8rem;line-height:1.38;animation:.3s cubic-bezier(.2,.8,.3,1.1) both t-tip-in;position:relative}.t-assist.t-assist-pop:after{content:"";background:inherit;border-top:1px solid #ffc53166;border-right:1px solid #ffc53166;width:12px;height:12px;position:absolute;bottom:20px;right:-7px;transform:rotate(45deg)}.t-assist-pop strong{color:var(--gold-text)}@keyframes t-tip-in{0%{opacity:0;transform:translate(18px)scale(.9)}}.t-me .turn-pill.t-turn-tab{z-index:3;white-space:nowrap;transform-origin:50% 100%;border-radius:12px 12px 0 0;max-width:calc(100% - 48px);padding:6px 20px 7px;font-size:.92rem;position:absolute;top:auto;bottom:-1.5px;left:24px;transform:none}.t-me .turn-pill.t-turn-tab.mine{background:var(--gold);color:#1f1b17;box-shadow:0 -4px 14px #ffc53159}.t-me .turn-pill.t-turn-tab.other,.t-me .turn-pill.t-turn-tab.ended{color:var(--muted);box-shadow:none;background:#0000006b;border:1px solid #ffe4be33;border-bottom:0}@media (max-width:1099px){.t-me-body{grid-template-columns:minmax(190px,230px) minmax(0,1fr)}.t-me-side{grid-column:1/-1}.t-assist.t-assist-pop{max-width:520px}}@media (max-width:640px){.t-me-body{grid-template-columns:minmax(0,1fr)}.me.t-me{padding-bottom:36px}.t-me .turn-pill.t-turn-tab{max-width:calc(100% - 24px);padding:5px 14px 6px;font-size:.82rem;left:12px}}@media (prefers-reduced-motion:reduce){.t-assist.t-assist-pop{animation:none}}@media (min-width:1100px){.t-me-body{min-height:156px}.t-assist.t-assist-pop{max-height:156px;overflow-y:auto}.t-assist.t-assist-pop:after{display:none}}.t-act-box.is-empty{visibility:hidden}.t-assist.t-act-note{background:#00000047;border-color:#ffe4be29;justify-content:center;font-size:.86rem;font-weight:600}@media (max-width:640px){.t-act-box.is-empty{display:none}}.t-me-body{grid-template-columns:minmax(0,1fr) minmax(250px,330px)}.t-me-mid{flex-direction:column;align-items:center;gap:10px;min-width:0;display:flex}.t-me-mid .t-hand{align-self:stretch}.t-act-box,.t-act-box.mine{min-height:42px;box-shadow:none;background:0 0;border:0;flex-flow:wrap;justify-content:center;align-items:center;padding:0}.t-act-box .t-bar{align-items:center}.t-act-box .t-bar-buttons{flex-flow:wrap;justify-content:center;gap:10px}.t-act-box .t-bar .primary{padding:9px 22px}.t-act-clear{align-self:center}.me.t-me{padding-bottom:14px}.t-me .turn-pill.t-turn-tab{letter-spacing:.02em;transform-origin:50% 0;border-radius:0 0 12px 12px;margin-top:-1.5px;padding:3px 18px 5px;font-size:.88rem;top:100%;bottom:auto;left:28px}.t-me .turn-pill.t-turn-tab.mine{background:var(--gold);border:0;box-shadow:0 6px 14px #ffc5314d}.t-me .turn-pill.t-turn-tab.mine:before,.t-me .turn-pill.t-turn-tab.mine:after{content:"";background:radial-gradient(circle at 0 100%, transparent 9.5px, var(--gold) 10px);width:10px;height:10px;position:absolute;top:0}.t-me .turn-pill.t-turn-tab.mine:before{background:radial-gradient(circle at 0 100%, transparent 9.5px, var(--gold) 10px);left:-10px}.t-me .turn-pill.t-turn-tab.mine:after{background:radial-gradient(circle at 100% 100%, transparent 9.5px, var(--gold) 10px);right:-10px}.t-me .turn-pill.t-turn-tab{overflow:visible}.t-me .turn-pill.t-turn-tab.other,.t-me .turn-pill.t-turn-tab.ended{border:1px solid #ffe4be33;border-top:0}@media (min-width:1100px){.t-shell .game-grid.t-grid{min-height:calc(100dvh - 48px)}.t-shell{padding-bottom:34px}}.t-shell .t-me{margin-bottom:26px}@media (min-width:1100px){.t-shell .t-me{margin-bottom:0}}@media (max-width:1099px){.t-me-body{grid-template-columns:minmax(0,1fr)}}@media (min-width:1100px){.t-shell .below{margin-top:34px}.t-shell .topbar.t-rail{height:calc(100dvh - 48px)}}.t-me .turn-pill.t-turn-tab{width:auto;right:auto}.t-me-top{min-height:44px}.t-me-center .t-act-box,.t-me-center .t-act-box.mine{flex-direction:column;align-items:center;gap:6px;min-height:0}.t-me-center .t-act-box .t-bar{align-items:center;gap:6px}.t-me-center .t-tirri-banner{font-size:1rem;line-height:1.2}.t-me-body{--side:240px;grid-template-columns:minmax(var(--side), 1fr) auto minmax(var(--side), 1fr)}.t-me-spacer,.t-me-mid{min-width:0}.t-me-mid .t-hand{justify-content:center}@media (max-width:1099px){.t-me-body{grid-template-columns:minmax(0,1fr)}.t-me-spacer{display:none}}.t-me .turn-pill.t-turn-tab{transform-origin:50% 100%;border-radius:12px 12px 0 0;margin-top:0;margin-bottom:-1.5px;padding:5px 18px 3px;top:auto;bottom:100%;left:20px}.t-me .turn-pill.t-turn-tab.mine{box-shadow:0 -6px 14px #ffc5314d}.t-me .turn-pill.t-turn-tab.mine:before,.t-me .turn-pill.t-turn-tab.mine:after{top:auto;bottom:0}.t-me .turn-pill.t-turn-tab.mine:before{background:radial-gradient(circle at 0 0, transparent 9.5px, var(--gold) 10px)}.t-me .turn-pill.t-turn-tab.mine:after{background:radial-gradient(circle at 100% 0, transparent 9.5px, var(--gold) 10px)}.t-me .turn-pill.t-turn-tab.other,.t-me .turn-pill.t-turn-tab.ended{border:1px solid #ffe4be33;border-bottom:0}.t-shell .t-me{margin-top:22px;margin-bottom:0}@media (min-width:1100px){.t-shell .game-grid.t-grid{min-height:calc(100dvh - 20px)}.t-shell .topbar.t-rail{height:calc(100dvh - 20px)}.t-shell{padding-bottom:16px}.t-shell .below{margin-top:12px}}.t-me-center .t-act-box,.t-me-center .t-act-box.mine{flex-flow:wrap;justify-content:center;align-items:flex-end;gap:10px}.t-me-center .t-act-clear{align-self:flex-end;padding:9px 18px}@media (min-width:1100px) and (max-width:1499px){.t-me-body{grid-template-columns:minmax(0,1fr);min-height:0}.t-me-spacer{display:none}.t-me-side{justify-content:center;align-items:center}.t-assist.t-assist-pop{flex:0 640px;max-height:110px}}.t-groups .t-group{position:relative}.t-suggest{gap:1px;margin:0;padding:2px 6px 3px;animation:.25s both t-suggest-in;position:absolute;bottom:6px;right:8px}.t-suggest-label{font-size:.6rem}@keyframes t-suggest-in{0%{opacity:0}}.t-tirri-box{text-align:center;flex-direction:column;align-items:stretch;gap:6px;width:min(480px,100%);display:flex}.t-tirri-box .t-timer-track{display:block}.t-tirri-box .t-tirri-btn{width:100%;padding:8px 20px}.t-me-mid{align-self:start}@media (min-width:1500px){.t-me-side{justify-content:flex-end}.t-assist.t-assist-pop{flex:0 360px}.t-me-body{column-gap:32px}}.t-zones-me .t-zone.mine{text-align:center}.t-zones-me .t-zone.mine .t-owner-melds{justify-content:center;gap:12px}.t-zones-me .t-zone.mine .t-meld{text-align:left}.t-meld-cards>span{position:relative}.t-meld-cards>.t-drop-lo:before,.t-meld-cards>.t-drop-hi:after{content:"";background:var(--gold);width:4px;box-shadow:0 0 8px var(--gold-glow,#ffc53199);pointer-events:none;z-index:2;border-radius:2px;position:absolute;top:-2px;bottom:-2px}.t-meld-cards>.t-drop-lo:before{left:-4px}.t-meld-cards>.t-drop-hi:after{right:-4px}.t-meld.drop-no{outline-offset:2px;border-radius:10px;outline:2px solid #f87171}.t-owner-melds,.t-zones-me .t-zone.mine .t-owner-melds{flex-wrap:nowrap;min-width:0}.t-owner-melds>.t-meld{flex:0 auto;min-width:0}.t-meld-cards{flex-wrap:nowrap}.t-meld-cards>span{flex:0 auto;min-width:12px}.t-meld-cards>span:last-child{flex-shrink:0}.t-meld-label{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.primary.t-btn-off:disabled{color:#ffffff8c;box-shadow:none;opacity:1;cursor:not-allowed;background:#96969659;border-color:#0000}@media (max-width:640px){.t-owner-melds,.t-zones-me .t-zone.mine .t-owner-melds,.t-meld-cards{flex-wrap:wrap}.t-meld-cards>span,.t-meld-cards>span:last-child{flex:none}.t-owner-melds>.t-meld,.t-table .t-piles-right{min-width:0}.t-table .t-piles-right>.t-event{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere;flex:1 1 0;width:auto;min-width:0}}.t-assist-discard{color:var(--gold);margin-top:6px;display:block}.t-assist-discard .tiny-btn{vertical-align:baseline;margin-left:4px;padding:2px 10px}.t-group-cards{flex-wrap:nowrap}.t-group-cards>span{flex:0 auto;min-width:14px;position:relative}.t-group-cards>span:last-of-type,.t-group-cards>span>.tc{flex-shrink:0}@media (min-width:641px){.t-groups{flex-wrap:nowrap}.t-groups .t-group{flex:0 auto;min-width:0}}@media (min-width:1100px){.t-groups .t-group{min-width:260px}}.t-group-cards{padding-right:124px}.t-suggest-cards:has(>:nth-child(5))>*+*{margin-left:-6px}@media (max-width:640px){.t-group-cards{padding-right:118px}}.t-pile.t-discard{position:relative}.t-discard-below{pointer-events:none;position:absolute;top:0;left:50%;transform:translate(-50%)}.t-pile.t-discard>.t-discard-top{z-index:1}.t-pending-joker{border:1.5px dashed var(--gold);text-align:left;background:#ffc5311f;border-radius:10px;flex:none;padding:5px 8px 8px;animation:.25s both t-suggest-in}.t-pending-joker .t-meld-label{color:var(--gold);font-weight:700}.game-shell:not(.t-shell) .me{margin-top:24px}.me .turn-pill.p-turn-tab{letter-spacing:.02em;transform-origin:50% 100%;border-radius:12px 12px 0 0;max-width:calc(100% - 40px);margin-bottom:-1.5px;padding:5px 18px 3px;font-size:.88rem;inset:auto 20px 100% auto;overflow:visible;transform:none}.me .turn-pill.p-turn-tab.mine{background:var(--gold);color:#1f1b17;box-shadow:0 -6px 14px #ffc5314d}.me .turn-pill.p-turn-tab.mine:before,.me .turn-pill.p-turn-tab.mine:after{content:"";width:10px;height:10px;position:absolute;bottom:0}.me .turn-pill.p-turn-tab.mine:before{background:radial-gradient(circle at 0 0, transparent 9.5px, var(--gold) 10px);left:-10px}.me .turn-pill.p-turn-tab.mine:after{background:radial-gradient(circle at 100% 0, transparent 9.5px, var(--gold) 10px);right:-10px}.me .turn-pill.p-turn-tab.other,.me .turn-pill.p-turn-tab.ended{color:var(--muted);box-shadow:none;background:#0000006b;border:1px solid #ffe4be33;border-bottom:0}@media (max-width:640px){.me .turn-pill.p-turn-tab{max-width:calc(100% - 24px);padding:4px 14px 3px;font-size:.8rem;top:auto;right:12px}}.t-menu-fab,.t-menu-close,.t-narrow{display:none}.p-top-right{display:contents}@media (max-width:640px){.t-shell .t-wide{display:none}.t-shell .t-narrow{display:inline}.game-shell.t-shell{--hand-w:clamp(46px, calc(46px + (100dvh - 700px) * .16), 63px);--pile-w:clamp(44px, calc(44px + (100dvh - 700px) * .13), 60px);--meld-w:clamp(23px, calc(23px + (100dvh - 700px) * .07), 31px);gap:0;height:100dvh;padding:4px 5px 6px;overflow:hidden}.t-shell .game-grid.t-grid{flex-direction:column;flex:auto;gap:0;min-height:0;display:flex}.t-shell .game-main.t-main{flex-direction:column;flex:auto;gap:5px;min-height:0;display:flex}.t-shell .topbar.t-rail,.t-shell .below{display:none}.game-shell .t-menu-fab{z-index:65;border:1.5px solid var(--line);background:var(--surface);width:42px;height:46px;color:var(--fg);font:inherit;cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:0;font-size:.62rem;font-weight:800;line-height:1;display:inline-flex;position:fixed;top:5px;right:5px;box-shadow:0 4px 12px #00000059}.t-menu-fab-round{letter-spacing:.02em}.game-shell.t-menu-open .t-menu-fab{display:none}.t-shell.t-menu-open .topbar.t-rail{z-index:91;background:var(--bg);border-bottom:1.5px solid var(--line);flex-direction:column;align-items:stretch;gap:10px;height:auto;padding:10px 12px 12px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 8px 20px #0000004d}.t-shell.t-menu-open .t-rail .topbar-left{flex:none;order:0;justify-content:flex-start;gap:10px}.t-shell.t-menu-open .t-rail .top-actions{flex:none;justify-content:center;gap:6px}.game-shell.t-menu-open .t-menu-close{width:40px;height:40px;margin-left:auto;display:inline-flex}.game-shell.t-menu-open .below{z-index:90;max-width:none;padding:calc(var(--rail-h,130px) + 10px) 10px 16px;overscroll-behavior:contain;background:var(--bg);margin:0;display:flex;position:fixed;inset:0;overflow-y:auto}.t-shell .t-opps{grid-template-columns:repeat(var(--zones,3), minmax(0, 1fr));flex:none;gap:4px;padding-right:46px}.t-shell .opp.t-opp{border-radius:11px;gap:3px;padding:5px 6px 6px}.game-shell.t-shell .t-opp:before{border-radius:9px;inset:2px}.t-shell .t-opp-row{gap:4px}.t-shell .t-opp-row1{flex-wrap:wrap;row-gap:1px}.t-shell .t-opp-row1 .opp-who{flex-wrap:nowrap;flex:1 0 auto;order:-1;gap:3px;min-width:0;max-width:100%;margin:0}.t-shell .t-opp .opp-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.74rem;overflow:hidden}.t-shell .t-opp .opp-turn{display:none}.t-shell .t-opp .t-dealer{flex:none;width:14px;height:14px;font-size:.54rem}.t-shell .t-opp .t-badge-tirri{z-index:4;white-space:nowrap;padding:1px 6px;font-size:.6rem;position:absolute;top:-8px;left:50%;transform:translate(-50%)}.t-shell .t-opp-hand{order:2;margin-left:0}.t-shell .t-opp-count{font-size:.72rem}.t-shell .t-done-badge{order:1;padding:0 4px;font-size:0}.t-shell .t-done-badge:before{content:"✓";font-size:.66rem}.t-shell .t-opp .t-wait,.t-shell .t-opp .t-done{flex:none;font-size:0}.t-shell .t-opp .t-done:before{content:"✓";font-size:.7rem}.t-shell .t-opp .t-wait:before{content:"…";font-size:.7rem}.t-shell .t-opp-last{white-space:nowrap;text-overflow:ellipsis;min-height:0;padding:1px 4px;font-size:.64rem;line-height:1.35;display:block;overflow:hidden}.t-shell .t-opp-last .t-cardref{display:inline}.t-shell .t-opp-last .t-cardref .tc{display:none}.t-shell .t-opp-row2 .t-score{font-size:.68rem}.t-shell .t-opp-row3{align-items:center}.t-shell .t-opp-taken{gap:1px;min-width:0}.t-shell .t-opp-taken .tc-sm{border-width:1px;border-radius:2px;width:13px;height:18px}.t-shell .t-opp-taken .tc-sm .tc-rank{font-size:.46rem}.t-shell .t-opp-taken .tc-sm .tc-suit{font-size:.42rem}.t-shell .t-taken-more{font-size:.56rem}.t-shell .t-opp-tirri{border-radius:6px;padding:0 4px}.t-shell .t-opp-tirri strong,.t-shell .t-opp-tirri.no strong{font-size:.7rem}.t-shell .t-opp-tirri strong small,.t-shell .t-opp-tirri span{display:none}.t-shell .t-opp .opp-waiting{gap:3px;padding:3px 4px;font-size:.62rem}.t-shell .table.t-table{border-width:6px;border-radius:16px;flex-direction:column;flex:auto;gap:5px;min-height:0;padding:8px 5px 6px;display:flex}.t-shell .t-zones-top:before{display:none}.t-shell .t-zones-top{overscroll-behavior:contain;flex:auto;align-content:start;gap:4px;min-height:0;padding:0;overflow-y:auto}.t-shell .t-zones-me{overscroll-behavior:contain;flex:0 auto;min-height:0;overflow-y:auto}.t-shell .t-center{flex:none}.t-shell .t-zone{border-radius:9px;min-height:34px;padding:3px 4px 4px}.t-shell .t-zone.mine{min-height:40px}.t-shell .t-zone .t-owner-name{margin-bottom:2px;font-size:.58rem}.t-shell .t-zone-empty{font-size:.62rem}.t-shell .t-owner-melds,.t-shell .t-zones-me .t-zone.mine .t-owner-melds{flex-wrap:wrap;gap:3px}.t-shell .t-meld{border-radius:7px;padding:3px}.t-shell .t-meld:has(.tc-note){padding-bottom:12px}.t-shell .t-meld-label{display:none}.t-shell .t-meld-cards{flex-wrap:nowrap;gap:0;margin-top:0}.t-shell .t-meld-cards>span+span{margin-left:calc(var(--meld-w) * -.43)}.t-shell .t-zones-me,.t-shell .t-zones-top[data-zones="1"],.t-shell .t-zones-top[data-zones="2"]{--meld-w:clamp(26px, calc(26px + (100dvh - 700px) * .1), 37px)}.t-shell .t-zones-top[data-zones="4"]{--meld-w:clamp(23px, calc(23px + (100dvh - 700px) * .035), 27px)}.t-shell .t-zones-me .t-template{--meld-w:clamp(23px, calc(23px + (100dvh - 700px) * .07), 31px)}.t-shell .t-owner-melds>.t-meld{min-width:0;max-width:100%}.t-shell .t-meld-cards{min-width:0}.t-shell .t-meld-cards>span,.t-shell .t-meld-cards>span:last-child{flex:0 auto;min-width:7px}.t-shell .t-meld-cards>span:last-child{flex-shrink:0}.t-shell .t-zone .tc-sm,.t-shell .t-pending-joker .tc-sm{width:var(--meld-w);height:calc(var(--meld-w) * 1.4);border-width:1px;border-radius:4px;justify-content:flex-start;align-items:flex-start;gap:0;padding:2px 0 0 2px}.t-shell .t-zone .tc-sm .tc-rank,.t-shell .t-pending-joker .tc-sm .tc-rank{font-size:calc(var(--meld-w) * .46);line-height:1}.t-shell .t-zone .tc-sm .tc-suit,.t-shell .t-pending-joker .tc-sm .tc-suit{font-size:calc(var(--meld-w) * .42);line-height:1}.t-shell .t-zone .tc-note{font-size:.5rem;bottom:-11px}.t-shell .t-ends{gap:4px;margin-top:3px}.t-shell .t-table .t-piles{grid-template-columns:auto auto minmax(0,1fr);gap:8px}.t-shell .t-pile{gap:2px}.t-shell .t-table .tc-lg{width:var(--pile-w);height:calc(var(--pile-w) * 1.41);border-radius:6px}.t-shell .t-table .tc-lg .tc-rank{font-size:calc(var(--pile-w) * .45)}.t-shell .t-table .tc-lg .tc-suit{font-size:calc(var(--pile-w) * .4)}.t-shell .t-table .tc-lg .tc-jtext{display:none}.t-shell .t-table .t-under .tc-md{width:calc(var(--pile-w) * .82);height:calc(var(--pile-w) * 1.15)}.t-shell .t-table .t-under .tc-md .tc-rank{font-size:calc(var(--pile-w) * .37)}.t-shell .t-table .t-under .tc-md .tc-suit{font-size:calc(var(--pile-w) * .33)}.t-shell .t-table .t-under .tc-jtext{display:none}.t-shell .pile-label{text-overflow:ellipsis;white-space:nowrap;max-width:70px;font-size:.56rem;overflow:hidden}.t-shell .t-piles-right{gap:6px}.t-shell .t-table .t-event{padding:4px 6px;font-size:.68rem;line-height:1.3}.t-shell .t-table .t-event.tirri{padding:4px 6px;font-size:.74rem}.t-shell .t-tirri-flag{font-size:.56rem}.t-shell .t-table .notice{padding:5px 9px;font-size:.74rem;bottom:6px}.t-shell .t-table .notice.empty{display:none}.t-shell .t-template{gap:4px;padding:4px}.t-shell .t-template-head{flex-wrap:nowrap;justify-content:center;gap:6px}.t-shell .t-template-head:not(:has(.t-lay)){display:none}.t-shell .t-lay{width:100%;padding:7px 12px;font-size:.9rem}.t-shell .t-groups{gap:4px}.t-shell .t-groups .t-group{border-radius:9px;flex-wrap:wrap;align-items:center;gap:2px 6px;padding:3px 5px;display:flex}.t-shell .t-group-head{flex-direction:column;flex:0 0 76px;align-items:flex-start;gap:0;margin:0;font-size:.66rem;line-height:1.2}.t-shell .t-group-state{margin:0;font-size:.56rem}.t-shell .t-add{font-size:.56rem}.t-shell .t-group-cards{min-width:0;min-height:calc(var(--meld-w) * 1.4 + 2px);flex-wrap:wrap;flex:1 1 0;gap:2px;padding-right:0}.t-shell .t-group-cards .tc-sm{width:var(--meld-w);height:calc(var(--meld-w) * 1.4);border-radius:4px}.t-shell .t-group-cards .tc-sm .tc-rank{font-size:calc(var(--meld-w) * .48)}.t-shell .t-group-cards .tc-sm .tc-suit{font-size:calc(var(--meld-w) * .44)}.t-shell .t-suggest{border-radius:7px;gap:1px;margin-left:auto;padding:2px 4px;position:static}.t-shell .t-suggest-label{font-size:.5rem}.t-shell .t-suggest .tc-xs{width:16px;height:22px}.t-shell .t-group .t-ends{flex-basis:100%}.t-shell .me.t-me{border-radius:14px;flex:none;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"info sort""center center""pend pend""side side""mid mid";gap:5px;padding:7px;display:grid}.game-shell.t-shell .t-me:before{inset:2px}.t-shell .t-me-top,.t-shell .t-me-body{display:contents}.t-shell .t-me-info{flex-wrap:nowrap;grid-area:info;gap:8px;min-width:0;font-size:.78rem}.t-shell .t-me-info .lbl{white-space:nowrap;font-size:.74rem}.t-shell .t-me-top .t-sort{grid-area:sort}.t-shell .t-sort button{min-height:30px;padding:3px 9px;font-size:.72rem}.t-shell .t-me-center{grid-area:center;gap:4px}.t-shell .t-pending{grid-area:pend}.t-shell .t-me-spacer{display:none}.t-shell .t-me-mid{grid-area:mid;min-width:0}.t-shell .t-me-side{grid-area:side;align-items:center;gap:6px}.t-shell .t-act-box,.t-shell .t-act-box.mine{flex-wrap:nowrap;gap:5px;min-height:0}.t-shell .t-act-box .t-bar{gap:4px;width:100%;padding:0}.t-shell .t-act-box .t-bar-buttons{flex-wrap:nowrap;gap:5px;width:100%}.t-shell .t-act-box .t-bar-buttons>*{flex:1 1 0;min-width:0}.t-shell .t-act-box .t-bar .primary{white-space:normal;min-height:40px;padding:5px 8px;font-size:.8rem;line-height:1.15}.t-shell .t-act-clear{white-space:normal;flex:none;max-width:92px;min-height:40px;padding:5px 8px;font-size:.72rem;line-height:1.1}.t-shell .t-tirri-banner{padding:3px 8px;font-size:.78rem}.t-shell .t-timer{gap:2px}.t-shell .t-timer-text{font-size:.68rem}.t-shell .t-bar-tirri{box-shadow:none;background:0 0;gap:3px;padding:0;position:static}.t-shell .t-tirri-box{gap:3px;width:100%}.t-shell .t-tirri-btn{gap:10px;width:100%;min-height:44px;padding:5px 10px}.t-shell .t-tirri-word{font-size:1.2rem}.t-shell .t-tirri-card{padding:2px 7px;font-size:1rem}.t-shell .t-tirri-name{font-size:.8rem}.t-shell .t-assist.t-assist-pop{cursor:pointer;-webkit-line-clamp:2;line-clamp:2;border-top:4px solid #0000;border-bottom:4px solid #0000;border-radius:9px;-webkit-box-orient:vertical;padding:0 8px;font-size:.7rem;line-height:1.3;display:-webkit-box;overflow:hidden;box-shadow:0 0 0 1px #ffc53166}.t-shell .t-assist.t-assist-pop.is-open{-webkit-line-clamp:unset;line-clamp:none;display:block}.t-shell .t-assist.t-assist-pop:after{display:none}.t-shell .t-assist.t-assist-pop>strong{margin-right:4px}.t-shell .t-assist.t-assist-pop .t-assist-body{display:inline}.t-shell .t-assist-discard{margin:0 0 0 4px;display:inline}.t-shell .t-me-side .t-assist-fab{flex:none;gap:0;width:38px;height:38px;font-size:0;position:static}.t-shell .t-me .t-me-mid .t-hand,.t-shell .t-me .t-me-body .t-hand{flex-wrap:nowrap;justify-content:center;gap:0;min-height:0;padding:8px 0 0}.t-shell .t-hand .t-hcard+.t-hcard{margin-left:min(3px, calc((100% - var(--hand-w)) / (var(--n,11) - 1) - var(--hand-w)))}.t-shell .t-hand .tc-md,.t-shell .t-pending .tc-md{width:var(--hand-w);height:calc(var(--hand-w) * 1.4);border-radius:6px;justify-content:flex-start;align-items:flex-start;gap:0;padding:3px 0 0 3px}.t-shell .t-hand .tc-rank,.t-shell .t-pending .tc-rank{text-align:center;width:1.3em;font-size:calc(var(--hand-w) * .35);line-height:1}.t-shell .t-hand .tc-suit,.t-shell .t-pending .tc-suit{text-align:center;width:1.45em;font-size:calc(var(--hand-w) * .31);line-height:1.1}.t-shell .t-hand .tc-jtext{display:none}.t-shell .t-hand .tc.is-selected{transform:translateY(-7px)}.t-shell .t-new-tag{padding:0 3px;font-size:.5rem}.t-shell .me.t-me{margin-top:6px;padding-bottom:7px}.game-shell.t-shell .t-me .turn-pill.t-turn-tab{white-space:nowrap;text-overflow:ellipsis;border-radius:999px;max-width:calc(100% - 120px);margin:0;padding:1px 10px 2px;font-size:.66rem;inset:-9px 12px auto auto;overflow:hidden}.game-shell.t-shell .t-me .turn-pill.t-turn-tab.mine:before,.game-shell.t-shell .t-me .turn-pill.t-turn-tab.mine:after{display:none}.game-shell.t-shell .t-me .turn-pill.t-turn-tab.other,.game-shell.t-shell .t-me .turn-pill.t-turn-tab.ended{border:1px solid #ffe4be33}.t-shell .t-scores-btn{bottom:120px}.game-shell.p-shell{gap:8px;height:100dvh;padding-top:6px;overflow:hidden}.p-shell>.game-grid,.p-shell .game-main{flex-direction:column;flex:auto;min-height:0;display:flex}.p-shell .game-main>.opponents{overscroll-behavior:contain;flex:0 auto;min-height:0;overflow-y:auto}.p-shell .game-main>.table,.p-shell .game-main>.me{flex:none}.p-shell>.topbar,.p-shell>.below{display:none}.p-shell .opponents{padding-right:46px}.p-shell.t-menu-open>.topbar{z-index:91;background:var(--bg);border-bottom:1.5px solid var(--line);flex-wrap:wrap;gap:10px;padding:10px 12px 12px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 8px 20px #0000004d}.p-shell.t-menu-open>.topbar .topbar-left{flex:100%}.p-shell.t-menu-open>.topbar .top-actions{flex:100%;justify-content:center}.game-shell.t-menu-open .topbar .brand{display:inline}}.t-timer-fill.t-timer-full{animation:none;transform:none}.t-tirri-btn.t-tirri-wait:disabled{opacity:.55;cursor:wait;animation:none}.t-tirri-btn.t-tirri-wait:after{display:none}.t-tirri-card.t-tirri-card-wait{text-align:center;color:#fffc;background:#00000040;min-width:1.6em}.t-table .t-event.mine{color:#fff4e6;background:linear-gradient(#261c0eeb,#161009eb);border:1.5px solid #ffc531d9;animation:.45s cubic-bezier(.2,.9,.3,1.25) both t-event-pop;box-shadow:0 0 0 3px #ffc53129,0 6px 18px #00000059}.t-table .t-event.tirri{color:#fff1ec;background:linear-gradient(#3a1012ed,#1e0a0bed);border:1.5px solid #f87171cc;font-weight:700;animation:.45s cubic-bezier(.2,.9,.3,1.25) both t-event-pop;position:relative;overflow:visible;box-shadow:0 0 0 3px #dc262633,0 0 22px #dc262647,0 6px 18px #00000059}.t-table .t-event.tirri:before{content:"TIRRI!";background:var(--red);color:#fff;letter-spacing:.1em;white-space:nowrap;border-radius:999px;padding:2px 10px 1px;font-size:.68rem;font-weight:900;line-height:1.3;position:absolute;top:0;left:50%;transform:translate(-50%,-55%)rotate(-3deg);box-shadow:0 2px 6px #00000073}.t-table .t-event.tirri .t-cardref,.t-table .t-event.mine .t-cardref{color:var(--gold)}@keyframes t-event-pop{0%{opacity:0;transform:scale(.88)}60%{opacity:1;transform:scale(1.04)}to{opacity:1;transform:scale(1)}}@media (max-width:640px){.t-shell .t-table .t-event.tirri{padding:7px 6px 4px}.t-shell .t-table .t-event.tirri:before{padding:1px 7px 0;font-size:.56rem}}@media (prefers-reduced-motion:reduce){.t-table .t-event.tirri,.t-table .t-event.mine{animation:none}}@media (max-width:640px){.t-shell .t-opps{gap:5px;padding-right:0}.t-shell .opp.t-opp{gap:4px;padding:6px 8px 7px}.t-shell .t-opp .opp-name{font-size:.95rem;line-height:1.2}.t-shell .t-opp-count{font-size:.9rem;font-weight:800}.t-shell .t-done-badge:before,.t-shell .t-opp .t-done:before,.t-shell .t-opp .t-wait:before{font-size:.85rem}.t-shell .t-opp .t-dealer{z-index:3;width:17px;height:17px;font-size:.62rem;position:absolute;top:-6px;left:-4px;box-shadow:0 1px 4px #00000080}.t-shell .t-opp .t-badge-tirri{padding:1px 7px;font-size:.66rem;top:-9px}.t-shell .t-opp-last{min-height:26px;padding:1px 6px;font-size:.8rem;line-height:24px;display:block}.t-shell .t-opp-last .t-cardref{vertical-align:middle;margin-left:2px;display:inline-flex}.t-shell .t-opp-last .t-cardref-words{display:none}.t-shell .t-opp-last .t-cardref .tc{width:17px;height:24px;display:inline-flex}.t-shell .t-opp-last .t-cardref .tc-rank{font-size:.62rem}.t-shell .t-opp-last .t-cardref .tc-suit{font-size:.56rem}.t-shell .t-opp-row2 .t-score{font-size:.85rem}.t-shell .t-opps:not([data-zones="1"]):not([data-zones="2"]) .t-opp-row2 .t-score{display:none}.t-shell .t-opp-taken{gap:2px}.t-shell .t-opp-taken .tc-sm{border-radius:3px;width:18px;height:25px}.t-shell .t-opp-taken .tc-sm .tc-rank{font-size:.64rem}.t-shell .t-opp-taken .tc-sm .tc-suit{font-size:.58rem}.t-shell .t-taken-more{font-size:.7rem}.t-shell .t-opp-tirri{padding:1px 5px}.t-shell .t-opp-tirri strong,.t-shell .t-opp-tirri.no strong{font-size:.92rem}.t-shell .t-opps[data-zones="1"] .opp-name,.t-shell .t-opps[data-zones="2"] .opp-name{font-size:1.02rem}.t-shell .t-opps[data-zones="1"] .t-opp-taken .tc-sm,.t-shell .t-opps[data-zones="2"] .t-opp-taken .tc-sm{width:21px;height:29px}.t-shell .t-opps[data-zones="1"] .t-opp-last,.t-shell .t-opps[data-zones="2"] .t-opp-last{font-size:.84rem}.t-shell .t-opps[data-zones="4"]{gap:4px}.t-shell .t-opps[data-zones="4"] .opp.t-opp{padding:5px 5px 6px}.t-shell .t-opps[data-zones="4"] .opp-name{font-size:.84rem}.t-shell .t-opps[data-zones="4"] .t-opp-count{font-size:.8rem}.t-shell .t-opps[data-zones="4"] .t-opp-last{padding:2px 4px;font-size:.72rem}.t-shell .t-opps[data-zones="4"] .t-opp-taken .tc-sm{width:14px;height:20px}.t-shell .t-opps[data-zones="4"] .t-opp-taken .tc-sm .tc-rank{font-size:.52rem}.t-shell .t-opps[data-zones="4"] .t-opp-taken .tc-sm .tc-suit{font-size:.48rem}.t-shell .t-opps[data-zones="4"] .t-opp-tirri{padding:0 3px}.t-shell .t-opps[data-zones="4"] .t-opp-tirri strong{font-size:.8rem}.t-shell .me.t-me{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"info sort menu""center center center""pend pend pend""side side side""mid mid mid"}.game-shell.t-shell .t-me-top .t-menu-fab{width:auto;height:34px;box-shadow:none;border-radius:10px;flex-direction:row;grid-area:menu;gap:4px;padding:0 9px;font-size:.72rem;position:static}.t-shell .t-me-info{gap:6px}.t-shell .t-me-info .lbl{font-size:.7rem}.t-shell .t-me-info .t-done{white-space:nowrap;font-size:.7rem}.t-shell .t-sort button{padding:3px 7px}.game-shell.t-shell .t-me-top .t-menu-fab{gap:3px;padding:0 7px}.t-shell .t-opp .t-done-badge,.t-shell .t-opp .t-done,.t-shell .t-opp .t-wait{z-index:3;color:#86efac;background:#1f3b2a;border:1.5px solid #86efac;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;padding:0;display:inline-flex;position:absolute;top:-6px;right:-4px;box-shadow:0 1px 4px #00000080}.t-shell .t-opp .t-wait{color:var(--muted);background:#3a2f1f;border-color:#ffe4be80}.t-shell .t-done-badge:before,.t-shell .t-opp .t-done:before,.t-shell .t-opp .t-wait:before{font-size:.7rem;font-weight:900;line-height:1}}.ach-badge{color:#2a1a05;border-radius:50%;flex:none;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex;box-shadow:inset 0 1px #ffffff80,0 1px 3px #00000040}.ach-badge.lv1{background:linear-gradient(#e7b07a,#b9773c)}.ach-badge.lv2{background:linear-gradient(#eef1f4,#a9b3bd)}.ach-badge.lv3{background:linear-gradient(#ffe08a,#e0a91f)}.ach-toasts{top:max(10px, env(safe-area-inset-top));z-index:95;pointer-events:none;flex-direction:column;gap:8px;width:min(380px,100vw - 24px);display:flex;position:fixed;left:50%;transform:translate(-50%)}.ach-toast{pointer-events:auto;border:1.5px solid var(--gold);color:#fbf1df;width:100%;font:inherit;text-align:left;cursor:pointer;background:#1c150e;border-radius:14px;align-items:center;gap:12px;padding:10px 14px;animation:.35s cubic-bezier(.2,1.3,.4,1) ach-in,.4s ease-in 3.8s forwards ach-out;display:flex;box-shadow:0 10px 28px #00000073,0 0 0 3px #ffc5312e}.ach-toast-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.ach-toast-lbl{letter-spacing:.1em;text-transform:uppercase;color:var(--gold);font-size:.68rem;font-weight:700}.ach-toast-text strong{font-size:1rem}.ach-toast-desc{color:#fbf1dfc7;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.8rem;display:-webkit-box;overflow:hidden}@keyframes ach-in{0%{opacity:0;transform:translateY(-14px)scale(.96)}}@keyframes ach-out{to{opacity:0;transform:translateY(-8px)}}@media (prefers-reduced-motion:reduce){.ach-toast{animation:none}}.ach-overlay{z-index:80}.ach-modal{flex-direction:column;gap:12px;width:min(560px,100%);min-height:0;max-height:min(88vh,88dvh);padding:18px 20px 14px;display:flex}.ach-head{align-items:center;gap:10px;display:flex}.ach-head h2{margin:0;font-size:1.35rem;font-weight:800}.ach-count{background:var(--tint);color:var(--tint-text);border-radius:999px;margin-right:auto;padding:2px 10px;font-size:.85rem;font-weight:800}.ach-tabs button{flex:1}.ach-list{flex-direction:column;flex:auto;gap:6px;min-height:0;margin:0;padding:0 2px 0 0;list-style:none;display:flex;overflow-y:auto}.ach-item{background:var(--sunken-2);border-radius:12px;align-items:flex-start;gap:12px;padding:10px 12px;display:flex}.ach-item:not(.open) .ach-badge{background:var(--sunken);color:var(--muted);box-shadow:inset 0 0 0 1.5px var(--line-strong)}.ach-item:not(.open) .ach-title strong{color:var(--muted)}.ach-item.open{box-shadow:inset 0 0 0 1.5px #ffc53173}.ach-body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.ach-title{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.ach-level{letter-spacing:.06em;text-transform:uppercase;color:var(--muted-2);font-size:.66rem;font-weight:700}.ach-desc{color:var(--muted);font-size:.84rem;line-height:1.3}.ach-meta{color:var(--gold-text);font-size:.74rem;font-weight:600}:root[data-theme=dark] .ach-meta,.game-shell .ach-meta{color:var(--gold)}@media (prefers-color-scheme:dark){:root:not([data-theme]) .ach-meta{color:var(--gold)}}.ach-progress{color:var(--muted);align-items:center;gap:8px;display:flex}.ach-bar{background:var(--sunken);height:6px;box-shadow:inset 0 0 0 1px var(--line);border-radius:3px;flex:0 140px;overflow:hidden}.ach-bar>span{background:var(--gold);height:100%;display:block}.ach-foot{justify-content:space-between;align-items:center;gap:10px;display:flex}.ach-foot .tiny{white-space:normal}.ach-summary-row{align-items:center;gap:12px;display:flex}.ach-summary-text{flex-direction:column;margin-right:auto;display:flex}@media (max-width:640px){.t-shell.t-menu-open .t-rail .top-actions{gap:4px}.t-shell.t-menu-open .t-rail .top-actions .icon-btn{width:32px}.ach-overlay{padding:10px}.ach-modal{max-height:calc(100dvh - 20px);padding:14px 14px 10px}.ach-item{gap:10px;padding:8px 10px}}.t-me-chat,.p-chat-fab{display:none}.chat-new{background:var(--fg);color:var(--fg-inv);font:inherit;box-shadow:0 4px 12px var(--shadow);cursor:pointer;border:0;border-radius:999px;flex:none;align-self:center;margin-top:-4px;padding:4px 12px;font-size:.78rem;font-weight:700}@media (min-width:1100px){.game-grid>.side-chat{contain:size;align-self:stretch;min-height:320px;max-height:calc(100dvh - 20px);position:sticky;top:10px}}@media (max-width:1099px){.side-chat{bottom:calc(12px + var(--kb,0px))}}@media (max-width:640px){.side-chat{z-index:95;bottom:var(--kb,0px);height:min(72vh, 540px, calc(var(--vvh,100vh) - 8px))}.chat-lobby .chat-list{max-height:min(240px,34dvh)}:is(.t-me-chat .chat-btn-wrap:has(.voice-btn:not(.on):not(.muted)),.p-chat-fab .chat-btn-wrap:has(.voice-btn:not(.on):not(.muted))){display:none}.t-shell .me.t-me:has(.t-me-chat){grid-template-columns:minmax(0,1fr) auto auto auto;grid-template-areas:"info sort chat menu""center center center center""pend pend pend pend""side side side side""mid mid mid mid"}.t-shell .t-me-chat{grid-area:chat;align-items:center;gap:4px;display:flex}.t-shell .t-me-chat .icon-btn{border-radius:10px;width:34px;height:34px}.t-shell .t-me-chat .chat-badge{top:-7px;right:-7px}.t-shell .t-me-chat .chat-toast{top:auto;bottom:calc(100% + 6px)}.p-shell .p-chat-fab{z-index:64;flex-direction:column;gap:6px;display:flex;position:fixed;top:57px;right:5px}.p-shell.t-menu-open .p-chat-fab{display:none}.p-shell .p-chat-fab .icon-btn{background:var(--surface);border-radius:12px;width:42px;height:40px;box-shadow:0 4px 12px #00000059}.p-shell .p-chat-fab .chat-btn.on{background:var(--fg)}}.ach-group{letter-spacing:.1em;text-transform:uppercase;color:var(--muted-2);align-items:center;gap:8px;padding:8px 8px 2px 2px;font-size:.72rem;font-weight:800;display:flex}.ach-group:first-child{padding-top:0}.ach-group-count{letter-spacing:.02em;margin-left:auto;font-weight:700}.ach-dot{border-radius:50%;width:10px;height:10px}.ach-dot.lv1{background:#c98b4f}.ach-dot.lv2{background:#b9c2cb}.ach-dot.lv3{background:#f0bd34}.room-list-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.room-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.room-list li{border:1.5px solid var(--line);background:var(--surface);border-radius:12px;align-items:center;gap:10px;padding:10px 12px;display:flex}.room-info{overflow-wrap:anywhere;flex:1;min-width:0}.room-list .room-join{border-radius:11px;flex-shrink:0;width:auto;padding:8px 16px;font-size:.95rem}.seat-kick{margin-left:8px;padding:2px 10px;font-size:.8rem}
