:root{--bg: #ece2d0;--panel: #faf5ec;--panel-2: #efe6d6;--line: #d9ccb6;--text: #2b241e;--muted: #7d7062;--accent: #e0463a;--green: #3a9d4a;--yellow: #d9a520;--red: #c8342b;--purple: #9b6ad6;--card: #fbfaf7;--ink: #1a1a1a;--sidebar-w: 300px;--dock-h: 232px;--top-h: 64px;--rx: 41%;--ry: 34%;--shadow: 0 6px 16px rgba(80, 60, 30, .18);--s1: 4px;--s2: 8px;--s3: 12px;--s4: 16px;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:Rubik,system-ui,sans-serif;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}input,textarea{user-select:text;-webkit-user-select:text}button{font:inherit;color:inherit}input{font:inherit}.muted{color:var(--muted)}.center{min-height:100vh;display:grid;place-items:center}.row{display:flex;gap:8px;align-items:center}.row.gap{gap:16px;justify-content:center}.c-green{color:var(--green)}.c-yellow{color:var(--yellow)}.c-red{color:var(--red)}.btn{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;padding:10px 16px;cursor:pointer;font-weight:500}.btn:hover:not(:disabled){background:var(--btn-hover, #e6dbc8)}.btn:disabled{opacity:.45;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover:not(:disabled){background:#f0574b}.btn.big{width:100%;padding:14px;font-size:1.1rem}.btn.small{padding:6px 12px;font-size:.9rem}.btn.link{background:none;border:none;color:var(--muted);text-decoration:underline;padding:6px}.btn.link:hover{background:none;color:var(--text)}.btn.floating{position:fixed;bottom:calc(var(--dock-h) + 16px);left:16px;z-index:40}.banner{padding:10px 14px;border-radius:10px;margin:6px 0;font-size:.95rem}.banner.warn{position:fixed;top:0;left:0;right:0;margin:0;border-radius:0;background:#f2c94c;color:#2b241e;text-align:center;z-index:100}.banner.danger{background:#f8dcd8;border:1px solid var(--red)}.banner.info{background:#dfe7f6;border:1px solid #2f55a8}.toast{position:fixed;bottom:calc(var(--dock-h) + 16px);left:50%;transform:translate(-50%);background:#f8dcd8;border:1px solid var(--red);padding:10px 18px;border-radius:10px;z-index:200;max-width:calc(100% - 32px)}.home,.lobby{max-width:420px;min-height:100vh;margin:0 auto;padding:var(--s4) var(--s4);display:flex;flex-direction:column;justify-content:center;gap:var(--s3);text-align:center}.logo{font-size:4rem;font-weight:900;letter-spacing:.12em;margin:0;background:radial-gradient(circle at 12% 30%,#b3241c 0 4px,transparent 5px),radial-gradient(circle at 16% 38%,#c8342b 0 2px,transparent 3px),radial-gradient(circle at 30% 64%,#b3241c 0 6px,transparent 7px),radial-gradient(circle at 34% 56%,#c8342b 0 2px,transparent 3px),radial-gradient(circle at 47% 26%,#c8342b 0 3px,transparent 4px),radial-gradient(ellipse 9px 5px at 58% 70%,#a51f18 0 100%,transparent 101%),radial-gradient(circle at 62% 62%,#c8342b 0 2px,transparent 3px),radial-gradient(circle at 74% 34%,#b3241c 0 5px,transparent 6px),radial-gradient(circle at 78% 44%,#c8342b 0 2px,transparent 3px),radial-gradient(circle at 90% 60%,#b3241c 0 4px,transparent 5px),radial-gradient(circle at 86% 22%,#c8342b 0 2px,transparent 3px),#fff;-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 rgba(0,0,0,.35))}.tagline{margin-top:-6px}.field{display:flex;flex-direction:column;gap:6px;text-align:left;font-size:.9rem;color:var(--muted)}.field input,.code-input{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:12px;color:var(--text);font-size:1.05rem}.code-input{flex:1;text-transform:uppercase;letter-spacing:.3em;text-align:center}.or{color:var(--muted);font-size:.85rem;margin-top:8px}.room-code{font-size:3.4rem;font-weight:900;letter-spacing:.2em;margin:-8px 0 4px}.lobby-players{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.lobby-players li{background:var(--panel);padding:12px;border-radius:10px}.lobby-players li.offline{opacity:.5}.check{display:flex;gap:10px;text-align:left;font-size:.9rem;align-items:flex-start}.game{min-height:100vh;overflow-x:hidden;--dock-h: 240px}.main{margin-right:var(--sidebar-w);height:calc(100vh - var(--dock-h));display:flex;flex-direction:column;padding:var(--s3) var(--s4) 0}.topbar{display:flex;align-items:center;gap:var(--s3);min-height:var(--top-h)}.top-actions{display:flex;gap:8px;margin-left:auto}.log-btn{display:none;position:absolute;top:4px;right:0;z-index:9;width:40px;height:40px;border-radius:10px;background:var(--panel-2);border:1px solid var(--line);cursor:pointer;place-items:center}.log-btn .dot{position:absolute;top:6px;right:6px;width:9px;height:9px;border-radius:50%;background:var(--accent)}.role-badge{box-shadow:var(--shadow);display:flex;gap:10px;align-items:center;background:var(--card);color:var(--ink);border-radius:12px;padding:var(--s2) var(--s3) var(--s2) var(--s2);border-left:6px solid;max-width:380px}.hint>.timer,.timer{flex:0 0 auto;font-weight:700;font-variant-numeric:tabular-nums;background:var(--panel-2);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:3px 8px;font-size:.9rem}.timer.low{color:#fff;background:var(--red);border-color:var(--red)}.role-badge .art{flex:0 0 auto}.role-name{font-size:1.05rem;font-weight:900;text-transform:uppercase;line-height:1.1}.role-goal{font-size:.72rem;line-height:1.25;color:#444}.table-area{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto minmax(84px,1fr) auto;grid-template-areas:"top top top" "left center right" "left me right";gap:var(--s3);padding:var(--s2) 0}.row-top{grid-area:top;display:flex;justify-content:space-evenly;gap:var(--s3)}.col-left,.col-right{display:flex;flex-direction:column;justify-content:center;gap:var(--s3)}.col-left{grid-area:left}.col-right{grid-area:right}.row-me{grid-area:me;display:flex;justify-content:center;align-items:flex-end}.table{position:absolute;left:2%;right:2%;top:8%;bottom:8%;z-index:0;border-radius:18px;overflow:hidden;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' preserveAspectRatio='xMidYMid slice'><g transform='translate(170 210) rotate(-8)'><rect width='110' height='130' fill='%23f4efe4'/><rect x='10' y='10' width='90' height='90' fill='%233a3d42'/><circle cx='55' cy='45' r='16' fill='%231d1d1f'/><path d='M25 100 Q55 60 85 100Z' fill='%231d1d1f'/><text x='55' y='122' font-family='Arial' font-weight='900' font-size='16' text-anchor='middle' fill='%23c8342b'>?</text></g><g transform='translate(730 330) rotate(7)'><rect width='110' height='130' fill='%23f4efe4'/><rect x='10' y='10' width='90' height='90' fill='%233a3d42'/><circle cx='55' cy='45' r='16' fill='%231d1d1f'/><path d='M25 100 Q55 60 85 100Z' fill='%231d1d1f'/><path d='M20 20 L90 90 M90 20 L20 90' stroke='%23c8342b' stroke-width='6'/></g><g transform='translate(760 110) rotate(5)'><rect width='120' height='100' fill='%23f7e27a'/><text x='60' y='62' font-family='Comic Sans MS, Arial' font-weight='700' font-size='30' text-anchor='middle' fill='%232b241e'>КОЙ?</text></g><g transform='translate(130 420) rotate(-5)'><rect width='140' height='90' fill='%23f7b7c7'/><text x='70' y='56' font-family='Comic Sans MS, Arial' font-weight='700' font-size='26' text-anchor='middle' fill='%232b241e'>АЛИБИ?</text></g><g stroke='%23c8342b' stroke-width='3' fill='none' opacity='0.9'><path d='M225 215 L500 300 L815 120'/><path d='M500 300 L785 340'/><path d='M500 300 L200 430'/><path d='M225 215 L200 430'/></g><g><circle cx='225' cy='215' r='9' fill='%23c8342b'/><circle cx='815' cy='120' r='9' fill='%232f55a8'/><circle cx='785' cy='340' r='9' fill='%23c8342b'/><circle cx='200' cy='430' r='9' fill='%233a9d4a'/><circle cx='500' cy='300' r='11' fill='%231d1d1f'/></g></svg>") center / cover no-repeat,radial-gradient(rgba(60,30,10,.35) 1px,transparent 1.8px) 0 0 / 7px 7px,radial-gradient(rgba(255,230,190,.25) 1px,transparent 1.6px) 3px 4px / 9px 9px,radial-gradient(ellipse at 50% 40%,#c79a62,#b3834c 60%,#946639);border:12px solid #5c3a1e;box-shadow:inset 0 0 40px #3c1e0a73,0 0 0 2px #3e2611,0 14px 30px #281e1459}.table:before,.table:after{content:"ПОЛИЦИЯ • НЕ ПРЕМИНАВАЙ • ПОЛИЦИЯ • НЕ ПРЕМИНАВАЙ • ПОЛИЦИЯ • НЕ ПРЕМИНАВАЙ • ПОЛИЦИЯ • НЕ ПРЕМИНАВАЙ";position:absolute;width:70%;padding:5px 0;background:#f2c230;color:#1d1d1f;font-weight:900;font-size:.72rem;letter-spacing:.12em;white-space:nowrap;overflow:hidden;box-shadow:0 3px 8px #00000073;border-top:2px solid #1d1d1f;border-bottom:2px solid #1d1d1f}.table:before{top:10%;left:-24%;transform:rotate(-24deg)}.table:after{display:none}.table-center{grid-area:center;position:relative;z-index:1;display:flex;gap:var(--s3);align-items:center;justify-content:center;min-width:0}.pile{display:flex;flex-direction:column;align-items:center;gap:var(--s2);color:#cfe3d4;font-size:.8rem}.pile-back{width:58px;height:80px;border-radius:8px;background:repeating-linear-gradient(45deg,#7a1f1a 0,#7a1f1a 6px,#8e2620 6px,#8e2620 12px);border:3px solid #f2ede4;display:grid;place-items:center;font-size:1.6rem;color:#f2ede4;box-shadow:3px 3px #0006}.table-center .card.small{cursor:default;transform:rotate(4deg);box-shadow:3px 3px #0006}.table-event.pending{background:#dfe7f6;border:1px solid #2f55a8;color:#1b2a45}.warn-line{color:#c8342b;font-weight:500;font-size:.9rem;margin-bottom:2px}.table-event{flex:0 1 220px;min-width:0;text-align:left;line-height:1.3;font-size:.85rem;color:#fff;background:#00000038;padding:4px 10px;border-radius:8px}.seat{position:relative;padding:var(--s3)!important;--seat-w: 200px;width:var(--seat-w);flex:0 0 auto;background:var(--panel);border:2px solid var(--line);border-radius:14px;padding:8px;box-shadow:var(--shadow);transition:border-color .15s,box-shadow .15s;z-index:2}.seat.me{width:280px}.seat.turn{border-color:var(--yellow);box-shadow:0 0 0 3px #d9a52059,var(--shadow)}.seat.out{opacity:.8;background:#efe3d9}.seat.targetable{border-color:var(--accent);cursor:pointer;box-shadow:0 0 0 4px #e0463a59}.seat-head{display:flex;align-items:center;gap:var(--s3);margin-bottom:var(--s2)}.seat-right{margin-left:auto;display:flex;align-items:center}.seat-head .name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hand-count{margin-left:auto;color:var(--muted);font-size:.85rem}.seat-tags{display:flex;flex-wrap:wrap;gap:var(--s1);margin:0 0 var(--s2)}.seat-tags:empty{display:none}.side{font-size:.68rem;color:var(--muted);background:var(--panel-2);padding:2px 6px;border-radius:6px;white-space:nowrap}.side.warn{color:#a86a00;background:#fbe9c4}.kick{font-size:.68rem;background:#4a1512;border:1px solid var(--red);border-radius:6px;padding:1px 6px;cursor:pointer}.seat>.role-tag{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);z-index:3;white-space:nowrap;box-shadow:0 2px 6px #0003;font-size:.78rem;padding:3px 10px;border-radius:999px}.role-tag{font-size:.7rem;font-weight:700;color:#fff;padding:2px 7px;border-radius:6px}.role-tag.unknown{background:var(--panel-2);color:var(--muted);font-weight:400}.fam-row{display:flex;gap:var(--s2)}.fam{flex:1;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);border-radius:10px;padding:var(--s1) var(--s1) var(--s2);display:flex;flex-direction:column;align-items:center;position:relative;border:3px solid transparent;min-width:0}.fam.dead{background:#f3dcd8;justify-content:center}.fam.dead .stages{display:none}.fam.dead .art{transform:scale(1.35);margin:6px 0 4px}.fam.targetable{border-color:var(--accent);cursor:pointer;animation:pulse 1.1s infinite}@keyframes pulse{50%{box-shadow:0 0 0 5px #e0463a66}}.fam-name{font-size:.68rem;font-weight:700;text-transform:uppercase;white-space:nowrap}.stages{display:flex;gap:4px;margin-top:3px}.stage{width:13px;height:13px;border-radius:50%;border:2px solid}.dead-mark-unused{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:2.6rem;color:#000}.sidebar{position:fixed;top:0;right:0;bottom:0;width:var(--sidebar-w);background:var(--panel);border-left:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:0 14px;min-height:var(--top-h);font-weight:700;border-bottom:1px solid var(--line);position:relative}.sidebar-head .close,.sidebar-bg{display:none}.log{list-style:none;margin:0;padding:8px 10px 16px;overflow-y:auto;flex:1;font-size:.88rem;display:flex;flex-direction:column;gap:4px}.log li{padding:6px 8px 6px 10px;border-left:3px solid var(--line);border-radius:4px;line-height:1.3}.log li.newest{background:var(--panel-2)}.log-attack{border-left-color:var(--red)!important}.log-rescue{border-left-color:var(--green)!important}.log-special{border-left-color:var(--purple)!important}.log-loss{border-left-color:var(--red)!important;background:#f8dcd8}.log-out{border-left-color:var(--text)!important;font-weight:700}.log-win{border-left-color:var(--yellow)!important;background:#f6e9c2;font-weight:700}.log-info{color:var(--muted);font-size:.8rem}.log-private{border-left-color:var(--purple)!important;color:#6b3fb3;font-style:italic}.dock{position:fixed;left:0;right:var(--sidebar-w);bottom:0;min-height:var(--dock-h);background:linear-gradient(to bottom,rgba(236,226,208,.9),var(--bg) 30%);border-top:1px solid var(--line);z-index:20;display:flex;flex-direction:column;padding:var(--s3) var(--s4);gap:var(--s2)}.hint-row{height:34px;flex:0 0 auto;min-height:38px}.hint{height:100%;flex-wrap:nowrap!important;overflow:hidden;display:flex;gap:var(--s3);align-items:center;flex-wrap:wrap;min-height:38px}.hint span{flex:1 1 200px}.hand{display:flex;gap:var(--s3);overflow-x:auto;overflow-y:visible;padding:10px 2px 2px;justify-content:safe center;flex:1;align-items:flex-end}.hand:not(.active) .card{cursor:default}.card{flex:0 0 auto;width:118px;height:162px;background:var(--card);color:var(--ink);border:3px solid transparent;border-radius:12px;box-shadow:0 2px 0 var(--line),var(--shadow);padding:0 0 6px;display:grid;grid-template-rows:auto auto 1fr;justify-items:center;align-content:start;position:relative;cursor:pointer;overflow:hidden;transition:transform .12s,border-color .12s;text-align:center}.hand.active .card:hover{transform:translateY(-4px)}.card.small{width:80px;height:auto;padding-bottom:8px}.card.selected,.hand.active .card.selected{border-color:var(--accent);transform:translateY(-10px)}.card-top{width:100%;color:#fff;font-weight:700;font-size:.76rem;padding:0 4px;height:2.8em;display:grid;place-items:center;line-height:1.1}.card-art{display:grid;place-items:center;justify-self:center;width:50px;height:50px;margin:8px 0 6px}.card-art .art{width:100%;height:100%}.card.small .card-art{display:grid;place-items:center;justify-self:center;width:34px;height:34px;margin:6px 0 0}.card-info{position:absolute;right:var(--s1);bottom:var(--s1);width:18px;height:18px;border-radius:50%;background:#2a2a2e;color:#fff;font:italic 700 .68rem/18px Georgia,serif;text-align:center;cursor:pointer;z-index:1}.card-info:hover{background:var(--accent)}.hand .card-desc{padding:0 var(--s2);margin-bottom:20px}.hint-desc{display:none}.card-info-modal{display:flex;justify-content:center;margin-bottom:14px}.card-info-modal .card{width:200px;height:auto;cursor:default;padding-bottom:14px}.card-info-modal .card-top{font-size:1rem}.card-info-modal .card-art{display:grid;place-items:center;justify-self:center;width:90px;height:90px}.card-info-modal .card-desc{display:block;font-size:.9rem;padding:0 12px}.card.small .card-top{font-size:.64rem}.card-desc{font-size:.66rem;line-height:1.25;padding:0 6px;color:#444;overflow:hidden}.modal-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#3c2d1973;display:grid;place-items:center;z-index:50;padding:16px}.modal{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;max-width:560px;width:100%;max-height:calc(100vh - 32px);overflow-y:auto;position:relative;text-align:center}.modal h2,.modal h3{margin-top:0}.close{position:absolute;top:8px;right:8px;background:none;border:none;font-size:1.2rem;cursor:pointer;color:var(--muted);padding:8px}.pick-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:12px}.taken{display:flex;flex-direction:column;align-items:center;gap:6px}.countdown{font-size:3rem;font-weight:900;color:var(--yellow);margin:8px 0}.role-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.role-choice{background:var(--card);color:var(--ink);border:none;border-radius:12px;padding:10px;display:flex;flex-direction:column;align-items:center;font-weight:700;cursor:pointer}.role-choice:hover{outline:3px solid var(--accent)}.final{list-style:none;padding:0;text-align:left}.final li{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px}.final li .art{background:var(--card);color:var(--ink);border-radius:6px}.final li.winner{background:#f6e9c2}.win{color:var(--yellow);font-size:1.2rem;font-weight:700}.lose{color:var(--red);font-size:1.2rem;font-weight:700}.modal.rules{text-align:left}.modal.rules h2{margin:0 0 12px}.modal.rules h3{margin:22px 0 8px}.modal.rules p{margin:0;line-height:1.45}.rules-roles,.rules-cards{display:flex;flex-direction:column;gap:10px}.rules-role,.rules-card{display:flex;gap:10px;align-items:center;font-size:.9rem;line-height:1.3}.rules-role .art,.rules-card .art{background:var(--card);color:var(--ink);border-radius:8px;flex:0 0 auto}.chip{width:6px;align-self:stretch;border-radius:3px;flex:0 0 auto}.art{display:block}@media(max-width:1000px){:root{--sidebar-w: 0px}.log-btn{display:grid}.row-top{padding:0 48px}.sidebar{width:min(340px,88vw);transform:translate(100%);transition:transform .2s;z-index:60}.sidebar.open{transform:none}.sidebar-head .close{display:block;position:static}.sidebar-bg{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#3c2d1959;z-index:55}}@media(max-width:640px){:root{--dock-h: 186px;--top-h: 44px}.table-area{grid-template-areas:"top top top" "left center right" "me me me";gap:var(--s2);padding:var(--s1) 0}.row-top{padding:0 48px}.role-tag.unknown{display:none}.main{padding:4px 8px 0}.topbar{gap:6px;flex-wrap:wrap}.topbar{flex-wrap:nowrap}.top-actions{order:2;gap:6px}.top-actions .btn.small{padding:6px 10px;font-size:.8rem}.role-badge{order:1;flex:1;max-width:none;padding:4px 10px 4px 6px}.role-badge .art{width:30px;height:30px}.role-name{font-size:.9rem}.role-goal{font-size:.64rem}.banner{font-size:.82rem;padding:6px 10px;margin:4px 0}.table{left:0;right:0;top:10%;bottom:10%;border-radius:14px;border-width:8px}.table:before,.table:after{font-size:.55rem;padding:3px 0}.pile-back{width:40px;height:56px;font-size:1.1rem}.table-center .card.small{width:58px}.table-center .card.small .art{width:28px;height:28px}.table-event,.table-event.pending{display:none}.warn-line{font-size:.75rem}.seat{--seat-w: 140px;padding:var(--s1)!important;border-radius:10px}.seat-head{gap:var(--s2);margin-bottom:var(--s1)}.seat-tags{margin-bottom:var(--s1)}.fam-row{gap:var(--s1)}.game{--dock-h: 184px}.seat.me{width:auto;display:flex;align-items:center;gap:var(--s2)}.seat.me .seat-head{flex-direction:column;gap:var(--s1);margin:0;max-width:72px;text-align:center}.seat.me .seat-right{margin:0}.seat.me .fam-row{width:150px}.seat.me{width:180px}.seat-head{font-size:.78rem;gap:var(--s2)}.hand-count{font-size:.7rem}.seat-tags{margin:2px 0 3px;gap:2px;min-height:0}.side,.role-tag,.kick{font-size:.58rem;padding:1px 4px}.fam-row{gap:3px}.fam{padding:2px 1px 3px;border-width:2px;border-radius:7px}.fam .art{width:34px;height:34px}.fam.big .art{width:38px;height:38px}.fam-name{font-size:.56rem}.stage{width:9px;height:9px;border-width:1.5px}.dead-mark{font-size:1.8rem}.dock{padding:6px 8px 8px}.hint{font-size:.8rem;gap:6px;flex-wrap:nowrap}.hint span{flex:1 1 0;min-width:0}.hint .btn.small{padding:5px 8px;font-size:.75rem;white-space:nowrap}.table-center .card.small .card-top{font-size:.48rem;padding:0 2px}.hand{gap:6px;justify-content:flex-start}.card{width:84px;height:108px}.card-top{font-size:.6rem}.card-art{display:grid;place-items:center;justify-self:center;width:44px;height:44px;margin-top:10px}.card-desc{display:none}.hint-desc{display:inline}}@media(min-width:641px){.table-area[data-crowded] .seat{padding:var(--s2)!important}.table-area[data-crowded] .seat:not(.me){--seat-w: 176px}.table-area[data-crowded] .seat.me{width:236px}.table-area[data-crowded] .seat-head,.table-area[data-crowded] .seat-tags{margin-bottom:var(--s1)}.table-area[data-crowded] .avatar{width:40px;height:40px}.table-area[data-crowded] .fam .art{width:30px;height:30px}.table-area[data-crowded] .fam.big .art{width:40px;height:40px}}@media(max-width:640px){.table-area[data-crowded] .seat:not(.me){--seat-w: 104px}.table-area[data-crowded] .seat:not(.me) .fam .art{width:26px;height:26px}.table-area[data-crowded] .seat:not(.me) .fam-name{font-size:.48rem}.table-area[data-crowded] .seat:not(.me) .seat-head{font-size:.72rem}}@media(max-width:640px)and (max-height:720px){.game{--dock-h: 172px}.card{height:98px;width:78px}.card-art{display:grid;place-items:center;justify-self:center;width:38px;height:38px}}.seat-head .avatar{flex:0 0 auto}.avatar{position:relative;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#fff,color-mix(in srgb,var(--role) 30%,#f3ead9));box-shadow:0 0 0 2px var(--role),var(--shadow);overflow:hidden;perspective:300px}.seat.me .avatar{width:58px;height:58px}.av-layer{position:absolute;top:0;right:0;bottom:0;left:0}.av-layer .art{width:100%;height:100%}.avatar.st-dead{filter:saturate(.6)}.av-out{animation:av-out .8s ease-in forwards}.av-in{animation:av-in 1.2s ease-out .6s both}.av-burst{position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border-radius:50%;background:radial-gradient(circle,#fff 0%,rgba(255,240,180,.9) 35%,transparent 70%);animation:av-burst 1.6s ease-out forwards;pointer-events:none}@keyframes av-out{0%{transform:rotateY(0) scale(1);filter:blur(0)}60%{transform:rotateY(70deg) scale(1.1);filter:blur(1px) brightness(1.6)}to{transform:rotateY(90deg) scale(.9);opacity:0;filter:blur(3px) brightness(3)}}@keyframes av-in{0%{transform:rotateY(-90deg) scale(.8);opacity:0;filter:brightness(3)}60%{transform:rotateY(10deg) scale(1.12);opacity:1;filter:brightness(1.3)}to{transform:rotateY(0) scale(1);filter:none}}@keyframes av-burst{0%{opacity:0;transform:scale(.4)}40%{opacity:1;transform:scale(1.2)}to{opacity:0;transform:scale(1.6)}}.fx-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:20}.fx-layer>div{position:absolute;pointer-events:none}.fx-gun{filter:drop-shadow(0 2px 2px rgba(0,0,0,.4))}.fx-muzzle{width:26px;height:26px;border-radius:50%;background:radial-gradient(circle,#fff 0%,#ffd34d 40%,#ff7a1a 70%,transparent 72%)}.fx-bullet{width:22px;height:6px;border-radius:3px;background:linear-gradient(90deg,transparent,var(--c) 40%,#fff);box-shadow:0 0 8px var(--c)}.fx-hit{width:46px;height:46px;border-radius:50%;background:radial-gradient(circle,#fff 0%,var(--c) 45%,transparent 70%)}.fx-hit.big{width:80px;height:80px;background:radial-gradient(circle,#fff 0%,#c8342b 35%,rgba(120,0,0,.6) 55%,transparent 72%)}.fx-splat{width:90px;height:90px;background:radial-gradient(circle at 40% 40%,#d23a2f 0 18%,transparent 19%),radial-gradient(circle at 65% 55%,#b52a22 0 14%,transparent 15%),radial-gradient(circle at 45% 70%,#c8342b 0 10%,transparent 11%),radial-gradient(circle at 70% 30%,#c8342b 0 8%,transparent 9%)}.fx-heart{font-size:26px;filter:drop-shadow(0 2px 4px rgba(58,157,74,.6))}.fx-shake{animation:fx-shake .6s}.fx-flinch{animation:fx-flinch .7s}.fx-heal{animation:fx-heal 1.2s}.fx-dying{animation:fx-dying 2.1s}@keyframes fx-shake{0%,to{transform:none}20%{transform:translate(-5px) rotate(-3deg)}40%{transform:translate(5px) rotate(3deg)}60%{transform:translate(-3px)}80%{transform:translate(3px)}}@keyframes fx-flinch{0%,to{filter:none;transform:none}30%{filter:sepia(1) saturate(6) hue-rotate(-30deg);transform:scale(.9) rotate(-8deg)}}@keyframes fx-heal{0%,to{box-shadow:inset 0 0 0 1px var(--line)}40%{box-shadow:0 0 0 6px #3a9d4a80,0 0 18px #3a9d4acc}}@keyframes fx-dying{0%{filter:none}15%{filter:sepia(1) saturate(8) hue-rotate(-30deg) brightness(.9)}30%{translate:-6px 0}45%{translate:6px 0}60%{translate:0 0;filter:grayscale(.8)}to{filter:none}}.death-banner{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);z-index:25;display:flex;align-items:center;gap:14px;background:var(--panel);border:3px solid var(--red);border-radius:18px;padding:12px 20px 12px 12px;box-shadow:0 20px 50px #50140a66;font-size:1.1rem;animation:death-in 3.2s ease forwards;pointer-events:none}.death-banner .art{background:#f3dcd8;border-radius:50%}.death-banner b{font-size:1.3rem}@keyframes death-in{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}12%{opacity:1;transform:translate(-50%,-50%) scale(1.06)}20%{transform:translate(-50%,-50%) scale(1)}85%{opacity:1}to{opacity:0}}.card-back{width:70px;height:98px;border-radius:10px;border:3px solid #f2ede4;background:repeating-linear-gradient(45deg,#7a1f1a 0,#7a1f1a 6px,#8e2620 6px,#8e2620 12px);color:#f2ede4;font-size:1.6rem;cursor:pointer;box-shadow:var(--shadow);transition:transform .12s}.card-back:hover{transform:translateY(-6px) rotate(-2deg)}@media(max-width:640px){.avatar{width:30px;height:30px}.seat.me .avatar{width:36px;height:36px}.table-area[data-crowded] .seat:not(.me) .avatar{width:24px;height:24px}.death-banner{font-size:.9rem;padding:8px 12px 8px 8px}.death-banner .art{width:60px;height:60px}}.final-av{width:40px;height:40px;border-radius:50%;overflow:hidden;background:#fff8ee;flex:0 0 auto;box-shadow:0 0 0 1px var(--line)}.small-note{font-size:.82rem;margin:0 0 var(--s2)!important}@media(min-width:641px)and (max-height:820px){.game{--dock-h: 184px}.card{height:104px}.hand .card-desc{display:none}.card-art{display:grid;place-items:center;justify-self:center;width:44px;height:44px;margin:var(--s2) 0 0}.table-area{grid-template-rows:auto minmax(64px,1fr) auto}.seat{padding:var(--s2)!important}.seat-head,.seat-tags{margin-bottom:var(--s1)}.avatar,.seat.me .avatar,.table-area[data-crowded] .avatar{width:38px;height:38px}.fam .art,.table-area[data-crowded] .fam .art{width:26px;height:26px}.fam.big .art,.table-area[data-crowded] .fam.big .art{width:32px;height:32px}.seat.me{width:auto;display:flex;align-items:center;gap:var(--s3)}.seat.me .seat-head{flex-direction:column;gap:var(--s1);margin:0}.seat.me .seat-right{margin:0}.seat.me .seat-tags:empty{display:none}.seat.me .fam-row{width:200px}.pile-back{width:46px;height:64px}.topbar{min-height:52px}}.join-row{align-items:stretch}.join-row .btn{min-width:96px;font-size:1.05rem}.rules-btn{align-self:center;margin-top:var(--s2)}.seat-timer{position:absolute;bottom:0;left:50%;transform:translate(-50%,50%);z-index:3}.seat-timer .timer{background:var(--panel);box-shadow:var(--shadow)}.seat.me{width:auto!important;display:block!important}.seat.me .fam-row{width:240px}.swap-btn{flex:0 0 auto;align-self:center;width:64px;height:64px;border-radius:50%;border:2px dashed var(--line);background:var(--panel);color:var(--muted);display:grid;place-items:center;align-content:center;gap:2px;cursor:pointer;font-size:.68rem;font-weight:700}.swap-btn:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.swap-btn.active{border-style:solid;border-color:var(--accent);background:var(--accent);color:#fff}.swap-btn:disabled{opacity:.4;cursor:default}.dealt{flex:0 0 auto;display:flex}.dealt.fresh{animation:deal-in .7s cubic-bezier(.2,.8,.3,1.2) both}@keyframes deal-in{0%{transform:translateY(-260px) rotate(-14deg) scale(.5);opacity:0}60%{opacity:1}to{transform:none}}.played{animation:land .6s ease-out both}@keyframes land{0%{transform:translateY(160px) rotate(-30deg) scale(1.4);opacity:0}70%{transform:translateY(-6px) rotate(6deg) scale(1.02);opacity:1}to{transform:none}}.fx-rocket{font-size:30px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}.fx-boom{font-size:40px}.fx-smoke{width:18px;height:18px;border-radius:50%;background:radial-gradient(circle,#c8c8c8e6,#96969600 70%)}@media(max-width:640px){.hint-row{height:30px}.seat.me .fam-row{width:180px}.swap-btn{width:52px;height:52px}.seat>.role-tag{font-size:.62rem;padding:2px 8px}}@media(max-width:640px){.table-center{flex-direction:column;gap:var(--s1)}.table-center .pile{flex-direction:row;gap:var(--s1)}.table-center .card.small{width:58px}}.seat-head .name{flex:1 1 auto;min-width:0}.seat-right{flex:0 0 auto;white-space:nowrap}.hand-count{white-space:nowrap}.seat-head .timer{font-size:.8rem;padding:2px 6px}.seat.me{display:flex!important;align-items:center;gap:var(--s3)}.btn.danger{background:var(--red);border-color:var(--red);color:#fff}.btn.danger:hover:not(:disabled){background:#d9453b}.out-note{align-self:center;font-size:1.3rem;font-weight:900;color:var(--red)}.fx-gun.hidden{display:none}.table-event{background:#00000073!important;color:#fff!important}.table-event.pending{background:#dfe7f6!important;color:#1b2a45!important}.pile{color:#e8e2d6}.row-top,.col-left,.col-right{align-items:flex-start}.col-left,.col-right{align-items:stretch}.seat{align-self:flex-start}.seat.turn{margin-bottom:12px}.fam.dead{align-self:stretch;justify-content:center}.pile{gap:var(--s3)!important}.btn.half{flex:1 1 0}.menu{min-height:100vh;display:grid;place-items:center;padding:var(--s4);background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'><g fill='none' stroke='%238a6b4a' stroke-width='2' opacity='0.22' stroke-linecap='round'><g transform='translate(30 40) rotate(-30)'><path d='M0 0 H46 L60 6 L46 12 H0 Z'/><rect x='-22' y='1' width='22' height='10' rx='3'/></g><g transform='translate(180 50)'><circle cx='14' cy='14' r='13'/><path d='M24 24 L40 40'/></g><g transform='translate(60 170)'><path d='M0 18 Q0 0 16 0 Q32 0 32 18 Q32 34 16 40'/><path d='M6 18 Q6 6 16 6 Q26 6 26 18 Q26 30 14 34'/><path d='M12 18 Q12 12 16 12 Q20 12 20 18 Q20 26 12 28'/></g><g transform='translate(170 180)'><path d='M0 4 H34 L38 0 H44 V10 H24 L20 14 V26 H12 L14 14 H2 Z'/></g></g><g fill='%23c8342b' opacity='0.18'><circle cx='130' cy='120' r='5'/><circle cx='142' cy='128' r='2.5'/><circle cx='120' cy='132' r='2'/><circle cx='220' cy='240' r='4'/></g></svg>") 0 0 / 260px 260px,var(--bg)}.menu .home,.menu .lobby{min-height:0;margin:0}.menu-card{position:relative;width:100%;max-width:460px!important;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:var(--s4) calc(var(--s4) + var(--s2)) calc(var(--s4) + var(--s2))!important;box-shadow:0 2px 0 var(--line),0 24px 50px #50371938}.menu-card:before{content:"";position:absolute;top:-12px;left:50%;width:120px;height:26px;transform:translate(-50%) rotate(-2deg);background:#f0e1aabf;box-shadow:0 1px 3px #0000001f}.stamp{position:absolute;top:18px;right:-10px;transform:rotate(12deg);border:3px solid var(--red);color:var(--red);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;padding:3px 8px;border-radius:6px;opacity:.75;background:#fff6}.hero{display:flex;align-items:center;justify-content:center;gap:var(--s3);margin-top:var(--s2)}.hero-av{width:76px;height:76px;flex:0 0 auto;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 50% 35%,#fff,#efe3cc);box-shadow:0 0 0 3px var(--line),var(--shadow)}.hero-av:first-child{transform:rotate(-6deg)}.hero-av:last-child{transform:rotate(6deg)}.hero-av .art{width:100%;height:100%}.hero.small .hero-av{width:52px;height:52px}.hero.small .logo{font-size:2.6rem}.logo{position:relative}.drips{position:absolute;left:0;right:0;bottom:4px;height:0}.drips i{position:absolute;top:0;width:7px;border-radius:0 0 6px 6px;background:var(--red);animation:drip 2.8s ease-in infinite}.drips i:after{content:"";position:absolute;bottom:-6px;left:-1px;width:9px;height:9px;border-radius:50%;background:var(--red)}.drips i:nth-child(1){left:14%;animation-delay:0s}.drips i:nth-child(2){left:39%;animation-delay:.9s}.drips i:nth-child(3){left:63%;animation-delay:1.7s}.drips i:nth-child(4){left:86%;animation-delay:.4s}@keyframes drip{0%{height:0;opacity:.9}70%{height:22px;opacity:.9}to{height:26px;opacity:0}}.knife{width:100%;height:24px;margin:calc(var(--s1) * -1) 0 var(--s1)}.lobby-players li{border:1px solid var(--line)}@media(max-width:640px){.hero-av{width:56px;height:56px}.logo{font-size:3rem}.stamp{right:6px;top:10px;font-size:.6rem}}.menu-card .hero .logo{font-size:3.1rem}.menu-card .hero-av{width:64px;height:64px}.menu-card .hero.small .hero-av{width:48px;height:48px}.menu-card .hero.small .logo{font-size:2.4rem}.menu-card .stamp{top:auto;bottom:16px;right:-12px}.menu-card .tagline{margin-top:var(--s3)}.knife{height:34px}@media(max-width:640px){.menu-card .hero .logo{font-size:2.3rem}.menu-card .hero-av{width:50px;height:50px}.menu-card .stamp{right:6px;bottom:8px}}.menu-card.lobby .stamp{top:18px;bottom:auto;right:-12px}.game{position:relative;isolation:isolate;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 400' preserveAspectRatio='xMidYMin slice'><g opacity='0.55' fill='%233a4566'><ellipse cx='220' cy='120' rx='117.0' ry='33.800000000000004'/><ellipse cx='161.5' cy='101.8' rx='54.6' ry='36.4'/><ellipse cx='246.0' cy='86.19999999999999' rx='65.0' ry='44.2'/><ellipse cx='300.6' cy='109.6' rx='46.800000000000004' ry='28.6'/></g><g opacity='0.45' fill='%233a4566'><ellipse cx='760' cy='80' rx='90.0' ry='26.0'/><ellipse cx='715.0' cy='66.0' rx='42.0' ry='28.0'/><ellipse cx='780.0' cy='54.0' rx='50.0' ry='34.0'/><ellipse cx='822.0' cy='72.0' rx='36.0' ry='22.0'/></g><g opacity='0.6' fill='%233a4566'><ellipse cx='1180' cy='150' rx='135.0' ry='39.0'/><ellipse cx='1112.5' cy='129.0' rx='63.0' ry='42.0'/><ellipse cx='1210.0' cy='111.0' rx='75.0' ry='51.0'/><ellipse cx='1273.0' cy='138.0' rx='54.0' ry='33.0'/></g><g opacity='0.35' fill='%233a4566'><ellipse cx='520' cy='230' rx='81.0' ry='23.400000000000002'/><ellipse cx='479.5' cy='217.4' rx='37.800000000000004' ry='25.2'/><ellipse cx='538.0' cy='206.6' rx='45.0' ry='30.6'/><ellipse cx='575.8' cy='222.8' rx='32.4' ry='19.8'/></g><g opacity='0.4' fill='%233a4566'><ellipse cx='1320' cy='40' rx='72.0' ry='20.8'/><ellipse cx='1284.0' cy='28.799999999999997' rx='33.6' ry='22.400000000000002'/><ellipse cx='1336.0' cy='19.2' rx='40.0' ry='27.200000000000003'/><ellipse cx='1369.6' cy='33.6' rx='28.8' ry='17.6'/></g></svg>") center top / 100% 46% no-repeat,radial-gradient(circle at calc(100% - var(--sidebar-w) - 120px) 120px,#fff6d0 0,#fff6d0 30px,#fff6d047 32px,#fff6d000 110px),radial-gradient(ellipse 30% 45% at 12% 78%,#ffc46e47,#ffc46e00 70%),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 300' preserveAspectRatio='xMidYMax meet'><rect x='27' y='40' width='6' height='260' fill='%230a0d16'/><path d='M30 40 Q30 18 52 18' stroke='%230a0d16' stroke-width='5' fill='none'/><path d='M44 18 h16 l-4 8 h-8 z' fill='%230a0d16'/><ellipse cx='52' cy='27' rx='5' ry='2.5' fill='%23ffd88a'/></svg>") 9% 100% / auto 46% no-repeat,url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' ><rect x='0' y='131' width='107' height='169' fill='%230d111c'/><rect x='72' y='143' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='24' y='161' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='56' y='161' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='8' y='197' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='24' y='197' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='8' y='215' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='24' y='251' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='24' y='269' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='56' y='269' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='8' y='287' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='24' y='287' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='56' y='287' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='72' y='287' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='108' y='210' width='67' height='90' fill='%230d111c'/><rect x='116' y='222' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='148' y='222' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='164' y='222' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='116' y='240' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='148' y='258' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='132' y='294' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='180' y='192' width='87' height='108' fill='%230d111c'/><rect x='220' y='174' width='6' height='18' fill='%230d111c'/><rect x='188' y='204' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='220' y='204' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='252' y='222' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='252' y='240' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='204' y='258' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='188' y='276' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='268' y='212' width='66' height='88' fill='%230d111c'/><rect x='308' y='224' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='308' y='242' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='308' y='260' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='308' y='278' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='336' y='199' width='107' height='101' fill='%230d111c'/><rect x='376' y='211' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='360' y='229' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='360' y='247' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='392' y='247' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='424' y='247' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='444' y='160' width='61' height='140' fill='%230d111c'/><rect x='471' y='142' width='6' height='18' fill='%230d111c'/><rect x='484' y='226' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='452' y='280' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='468' y='280' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='507' y='157' width='93' height='143' fill='%230d111c'/><rect x='547' y='205' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='563' y='223' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='579' y='295' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='603' y='140' width='68' height='160' fill='%230d111c'/><rect x='634' y='122' width='6' height='18' fill='%230d111c'/><rect x='659' y='170' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='611' y='206' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='643' y='242' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='627' y='260' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='674' y='149' width='62' height='151' fill='%230d111c'/><rect x='714' y='161' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='682' y='233' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='714' y='269' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='714' y='287' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='744' y='134' width='116' height='166' fill='%230d111c'/><rect x='784' y='164' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='816' y='200' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='816' y='218' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='784' y='254' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='832' y='254' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='848' y='254' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='832' y='272' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='832' y='290' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='868' y='173' width='70' height='127' fill='%230d111c'/><rect x='900' y='155' width='6' height='18' fill='%230d111c'/><rect x='876' y='257' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='892' y='257' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='924' y='257' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='892' y='293' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='943' y='151' width='64' height='149' fill='%230d111c'/><rect x='951' y='181' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='983' y='181' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='951' y='217' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='983' y='235' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='951' y='253' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='983' y='289' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='1007' y='218' width='75' height='82' fill='%230d111c'/><rect x='1015' y='248' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='1047' y='248' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='1063' y='266' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='1084' y='224' width='101' height='76' fill='%230d111c'/><rect x='1092' y='254' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1124' y='254' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1172' y='254' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1185' y='163' width='64' height='137' fill='%230d111c'/><rect x='1214' y='145' width='6' height='18' fill='%230d111c'/><rect x='1225' y='193' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1193' y='265' width='7' height='9' fill='%23f7d774' opacity='0.9'/></svg>") 0 100% / auto 52% repeat-x,url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' ><rect x='0' y='81' width='80' height='219' fill='%231e2740'/><rect x='37' y='63' width='6' height='18' fill='%231e2740'/><rect x='24' y='165' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='8' y='183' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='24' y='237' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='82' y='82' width='91' height='218' fill='%231e2740'/><rect x='106' y='112' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='138' y='112' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='154' y='130' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='122' y='166' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='138' y='166' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='90' y='238' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='177' y='215' width='112' height='85' fill='%231e2740'/><rect x='201' y='227' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='201' y='263' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='249' y='281' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='294' y='108' width='78' height='192' fill='%231e2740'/><rect x='318' y='120' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='350' y='228' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='373' y='190' width='86' height='110' fill='%231e2740'/><rect x='381' y='202' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='381' y='220' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='429' y='292' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='465' y='151' width='56' height='149' fill='%231e2740'/><rect x='490' y='133' width='6' height='18' fill='%231e2740'/><rect x='505' y='163' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='489' y='181' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='473' y='199' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='489' y='199' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='473' y='217' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='473' y='235' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='489' y='289' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='505' y='289' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='529' y='209' width='98' height='91' fill='%231e2740'/><rect x='537' y='257' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='585' y='257' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='632' y='194' width='118' height='106' fill='%231e2740'/><rect x='704' y='224' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='688' y='242' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='736' y='242' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='640' y='260' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='656' y='260' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='704' y='260' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='756' y='160' width='114' height='140' fill='%231e2740'/><rect x='844' y='190' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='873' y='72' width='109' height='228' fill='%231e2740'/><rect x='929' y='156' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='881' y='174' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='929' y='174' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='881' y='192' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='961' y='192' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='881' y='210' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='897' y='210' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='929' y='210' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='945' y='246' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='881' y='264' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='987' y='78' width='103' height='222' fill='%231e2740'/><rect x='1059' y='90' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='995' y='126' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='1027' y='144' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1059' y='144' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1043' y='162' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='995' y='216' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1027' y='252' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='995' y='288' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1090' y='128' width='53' height='172' fill='%231e2740'/><rect x='1130' y='140' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1114' y='248' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='1114' y='284' width='7' height='9' fill='%23f7d774' opacity='0.75'/><rect x='1150' y='215' width='88' height='85' fill='%231e2740'/><rect x='1158' y='263' width='7' height='9' fill='%23f7d774' opacity='0.55'/><rect x='1174' y='281' width='7' height='9' fill='%23f7d774' opacity='0.9'/><rect x='1222' y='281' width='7' height='9' fill='%23f7d774' opacity='0.55'/></svg>") 0 100% / auto 66% repeat-x,linear-gradient(to top,#ffc46e12,#0000 30%),linear-gradient(#0a0f1e,#16203a 55%,#262a40);background-attachment:fixed}.game:before{content:"";position:fixed;left:-10%;right:-200px;top:-600px;bottom:0;z-index:0;pointer-events:none;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='600' viewBox='0 0 160 600'><line x1='10.9' y1='160.7' x2='5.8' y2='179.7' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='118.3' y1='391.8' x2='112.9' y2='411.8' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='73.1' y1='18.7' x2='63.9' y2='52.7' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='83.9' y1='17.2' x2='77.7' y2='40.2' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='72.6' y1='254.9' x2='63.7' y2='287.9' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='121.4' y1='94.6' x2='117.1' y2='110.6' stroke='%23d6e2ff' stroke-opacity='0.36' stroke-width='1.2' stroke-linecap='round'/><line x1='50.4' y1='124.7' x2='43.4' y2='150.7' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='21.1' y1='57.8' x2='16.0' y2='76.8' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='129.2' y1='419.4' x2='122.7' y2='443.4' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='21.3' y1='168.5' x2='13.7' y2='196.5' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='39.4' y1='41.1' x2='30.2' y2='75.1' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='155.8' y1='490.4' x2='149.0' y2='515.4' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='50.8' y1='363.1' x2='43.3' y2='391.1' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='63.3' y1='122.5' x2='57.6' y2='143.5' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='98.9' y1='100.9' x2='94.1' y2='118.9' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='77.2' y1='157.2' x2='71.5' y2='178.2' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='134.6' y1='444.3' x2='127.6' y2='470.3' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='128.5' y1='234.3' x2='123.9' y2='251.3' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='145.0' y1='327.6' x2='139.0' y2='349.6' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='106.3' y1='229.1' x2='100.4' y2='251.1' stroke='%23d6e2ff' stroke-opacity='0.36' stroke-width='1.2' stroke-linecap='round'/><line x1='47.3' y1='144.1' x2='41.9' y2='164.1' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='74.1' y1='329.9' x2='64.9' y2='363.9' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='157.6' y1='81.3' x2='151.4' y2='104.3' stroke='%23d6e2ff' stroke-opacity='0.36' stroke-width='1.2' stroke-linecap='round'/><line x1='121.1' y1='499.7' x2='116.2' y2='517.7' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='126.7' y1='244.7' x2='121.1' y2='265.7' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='66.2' y1='567.8' x2='58.6' y2='595.8' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='137.5' y1='8.5' x2='128.6' y2='41.5' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='121.4' y1='434.7' x2='112.4' y2='467.7' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='51.4' y1='93.3' x2='46.3' y2='112.3' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='153.8' y1='437.8' x2='147.3' y2='461.8' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='134.4' y1='291.9' x2='127.6' y2='316.9' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='63.7' y1='95.1' x2='58.3' y2='115.1' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='81.8' y1='65.8' x2='74.8' y2='91.8' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='44.5' y1='139.5' x2='37.7' y2='164.5' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='117.5' y1='473.7' x2='112.6' y2='491.7' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='106.8' y1='547.4' x2='101.4' y2='567.4' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='87.4' y1='349.0' x2='80.9' y2='373.0' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='122.0' y1='390.4' x2='113.1' y2='423.4' stroke='%23d6e2ff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/><line x1='157.3' y1='371.1' x2='149.7' y2='399.1' stroke='%23d6e2ff' stroke-opacity='0.36' stroke-width='1.2' stroke-linecap='round'/><line x1='77.2' y1='141.8' x2='68.5' y2='173.8' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='12.2' y1='317.7' x2='5.1' y2='343.7' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='17.1' y1='368.0' x2='12.8' y2='384.0' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='143.7' y1='498.9' x2='138.8' y2='516.9' stroke='%23d6e2ff' stroke-opacity='0.18' stroke-width='1.2' stroke-linecap='round'/><line x1='45.7' y1='379.3' x2='37.1' y2='411.3' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/><line x1='30.4' y1='528.7' x2='21.5' y2='561.7' stroke='%23d6e2ff' stroke-opacity='0.36' stroke-width='1.2' stroke-linecap='round'/><line x1='125.7' y1='464.7' x2='119.5' y2='487.7' stroke='%23d6e2ff' stroke-opacity='0.24' stroke-width='1.2' stroke-linecap='round'/></svg>") 0 0 / 160px 600px repeat;will-change:transform;animation:rain .9s linear infinite}@keyframes rain{0%{transform:translateZ(0)}to{transform:translate3d(-160px,600px,0)}}.game:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,#0000 55%,#0000008c)}.main,.dock,.sidebar{z-index:2}.main{position:relative}.table{display:none}.table-center .pile,.game .hint,.game .hint span{color:#e8e6e0}.game .hint.muted{color:#aab2c4}.game .warn-line{color:#ff8a80}.dock{background:linear-gradient(to bottom,#080b1400,#080b14e0 28%)!important;border-top:1px solid rgba(255,255,255,.08)!important}.sidebar{background:#0c101ce0!important;border-left:1px solid rgba(255,255,255,.08)!important;color:#e8e6e0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.sidebar-head{border-bottom:1px solid rgba(255,255,255,.08)!important}.sidebar .log li{border-left-color:#ffffff26}.sidebar .log li.newest{background:#ffffff12}.sidebar .log-loss{background:#c8342b38!important}.sidebar .log-win{background:#d9a52038!important}.sidebar .log-out{border-left-color:#e8e6e0!important}.sidebar .log-info{color:#8f98ab}.sidebar .log-private{color:#c9a8ff}.sidebar .muted{color:#8f98ab}.sidebar .close{color:#e8e6e0}.icon-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--panel);border:1px solid var(--line);color:var(--text);cursor:pointer;box-shadow:var(--shadow)}.icon-btn:hover{border-color:var(--accent);color:var(--accent)}.icon-btn.danger{background:var(--red);border-color:var(--red);color:#fff}.icon-btn.danger:hover{background:#d9453b;color:#fff}.icon-btn.corner{position:absolute;top:var(--s3);right:var(--s3);z-index:2}.top-actions{gap:var(--s2)!important}.seat-right.side{font-size:.68rem;color:var(--muted);background:var(--panel-2);padding:2px 6px;border-radius:6px}.fx-bullet{width:28px!important;height:8px!important;border-radius:4px!important;background:var(--c)!important;box-shadow:0 0 10px 3px var(--c),inset 0 0 0 1px #fff9!important}.fx-heart.angel{font-size:36px;filter:drop-shadow(0 0 12px rgba(255,240,180,.95))}.name-abbr{display:none}@media(max-width:640px){.hand{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr)) 40px;gap:var(--s1)!important;overflow:visible!important;padding:var(--s2) 0 0!important;align-items:end}.hand .dealt{min-width:0}.hand .card{width:100%!important;height:80px!important;border-width:2px;border-radius:8px}.hand .card-top{font-size:.5rem!important;height:2.2em;padding:0 2px!important}.hand .name-full,.table-center .name-full{display:none}.hand .name-abbr,.table-center .name-abbr{display:inline}.hand .card-art{width:30px!important;height:30px!important;margin-top:6px!important}.hand .card-info{width:15px;height:15px;font-size:.55rem;line-height:15px;right:2px;bottom:2px}.swap-btn{width:40px!important;height:40px!important;font-size:.5rem}.swap-btn svg{width:16px;height:16px}.game{--dock-h: 150px}.seat{--seat-w: 156px;padding:var(--s2)!important}.seat-head{font-size:.82rem;margin-bottom:var(--s2)}.avatar,.fam .art{width:34px;height:34px}.fam-name{font-size:.58rem}.seat.me .avatar{width:46px;height:46px}.seat.me .fam-row{width:210px}.fam.big .art{width:42px;height:42px}.table-area[data-crowded] .seat:not(.me){--seat-w: 116px}.table-area[data-crowded] .seat:not(.me) .avatar{width:28px;height:28px}.table-area[data-crowded] .seat:not(.me) .fam .art{width:28px;height:28px}.seat-right.side{font-size:.56rem;padding:1px 4px}.icon-btn{width:36px;height:36px}}.room-code{padding-left:.2em}.logo{padding-left:.12em}.hero.small+.muted{margin-top:var(--s3)}input:focus,input:focus-visible{outline:none;border-color:var(--yellow)!important;box-shadow:0 0 0 3px #d9a5204d}button:focus-visible{outline:3px solid rgba(217,165,32,.6);outline-offset:2px}.name-col{display:flex;flex-direction:column;min-width:0;flex:1 1 auto;gap:2px}.name-col .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.name-col .seat-right.side{align-self:flex-start;margin:0}.seat-timer .timer.low{background:var(--red);border-color:var(--red);color:#fff}.btn.go{background:var(--green);border-color:var(--green);color:#fff}.btn.go:hover:not(:disabled){background:#45b057}.btn.danger.big{width:100%;padding:14px;font-size:1.1rem}.waiting{font-weight:500}.seat-timer{top:0!important;bottom:auto!important;left:auto!important;right:var(--s3)!important;transform:translateY(-50%)!important}.seat.turn{margin-bottom:0!important}.game .hint .btn{color:var(--text)}.game .hint .btn.primary{color:#fff}.hint{justify-content:center;text-align:center}.hint>span{flex:0 1 auto!important}.seat.role-killer{background:#f7d9d6;border-color:#e3a29c}.seat.role-detective{background:#dbe5f7;border-color:#9fb5e0}.seat.role-psycho{background:#e9ddf7;border-color:#c2a6e6}.seat.role-lawyer{background:#e3e3e6;border-color:#b8b8bf}.seat.turn{border-color:var(--yellow)!important}.missed{font-size:.85em}.btn.floating{position:fixed;top:50%;left:50%;bottom:auto;right:auto;transform:translate(-50%,-50%);z-index:40;padding:14px 28px;font-size:1.1rem;box-shadow:0 10px 30px #0006}@media(max-width:640px){.menu{padding:var(--s4) var(--s2)}.menu-card{padding:var(--s4) var(--s4) var(--s4)!important}.menu-card .hero{gap:var(--s2);padding:0 30px}.menu-card .hero .logo{font-size:1.9rem}.menu-card .hero-av{width:42px;height:42px}.menu-card .icon-btn.corner{top:var(--s2);right:var(--s2);width:32px;height:32px}}.seat.role-killer{background:#eab0aa!important;border-color:#b8433a!important}.seat.role-detective{background:#b3c8ee!important;border-color:#2f55a8!important}.seat.role-psycho{background:#d3bdf0!important;border-color:#6d3fa0!important}.seat.role-lawyer{background:#cfcfd6!important;border-color:#55555c!important}.seat.turn.role-killer{border-color:#c8342b!important}.seat.turn:not(.me).role-killer{box-shadow:0 0 0 3px #c8342b73,var(--shadow)!important}.seat.turn.role-detective{border-color:#2f55a8!important}.seat.turn:not(.me).role-detective{box-shadow:0 0 0 3px #2f55a880,var(--shadow)!important}.seat.turn.role-psycho{border-color:#7b4bb3!important}.seat.turn:not(.me).role-psycho{box-shadow:0 0 0 3px #7b4bb380,var(--shadow)!important}.seat.turn.role-lawyer{border-color:#444!important}.seat.turn:not(.me).role-lawyer{box-shadow:0 0 0 3px #44444473,var(--shadow)!important}.seat-timer{top:0!important;right:0!important;transform:translate(35%,-50%)!important}.name-col .name{display:inline-flex;align-items:center;gap:4px}.missed{line-height:1}.table-center .card.small{width:76px!important;height:106px!important;transform:none!important;grid-template-rows:auto 1fr;align-items:center}.table-center .card.small .card-art{width:38px;height:38px;margin:0}.lobby-players li{position:relative}.kick-x{position:absolute;right:var(--s2);top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:8px;border:1px solid var(--line);background:var(--panel-2);color:var(--muted);cursor:pointer;font-weight:700}.kick-x:hover{background:var(--red);border-color:var(--red);color:#fff}.end-actions{display:flex;flex-direction:column;gap:var(--s2)}@media(max-width:640px){.table-area{grid-template-areas:"top top top" "center center center" "left gap right" "me me me"!important;grid-template-rows:auto auto 1fr auto!important}.table-center{flex-direction:row!important;gap:var(--s2)!important;padding:0 var(--s2)}.table-center .pile{flex-direction:column!important;gap:var(--s1)!important}.table-center .card.small{width:52px!important;height:72px!important}.table-center .card.small .card-art{width:26px;height:26px}.table-event,.table-event.pending{display:block!important;font-size:.72rem;flex:1 1 auto;max-width:200px}.col-left,.col-right{justify-content:flex-start}}@media(max-width:640px){.table-area[data-n="3"] .seat:not(.me){--seat-w: 140px}.row-top{padding:0 44px 0 0!important;gap:var(--s2)!important}}.btn.add-bot{border-style:dashed;color:var(--muted);background:transparent}.btn.add-bot:hover{color:var(--text);border-color:var(--text)}.menu-card{z-index:2}.menu{--sidebar-w: 0px}@media(max-width:640px){.table-area{grid-template-rows:auto 1fr auto auto!important}.table-center{align-self:center}}.menu{--bg: #12162a;--panel: #1e2338;--panel-2: #282e48;--line: #3a4262;--text: #ece8e0;--muted: #9aa3b8;--shadow: 0 6px 16px rgba(0, 0, 0, .4);color:var(--text);background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'><g fill='none' stroke='%23c9b99a' stroke-width='2' opacity='0.14' stroke-linecap='round'><g transform='translate(30 40) rotate(-30)'><path d='M0 0 H46 L60 6 L46 12 H0 Z'/><rect x='-22' y='1' width='22' height='10' rx='3'/></g><g transform='translate(180 50)'><circle cx='14' cy='14' r='13'/><path d='M24 24 L40 40'/></g><g transform='translate(60 170)'><path d='M0 18 Q0 0 16 0 Q32 0 32 18 Q32 34 16 40'/><path d='M6 18 Q6 6 16 6 Q26 6 26 18 Q26 30 14 34'/><path d='M12 18 Q12 12 16 12 Q20 12 20 18 Q20 26 12 28'/></g><g transform='translate(170 180)'><path d='M0 4 H34 L38 0 H44 V10 H24 L20 14 V26 H12 L14 14 H2 Z'/></g></g><g fill='%23c8342b' opacity='0.35'><circle cx='130' cy='120' r='5'/><circle cx='142' cy='128' r='2.5'/><circle cx='120' cy='132' r='2'/><circle cx='220' cy='240' r='4'/></g></svg>") 0 0 / 260px 260px,radial-gradient(ellipse at 50% 30%,#1d2340,#12162a 70%)}.menu .menu-card{box-shadow:0 2px 0 var(--line),0 24px 50px #00000080}.menu .menu-card:before{background:#f0e1aa59}.menu .field input,.menu .code-input{background:var(--panel-2);color:var(--text)}.menu .lobby-players li{background:var(--panel-2)}.menu .hero-av{box-shadow:0 0 0 3px var(--line),var(--shadow)}.menu .knife path[stroke="var(--line)"]{stroke:var(--line)}.menu .banner.info{background:#1f2c4a;color:#dbe5f7}.table-center .card.small .card-top{font-size:.56rem!important;line-height:1.15;height:3.1em;padding:0 3px!important;word-break:break-word}.hero-av,.avatar,.final-av,.death-banner .art{color:var(--ink)}.menu{--btn-hover: #343b5a}.menu .btn.add-bot:hover{background:transparent}.seat.me.turn{animation:my-turn 1.4s ease-in-out infinite}@keyframes my-turn{0%,to{box-shadow:0 0 0 3px var(--glow, rgba(217, 165, 32, .55)),0 0 18px 4px var(--glow, rgba(217, 165, 32, .45))}50%{box-shadow:0 0 0 5px var(--glow, rgba(217, 165, 32, .85)),0 0 34px 12px var(--glow, rgba(217, 165, 32, .7))}}.seat.me.turn.role-killer{--glow: rgba(240, 70, 60, .75)}.seat.me.turn.role-detective{--glow: rgba(90, 140, 255, .8)}.seat.me.turn.role-psycho{--glow: rgba(170, 110, 240, .8)}.seat.me.turn.role-lawyer{--glow: rgba(220, 220, 230, .7)}.your-turn{font-weight:800;font-size:1rem;color:#ff5a4e!important;letter-spacing:.02em}.fam-name{text-transform:none!important;letter-spacing:-.01em;font-size:.74rem;padding:0 2px;max-width:100%;overflow:hidden;text-overflow:ellipsis}@media(max-width:640px){.fam-name{font-size:.62rem}}.fam-name{white-space:normal!important;overflow:visible;text-overflow:clip;line-height:1.05;text-align:center;overflow-wrap:anywhere}@media(min-width:641px){.table-area[data-crowded] .seat:not(.me){--seat-w: 188px}}*{scrollbar-width:thin;scrollbar-color:rgba(201,185,154,.45) transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#c9b99a73;border-radius:999px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:#c8342bbf;background-clip:padding-box}::-webkit-scrollbar-corner{background:transparent}.modal{scrollbar-color:rgba(43,36,30,.35) transparent}.modal::-webkit-scrollbar-thumb{background:#2b241e4d;background-clip:padding-box}.modal::-webkit-scrollbar-thumb:hover{background:#c8342bb3;background-clip:padding-box}html,body{background:#12162a}:root{color-scheme:dark}html{scrollbar-color:rgba(201,185,154,.55) #12162a}.menu{display:flex!important;flex-direction:column}.menu-card{margin:auto!important}.table-area{grid-template-areas:"top top top" "left center right" "me me me"}.table-center{align-self:center}@media(min-width:641px)and (max-height:820px){.table-area{grid-template-areas:"top top top" "left center right" "left me right"}}@media(max-width:640px){.table-area{grid-template-areas:"top top top" "left center right" "me me me"!important;grid-template-rows:auto 1fr auto!important}.row-top{padding:0!important}.col-left,.col-right{justify-content:center!important}.table-center{flex-direction:row!important;flex-wrap:wrap;justify-content:center;align-content:center;padding:0!important}.table-center .table-event,.table-center .table-event.pending{flex:1 1 100%!important;max-width:100%!important;text-align:center;order:3}.table-area[data-n="4"] .seat:not(.me){--seat-w: 128px}.swap-btn span{display:none}.swap-btn svg{width:20px!important;height:20px!important}}.your-turn{color:var(--red)!important}@media(min-width:641px)and (max-width:1000px){.hand{display:grid!important;grid-template-columns:repeat(6,minmax(0,118px)) 64px;justify-content:center;overflow:visible!important}.hand .dealt{min-width:0}.hand .card{width:100%!important}.hand .card-top{font-size:.68rem}}.emoji-wrap{position:relative}.emoji-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40}.emoji-pop{position:absolute;top:calc(100% + var(--s2));right:0;z-index:41;display:grid;grid-template-columns:repeat(4,40px);gap:var(--s1);padding:var(--s2);background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 30px #00000059}.emoji-pop button{width:40px;height:40px;font-size:1.4rem;border:none;background:transparent;border-radius:10px;cursor:pointer}.emoji-pop button:hover{background:var(--panel-2);transform:scale(1.15)}.fx-emoji{font-size:40px;filter:drop-shadow(0 4px 8px rgba(0,0,0,.45));z-index:30}@media(max-width:640px){.top-actions .icon-btn{width:34px;height:34px}.top-actions .icon-btn svg{width:18px;height:18px}.fx-emoji{font-size:30px}}.toast{top:var(--s4)!important;bottom:auto!important;z-index:300!important;background:#3a1512!important;color:#ffd9d4!important;box-shadow:0 10px 30px #00000073;animation:toast-in .25s ease-out}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%)}}.dock,.hand{border-top:none!important}
