:root{--bg: #14101f;--bg-2: #1e1830;--card: #262040;--card-2: #2f2850;--text: #f4f0ff;--muted: #a89fc4;--line: rgba(255, 255, 255, .08);--primary: #ffb347;--primary-text: #2a1a00;--danger: #ff5c7a;--good: #5ee0a0;--warn: #ffd166;--joker: #b388ff;--radius: 14px;--shadow: 0 8px 24px rgba(0, 0, 0, .35);--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px)}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}body{min-height:100dvh;background:radial-gradient(1200px 600px at 50% -200px,#3a2a66 0%,var(--bg) 60%)}h1,h2,h3{margin:0 0 8px;line-height:1.2}h1{font-size:2rem}h2{font-size:1.1rem}h3{font-size:1rem;margin-top:16px}p{margin:0 0 10px}ul,ol{margin:0;padding-left:20px}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center}.big-text{font-size:1.25rem}.row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.page{max-width:520px;margin:0 auto;padding:calc(12px + var(--safe-top)) 16px calc(24px + var(--safe-bottom));display:flex;flex-direction:column;gap:14px;min-height:100dvh}.hero{text-align:center;padding:24px 0 8px}.hero-emoji{font-size:3.5rem;line-height:1;margin-bottom:8px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.topbar-title{font-weight:600}.bottom-actions{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:8px}.offline-bar{position:fixed;top:0;left:0;right:0;z-index:50;background:var(--danger);color:#fff;text-align:center;font-size:.85rem;padding:calc(4px + var(--safe-top)) 8px 4px}.field{display:flex;flex-direction:column;gap:6px;font-size:.9rem;color:var(--muted)}input[type=text],input[type=date]{width:100%;font:inherit;font-size:1.05rem;padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:var(--bg-2);color:var(--text);outline:none}input[type=date]{color-scheme:dark;min-height:50px}input[type=text]:focus,input[type=date]:focus{border-color:var(--primary)}.code-input{text-transform:uppercase;letter-spacing:.35em;font-weight:700;text-align:center;font-size:1.3rem!important}.join-row{display:flex;gap:8px}.join-row input{flex:1;min-width:0}.divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.85rem}.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--line)}.btn{font:inherit;font-weight:600;padding:12px 18px;border-radius:12px;border:1px solid var(--line);background:var(--card-2);color:var(--text);cursor:pointer;transition:transform .05s ease,filter .15s ease;touch-action:manipulation;-webkit-user-select:none;user-select:none}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.btn.primary{background:var(--primary);color:var(--primary-text);border-color:transparent}.btn.danger{background:var(--danger);color:#fff;border-color:transparent}.btn.ghost{background:transparent}.btn.small{padding:8px 12px;font-size:.9rem;border-radius:10px}.btn.big{padding:16px 20px;font-size:1.1rem}.btn.full{width:100%}.icon-btn{font:inherit;background:transparent;border:none;color:var(--muted);font-size:1.1rem;padding:6px 10px;cursor:pointer;border-radius:8px}.icon-btn:active{background:var(--line)}.badge{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;padding:3px 8px;border-radius:999px;background:var(--good);color:#062b1a;font-weight:700}.badge.bad{background:var(--danger);color:#fff}.badge.warn{background:var(--warn);color:#3a2a00}.games{display:flex;flex-direction:column;gap:8px}.game-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px}.game-name{font-weight:700;font-size:1.05rem}.code-card{align-items:center;text-align:center}.room-code{font-size:3rem;font-weight:800;letter-spacing:.25em;padding-left:.25em;color:var(--primary);line-height:1}.qr{display:flex;flex-direction:column;align-items:center;gap:6px;word-break:break-all}.qr svg{border-radius:10px}.player-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px}.player-list li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:var(--bg-2)}.player-list li.offline{opacity:.6}.player-name{flex:1;font-weight:600}.seat{width:16px;text-align:right}.icon-btn:disabled{opacity:.25;cursor:default}.dot{width:10px;height:10px;border-radius:50%;background:var(--muted)}.dot.on{background:var(--good);box-shadow:0 0 8px var(--good)}.dot.warn{background:var(--warn);box-shadow:0 0 8px var(--warn)}.dot.bad{background:var(--danger)}.stepper{display:flex;align-items:center;justify-content:space-between;gap:8px}.stepper-controls{display:flex;align-items:center;gap:10px}.stepper-value{min-width:80px;text-align:center;font-weight:700}.page.game{gap:10px}.table-wrap{position:relative;width:100%;aspect-ratio:4 / 5;max-height:62dvh;--seat-dx: 44px;--seat-dy: 34px}.felt{position:absolute;top:30px;right:38px;bottom:30px;left:38px;border-radius:50%;background:radial-gradient(ellipse at 50% 42%,#2f6d46,#22523a 55%,#163a28);border:7px solid #3a3346;box-shadow:inset 0 0 50px #00000080,0 0 0 2px #1b1626,0 12px 32px #00000073}.felt-center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0 24%;text-align:center}.table-empty{color:#ffffff73;font-style:italic}.claim-big{font-size:2.4rem;font-weight:800;line-height:1;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.45)}.claim-big.red{color:#ff7a8a}.claim-sub{font-size:.78rem;color:#ffffffbf}.table-pot{margin-top:4px;font-size:.78rem;font-weight:600;color:#ffffffd9;background:#00000059;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:2px 10px}.pile-stack{position:relative;width:56px;height:80px;margin-bottom:4px}.pile-stack .pcard{position:absolute;left:0;top:0}.pile-stack .pcard:nth-child(2){transform:translate(3px,-2px) rotate(4deg)}.pile-stack .pcard:nth-child(3){transform:translate(-2px,2px) rotate(-6deg)}.pile-stack .pcard:nth-child(4){transform:translate(4px,1px) rotate(2deg)}.pile-trail{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 8px;font-size:.7rem;color:#ffffff80}.seat{position:absolute;left:calc(50% + var(--cos) * (50% - var(--seat-dx)));top:calc(50% + var(--sin) * (50% - var(--seat-dy)));transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:92px;pointer-events:none}.seat-avatar{position:relative;z-index:1;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1rem;color:#fff;background:radial-gradient(circle at 35% 30%,hsl(var(--hue) 55% 62%),hsl(var(--hue) 55% 32%));border:2px solid #2a2438;box-shadow:0 2px 6px #00000080}.seat-offline{position:absolute;right:-6px;top:-6px;font-size:.8rem}.seat-plate{margin-top:-9px;min-width:84px;max-width:100%;background:#1b1626;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:9px 8px 4px;text-align:center;box-shadow:0 3px 10px #00000073}.seat-name{font-weight:700;font-size:.8rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seat-info{font-size:.7rem;color:var(--good);white-space:nowrap}.seat-info.warn{color:var(--warn)}.seat.turn .seat-plate{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary),0 0 16px #ffb3478c;animation:seat-pulse 1.4s ease-in-out infinite}.seat.turn .seat-avatar{border-color:var(--primary)}.seat.done{opacity:.55}.seat.offline .seat-plate{border-style:dashed}@keyframes seat-pulse{0%,to{box-shadow:0 0 0 2px var(--primary),0 0 10px #ffb34759}50%{box-shadow:0 0 0 2px var(--primary),0 0 22px #ffb347cc}}.table-wrap{--marker-kx: .58;--marker-ky: .62}.marker{position:absolute;left:calc(50% + var(--cos) * (50% - var(--seat-dx)) * var(--marker-kx));top:calc(50% + var(--sin) * (50% - var(--seat-dy)) * var(--marker-ky));transform:translate(-50%,-50%);pointer-events:none}.marker.passed{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#cfc8e6;background:#00000080;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:2px 7px}.marker-card{display:block;width:20px;height:28px;border-radius:4px;background:repeating-linear-gradient(45deg,#5a3fa0 0,#5a3fa0 4px,#4a3390 4px,#4a3390 8px),#4a3390;border:2px solid var(--primary);box-shadow:0 2px 6px #00000080}@media(min-width:700px)and (orientation:landscape){.page.game{max-width:960px}.table-wrap{aspect-ratio:16 / 9;max-height:60dvh;--seat-dx: 56px;--seat-dy: 36px;--marker-kx: .62;--marker-ky: .76}.felt{top:34px;right:72px;bottom:34px;left:72px}.felt-center{padding:0 18%}.claim-big{font-size:3rem}}.play-sheet-card{display:flex;justify-content:center}.status{text-align:center;color:var(--muted);min-height:1.4em;margin:0}.status.mine{color:var(--primary);font-weight:600}.actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.actions .btn{flex:1;min-width:120px}.play-panel{gap:10px}.play-panel-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.claim-picker{display:flex;flex-direction:column;gap:8px}.claim-suits{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.claim-ranks{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.suit-btn,.rank-btn{font:inherit;font-weight:700;padding:10px 0;border-radius:10px;border:1px solid var(--line);background:var(--bg-2);color:var(--text);cursor:pointer;touch-action:manipulation}.suit-btn{font-size:1.5rem;padding:6px 0}.suit-btn.red{color:#ff7a8a}.suit-btn.active,.rank-btn.active{background:var(--primary);color:var(--primary-text);border-color:transparent}.suit-btn.active.red{color:#b3001b}.suit-btn:disabled,.rank-btn:disabled{opacity:.25;cursor:not-allowed}.hand{display:flex;gap:8px;overflow-x:auto;padding:10px 4px 14px;scrollbar-width:none;min-height:110px;align-items:flex-end}.hand::-webkit-scrollbar{display:none}.hand.active .pcard.clickable:hover{filter:brightness(1.08)}.pcard{flex:0 0 auto;width:64px;height:92px;border-radius:8px;background:#fffdf7;color:#111;position:relative;box-shadow:0 2px 6px #00000059;font-weight:700;transition:transform .12s ease;-webkit-user-select:none;user-select:none}.pcard.small{width:56px;height:80px}.pcard.big{width:110px;height:158px;font-size:1.5rem}.pcard.clickable{cursor:pointer}.pcard.selected{transform:translateY(-14px);box-shadow:0 0 0 3px var(--primary),0 8px 16px #0006}.pcard.red{color:#c8102e}.pcard .corner{position:absolute;top:5px;left:6px;font-size:.8em;line-height:1;text-align:center}.pcard.big .corner{font-size:.7em;top:8px;left:9px}.pcard .corner.flip{top:auto;left:auto;bottom:5px;right:6px;transform:rotate(180deg)}.pcard.big .corner.flip{bottom:8px;right:9px}.pcard .center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:1.9em}.pcard.big .center{font-size:2.6em}.pcard-img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.pcard.joker{background:#fff}.pcard.bomb{background:transparent;box-shadow:none}.pcard.bomb .pcard-img{object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5))}.pcard.bomb.selected{box-shadow:none}.pcard.bomb.selected .pcard-img{filter:drop-shadow(0 0 0 var(--primary)) drop-shadow(0 0 3px var(--primary)) drop-shadow(0 8px 10px rgba(0,0,0,.5))}.pcard.back{background:repeating-linear-gradient(45deg,#5a3fa0 0,#5a3fa0 6px,#4a3390 6px,#4a3390 12px),#4a3390;border:3px solid #fffdf7}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#000000a6;display:flex;align-items:center;justify-content:center;padding:16px;animation:fade .15s ease}.modal{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);width:100%;max-width:460px;max-height:calc(100dvh - 32px);overflow-y:auto;box-shadow:var(--shadow);animation:pop .18s ease}.modal.sheet{align-self:flex-end;border-radius:20px 20px 0 0;margin:0 -16px -16px;max-width:none;padding-bottom:var(--safe-bottom)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 0}.modal-head h2{margin:0}.modal-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes pop{0%{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}.call-buttons{display:flex;flex-direction:column;gap:8px}.btn.call{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 16px;text-align:left;border-color:transparent}.btn.call.bluff{background:var(--danger);color:#fff}.btn.call.joker{background:var(--joker);color:#1a0b3a}.btn.call.bomb{background:#2a2a2a;color:var(--primary);border-color:var(--primary)}.call-title{font-size:1.2rem}.call-sub{font-weight:500;font-size:.8rem;opacity:.85}.reveal{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.reveal-call{font-size:1.6rem;font-weight:800}.reveal-card{padding:8px 0;animation:flip .5s ease}@keyframes flip{0%{transform:rotateY(90deg)}to{transform:rotateY(0)}}.reveal-outcome{font-weight:600;font-size:1.05rem;padding:10px 12px;border-radius:10px;background:var(--bg-2)}.reveal-outcome.good{color:var(--good)}.reveal-outcome.bad{color:var(--danger)}.reveal-outcome.neutral{color:var(--muted)}.chug{font-size:1.6rem;font-weight:900;color:var(--warn);animation:shake .6s ease infinite}@keyframes shake{0%,to{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}.log ul{list-style:none;padding:0;margin-top:6px;display:flex;flex-direction:column;gap:2px;font-size:.85rem;max-height:220px;overflow-y:auto}.log li{padding:4px 8px;border-radius:6px;background:var(--bg-2);color:var(--muted)}.log li.log-call,.log li.log-penalty{color:var(--text)}.log li.log-finish{color:var(--good)}.log li.log-round{color:var(--primary)}.standings{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px}.standings li{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:var(--bg-2)}.standings li.loser{border:1px solid var(--danger)}.place{width:28px;text-align:center;font-weight:700}.rules{font-size:.95rem}.rules ul{padding-left:18px;display:flex;flex-direction:column;gap:4px}.rules-table{width:100%;border-collapse:collapse;font-size:.8rem;margin:8px 0}.rules-table th,.rules-table td{border:1px solid var(--line);padding:6px 4px;text-align:center}.rules-table th:first-child,.rules-table td:first-child{text-align:left}.rules-table td.good{color:var(--good);font-weight:600}.rules-table td.bad{color:var(--danger);font-weight:600}.toast{position:fixed;left:50%;bottom:calc(24px + var(--safe-bottom));transform:translate(-50%);z-index:60;background:#fff;color:#111;padding:10px 16px;border-radius:999px;font-weight:600;box-shadow:var(--shadow);max-width:calc(100% - 32px);animation:pop .2s ease}@media(min-width:600px){.pcard{width:72px;height:104px}}.puzzle{display:flex;flex-direction:column;gap:12px}.puzzle-ref{display:flex;align-items:center;gap:12px}.puzzle-ref p{margin:0}.puzzle-ref-title{font-weight:600;margin-bottom:2px}.puzzle-thumb{flex:none;width:84px;height:84px;border-radius:8px;border:1px solid var(--line);background:var(--bg-2)}.puzzle-grid{display:grid;gap:3px;width:100%;max-width:400px;margin:0 auto;padding:3px;border-radius:10px;background:var(--card);border:1px solid var(--line)}.puzzle-grid.solved{border-color:transparent;box-shadow:0 0 0 3px var(--good)}.puzzle-grid.locked{opacity:.7}.puzzle-piece{display:block;width:100%;aspect-ratio:1;padding:0;border:0;border-radius:6px;-moz-appearance:none;appearance:none;-webkit-appearance:none;background-color:var(--bg-2);background-repeat:no-repeat;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:transform .15s ease}.puzzle-piece:disabled{cursor:default}.puzzle-piece.dragging{position:relative;z-index:2;transition:none;box-shadow:0 10px 24px #0000008c;cursor:grabbing}.puzzle-piece.target{box-shadow:inset 0 0 0 4px var(--primary)}.puzzle-actions{display:flex;justify-content:center;align-items:center;gap:8px;min-height:46px}.puzzle-done{color:var(--good);font-weight:800;font-size:1.3rem;animation:pop .2s ease}.players-row{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.players-row::-webkit-scrollbar{display:none}.chip{flex:0 0 auto;min-width:84px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:8px 10px;text-align:center}.chip.turn{border-color:var(--primary);box-shadow:0 0 0 2px #ffb34759}.chip.offline{border-style:dashed;opacity:.7}.chip-name{font-weight:700;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.chip-info{font-size:.75rem;color:var(--muted);white-space:nowrap}.game-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}.game-option{font:inherit;text-align:left;display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--bg-2);color:var(--text);cursor:pointer}.game-option.active{border-color:var(--primary);box-shadow:0 0 0 2px #ffb34759}.game-option:disabled{cursor:default;opacity:.5}.game-option.active:disabled{opacity:1}.red-text{color:#ff7a8a}.fm-banner{font:inherit;display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:10px 14px;border-radius:12px;border:1px solid var(--primary);background:linear-gradient(90deg,#ffb3472e,#ffb3470d);color:var(--text);font-weight:600;cursor:pointer;text-align:left}.fm-banner.none{border-color:var(--line);background:var(--card);color:var(--muted)}.fm-card-area{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0 4px}.draw-area{display:flex;flex-direction:column;align-items:center;gap:10px}.draw-btn{min-width:200px;font-size:1.3rem;padding:18px 28px}.fm-tools-btn{border-color:var(--primary)}.activity{gap:10px}.activity-head{display:flex;flex-direction:column;gap:6px}.activity h2{margin:0}.stack{display:flex;flex-direction:column;gap:10px}.timer{position:relative;height:22px;border-radius:999px;background:var(--bg-2);overflow:hidden;border:1px solid var(--line)}.timer-fill{position:absolute;inset:0 auto 0 0;background:var(--good);transition:width .1s linear}.timer.urgent .timer-fill{background:var(--danger)}.timer-text{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6)}.lives-row{display:flex;flex-wrap:wrap;gap:6px}.life-chip{font-size:.8rem;padding:4px 8px;border-radius:999px;background:var(--bg-2);border:1px solid var(--line)}.life-chip.turn{border-color:var(--primary)}.life-chip.out{opacity:.5;text-decoration:line-through}.word-chain{display:flex;flex-wrap:wrap;gap:6px;min-height:32px;align-items:center}.word{padding:4px 10px;border-radius:8px;background:var(--card-2);font-weight:600}.word:last-child{background:var(--primary);color:var(--primary-text)}.counter{display:flex;align-items:center;justify-content:center;gap:14px}.counter-value{font-size:2rem;font-weight:800;min-width:90px;text-align:center}.give-panel{display:flex;flex-direction:column;gap:10px}.give-head{display:flex;justify-content:space-between;align-items:center}.give-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px}.give-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;border-radius:10px;background:var(--bg-2)}.tabs{display:flex;gap:8px}.rule-list,.fm-rule-list{padding-left:0;list-style:none;display:flex;flex-direction:column;gap:6px}.fm-rule-list{list-style:decimal;padding-left:22px}.rule-list li{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;background:var(--bg-2)}.rule-list li form,.rule-text{flex:1}.log li.log-fm{color:var(--primary)}.log li.log-game,.log li.log-drink{color:var(--text)}.lastletter{gap:12px}.ll-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.ll-head h2{margin:0}.ll-bubbles{display:flex;align-items:flex-start;justify-content:center;gap:2px;padding-top:4px}.ll-bubble-slot{display:flex;flex-direction:column;align-items:center;flex:1 1 0;min-width:0}.ll-bubble-slot.current{flex:1.4 1 0}.ll-bubble{position:relative;max-width:100%;min-height:54px;padding:10px 8px;border-radius:14px;background:#fff;color:#111;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #0006}.ll-bubble:after{content:"";position:absolute;left:50%;bottom:-7px;width:14px;height:14px;background:#fff;border-radius:2px;transform:translate(-50%) rotate(45deg)}.ll-bubble-text{max-width:100%;font-size:1.3rem;font-weight:900;line-height:1;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-flex;align-items:baseline}.ll-bubble.md .ll-bubble-text{font-size:1.05rem}.ll-bubble.sm .ll-bubble-text{font-size:.85rem}.ll-bubble.xs .ll-bubble-text{font-size:.7rem}.ll-bubble.xxs .ll-bubble-text{font-size:.6rem}.ll-bubble.current .ll-bubble-text{font-size:1.6rem}.ll-link{color:#17c04a;text-decoration:underline;text-decoration-thickness:4px;text-underline-offset:3px}.ll-bubble.current{border:3px solid var(--primary);animation:ll-pulse 1.4s ease-in-out infinite}.ll-bubble.current:after{border-right:3px solid var(--primary);border-bottom:3px solid var(--primary);bottom:-9px}.ll-bubble.current.urgent{border-color:var(--danger);animation:ll-pulse-red .5s ease-in-out infinite}.ll-bubble.current.urgent:after{border-color:var(--danger)}@keyframes ll-pulse{0%,to{box-shadow:0 4px 14px #0006}50%{box-shadow:0 4px 14px #0006,0 0 18px #ffb347b3}}@keyframes ll-pulse-red{0%,to{box-shadow:0 4px 14px #0006}50%{box-shadow:0 4px 14px #0006,0 0 18px #ff5c7ae6}}.ll-dots{display:inline-flex;gap:4px;margin-left:5px;align-self:flex-end;padding-bottom:2px}.ll-dots i{width:7px;height:7px;border-radius:50%;background:#111;animation:ll-dot 1.2s ease-in-out infinite}.ll-dots i:nth-child(2){animation-delay:.2s}.ll-dots i:nth-child(3){animation-delay:.4s}@keyframes ll-dot{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.ll-speaker{margin-top:12px;max-width:100%;font-size:.75rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll-speaker.turn{color:var(--primary);font-weight:700}.ll-arrow{flex:0 0 30px;width:30px;height:24px;margin-top:8px;fill:none;stroke:#ff2d2d;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 2px rgba(0,0,0,.5))}.ll-table-wrap{position:relative;width:100%;aspect-ratio:1;max-height:40dvh;margin:4px auto 6px;--seat-dx: 30px;--seat-dy: 46px}.ll-table{position:absolute;top:46px;right:40px;bottom:46px;left:40px;border-radius:50%;background:radial-gradient(circle at 50% 38%,#ee3d4c,#c8131f 55%,#8a0d16);border:7px solid #6b4a2a;box-shadow:inset 0 0 40px #00000073,0 0 0 2px #3a2a17,0 10px 28px #00000073;display:flex;align-items:center;justify-content:center}.ll-clock{--p: 1;width:96px;height:96px;border-radius:50%;background:conic-gradient(var(--good) calc(var(--p) * 360deg),rgba(255,255,255,.18) 0);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #00000073}.ll-clock.urgent{background:conic-gradient(var(--danger) calc(var(--p) * 360deg),rgba(255,255,255,.18) 0)}.ll-clock-inner{width:80px;height:80px;border-radius:50%;background:#1b1626;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}.ll-clock-letter{font-size:2.1rem;font-weight:900;color:#17c04a}.ll-clock-letter.free{color:var(--muted)}.ll-clock-sub{margin-top:4px;font-size:.75rem;font-weight:700;color:#fff}.ll-clock.urgent .ll-clock-sub{color:var(--danger)}.ll-seat{position:absolute;left:calc(50% + var(--cos) * (50% - var(--seat-dx)));top:calc(50% + var(--sin) * (50% - var(--seat-dy)));transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:70px;pointer-events:none}.ll-avatar{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:800;color:#fff;background:radial-gradient(circle at 35% 30%,hsl(var(--hue) 55% 62%),hsl(var(--hue) 55% 32%));border:2px solid #2a2438;box-shadow:0 2px 6px #00000080}.ll-seat.turn .ll-avatar{border-color:var(--primary);animation:seat-pulse 1.4s ease-in-out infinite}.ll-seat-name{margin-top:3px;max-width:100%;padding:2px 6px;border-radius:8px;background:#1b1626;border:1px solid rgba(255,255,255,.14);font-size:.7rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ll-seat.turn .ll-seat-name{border-color:var(--primary);color:var(--primary)}.ll-seat-lives{margin-top:2px;min-height:12px;font-size:.7rem;letter-spacing:-1px;color:var(--muted)}.ll-seat.out{opacity:.55}.ll-seat.out .ll-seat-name{text-decoration:line-through}.ll-seat.out .ll-avatar{background:#3a3346;font-size:1.15rem}.fm-card-area.compact{flex-direction:row;justify-content:center;gap:10px;padding:2px 0}.fm-card-area.compact .table-pot{margin-top:0}.seg{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.mq-playlists{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:50dvh;overflow-y:auto}.mq-playlist{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border-radius:12px;border:1px solid var(--line);background:var(--bg-2);color:var(--text);text-align:left;font:inherit;cursor:pointer}.mq-playlist:disabled{cursor:default}.mq-playlist.active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.mq-playlist img,.mq-playlist-cover{flex:none;width:48px;height:48px;border-radius:8px;object-fit:cover;background:var(--card-2);display:flex;align-items:center;justify-content:center;font-size:1.4rem}.mq-playlist-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.mq-playlist-title{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mq-playlist-check{color:var(--primary);font-weight:800}.mq-topline{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.mq-round{font-weight:700}.mq-playlist-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mq-speaker{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-radius:12px;background:var(--bg-2);border:1px solid var(--line);font-size:.85rem}.mq-speaker.me{border-color:var(--good)}.mq-stage{gap:12px}.mq-clock-row{display:flex;align-items:center;justify-content:center;gap:20px}.mq-clock{--p: 1;flex:none;width:104px;height:104px;border-radius:50%;background:conic-gradient(var(--good) calc(var(--p) * 360deg),rgba(255,255,255,.14) 0);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #00000073}.mq-clock.urgent{background:conic-gradient(var(--danger) calc(var(--p) * 360deg),rgba(255,255,255,.14) 0)}.mq-clock-inner{width:88px;height:88px;border-radius:50%;background:#1b1626;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}.mq-clock-icon{font-size:1.3rem;color:var(--muted)}.mq-clock-sec{margin-top:4px;font-size:1.4rem;font-weight:800}.mq-clock.urgent .mq-clock-sec{color:var(--danger)}.mq-vinyl{width:84px;height:84px;border-radius:50%;background:repeating-radial-gradient(circle at 50% 50%,#111 0,#111 2px,#222 2px,#222 4px);box-shadow:inset 0 0 0 3px #0a0a0a,0 4px 14px #00000080;display:flex;align-items:center;justify-content:center;animation:mq-spin 2.4s linear infinite}.mq-vinyl-label{width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#ff7a8a,#c8102e);box-shadow:inset 0 0 0 4px #111}@keyframes mq-spin{to{transform:rotate(360deg)}}.mq-parts{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;min-height:26px}.mq-part{padding:3px 10px;border-radius:999px;background:var(--bg-2);border:1px solid var(--line);font-size:.8rem;color:var(--muted)}.mq-part.ok{color:var(--good);border-color:var(--good);font-weight:700}.mq-part.near{color:var(--warn);border-color:var(--warn)}.mq-actions{justify-content:center;flex-wrap:wrap}.mq-master-now{text-align:center;padding:8px;border-radius:12px;background:var(--bg-2);border:1px dashed var(--line)}.mq-track-title{font-size:1.25rem;font-weight:800}.mq-track-artist{color:var(--muted)}.mq-reveal-head{display:flex;align-items:center;gap:12px}.mq-cover{flex:none;width:84px;height:84px;border-radius:10px;object-fit:cover;box-shadow:0 4px 14px #00000073}.mq-cover-empty{display:flex;align-items:center;justify-content:center;font-size:2rem;background:var(--card-2)}.mq-reveal-text{min-width:0}.mq-reveal.good{border-color:#5ee0a080}.mq-reveal.bad{border-color:#ff5c7a80}.mq-round-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.mq-round-list li{display:flex;justify-content:space-between;padding:6px 10px;border-radius:8px;background:var(--bg-2);font-size:.9rem}.mq-round-list li.solved{color:var(--good)}.mq-round-list li.drink{color:var(--danger)}.mq-library{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;max-height:42dvh;overflow-y:auto}.mq-library li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border-radius:8px;background:var(--bg-2)}.mq-library li.played{opacity:.45}.mq-library-text{min-width:0;display:flex;flex-direction:column}.mq-library-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mq-board .standings li.solved .player-name{color:var(--good)}.mq-score{font-weight:700;white-space:nowrap}.mq-streak{font-size:.8rem}.nq-stage{gap:12px}.nq-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}.nq-category{font-size:.85rem;font-weight:600;color:var(--muted);background:#ffffff0f;border-radius:999px;padding:4px 10px}.nq-clock{width:64px;height:64px}.nq-clock .mq-clock-inner{width:52px;height:52px}.nq-clock .mq-clock-sec{margin-top:0;font-size:1.05rem}.nq-question{font-size:1.25rem;line-height:1.3;margin:0}.nq-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.nq-options.one-col{grid-template-columns:1fr}.nq-options.one-col .nq-option{min-height:52px}.nq-option{--tint: #ffffff;display:flex;align-items:center;gap:8px;min-height:64px;padding:10px 12px;border-radius:12px;border:2px solid transparent;background:color-mix(in srgb,var(--tint) 22%,var(--card-2));color:var(--text);font:inherit;font-weight:600;text-align:left;cursor:pointer;transition:transform .1s,opacity .2s}button.nq-option:active:not(:disabled){transform:scale(.97)}.nq-option:disabled{cursor:default}.nq-option.a{--tint: #ff5c7a}.nq-option.b{--tint: #4f9cff}.nq-option.c{--tint: #ffd166}.nq-option.d{--tint: #5ee0a0}.nq-option-icon{flex:none;width:28px;height:28px;border-radius:8px;background:var(--tint);color:#14101f;display:flex;align-items:center;justify-content:center;font-size:.95rem;font-weight:800}.nq-option-text{flex:1;min-width:0;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.nq-option-count{flex:none;font-size:.8rem;color:var(--muted)}.nq-option.mine{border-color:var(--tint);box-shadow:0 0 0 2px color-mix(in srgb,var(--tint) 40%,transparent)}.nq-option.dim{opacity:.45}.nq-option.correct{border-color:var(--good);background:color-mix(in srgb,var(--good) 28%,var(--card-2))}.nq-option.correct .nq-option-icon{background:var(--good)}.nq-option.wrong{border-color:var(--danger);background:color-mix(in srgb,var(--danger) 28%,var(--card-2))}.nq-option.wrong .nq-option-icon{background:var(--danger)}.nq-reveal.good{box-shadow:inset 0 0 0 2px var(--good)}.nq-reveal.bad{box-shadow:inset 0 0 0 2px var(--danger)}.nq-source a{color:var(--primary)}.nq-status{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:#ffffff0d;font-size:.9rem}.nq-status .dot{flex:none}.tool-card{font:inherit;color:inherit;text-align:left;width:100%;cursor:pointer}.tool-card:active{background:var(--card-2)}.poker-topbar-spacer{width:72px}.poker-sessions{list-style:none;padding:0;display:flex;flex-direction:column;gap:8px}.poker-session{font:inherit;color:inherit;text-align:left;width:100%;cursor:pointer}.poker-session:disabled{opacity:.6;cursor:default}.poker-storage{font-size:.85rem;padding:10px 12px;border-radius:10px;margin:0}.poker-storage.warn{background:#ffd1661f;border:1px solid var(--warn)}.poker-storage.bad{background:#ff5c7a1f;border:1px solid var(--danger)}.poker-save.saved{color:var(--good)}.poker-save.error{color:var(--danger)}.poker-session-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.amount-input{text-align:right;font-variant-numeric:tabular-nums;min-width:0}.poker-entries{list-style:none;padding:0;display:flex;flex-direction:column;gap:8px}.poker-entry{background:var(--bg-2);border-radius:10px;padding:8px 10px 10px;display:flex;flex-direction:column;gap:6px}.poker-entry-head{display:flex;align-items:center;gap:8px}.poker-entry-fields{display:grid;grid-template-columns:3fr 2fr;gap:10px}.poker-field{display:flex;flex-direction:column;gap:4px;min-width:0}.poker-buyin{display:flex;gap:6px;align-items:center}.poker-buyin .amount-input{flex:1}.poker-entry .amount-input{padding:8px 10px;font-size:1rem}.poker-net{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}.poker-net.plus{color:var(--good)}.poker-net.minus{color:var(--danger)}.poker-suggestions{display:flex;flex-wrap:wrap;gap:6px}.poker-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px}.poker-totals>span,.poker-tile{display:flex;flex-direction:column;gap:2px}.poker-totals strong{font-size:1.2rem}.poker-diff{margin:0}.poker-transfers{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px}.poker-transfers li{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:10px;background:var(--bg-2)}.poker-transfers strong{font-variant-numeric:tabular-nums}.poker-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.poker-tile{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px}.poker-tile strong{font-size:1.3rem}.poker-standing{flex:1;min-width:0}.poker-chart{--series-1: #3987e5;--series-2: #d95926;--series-3: #199e70;--series-4: #c98500;--series-5: #d55181;--series-6: #008300;--series-7: #9085e9;--series-8: #e66767;position:relative;display:flex;flex-direction:column;gap:10px}.poker-chart svg{display:block;touch-action:pan-y;outline:none}.poker-chart svg:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:6px}.poker-chart .grid{stroke:var(--line);stroke-width:1}.poker-chart .zero{stroke:#ffffff40;stroke-width:1}.poker-chart .crosshair{stroke:var(--muted);stroke-width:1}.poker-chart .tick{fill:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.poker-chart .series{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.poker-chart .dot{fill:currentColor;stroke:var(--card);stroke-width:2}.poker-tip{position:absolute;top:0;transform:translate(-50%);pointer-events:none;background:var(--bg-2);border:1px solid var(--line);border-radius:10px;padding:8px 10px;box-shadow:var(--shadow);min-width:160px;z-index:2}.poker-tip-row{display:flex;align-items:center;gap:8px;font-size:.9rem}.poker-tip-row strong{font-variant-numeric:tabular-nums}.poker-legend{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.85rem}.poker-legend li{display:flex;align-items:center;gap:6px}.poker-chart .key{display:inline-block;width:14px;height:2px;border-radius:1px;flex:none}
