@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-cyrillic-ext-wght-normal-Bg62sWL9.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-cyrillic-wght-normal-BWCqVJN0.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-vietnamese-wght-normal-CDLFB6hb.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-latin-ext-wght-normal-ltf1AbuM.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-latin-wght-normal-CUoBjw-S.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:New Rocker;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/new-rocker-latin-400-normal-Dx1Qcjw-.woff2)format("woff2"),url(/assets/new-rocker-latin-400-normal-B_vCYENR.woff)format("woff")}:root,:root[data-theme=scuro]{--bg:#07080c;--bg-elev:#0c0e14;--surface:#12141c;--surface-strong:#1a1d27;--surface-hover:#212532;--border:#1e222d;--border-strong:#2e3341;--text:#e9e6dd;--muted:#8a8f9d;--accent:#d9dfea;--accent-hover:#fff;--accent-text:#0b0d14;--danger:#e0665f;--ok:#5cbf8f;--wolf:#e0665f;--seer:#a98bff;--guard:#6aa9e6;--villager:#c9c2ad;--hamster:#c7a0ff;--faction-good:#6aa9e6;--faction-bad:#e0665f;--faction-neutral:#a98bff;--primary:#1f2b48;--primary-hover:#283760;--primary-text:#e9edf7;--primary-border:#36487a;--radius:12px;--radius-sm:8px;--shadow:0 1px 2px #00000080, 0 12px 32px #0000008c;--font:"Cormorant Garamond Variable", "Cormorant Garamond", Georgia, "Times New Roman", serif;--font-display:"Cormorant Garamond Variable", "Cormorant Garamond", Georgia, "Times New Roman", serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=chiaro]{--bg:#c9ccd3;--bg-elev:#d2d5db;--surface:#dcdee3;--surface-strong:#c3c6ce;--surface-hover:#babec7;--border:#b3b7c0;--border-strong:#989dab;--text:#14161c;--muted:#4b505c;--accent:#26345a;--accent-hover:#1b2747;--accent-text:#e9edf5;--danger:#a8302b;--ok:#1d7049;--wolf:#a8302b;--seer:#5536a8;--guard:#1b5a94;--villager:#5e4f26;--hamster:#6e3fb0;--faction-good:#1b5a94;--faction-bad:#a8302b;--faction-neutral:#5536a8;--primary:#1f2b48;--primary-hover:#283760;--primary-text:#e9edf7;--primary-border:#36487a;--shadow:0 1px 2px #1419281f, 0 12px 32px #14192824;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=scuro] body[data-phase=notte]{--bg:#04050a;--bg-elev:#090b12}:root[data-theme=chiaro] body[data-phase=notte]{--bg:#bfc2ca;--bg-elev:#c8cbd2}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;background:var(--bg)}body{min-height:100dvh;font-family:var(--font);font-variant-numeric:lining-nums;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-size:17px;font-weight:500;line-height:1.45;transition:background .4s,color .3s}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}h1,h2,h3,h4{font-family:var(--font-display);letter-spacing:.04em;margin:0;font-weight:600}h1{text-transform:uppercase;letter-spacing:.12em;font-size:clamp(2rem,5vw,2.6rem)}h2{text-transform:uppercase;letter-spacing:.1em;font-size:1.35rem}h3{letter-spacing:.06em;font-size:1.2rem}h4{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:.8rem;font-weight:600}::selection{background:color-mix(in srgb, var(--accent) 35%, transparent)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.page{width:100%;max-width:640px;padding:16px 16px calc(110px + env(safe-area-inset-bottom));flex-direction:column;gap:16px;margin:0 auto;display:flex}.page.master{max-width:760px}.page.center{justify-content:center;min-height:100dvh;padding-bottom:16px}.stack{flex-direction:column;gap:14px;display:flex}.row{gap:10px;display:flex}.center{text-align:center;align-items:center}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px}.card-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.hint{color:var(--muted);margin:0;font-size:.92rem}.error-text{color:var(--danger);margin:0}.pill{background:var(--surface-strong);color:var(--muted);font-variant-numeric:tabular-nums;border-radius:99px;padding:2px 10px;font-size:.85rem}.btn{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface-strong);min-height:40px;font-family:var(--font-display);letter-spacing:.08em;text-transform:uppercase;justify-content:center;align-items:center;gap:8px;padding:9px 16px;font-size:.95rem;font-weight:600;line-height:1.2;transition:background .15s,border-color .15s,opacity .15s;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-hover)}.btn:active:not(:disabled){filter:brightness(.95)}.btn:disabled{opacity:.45}.btn-primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary-border);letter-spacing:.1em;font-size:1.05em}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-lg{width:100%;min-height:48px;padding:12px 20px;font-size:1rem}.btn-sm{min-height:32px;padding:5px 12px;font-size:.85rem}.btn-ghost{color:var(--muted);background:0 0;border-color:#0000}.btn-ghost:hover:not(:disabled){color:var(--text)}.btn-icon{width:32px;height:32px;color:var(--muted);background:0 0;border:none;border-radius:50%}.btn-icon:hover{background:var(--surface-strong);color:var(--danger)}.link{color:var(--muted);text-underline-offset:3px;background:0 0;border:none;padding:4px 0;font-size:.9rem;text-decoration:underline}.input{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--bg-elev);width:100%;color:var(--text);font:inherit;padding:11px 14px;font-size:1rem;transition:border-color .15s}.input:focus{border-color:var(--accent);outline:none}.input::placeholder{color:var(--muted)}.code-input{text-transform:lowercase;letter-spacing:.12em}.action-bar{padding:14px 16px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(to top, var(--bg) 60%, transparent);z-index:10;justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.action-bar>*{max-width:608px}.waiting{color:var(--muted);text-align:center;margin:0;padding:14px}.hero{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:40px 0 12px;display:flex;position:relative}.hero h1{color:#f3efe4;text-shadow:0 0 24px #e9e6dd59;font-size:clamp(3.2rem,12vw,4.6rem);font-weight:500}:root[data-theme=chiaro] .hero h1{color:var(--text);text-shadow:0 1px #ffffff59}.hero p{max-width:34ch;color:var(--muted);margin:0}.moon-logo{filter:drop-shadow(0 0 28px #e9e6dd29);max-width:60vw;height:auto;display:block}.moon-logo.moon-sm{margin:0 auto}.moon{background:radial-gradient(circle at 40% 35%,#fbf9f1 0%,#e6e3d6 45%,#bfbcb0 100%);border-radius:50%;width:96px;height:96px;position:relative;box-shadow:0 0 0 10px #e9e6dd0a,0 0 40px #e9e6dd47,0 0 110px #c8cde12e}.moon:before,.moon:after{content:"";background:#00000014;border-radius:50%;position:absolute}.moon:before{width:12px;height:12px;top:36%;left:30%}.moon:after{width:8px;height:8px;top:58%;left:58%}.moon-sm{width:56px;height:56px;margin:0 auto}.mode-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=480px){.mode-grid{grid-template-columns:1fr}}.mode-card{text-align:center;border-radius:var(--radius);border:1px solid var(--border);background:var(--bg-elev);flex-direction:column;align-items:center;gap:8px;padding:22px 18px 20px;transition:border-color .15s,background .15s;display:flex}.mode-card:hover{border-color:var(--border-strong)}.mode-card>span:last-child{color:var(--muted);font-size:1rem;line-height:1.4}.mode-card strong{font-family:var(--font-display);letter-spacing:.08em;text-transform:uppercase;font-size:1.45rem;font-weight:600}.mode-card.is-active{border-color:var(--primary-border);background:color-mix(in srgb, var(--primary) 55%, var(--surface))}.icon.mode-icon{width:84px;height:84px;transition:transform .2s}.mode-card:hover .mode-icon,.mode-card.is-active .mode-icon{transform:scale(1.06)}.join h1{text-align:center;font-size:1.8rem}.join .hint{text-align:center}.invite{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.invite-label{color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-size:.85rem}.invite-code{font-family:var(--font-display);letter-spacing:.14em;margin-bottom:6px;font-size:1.9rem;font-weight:800}.seat-list,.master-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.seat-list li,.master-list li{border-radius:var(--radius-sm);align-items:center;gap:12px;padding:8px 6px;display:flex}.seat-name{text-overflow:ellipsis;flex:1;min-width:0;font-weight:500;overflow:hidden}.seat-name em{color:var(--muted);font-style:normal}.dot{background:var(--muted);opacity:.4;border-radius:50%;width:9px;height:9px}.dot.is-online{background:var(--ok);opacity:1;box-shadow:0 0 8px var(--ok)}.bot-actions{border-top:1px solid var(--border);flex-wrap:wrap;gap:8px;margin-top:10px;padding-top:10px;display:flex}.tabs{background:var(--bg-elev);border:1px solid var(--border);border-radius:10px;gap:4px;margin-bottom:18px;padding:4px;display:flex}.tabs button{color:var(--muted);background:0 0;border:none;border-radius:7px;flex:1;padding:8px;font-weight:600}.tabs button.is-active{background:var(--surface-strong);color:var(--text)}.toggle{cursor:pointer;align-items:center;gap:14px;display:flex;position:relative}.toggle.is-disabled{cursor:default}.toggle-text{flex-direction:column;flex:1;display:flex}.toggle-text small,.field-label small,.role-label small{color:var(--muted);font-size:.85rem}.toggle input{opacity:0;pointer-events:none;position:absolute}.switch{background:var(--surface-strong);border:1px solid var(--border-strong);border-radius:99px;flex:none;width:42px;height:24px;transition:background .2s;position:relative}.switch:after{content:"";background:var(--muted);border-radius:50%;width:18px;height:18px;transition:transform .2s,background .2s;position:absolute;top:2px;left:2px}.toggle input:checked+.switch{background:var(--accent)}.toggle input:checked+.switch:after{background:var(--accent-text);transform:translate(18px)}.toggle input:focus-visible+.switch{outline:2px solid var(--accent);outline-offset:2px}.toggle.is-disabled .switch{opacity:.6}.field{flex-direction:column;gap:8px;display:flex}.field-label{flex-direction:column;display:flex}.segmented{flex-wrap:wrap;gap:6px;display:flex}.segmented button{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--bg-elev);color:var(--muted);flex:auto;padding:8px 12px;font-size:.9rem;font-weight:500;transition:background .15s,color .15s,border-color .15s}.segmented button:hover{color:var(--text)}.segmented button.is-active{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, var(--bg-elev));color:var(--text);font-weight:600}.stepper{justify-content:space-between;align-items:center;gap:12px;display:flex}.stepper-label{flex:1;min-width:0}.role-label{border-bottom:2px solid var(--faction,transparent);align-items:center;gap:10px;padding-bottom:6px;display:flex}.role-art{aspect-ratio:200/290;object-fit:cover;background:#000;border-radius:6px;flex:none;width:72px;height:auto;box-shadow:0 2px 8px #00000059}.roles-in-play .role-art{width:84px}.role-art.is-missing{display:none}@media (width<=720px){.role-art{width:60px}.roles-in-play .role-art{width:68px}}.role-label>span:last-child>span:first-child,.roles-in-play strong{font-family:var(--font-display);letter-spacing:.06em;text-transform:uppercase;font-size:1.15rem}.roles-in-play li{border-bottom:2px solid var(--faction,transparent);padding-bottom:8px}.role-label>span:first-child{font-size:1.5rem}.role-label>span:last-child{flex-direction:column;flex:1;min-width:0;display:flex}.stepper:has(.role-label){flex-wrap:wrap;row-gap:6px}.stepper:has(.role-label) .stepper-label{flex:300px}.stepper:has(.role-label) .stepper-controls{margin-left:auto}.stepper-controls{flex:none;align-items:center;gap:4px;display:flex}.stepper-controls button{border:1px solid var(--border);background:var(--surface-strong);border-radius:50%;width:38px;height:38px;font-size:1.2rem;line-height:1}.stepper-controls button:disabled{opacity:.35}.stepper-controls output{text-align:center;font-variant-numeric:tabular-nums;min-width:48px;font-weight:700}.count-check{border-radius:var(--radius-sm);text-align:center;margin:0;padding:10px 14px;font-weight:600}.count-check.is-ok{background:color-mix(in srgb, var(--ok) 15%, transparent);color:var(--ok)}.count-check.is-warn{background:color-mix(in srgb, var(--danger) 15%, transparent);color:var(--danger)}.phase-bar{z-index:5;background:var(--bg-elev);border-bottom:1px solid var(--border);align-items:center;gap:12px;margin:-16px -16px 0;padding:12px 16px;display:flex;position:sticky;top:0}.phase-name{font-family:var(--font-display);flex:1;font-size:1.05rem;font-weight:700}.timer{font-variant-numeric:tabular-nums;background:var(--surface-strong);border:1px solid var(--border);border-radius:6px;padding:3px 10px;font-size:.95rem;font-weight:600}.timer.is-urgent{color:var(--danger);animation:1s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.5}}.role-card{border-radius:var(--radius);border:1.5px dashed var(--border);background:var(--surface);min-height:64px;color:var(--muted);justify-content:center;align-items:center;gap:12px;padding:14px;transition:all .2s;display:flex}.prompt{text-align:center;color:var(--muted);margin:0;font-size:1.1rem}.prompt.is-action{color:var(--text);font-size:1.2rem;font-weight:600}.player-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}@media (width<=480px){.player-grid{grid-template-columns:repeat(3,1fr);gap:8px}.player{gap:6px;min-height:96px;padding:10px 4px;font-size:.9rem}.player .avatar{width:38px;height:38px}}.player{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;min-height:124px;padding:14px 8px;transition:border-color .15s,background .15s,opacity .2s;display:flex;position:relative}.player:disabled{cursor:default}.player.is-selectable{border-color:color-mix(in srgb, var(--accent) 45%, var(--border))}.player.is-selectable:hover{background:var(--surface-strong)}.player.is-selectable:active{transform:scale(.96)}.player.is-selected{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, var(--surface))}.player.is-dead{opacity:.45}.player-grid.is-choosing .player:disabled{opacity:.35;border-style:dashed}.player-name{font-family:"New Rocker", var(--font-display);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:400;overflow:hidden}.role-tag{font-size:.82rem;font-weight:600}.offline-tag{background:color-mix(in srgb, var(--danger) 18%, transparent);color:var(--danger);border-radius:99px;margin-left:6px;padding:1px 8px;font-size:.72rem}.owl-tag{background:color-mix(in srgb, var(--guard) 20%, transparent);color:var(--guard);border-radius:99px;margin-left:6px;padding:1px 8px;font-size:.75rem;font-weight:700}.player.has-video .owl-tag{z-index:1;background:#0009;position:absolute;top:8px;right:8px}.runoff-tag{background:color-mix(in srgb, var(--accent) 22%, transparent);color:var(--accent);border-radius:99px;margin-left:6px;padding:1px 8px;font-size:.72rem;font-weight:600}.check{background:var(--accent);width:24px;height:24px;color:var(--accent-text);border-radius:50%;place-items:center;font-size:.8rem;font-weight:700;display:grid;position:absolute;top:8px;right:10px}.avatar{--hue:200;background:hsl(var(--hue) 55% 45%);color:#fff;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;font-size:.95rem;font-weight:700;display:grid}.avatar-lg{width:64px;height:64px;font-size:1.3rem}.avatar.is-dead{background:var(--surface-strong);filter:grayscale()}.sleep{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:48px 0 24px;display:flex}.sleep p{font-family:var(--font-display);margin:16px 0 0;font-size:1.6rem}.sleep small{color:var(--muted);max-width:30ch}.winner{text-align:center;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);padding:18px}.winner-card{aspect-ratio:200/290;border-radius:8px;width:96px;margin:0 auto 6px;animation:.6s cubic-bezier(.2,1.6,.4,1) pop;display:block;box-shadow:0 8px 22px #00000080}@keyframes pop{0%{transform:scale(0)}}.winner-lupi h2{color:var(--wolf)}.winner-villaggio h2{color:var(--accent)}.winner-criceti h2{color:var(--hamster)}.winner p{margin:6px 0 0}.chronicle{flex-direction:column;align-items:center;gap:8px;display:flex}.announce{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);text-align:center;width:100%;font-family:var(--font-display);margin:0;padding:14px 18px;font-size:1.08rem;animation:.45s rise}@keyframes rise{0%{opacity:0;transform:translateY(8px)}}.announce.tone-death{border-color:color-mix(in srgb, var(--wolf) 50%, var(--border))}.announce.tone-private{border-color:color-mix(in srgb, var(--seer) 50%, var(--border))}.announce.tone-win{border-color:var(--accent)}.log{flex-direction:column;gap:6px;width:100%;margin:0;padding:0;font-size:.92rem;list-style:none;display:flex}.log li{background:var(--surface);border-radius:10px;padding:8px 12px}.log time{color:var(--muted);font-variant-numeric:tabular-nums;margin-right:8px}.log .tone-private{border-left:3px solid var(--seer)}.log .tone-death{border-left:3px solid var(--wolf)}.master-list li{background:var(--surface);border:1px solid var(--border);padding:10px 12px}.master-list li.is-dead{opacity:.5}.master-action{color:var(--muted);justify-content:flex-end;align-items:center;gap:8px;min-width:70px;font-size:.9rem;display:flex}.vote-count{background:var(--accent);min-width:26px;height:26px;color:var(--accent-text);border-radius:99px;place-items:center;padding:0 6px;display:grid}.decision h3{margin-bottom:12px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--border);background:var(--surface-strong);border-radius:99px;padding:10px 16px;font-weight:600}.chip.is-active{background:var(--accent);color:var(--accent-text)}.chip-muted{color:var(--muted)}.video{object-fit:cover;background:#000;width:100%;height:100%;display:block}.video.is-mirror{transform:scaleX(-1)}.player.has-video{aspect-ratio:4/3;justify-content:flex-end;min-height:0;padding:0;overflow:hidden}.player.has-video .video{position:absolute;inset:0}.player.has-video .player-name,.player.has-video .role-tag,.player.has-video .offline-tag{z-index:1;position:relative}.player.has-video .player-name{color:#fff;background:linear-gradient(#0000,#000000bf);width:100%;padding:18px 8px 8px}.player.has-video .role-tag{background:#0009;border-radius:99px;padding:2px 8px;position:absolute;top:8px;left:8px}.role-scroll{z-index:1;color:#f3e6c2;-webkit-text-stroke:.13em #0b0c12;paint-order:stroke fill;font-family:"New Rocker", var(--font-display);text-align:center;white-space:nowrap;text-overflow:ellipsis;align-self:stretch;margin:0 8px 8px;padding:0 6px;font-size:clamp(.95rem,2.6vw,1.7rem);line-height:1.25;animation:.5s both scroll-in;position:relative;overflow:hidden}@keyframes scroll-in{0%{opacity:0;transform:translateY(10px)}}.player.has-video .check{z-index:2}.player.is-speaking,.tile.is-speaking{box-shadow:0 0 0 2px var(--ok)}.video-start{align-items:center;gap:14px;display:flex}.video-start>div{flex:1}.video-start p{margin:2px 0 0}.icon.video-start-icon{width:52px;height:52px}@media (width<=480px){.video-start{flex-wrap:wrap}.video-start .btn{width:100%}}.media-toggles{left:16px;bottom:calc(96px + env(safe-area-inset-bottom));z-index:11;align-items:center;gap:8px;display:flex;position:fixed}.media-toggles button{border:1px solid var(--border);background:var(--surface-strong);-webkit-backdrop-filter:blur(12px);width:48px;height:48px;box-shadow:var(--shadow);border-radius:50%;font-size:1.25rem}.media-toggles button.is-off{background:var(--danger)}.media-note{background:var(--surface-strong);color:var(--muted);border-radius:99px;padding:4px 10px;font-size:.8rem}.video-grid-wrap{flex-direction:column;gap:8px;display:flex}.area-title{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:4px 0 6px;font-size:.85rem}.video-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}@media (width<=480px){.video-grid{grid-template-columns:repeat(3,1fr)}}.tile{aspect-ratio:4/3;border-radius:var(--radius-sm);background:var(--surface-strong);place-items:center;display:grid;position:relative;overflow:hidden}.tile .video{position:absolute;inset:0}.tile-name{color:#fff;font-family:"New Rocker", var(--font-display);text-align:center;background:linear-gradient(#0000,#000000b3);padding:14px 8px 6px;font-size:1rem;font-weight:400;position:absolute;bottom:0;left:0;right:0}.toast{z-index:50;border-radius:var(--radius-sm);background:var(--danger);color:#fff;max-width:calc(100% - 32px);box-shadow:var(--shadow);padding:12px 18px;font-weight:600;animation:.3s rise;position:fixed;top:16px;left:50%;transform:translate(-50%)}.audio-unlock{z-index:60;background:var(--accent);color:#111;font:inherit;cursor:pointer;border:0;border-radius:999px;padding:10px 18px;font-weight:700;animation:1.6s ease-in-out infinite audio-unlock-pulse;position:fixed;top:64px;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #00000059}@keyframes audio-unlock-pulse{50%{box-shadow:0 6px 32px color-mix(in srgb, var(--accent) 60%, transparent)}}@media (prefers-reduced-motion:reduce){.audio-unlock{animation:none}}.guess-roles{flex-wrap:wrap;justify-content:center;gap:6px;max-width:560px;display:flex}.offline-banner{z-index:20;text-align:center;background:var(--danger);color:#fff;padding:8px;font-size:.9rem;font-weight:600;position:sticky;top:0}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.page-head{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.page-head h1{font-family:var(--font-display);margin:0}.allowance{color:var(--ok);margin:0 0 12px;font-weight:600}.allowance-off{color:var(--muted)}.notice{border-radius:var(--radius-sm);background:var(--surface-strong);color:var(--muted);margin:0;padding:10px 14px;font-size:.92rem}.notice-ok{color:var(--ok);font-weight:600}.plan-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;display:grid}.plan{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-strong);flex-direction:column;gap:6px;padding:14px;display:flex}.plan .btn{margin-top:auto}.plan-sub{border-color:var(--accent)}.plan-list-price{color:var(--muted);margin-right:6px;font-size:.8em;font-weight:400}.plan-promo{letter-spacing:.06em;text-transform:uppercase;color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, transparent);border-radius:99px;align-self:flex-start;padding:1px 8px;font-size:.72rem}.plan-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.plan-price{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.25rem;font-weight:700}.plan-price small{color:var(--muted);font-size:.8rem;font-weight:500}.plan-players{color:var(--muted);font-size:.9rem}.media-toggles button.is-open{border-color:var(--accent)}.media-notice{border-radius:var(--radius-sm);background:var(--surface-strong);color:var(--text);justify-content:space-between;align-items:center;gap:12px;margin:0;padding:10px 14px;font-size:.92rem;display:flex}.audio-settings h3{margin:0}.field-label{color:var(--muted);margin-bottom:6px;font-size:.85rem;font-weight:600;display:block}.stack-sm{flex-direction:column;gap:6px;display:flex}.mic-meter{background:var(--surface-strong);border-radius:99px;height:10px;display:block;overflow:hidden}.mic-meter span{background:var(--ok);transform-origin:0;height:100%;transition:transform 60ms linear;display:block;transform:scaleX(0)}.volume-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.volume-list li{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:center;gap:12px;display:grid}.volume-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.volume-list input{width:100%;accent-color:var(--accent)}.tile-mute{z-index:1;cursor:pointer;background:#0009;border:0;border-radius:99px;padding:4px 8px;font-size:.9rem;position:absolute;top:6px;right:6px}@media (prefers-reduced-motion:reduce){.mic-meter span{transition:none}}.audio-settings,.media-notice{left:16px;bottom:calc(156px + env(safe-area-inset-bottom));z-index:12;box-sizing:border-box;width:min(360px,100vw - 32px);box-shadow:var(--shadow);position:fixed}.audio-settings{background:var(--bg-elev);max-height:60vh;box-shadow:var(--shadow);overflow-y:auto}.settings-group{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding-top:12px;display:flex}.settings-group:first-child{border-top:0;padding-top:0}.settings-group h4{margin:0;font-size:.95rem}.settings-group .btn-sm{align-self:flex-start}.preview{aspect-ratio:16/9;border-radius:var(--radius-sm);background:var(--surface-strong);place-items:center;max-width:100%;display:grid;position:relative;overflow:hidden}.preview .video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}@media (width<=520px){.audio-settings{width:auto;left:8px;right:8px;bottom:calc(150px + env(safe-area-inset-bottom));max-height:calc(100vh - 190px)}}.ready-bar{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.ready-progress{background:var(--surface-strong);border-radius:99px;width:min(320px,100%);height:8px;overflow:hidden}.ready-progress span{background:var(--accent);transform-origin:0;height:100%;transition:transform .2s;display:block}@media (prefers-reduced-motion:reduce){.ready-progress span{transition:none}}.permission-help{flex-direction:column;gap:8px;display:flex}.unblock-steps{flex-direction:column;gap:4px;margin:0;padding-left:1.4em;display:flex}.camera-off-notice{border:1px solid var(--border);cursor:pointer;font:inherit;text-align:left}.stage{aspect-ratio:16/9;border-radius:var(--radius);background:var(--surface-strong);border:2px solid var(--border);place-items:center;width:100%;max-width:760px;max-height:46vh;margin:0 auto;transition:border-color .2s,box-shadow .2s;display:grid;position:relative;overflow:hidden}.stage .video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.stage .avatar{transform:scale(1.6)}.stage-name{color:#fff;background:#0009;border-radius:99px;align-items:center;gap:8px;padding:6px 12px;font-weight:700;display:inline-flex;position:absolute;bottom:12px;left:12px}.stage-dot{background:var(--ok);border-radius:50%;width:10px;height:10px;animation:1s ease-in-out infinite stage-pulse}@keyframes stage-pulse{50%{opacity:.35}}.player-grid.is-compact{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.player-grid.is-compact .player{gap:4px;min-height:84px;padding:8px 4px;font-size:.85rem}.player-grid.is-compact .player.has-video{min-height:0;padding:0}@media (width<=520px){.player-grid.is-compact{grid-template-columns:repeat(4,1fr);gap:6px}.player-grid.is-compact .player{font-size:.75rem}}@media (prefers-reduced-motion:reduce){.stage,.stage-dot{transition:none;animation:none}}.demo-controls{flex-wrap:wrap;align-items:end;gap:16px;display:flex}.demo-controls input[type=range]{width:220px;max-width:100%;accent-color:var(--accent)}.demo-screen{flex-direction:column;gap:12px;width:100%;margin:0 auto;display:flex}.demo-screen.is-phone{border:8px solid var(--surface-strong);border-radius:32px;width:390px;max-width:100%;padding:12px}.demo-screen.is-phone .player-name{font-size:.72rem}.player-grid.is-compact .player.is-speaking,.demo-screen .player.is-speaking{border-color:var(--ok);box-shadow:0 0 0 3px color-mix(in srgb, var(--ok) 35%, transparent)}.video-area{flex-direction:column;gap:8px;width:100%;display:flex}.video-area-stage{flex:0 0 64%;justify-content:center;min-height:0;display:flex}.video-area-stage .stage{width:auto;max-width:100%;height:100%;max-height:none;margin:0 auto}.fit-grid{grid-template-columns:repeat(var(--cols), var(--tile));grid-auto-rows:calc(var(--tile) * .75);gap:var(--gap);flex:1;place-content:center;min-height:0;margin:0;padding:0;list-style:none;display:grid}.fit-grid>li{min-width:0}.fit-grid .player,.fit-grid .player.has-video{aspect-ratio:auto;width:100%;height:100%;min-height:0;padding:0}.fit-grid .player:not(.has-video){padding:4px}.is-choosing .fit-grid .player:disabled{opacity:.35;border-style:dashed}.layout-toggle button{white-space:nowrap}.video-area{width:min(100vw - 32px,1600px);position:relative;left:50%;transform:translate(-50%)}.demo-screen.is-phone .video-area{width:100%;left:0;transform:none}.video-area.is-parlante.is-wide{flex-direction:row}.video-area.is-parlante.is-wide .video-area-stage{flex:0 0 68%;align-items:center}.video-area.is-parlante.is-wide .video-area-stage .stage{width:100%;height:auto;max-height:100%}.fit-grid{flex:1 1 0;min-width:0;overflow:hidden}.verify-notice{border-radius:var(--radius-sm);border:1px solid var(--accent);background:color-mix(in srgb, var(--accent) 10%, var(--surface));margin-bottom:12px;padding:14px}.verify-notice .btn{align-self:flex-start}.hero h1.brand{letter-spacing:.2em;margin-top:6px;line-height:1}.brand-tagline{font-family:var(--font-display);letter-spacing:.3em;text-transform:uppercase;margin:-4px 0 0;font-size:1rem;font-weight:500;color:var(--muted)!important}.game-tools{flex-direction:column;gap:12px;display:flex}.game-tools-head{justify-content:space-between;align-items:center;display:flex}.reshuffle-vote .chips{justify-content:center}.pause-banner{text-align:center;align-items:center}.timer.is-paused{white-space:nowrap;color:var(--accent);animation:2.4s ease-in-out infinite soft-blink}.tool-label{flex-direction:column;gap:2px;font-weight:600;display:flex}.tool-label small{color:var(--muted);font-size:.85rem;font-weight:400}.page.table,.page.lobby,.page.master{max-width:min(1600px,100%)}.page.lobby>:not(.lobby-stage):not(.action-bar){align-self:center;width:100%;max-width:640px}.page.lobby .video-grid,.page.master .video-grid{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}.page.lobby>.lobby-stage{max-width:none}.lobby-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.lobby-bar .invite{flex:280px}.lobby-toggles{gap:8px;display:flex}.lobby-toggles .is-open{background:var(--accent);color:var(--accent-text)}.lobby-stage{position:relative}.lobby-panel{z-index:30;border-radius:var(--radius);background:var(--bg-elev);border:1px solid var(--border);width:min(380px,100vw - 32px);box-shadow:var(--shadow);flex-direction:column;gap:12px;padding:12px;display:flex;position:fixed;top:72px;bottom:96px;right:16px;overflow-y:auto}.lobby-bar .invite{text-align:left;flex-direction:row;align-items:center;gap:12px;padding:10px 14px;display:flex}.lobby-bar .invite-code{margin:0;font-size:1.25rem}.page.game-layout{grid-template:"bar main""side main"1fr/minmax(260px,320px) minmax(0,1fr);align-items:start;gap:12px 16px;max-width:none;min-height:100dvh;padding:0 16px 16px;display:grid}.game-layout>.phase-bar{border:1px solid var(--border);border-radius:0 0 var(--radius-sm) var(--radius-sm);border-top:0;grid-area:bar;margin:0;padding:10px 12px;position:sticky;top:0}.game-layout .phase-name{font-size:1.05rem}.game-layout .timer{padding:2px 10px;font-size:.95rem}.game-side{flex-direction:column;grid-area:side;gap:10px;min-width:0;max-height:calc(100dvh - 72px);font-size:.92rem;display:flex;position:sticky;top:60px}.game-main{flex-direction:column;grid-area:main;gap:12px;min-width:0;padding-top:12px;display:flex}.game-layout .video-area{width:100%;left:0;transform:none}.game-side .role-card{border-radius:var(--radius-sm);min-height:0;padding:10px 12px;font-size:.9rem}.game-side .prompt{text-align:left;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);padding:10px 12px;font-size:.98rem}.game-side .prompt.is-action{border-color:color-mix(in srgb, var(--accent) 55%, var(--border));font-size:1rem}.game-side .card,.game-side .winner{border-radius:var(--radius-sm);padding:12px}.game-side .winner-card{width:72px}.game-side .ready-bar .btn-lg{padding:10px 14px;font-size:.95rem}.game-side>.btn{width:100%}.chat{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);flex-direction:column;flex:auto;min-height:140px;display:flex;overflow:hidden}.chat-title{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--border);margin:0;padding:8px 12px;font-size:.78rem;font-weight:700}.chat .hint{margin:0;padding:10px 12px}.chat-log{flex:auto;min-height:0;margin:0;padding:6px 0;list-style:none;overflow-y:auto}.chat-log li{grid-template-columns:auto 1fr;gap:8px;padding:4px 12px;line-height:1.35;display:grid}.chat-log time{color:var(--muted);font-variant-numeric:tabular-nums;padding-top:2px;font-size:.75rem}.chat-log .tone-phase{color:var(--accent);margin-top:6px;font-weight:700}.chat-log .chat-divider-wrap{padding:6px 12px 2px;display:block}.chat-log .chat-divider{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);align-items:center;gap:8px;margin:4px 0;font-size:.72rem;display:flex}.chat-log .chat-divider:before,.chat-log .chat-divider:after{content:"";border-top:1px solid var(--border);flex:1}.chat-log .chat-flavor{color:var(--muted);font-style:italic}.chat-log .tone-chat span{color:var(--text)}.pack-chat{flex-direction:column;min-height:0;display:flex}.chat-compose{gap:6px;padding:8px 0 0;display:flex}.chat-compose input{flex:1;min-width:0}.chat-log .tone-death span{color:color-mix(in srgb, var(--wolf) 70%, var(--text));font-weight:600}.chat-log .tone-private span{color:color-mix(in srgb, var(--seer) 70%, var(--text))}.chat-log .tone-win span{color:var(--accent);font-weight:700}.game-layout .player,.lobby .player,.lobby-call .player{border-radius:var(--radius-sm);background:var(--bg-elev);border-width:1px}.game-layout .player.has-video .player-name,.lobby .player.has-video .player-name,.lobby-call .player.has-video .player-name{background:#0009;border-radius:99px;width:auto;max-width:calc(100% - 16px);padding:3px 10px;font-size:1rem;position:absolute;bottom:8px;left:8px}.game-layout .player.has-video .role-scroll,.lobby .player.has-video .role-scroll,.lobby-call .player.has-video .role-scroll{margin:0;position:absolute;bottom:52px;left:8px;right:8px}.player.is-selected{outline:3px solid var(--accent);outline-offset:-3px}.player.is-covered{background:radial-gradient(circle at 50% 40%,#161a2a,#0a0c14 70%)}.tile-cover{opacity:.8;place-items:center;font-size:clamp(1.5rem,4vw,3rem);display:grid;position:absolute;inset:0}.game-layout .player.is-dead{opacity:1}.game-layout .player.is-dead .video{filter:grayscale()brightness(.6)}.game-layout .media-toggles{left:auto;right:24px;bottom:calc(20px + env(safe-area-inset-bottom))}@media (width<=860px){.page.game-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"bar""main""side";padding:0 8px 96px}.game-side{max-height:none;position:static}.chat{max-height:40vh}}.fit-grid>li,.player-grid>li{position:relative}.self-controls{z-index:3;align-items:center;gap:4px;display:flex;position:absolute;bottom:6px;right:6px}.self-controls button{-webkit-backdrop-filter:blur(6px);cursor:pointer;background:#0000008c;border:0;border-radius:50%;place-items:center;width:35px;height:35px;padding:0;font-size:.85rem;line-height:1;transition:background .15s;display:grid}.self-controls button:hover,.self-controls button.is-open{background:#000c}.self-controls button.is-off{background:var(--danger)}.self-note{color:#fff;white-space:nowrap;background:#0009;border-radius:99px;padding:2px 8px;font-size:.72rem}.is-me .player.has-video .player-name,.player .self-controls~.player-name{max-width:calc(100% - 176px)}.game-layout .audio-settings,.lobby .audio-settings,.lobby-call .audio-settings,.game-layout .media-notice,.lobby .media-notice,.lobby-call .media-notice{bottom:16px;left:auto;right:16px}.self-controls button.is-on{background:color-mix(in srgb, var(--accent) 75%, black)}.bg-picker{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px;display:grid}.bg-option{border-radius:var(--radius-sm);color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;padding:4px;font-size:.75rem;display:flex}.bg-swatch{aspect-ratio:16/9;border:2px solid var(--border);width:100%;color:var(--muted);background-position:50%;background-size:cover;border-radius:8px;place-items:center;font-size:1.1rem;display:grid}.bg-option.is-active{color:var(--text)}.bg-option.is-active .bg-swatch{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent)}.bg-none{background:var(--surface-strong)}.bg-blur{filter:blur(.5px);background:linear-gradient(135deg,#6a7fa8,#b9a27a,#5f8a7a)}.bg-blur-light{filter:blur(1px);background:radial-gradient(circle at 30% 35%,#c9b48a 0 18%,#0000 19%),linear-gradient(90deg,#0000 62%,#44506a 62% 74%,#0000 74%),linear-gradient(135deg,#6a7fa8,#b9a27a,#5f8a7a)}.bg-upload{background:var(--surface);border-style:dashed}.background-panel .preview{margin-bottom:10px}.card-head h2,.card-head h3{font-size:1rem}.hero p{font-size:.95rem}.hero h1.brand{letter-spacing:.14em}.brand-tagline{letter-spacing:.3em;font-size:.72rem;font-weight:700}.home-top{position:absolute;top:8px;right:0}.theme-toggle{min-width:36px;font-size:1rem}.pill{border:1px solid var(--border);background:var(--bg-elev);font-weight:600}.chip{border:1px solid var(--border-strong);background:var(--bg-elev);font-family:var(--font-display);letter-spacing:.06em;text-transform:uppercase;border-radius:99px;padding:7px 14px;font-size:.85rem;font-weight:600}.chip:hover{background:var(--surface-hover)}.chip.is-active{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:600}.decision{border-color:color-mix(in srgb, var(--accent) 55%, var(--border))}.settings-group h4{margin-bottom:8px}.master-list li{background:var(--bg-elev);padding:7px 10px;font-size:.9rem}.role-card{border:1px dashed var(--border-strong);background:var(--bg-elev)}.lobby-bar .invite{background:var(--bg-elev)}.lobby-toggles .btn.is-open{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.chat,.game-side .prompt{background:var(--bg-elev)}.toast{border-radius:var(--radius-sm);font-size:.92rem}.winner{background:var(--bg-elev)}.stage{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-elev)}.stage.is-speaking{border-color:var(--ok);box-shadow:0 0 0 2px color-mix(in srgb, var(--ok) 35%, transparent)}.tile{background:var(--bg-elev);border:1px solid var(--border)}.plan,.video-start{background:var(--bg-elev)}.media-notice{background:var(--bg-elev);border:1px solid var(--border);box-shadow:var(--shadow)}:root[data-theme=chiaro] .player.is-covered{color:#c9ccd6}:root[data-theme=chiaro] .video-area,:root[data-theme=chiaro] .lobby-video{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.page.game-layout{grid-template:"bar""main"1fr/minmax(0,1fr);gap:0;padding:0 12px 12px}.game-bar{z-index:6;background:var(--bg-elev);border-bottom:1px solid var(--border);grid-area:bar;align-items:center;gap:12px;min-height:56px;margin:0 -12px;padding:8px 16px;display:flex;position:sticky;top:0}.game-bar .btn-sm,.game-bar .role-card-mini{min-height:44px;font-size:.9rem}.ready-check{background:var(--accent);width:18px;height:18px;color:var(--accent-text);border-radius:50%;place-items:center;font-size:.7rem;font-weight:700;display:grid;position:absolute;top:8px;right:10px;box-shadow:0 1px 4px #00000059}.game-bar .phase-name{font-family:var(--font-display);letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;flex:none;font-size:1.25rem}.bar-prompt{text-align:center;min-width:0;color:var(--muted);flex:auto;justify-content:center;align-items:center;gap:12px;font-size:1.3rem;display:flex;overflow:hidden}.bar-prompt>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bar-prompt .is-action{color:var(--text);font-weight:600;animation:2.4s ease-in-out infinite soft-blink}@keyframes soft-blink{50%{color:color-mix(in srgb, var(--accent) 75%, var(--text))}}.bar-note.is-waiting{color:var(--accent);background:color-mix(in srgb, var(--accent) 16%, transparent)}.ready-btn.is-on{border-color:var(--accent);color:var(--accent)}.ready-btn.is-done{opacity:.7}.ready-btn.is-calling{animation:2.2s ease-in-out infinite ready-call}@keyframes ready-call{0%,to{border-color:var(--border);box-shadow:none}50%{border-color:var(--accent);color:var(--accent-text);background:var(--accent);box-shadow:0 0 16px color-mix(in srgb, var(--accent) 60%, transparent)}}@media (prefers-reduced-motion:reduce){.ready-btn.is-calling{border-color:var(--accent);animation:none}}.game-alert-wrap{z-index:30;pointer-events:none;justify-content:center;width:min(720px,100vw - 24px);display:flex;position:fixed;top:72px;left:50%;transform:translate(-50%)}.game-alert{border-radius:var(--radius);border:1px solid color-mix(in srgb, var(--accent) 35%, var(--border));background:color-mix(in srgb, var(--bg-elev) 94%, var(--accent));box-shadow:var(--shadow);font-family:var(--font-display);letter-spacing:.04em;text-align:center;padding:14px 24px;font-size:1.5rem;font-weight:600;animation:.35s ease-out rise}.vote-tag{background:color-mix(in srgb, var(--accent) 18%, transparent);color:var(--accent);border-radius:99px;padding:1px 8px;font-size:.78rem}.hanged-by{opacity:.85;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.72rem;overflow:hidden}.game-layout .player.has-video .hanged-by,.game-layout .player.has-video .vote-tag{z-index:1;text-overflow:ellipsis;white-space:nowrap;background:#0009;border-radius:99px;max-width:calc(100% - 16px);position:absolute;left:8px;overflow:hidden}.game-layout .player.has-video .hanged-by{color:#fff;opacity:1;padding:1px 8px;bottom:8px}.game-layout .player.has-video .vote-tag{bottom:44px}.game-layout .player.has-video.has-hanged .player-name{bottom:30px}.game-layout .player.has-video.has-hanged .vote-tag{bottom:66px}.game-layout .player.has-video.has-hanged .role-scroll{bottom:74px}.is-me .player.has-video .hanged-by{max-width:calc(100% - 176px)}.roles-in-play{gap:10px;margin:0;padding:0;list-style:none;display:grid}.roles-in-play li{align-items:flex-start;gap:10px;display:flex}.roles-in-play small{color:var(--muted);font-size:.82rem;line-height:1.35;display:block}.panel-subtitle{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:18px 0 8px;font-size:.78rem}.rules-summary{color:var(--muted);gap:6px;margin:0;padding:0;font-size:.88rem;list-style:none;display:grid}.rules-summary li:before{content:"·";color:var(--accent);margin-right:6px}.roles-count{color:var(--muted);font-weight:500}.history-list{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.history-list small{color:var(--muted);font-weight:400}.bar-note{background:var(--surface-strong);border-radius:99px;flex:none;padding:2px 8px;font-size:.8rem}.bar-actions{flex:none;align-items:center;gap:6px;display:flex}@media (width<=1280px){.bar-btn-label{display:none}.bar-actions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;row-gap:4px}}.bar-btn{gap:6px}.bar-btn.is-open{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.bar-badge{background:var(--accent);min-width:18px;color:var(--accent-text);text-align:center;border-radius:99px;padding:0 5px;font-size:.72rem;font-weight:700}.role-card-mini{border-style:dashed;gap:6px;min-height:32px;padding:5px 12px;font-size:.85rem}.game-main{padding-top:12px}.game-panel{z-index:30;border-radius:var(--radius);background:var(--bg-elev);border:1px solid var(--border);width:min(360px,100vw - 24px);box-shadow:var(--shadow);flex-direction:column;gap:10px;padding:12px;display:flex;position:fixed;top:72px;bottom:12px;right:12px;overflow-y:auto}.game-panel-head{justify-content:space-between;align-items:center;display:flex}.game-panel .chat{background:0 0;border:0;flex:auto;min-height:0}.game-panel .chat-title{display:none}.game-panel .master-list li{background:var(--surface)}.game-overlay-top,.game-overlay-bottom,.game-overlay-center{z-index:25;flex-direction:column;gap:10px;width:min(480px,100vw - 24px);display:flex;position:fixed;left:50%;transform:translate(-50%)}.game-overlay-top{top:72px}.game-overlay-top:empty{display:none}.game-overlay-bottom{bottom:16px}.game-overlay-center{align-items:stretch;top:50%;transform:translate(-50%,-50%)}.game-overlay-top .card,.game-overlay-bottom .ready-bar,.game-overlay-center .winner{background:var(--bg-elev);box-shadow:var(--shadow)}.game-overlay-bottom .ready-bar{border-radius:var(--radius);border:1px solid var(--border);padding:12px}@media (width<=720px){.game-bar{flex-wrap:wrap;row-gap:4px}.bar-prompt{text-align:left;flex-basis:100%;order:3;justify-content:flex-start}.bar-prompt>span:first-child{white-space:normal}.bar-btn-label{display:none}.bar-actions{flex-wrap:wrap;flex:auto;justify-content:flex-end;row-gap:4px}.ready-btn,.role-card-mini{padding-inline:8px}.game-panel{width:auto;height:70vh;top:auto;left:12px;right:12px}}.invite-chip{flex:none;align-items:center;gap:8px;display:inline-flex}.invite-chip .invite-code{letter-spacing:.12em;background:var(--surface-strong);border:1px solid var(--border);border-radius:6px;margin:0;padding:3px 10px;font-size:1.05rem}.game-panel .seat-list li{padding:6px 4px}.game-panel .settings{border:0;padding:0}@media (width<=720px){.invite-chip .btn-sm{padding:5px 8px}}.game-bar .bar-btn.is-leaving,.game-bar .bar-btn.is-leaving:hover:not(:disabled){border-color:var(--danger,#c0392b);background:var(--danger,#c0392b);color:#fff}.admin-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.admin-row{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:10px;padding:12px;display:flex}.admin-row-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-row-head .hint{margin:4px 0 0}.admin-tag{color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, transparent);border-radius:99px;margin-left:8px;padding:1px 8px;font-size:.75rem}.admin-turns{flex-direction:column;gap:10px;display:flex}.admin-confirm{background:color-mix(in srgb, var(--accent) 8%, transparent);border-radius:10px;flex-direction:column;gap:10px;padding:12px;display:flex}.admin-confirm p{margin:0}.admin-confirm-danger{background:color-mix(in srgb, var(--danger) 10%, transparent)}.admin .btn-danger{border-color:color-mix(in srgb, var(--danger) 55%, transparent);color:var(--danger)}.admin .admin-confirm .btn-danger,.admin .admin-confirm .btn-danger:hover:not(:disabled){border-color:var(--danger);background:var(--danger);color:#fff}.traffic-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;display:grid}.traffic-cell{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:2px;padding:12px;display:flex}.traffic-cell small{color:var(--muted)}.traffic-cell strong{font-family:var(--font-display);font-size:1.7rem;font-weight:600}.traffic-cell .hint{margin:0;font-size:.8rem}.traffic-months{margin:0;padding:0;list-style:none}.traffic-months li{border-bottom:1px solid var(--border);justify-content:space-between;padding:4px 0;display:flex}.reveal-backdrop{z-index:60;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);cursor:pointer;background:#030408d1;place-items:center;padding:16px;animation:.25s both reveal-fade;display:grid;position:fixed;inset:0}.reveal-stage{--card-w:min(250px, 62vw, calc((94dvh - 150px) / 2.1));--deck-ratio:.42;--deck-w:calc(var(--card-w) * var(--deck-ratio));--col:50%;width:min(420px,100%);height:min(calc(var(--deck-w) * 1.45 + var(--card-w) * 1.45 + 150px), 94dvh);flex-direction:column;align-items:center;display:flex;position:relative}.reveal-deck{top:0;left:var(--col);margin-left:calc(var(--deck-w) / -2);width:var(--deck-w);aspect-ratio:200/290;flex:none;animation:.5s 1.5s forwards reveal-deck-away;position:absolute}.reveal-deck img,.reveal-face{border-radius:8px;width:100%;height:100%;position:absolute;inset:0;box-shadow:0 6px 18px #0000008c}.reveal-deck img:first-child{transform:translate(4px,4px)rotate(2deg)}.reveal-deck img:nth-child(2){transform:translate(2px,2px)rotate(-1deg)}.reveal-card{top:0;left:var(--col);width:var(--card-w);aspect-ratio:200/290;transform-origin:top;perspective:1200px;animation:1.1s cubic-bezier(.22,.8,.3,1) .15s both reveal-draw;position:absolute}.reveal-flip{width:100%;height:100%;transform-style:preserve-3d;animation:.7s ease-in-out .85s forwards reveal-flip;position:relative;transform:rotateY(180deg)}.reveal-face{backface-visibility:hidden}.reveal-back{transform:rotateY(180deg)}.reveal-front{box-shadow:0 0 0 2px var(--faction,transparent), 0 0 40px color-mix(in srgb, var(--faction,#fff) 45%, transparent), 0 18px 40px #0009;background:#000;place-items:center;display:grid;overflow:hidden}.reveal-front img{object-fit:cover;width:100%;height:100%}.reveal-emoji{font-family:var(--font-display);letter-spacing:.08em;text-align:center;text-transform:uppercase;color:#e9e6dd;padding:12px;font-size:1.6rem}.reveal-caption{text-align:center;color:#e9e6dd;flex-direction:column;align-items:center;gap:4px;animation:.5s 1.45s both reveal-fade;display:flex;position:absolute;bottom:0;left:0;right:0}.reveal-caption p{margin:0;font-size:1.3rem}.reveal-caption strong{font-family:var(--font-display);letter-spacing:.08em;text-transform:uppercase}.reveal-caption small{color:#b9bcc6;max-width:34ch}.reveal-caption .hint{color:#8a8f9d;margin-top:6px;font-size:.8rem}@keyframes reveal-fade{0%{opacity:0}}@keyframes reveal-draw{0%{transform:translate(-50%, 0) scale(var(--deck-ratio))}22%{transform:translate(-50%, -18%) scale(calc(var(--deck-ratio) + .04)) rotate(-4deg)}to{transform:translate(-50%, calc(var(--deck-w) * 1.45 + 16px)) scale(1) rotate(0)}}@keyframes reveal-flip{to{transform:rotateY(0)}}@keyframes reveal-deck-away{to{opacity:0;transform:translateY(-12px)}}@media (height<=520px) and (orientation:landscape){.reveal-stage{--deck-ratio:.3;--card-w:min(250px, calc((94dvh - 16px) / 1.885));--col:28%;width:min(640px,100%);height:94dvh}.reveal-caption{text-align:left;align-items:flex-start;inset:50% 0 auto 52%;transform:translateY(-50%)}}@media (prefers-reduced-motion:reduce){.reveal-card,.reveal-flip,.reveal-deck,.reveal-caption{animation-duration:10ms;animation-delay:0s}}.slide-catcher{z-index:60;position:fixed;inset:0}.slide-window{aspect-ratio:200/290;border-radius:8px;position:fixed;overflow:hidden}.slide-card{will-change:transform;background:#0c0c0e;border-radius:8px;place-items:center;width:100%;height:100%;display:grid;overflow:hidden;box-shadow:0 10px 28px #0009}.slide-card img{object-fit:cover;width:100%;height:100%;display:block}.slide-name{font-family:"New Rocker", var(--font-display);color:#efe6d2;text-align:center;padding:8px}.noise-sensitivity input[type=range]{width:100%}.noise-scale{color:var(--muted);justify-content:space-between;font-size:.8rem;display:flex}.icon{vertical-align:-.35em;flex:none;place-items:center;width:1.4em;height:1.4em;display:inline-grid;position:relative}.tile-cover .icon{width:2.2em;height:2.2em}.icon img{object-fit:contain;pointer-events:none;width:100%;height:100%}.icon.is-off img{opacity:.75}.icon.is-off:after{content:"";background:var(--danger);border-radius:2px;width:118%;height:3px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-45deg);box-shadow:0 0 0 1.5px #0000008c}.self-controls .icon{width:24px;height:24px}.media-toggles button{place-items:center;display:grid}.media-toggles .icon{width:32px;height:32px}.self-controls button.is-off .icon.is-off:after,.media-toggles button.is-off .icon.is-off:after{background:#fff}.camera-off-notice .icon{vertical-align:middle;width:1.5em;height:1.5em}.mic-test{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.mic-test .icon{width:22px;height:22px}.icon.bot-mark{vertical-align:-.2em;width:1.15em;height:1.15em;margin-left:.3em}.icon.is-card{width:1.45em;height:2.1em}.icon.is-card img{border-radius:2px;box-shadow:0 1px 3px #00000080}.hero h1.brand,.hero .brand-tagline{font-family:"New Rocker", var(--font-display);text-transform:none;font-weight:400}.hero h1.brand{letter-spacing:.06em;font-size:clamp(3.4rem,14vw,5rem);line-height:1}.hero .brand-tagline{letter-spacing:.08em;margin-top:4px;font-size:clamp(1.1rem,4.2vw,1.4rem)}.game-alert .icon{vertical-align:-.25em;width:1.3em;height:1.3em;margin-right:.35em}.chat-log .tone-avviso span{color:var(--text);font-weight:600}.chat-log .tone-avviso .icon{vertical-align:-.25em;width:1.25em;height:1.25em;margin-right:.3em}.role-mark{vertical-align:-.35em;object-fit:cover;border-radius:2px;width:.95em;height:1.38em;margin-right:.25em;display:inline-block;box-shadow:0 1px 3px #00000073}.role-mark.is-missing,.icon.is-missing{display:none}.hero-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:10px;display:flex}.hero-actions .btn{width:auto;min-width:190px;text-decoration:none}.card-fan{--w:clamp(62px, 17vw, 96px);height:calc(var(--w) * 1.7);width:100%;margin:0 auto 4px;position:relative}.card-fan img{width:var(--w);aspect-ratio:200/290;transform-origin:50% 180%;transform:translateX(-50%) translateX(calc(var(--i) * var(--w) * .5)) rotate(calc(var(--i) * 10deg));border-radius:6px;transition:transform .25s;position:absolute;bottom:0;left:50%;box-shadow:0 8px 22px #0009}.card-fan img:hover{transform:translateX(-50%) translateX(calc(var(--i) * var(--w) * .5)) rotate(calc(var(--i) * 10deg)) translateY(-12px)}.card-fan:before{content:"";width:calc(var(--w) * 3.2);aspect-ratio:1;pointer-events:none;background:radial-gradient(circle,#efe6d21f,#0000 65%);border-radius:50%;position:absolute;bottom:10%;left:50%;transform:translate(-50%)}.home-section{flex-direction:column;align-items:center;gap:16px;margin-top:24px;display:flex}.home-section .btn{text-decoration:none}.section-title{width:100%;font-family:var(--font-display);letter-spacing:.22em;text-transform:uppercase;color:var(--text);text-align:center;align-items:center;gap:14px;margin:0;font-size:1rem;font-weight:600;display:flex}.section-title:before,.section-title:after{content:"";background:linear-gradient(to var(--dir,right), transparent, var(--border-strong));flex:1;height:1px}.section-title:after{--dir:left}.steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin:0;padding:0;list-style:none;display:grid}.steps li{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;align-items:center;gap:6px;padding:18px 14px;display:flex}.icon.step-icon{width:46px;height:46px}.steps strong{font-family:var(--font-display);letter-spacing:.04em;font-size:1.1rem}.steps p{color:var(--muted);margin:0;font-size:.95rem}@media (width<=480px){.steps{grid-template-columns:minmax(0,1fr)}}.role-strip{scroll-snap-type:x mandatory;scrollbar-width:thin;gap:12px;width:100%;margin:0;padding:4px 2px 12px;list-style:none;display:flex;overflow-x:auto}.role-strip li{scroll-snap-align:start;flex:none}.role-strip a{width:92px;color:var(--muted);text-align:center;flex-direction:column;align-items:center;gap:6px;font-size:.9rem;text-decoration:none;display:flex}.role-strip img{aspect-ratio:200/290;border-radius:6px;width:92px;transition:transform .2s;box-shadow:0 6px 16px #00000080}.role-strip a:hover img{transform:translateY(-4px)}.role-strip a:hover{color:var(--text)}.site-footer{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:center;gap:8px 20px;margin-top:32px;padding-top:18px;font-size:.92rem;display:flex}.site-footer a{color:var(--muted);text-decoration:none}.site-footer a:hover{color:var(--text)}.page.guide{max-width:720px}.guide-head{text-align:center;flex-direction:column;align-items:center;gap:8px;padding-top:16px;display:flex}.guide-back{color:var(--muted);align-self:flex-start;font-size:.92rem;text-decoration:none}.guide-back:hover{color:var(--text)}.guide-head h1{font-family:var(--font-display);letter-spacing:.06em;margin:8px 0 0;font-size:clamp(2rem,7vw,2.6rem);font-weight:600}.guide-head p,.guide-intro{max-width:52ch;color:var(--muted);text-align:center;margin:0}.guide-text{width:100%;font-size:1.08rem;line-height:1.6}.guide-text p{margin:0 0 10px}.guide-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px;display:flex}.guide-actions .btn{text-decoration:none}.role-list{flex-direction:column;gap:12px;width:100%;display:flex}.role-entry{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);align-items:flex-start;gap:16px;padding:14px;scroll-margin-top:24px;display:flex}.role-entry img{aspect-ratio:200/290;border-radius:6px;flex:none;width:clamp(88px,22vw,120px);box-shadow:0 6px 16px #00000080}.role-entry h3{font-family:var(--font-display);letter-spacing:.04em;margin:2px 0 6px;font-size:1.35rem}.role-entry p{margin:0 0 6px;line-height:1.5}.role-entry .role-goal{color:var(--muted);font-size:.95rem}.icon.step-icon.is-card{width:32px;height:46px}a.btn:not(.btn-primary){color:var(--text)}
