@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/outfit-latin-ext-wght-normal-DdQaqQDo.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/outfit-latin-wght-normal-Bc-8i84L.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #f6f5f0;--surface: #ffffff;--surface-mint: #e9f1e8;--surface-mint-strong: #d8ecdb;--ink: #17232b;--ink-2: #45524f;--ink-3: #5f6c68;--line: #e1e4dc;--line-strong: #c8d0cc;--brand: #182b30;--brand-hover: #264a45;--accent: #237657;--accent-bright: #3aa877;--accent-soft: #e5f3e9;--accent-line: #aacbb4;--spy: #1d2b33;--spy-ink: #f9f5e9;--spy-accent: #a0e2c0;--warm: #a9502c;--warm-soft: #fdeee6;--danger: #9c3b2b;--danger-soft: #fff0ec;--danger-line: #edc3b5;--focus: #3aa877;--font-body: "DM Sans Variable", system-ui, -apple-system, sans-serif;--font-display: "Outfit Variable", "DM Sans Variable", sans-serif;--r-sm: 10px;--r-md: 14px;--r-lg: 20px;--r-xl: 26px;--gutter: 16px;--s1: 4px;--s2: 8px;--s3: 12px;--s4: 16px;--s5: 24px;--s6: 32px;--control: 52px;--bar: 56px;--shadow-soft: 0 10px 28px rgba(21, 49, 40, .08);--shadow-lift: 0 14px 34px rgba(15, 39, 40, .16);--ease-out: cubic-bezier(.16, 1, .3, 1);font-family:var(--font-body);color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;accent-color:var(--accent)}@media(min-width:600px){:root{--gutter: 24px}}@media(max-height:700px){:root{--s5: 18px;--s6: 24px;--control: 48px;--bar: 52px}}@media(max-height:600px){:root{--s4: 12px;--s5: 14px;--control: 46px}}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;min-width:0;background:var(--bg);overscroll-behavior-y:none}button,input,select{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--font-display);letter-spacing:-.035em;text-wrap:balance;font-weight:700}ol,ul{margin:0;padding:0;list-style:none}::selection{background:var(--surface-mint-strong);color:var(--ink)}input{caret-color:var(--accent)}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}*{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.shell{width:min(1160px,100% - var(--gutter) * 2);margin-inline:auto}.button{border:0;border-radius:var(--r-md);display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:var(--control);padding:0 20px;font-weight:800;font-size:15px;line-height:1.2;text-align:center;transition:transform .2s var(--ease-out),background-color .2s,box-shadow .2s,opacity .2s}.button:not(:disabled):active{transform:scale(.98)}.button:disabled{opacity:.45}.button-primary{background:var(--brand);color:#fff;box-shadow:0 8px 20px #0f272824}.button-primary:disabled{box-shadow:none}.button-outline{border:1px solid var(--line-strong);color:var(--ink);background:transparent}.button-light{background:var(--surface-mint);color:#1e3933}.button-quiet{background:transparent;color:var(--ink-2);border:1px solid var(--line)}.button-danger{background:var(--danger);color:#fff}@media(hover:hover){.button-primary:not(:disabled):hover{background:var(--brand-hover);box-shadow:var(--shadow-lift)}.button-outline:hover,.button-quiet:hover{background:var(--surface)}.button-light:not(:disabled):hover{background:var(--surface-mint-strong)}}.wide{width:100%}.text-button{border:0;background:transparent;color:var(--ink-2);font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px}.text-button:hover{color:var(--accent)}.center{display:flex;justify-content:center;margin-inline:auto}.icon-button{border:0;background:transparent;color:inherit;min-width:44px;min-height:44px;border-radius:var(--r-md);display:grid;place-items:center;flex:none}.icon-button:hover{background:#17232b0f}.lead{color:var(--ink-3);font-size:15px;line-height:1.55;max-width:60ch}.field-label{font-size:13px;font-weight:800;color:var(--ink-2)}.footnote{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--ink-3);font-size:13px;text-align:center;line-height:1.4}.error{display:flex;align-items:center;gap:8px;background:var(--danger-soft);border:1px solid var(--danger-line);color:var(--danger);padding:11px 14px;border-radius:var(--r-sm);font-size:14px;line-height:1.4}.error svg{flex:none}.app{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left)}.appbar{flex:none;height:var(--bar);width:min(1160px,100% - var(--gutter) * 2);margin-inline:auto;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:var(--s2);border-bottom:1px solid var(--line)}.appbar-back{margin-left:-10px;color:var(--ink-2)}.appbar-title{display:flex;flex-direction:column;align-items:center;min-width:0;line-height:1.15}.appbar-title strong{font-family:var(--font-display);font-size:17px;letter-spacing:-.02em}.appbar-title span{font-size:12px;font-weight:700;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.appbar-code{letter-spacing:.12em;font-variant-numeric:tabular-nums}.appbar-action{display:flex;justify-content:flex-end}.app-frame{flex:1;min-height:0;width:min(1160px,100% - var(--gutter) * 2);margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr)}.app-frame-narrow,.app-frame:not(.room-layout){width:min(520px,100% - var(--gutter) * 2)}.screen{display:flex;flex-direction:column;min-height:0;min-width:0;animation:screen-in .28s var(--ease-out)}.screen-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:var(--s4);padding:var(--s5) 2px var(--s4);margin-inline:-2px}.screen-body-center{justify-content:center;text-align:center;align-items:center}.screen-body-card{overflow:visible}.action-bar{flex:none;display:flex;flex-direction:column;gap:10px;padding:var(--s3) 0 calc(var(--s4) + env(safe-area-inset-bottom))}.action-bar:empty{display:none}.screen-head{display:flex;flex-direction:column;gap:var(--s2)}.screen-head.center{align-items:center;text-align:center}.screen-head.row{flex-direction:row;align-items:center;justify-content:space-between;gap:var(--s3)}.screen h1{font-size:clamp(28px,8vw,38px);line-height:1.05}@media(max-height:640px){.screen h1{font-size:27px}.screen .lead{font-size:14px}}.toast{position:fixed;z-index:30;left:50%;top:calc(var(--bar) + env(safe-area-inset-top) + 8px);transform:translate(-50%);width:min(480px,100% - var(--gutter) * 2);box-shadow:var(--shadow-soft);animation:toast-in .3s var(--ease-out)}.landing{min-height:100vh;min-height:100dvh;overflow-x:hidden}.site-header{height:84px;display:flex;align-items:center;justify-content:space-between;gap:var(--s3);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-family:var(--font-display);font-weight:800;font-size:20px;letter-spacing:-.04em}.brand-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#dffbeb;background:#16232a}.brand-question{color:var(--accent-bright)}.header-detail{font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--ink-3)}.how-trigger{display:none}.hero{min-height:560px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:var(--s5)}.hero-copy{padding:56px 0 64px;position:relative;z-index:2}.hero h1{font-size:clamp(46px,6vw,80px);line-height:1.02;margin-bottom:22px;color:var(--ink);max-width:720px}.hero h1 em{font-style:normal;color:#2b9474}.hero-lead{max-width:520px;font-size:17px;line-height:1.65;color:var(--ink-3);margin-bottom:30px}.mode-list{display:flex;flex-direction:column;gap:10px;max-width:560px}.mode-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px 16px;text-align:left;padding:18px 20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);transition:border-color .2s,box-shadow .2s,transform .2s var(--ease-out)}.mode-online{grid-template-columns:auto minmax(0,1fr)}.mode-actions{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.mode-actions .button{padding:0 12px}.mode-local:active{transform:scale(.99)}@media(hover:hover){.mode-local:hover{border-color:#8fbea6;box-shadow:var(--shadow-soft)}}.mode-icon{width:48px;height:48px;border-radius:15px;background:var(--accent-soft);color:#338465;display:grid;place-items:center}.mode-icon.accent{background:#eeeffc;color:#585e9a}.mode-text{display:flex;flex-direction:column;gap:3px;min-width:0}.mode-text strong{font-family:var(--font-display);font-size:19px;letter-spacing:-.03em}.mode-text small{color:var(--ink-3);font-size:14px;line-height:1.45}.mode-arrow{color:var(--ink-2)}.hero-meta{margin-top:16px;font-size:13px;font-weight:700;color:var(--ink-3)}.hero-art{height:470px;position:relative;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #d8dfd8;border-radius:50%}.orbit-one{width:430px;height:430px}.orbit-two{width:330px;height:330px}.art-card{width:275px;height:370px;border-radius:24px;position:absolute}.art-card-back{background:#b7d7c5;transform:rotate(13deg) translate(25px,2px);box-shadow:0 20px 35px #234c3a1f;display:grid;place-items:center;animation:art-back 1s var(--ease-out) both}.art-card-back span{font-family:var(--font-display);font-size:180px;font-weight:700;color:#a0cdb4}.art-card-front{background:#192b31;color:#f6f5ee;transform:rotate(-8deg) translate(-16px,-4px);box-shadow:0 30px 50px #142e3038;padding:24px;border:1px solid #3a5751;display:flex;flex-direction:column;justify-content:space-between;animation:art-front 1s var(--ease-out) both}.art-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.14em;font-weight:800;color:#9dbbb0}.art-fingerprint{align-self:center;color:#9ddbb7}.art-bottom{font-family:var(--font-display);font-weight:800;letter-spacing:.09em;font-size:13px}.art-line{height:5px;width:75%;background:#394c50;border-radius:8px;margin-top:12px}.art-line.short{width:50%;margin-top:7px}.how-section{border-top:1px solid var(--line);padding:48px 0 72px}.how-section>h2{font-size:26px;margin-bottom:28px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:44px;counter-reset:step}.how-grid li,.how-list li{counter-increment:step}.how-grid li:before,.how-list li:before{content:counter(step) ".";font:800 14px var(--font-display);color:var(--accent)}.how-grid h3{font-size:21px;margin:6px 0 8px}.how-grid p{font-size:15px;line-height:1.6;color:var(--ink-3);max-width:34ch}.site-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:var(--s3);padding:24px 0 36px;color:var(--ink-3);font-size:12px;font-weight:700;letter-spacing:.08em}@media(max-width:899px){.landing{height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.site-header{height:var(--bar);flex:none}.brand{font-size:18px;gap:10px}.brand-mark{width:34px;height:34px;border-radius:10px}.header-detail,.how-section,.site-footer{display:none}.how-trigger{display:inline-flex;margin-right:-4px}.hero{flex:1;min-height:0;display:flex;flex-direction:column;gap:0;overflow-y:auto;overscroll-behavior:contain}.hero-copy{flex:1;display:flex;flex-direction:column;padding:clamp(16px,5dvh,56px) 0 var(--s4)}.hero h1{font-size:clamp(36px,10.5vw,60px);margin-bottom:clamp(10px,2dvh,18px)}.hero-lead{font-size:15px;line-height:1.55;margin-bottom:0}.mode-list{margin-top:auto;padding-top:var(--s5);max-width:none}.hero-art{display:none}}@media(max-width:899px)and (max-height:700px){.hero h1{font-size:clamp(32px,9.5vw,44px)}.hero-lead{font-size:14px}.mode-card{padding:14px 16px}.mode-icon{width:42px;height:42px;border-radius:13px}.mode-text small{font-size:13px}.hero-meta{margin-top:10px}}@media(max-width:899px)and (max-height:600px){.hero-lead,.mode-text small{display:none}}@media(min-width:600px)and (max-width:899px){.hero-copy{width:min(560px,100%);margin-inline:auto;justify-content:center}.mode-list{margin-top:0}}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0a171980;display:grid;align-items:end;justify-items:center;animation:fade-in .2s ease-out}.sheet{width:100%;max-height:min(92dvh,720px);overflow-y:auto;overscroll-behavior:contain;background:#fbfbf7;border-radius:var(--r-xl) var(--r-xl) 0 0;padding:12px var(--gutter) calc(var(--s5) + env(safe-area-inset-bottom));position:relative;box-shadow:0 -10px 40px #0000002e;animation:sheet-up .34s var(--ease-out);outline:none}.sheet-grip{display:block;width:40px;height:4px;border-radius:4px;background:var(--line-strong);margin:0 auto 14px}.sheet-close{position:absolute;right:8px;top:8px;color:var(--ink-3)}.sheet>h2{font-size:28px;margin:4px 48px 8px 0}@media(min-width:600px){.sheet-backdrop{align-items:center;padding:24px}.sheet{width:min(440px,100%);border-radius:var(--r-xl);padding:32px;box-shadow:0 30px 80px #0000003d;animation-name:dialog-in}.sheet-grip{display:none}.sheet-close{right:14px;top:14px}}.modal-lead{color:var(--ink-3);line-height:1.55;font-size:15px;margin-bottom:22px}.input-label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:800;color:var(--ink-2);margin-bottom:14px}.input-label input{width:100%;height:var(--control);padding:0 15px;border:1px solid var(--line-strong);background:var(--surface);border-radius:12px;color:var(--ink);font-size:16px;font-weight:500}.input-label input:focus{border-color:var(--accent);outline:3px solid var(--accent-soft);outline-offset:0}.input-label input::placeholder{color:#8a9590}.code-input{text-transform:uppercase;letter-spacing:.3em;font-weight:800!important;font-family:var(--font-display)}.sheet form .error{margin-bottom:12px}.sheet form .button{margin-top:4px}.how-list{display:flex;flex-direction:column;gap:18px;margin:18px 0 24px;counter-reset:step}.how-list h3{font-size:19px;margin:2px 0 4px}.how-list p{color:var(--ink-3);line-height:1.55;font-size:15px}.segmented{border:0;margin:0;padding:0;min-width:0;display:flex;align-items:center;gap:var(--s3)}.segmented legend{float:left;font-size:14px;font-weight:700;color:var(--ink-2);white-space:nowrap}.segmented>div{flex:1;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:3px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.segmented label{position:relative}.segmented input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;margin:0;cursor:pointer}.segmented span{display:flex;align-items:baseline;justify-content:center;gap:1px;padding-top:11px;min-height:40px;border-radius:9px;font:700 15px var(--font-display);color:var(--ink-2);transition:background-color .2s,color .2s}.segmented span small{font:600 12px var(--font-body)}.segmented input:checked+span{background:var(--brand);color:#fff}.segmented input:focus-visible+span{outline:3px solid var(--focus);outline-offset:1px}.segmented:disabled{opacity:.6}.field-stack{display:flex;flex-direction:column;gap:6px}.name-field{min-height:50px;display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding-left:10px;transition:border-color .2s}.name-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.name-field input{flex:1;min-width:0;border:0;outline:0;height:48px;background:transparent;color:var(--ink);font-size:16px}.name-field input::placeholder{color:#8a9590}.name-field .remove-button{color:var(--ink-3)}.add-player{min-height:48px;display:flex;align-items:center;gap:8px;padding:0 14px;border:1px dashed var(--accent-line);border-radius:12px;background:transparent;color:var(--accent);font-weight:800;font-size:14px}.add-player span{margin-left:auto;color:var(--ink-3);font-weight:600}.add-player:hover{background:var(--accent-soft)}.field-note{font-size:13px;color:var(--ink-3);padding:4px 2px}@media(max-height:700px){.name-field{min-height:44px}.name-field input{height:42px}.add-player{min-height:44px}}.avatar{--hue: calc(144 + var(--avatar-index, 0) * 34);width:36px;height:36px;flex:none;display:grid;place-items:center;background:hsl(var(--hue) 29% 87%);color:hsl(var(--hue) 40% 28%);border-radius:11px;font:800 15px var(--font-display)}.avatar-sm{width:30px;height:30px;border-radius:9px;font-size:13px}.players-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:420px}.players-strip li{display:flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:4px 11px 4px 4px;font-size:14px;font-weight:700;color:var(--ink-2)}.players-strip .avatar-sm{width:26px;height:26px;font-size:12px;border-radius:8px}.host-badge{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);background:var(--accent-soft);border-radius:6px;padding:3px 6px;flex:none}.presence{width:8px;height:8px;border-radius:50%;background:#b8c2be;flex:none}.presence.online{background:var(--accent-bright);box-shadow:0 0 0 3px var(--accent-soft)}.pulse-dot{width:8px;height:8px;border-radius:50%;background:var(--accent-bright);flex:none;animation:pulse 2s ease-in-out infinite}.roster-button{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 6px 0 4px;border:0;background:transparent;border-radius:12px;font:800 14px var(--font-display);color:var(--ink-2);margin-right:-6px}.roster-button:hover{background:#17232b0f}.avatar-stack{display:flex}.avatar-stack .avatar{width:24px;height:24px;font-size:11px;border-radius:8px;box-shadow:0 0 0 2px var(--bg)}.avatar-stack .avatar+.avatar{margin-left:-8px}.appbar:has(.roster-button){grid-template-columns:48px minmax(0,1fr) auto}.appbar:has(.roster-button) .appbar-title{padding-left:32px}.side-heading{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}.side-heading h2{font-size:22px;margin:0}.side-heading span{font-weight:800;font-size:14px;color:var(--ink-3);font-variant-numeric:tabular-nums}.player-list{display:flex;flex-direction:column}.player-row{display:flex;align-items:center;gap:10px;min-height:52px;border-bottom:1px solid var(--line)}.player-row.is-left{opacity:.55}.player-name{flex:1;font-size:15px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-name small{font-weight:500;font-size:13px;color:var(--ink-3)}.side-actions{display:flex;flex-direction:column;padding-top:6px}.side-link{border:0;background:transparent;display:flex;align-items:center;gap:9px;min-height:48px;padding:0;font-size:14px;font-weight:800;color:var(--accent);text-align:left}.side-link-danger{color:var(--danger);border-top:1px solid var(--line)}.leave-confirm{display:flex;flex-direction:column;gap:10px;padding:12px 0 2px;border-top:1px solid var(--line);font-size:14px;color:var(--ink-2);line-height:1.45;animation:screen-in .2s var(--ease-out)}.leave-confirm>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.leave-confirm .button{min-height:46px;font-size:14px}.room-side{display:none}@media(min-width:900px){.room-layout{grid-template-columns:minmax(0,600px) 320px;justify-content:center;gap:48px}.room-side{display:block;align-self:start;margin-top:var(--s5);max-height:calc(100% - var(--s5) * 2);overflow-y:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px 22px 12px}.roster-button{display:none}.appbar:has(.roster-button) .appbar-title{padding-left:0}.appbar:has(.roster-button){grid-template-columns:48px minmax(0,1fr) 48px}}.code-block{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label invite" "code code" "hint hint";align-items:center;gap:0 var(--s3);background:var(--surface-mint);border:1px solid #dbe7db;border-radius:var(--r-xl);padding:var(--s4) var(--s5) var(--s5)}.code-block .field-label{grid-area:label;color:#3f6a58}.room-code{grid-area:code;font:700 clamp(44px,14vw,64px) / 1.05 var(--font-display);letter-spacing:.08em;color:var(--ink);font-variant-numeric:tabular-nums;margin:2px 0 6px;-webkit-user-select:all;user-select:all}.code-hint{grid-area:hint;font-size:14px;line-height:1.45;color:#4f6a5e}.code-block .button{grid-area:invite;min-height:44px;padding:0 14px;background:var(--surface);margin:-6px -8px 0 0}.lobby-seats{display:flex;flex-direction:column;gap:6px}.lobby-seats li{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px 0 9px;background:var(--surface);border:1px solid var(--line);border-radius:12px;font-size:15px;font-weight:700;animation:screen-in .35s var(--ease-out) both}.lobby-seats li>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lobby-seats small{font-weight:500;color:var(--ink-3);font-size:13px}.lobby-seats .seat-empty{background:transparent;border-style:dashed;border-color:var(--line-strong);color:var(--ink-3);font-weight:600}.seat-ghost{width:30px;height:30px;border-radius:9px;border:1.5px dashed var(--line-strong);flex:none}@media(min-width:900px){.lobby-seats{display:none}}.waiting-note{display:flex;justify-content:center;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);min-height:var(--control);padding:10px 16px;border-radius:var(--r-md);color:var(--ink-2);font-size:14px;font-weight:700;text-align:center}.waiting-meta{color:var(--ink-3);font-weight:600;padding-left:10px;border-left:1px solid var(--line)}.play-head{display:flex;flex-direction:column;gap:var(--s3)}.play-head h1{font-size:clamp(26px,7vw,34px)}.play-head .lead{margin-top:6px;font-size:14px}@media(max-height:700px){.play-head .lead{display:none}}.timer{--tone: #1c4b39;--tone-bg: var(--surface-mint);--tone-bar: var(--accent-bright);display:grid;gap:8px;width:100%;background:var(--tone-bg);color:var(--tone);border-radius:var(--r-lg);padding:12px 16px 14px;transition:background-color .4s,color .4s}.timer-readout{display:flex;align-items:center;justify-content:center;gap:8px}.timer-digits{font:700 clamp(40px,12vw,56px) / 1 var(--font-display);letter-spacing:.01em;font-variant-numeric:tabular-nums}.timer-track{height:5px;border-radius:5px;background:#1c4b391f;overflow:hidden}.timer-track span{display:block;height:100%;background:var(--tone-bar);transform-origin:left;transition:transform 1s linear,background-color .4s}.timer-note{text-align:center;font-size:13px;font-weight:800}.timer-urgent{--tone: var(--warm);--tone-bg: var(--warm-soft);--tone-bar: #d9764c}.timer-urgent .timer-digits{animation:tick 1s var(--ease-out)}.timer-ended{--tone: var(--danger);--tone-bg: #fde6df;--tone-bar: var(--danger)}.play-head .timer{grid-template-columns:auto 1fr;align-items:center;gap:14px;padding:10px 16px}.play-head .timer-digits{font-size:30px}.play-head .timer-note{grid-column:1 / -1;text-align:left}.screen-body-center .timer{max-width:340px;padding:18px 22px}.timer-compact{width:auto;flex:none;padding:8px 12px;border-radius:12px}.timer-compact .timer-digits{font-size:24px}.role-cover,.role-card{flex:1 1 auto;min-height:250px;max-height:480px;border-radius:var(--r-xl);padding:var(--s5);display:flex;flex-direction:column;box-shadow:0 16px 40px #15312817}.role-cover{align-items:center;justify-content:center;text-align:center;gap:10px;background:var(--surface-mint);border:1px solid #dbeadd}.cover-symbol{width:clamp(64px,12dvh,100px);aspect-ratio:1;border:1px solid var(--accent-line);border-radius:50%;display:grid;place-items:center;color:#348367;margin-bottom:clamp(4px,1.5dvh,16px);background:radial-gradient(circle,rgba(255,255,255,.6),transparent 70%)}.role-cover h2{font-size:clamp(28px,8vw,36px);line-height:1.08;overflow-wrap:anywhere}.role-cover p{color:#4f6a5e;line-height:1.5;max-width:30ch;font-size:15px}.role-cover .button{margin-top:clamp(4px,1.5dvh,16px);width:min(100%,300px)}.role-card{position:relative;overflow:hidden;justify-content:space-between;gap:var(--s4);animation:card-reveal .6s var(--ease-out);transform-origin:50% 60%}.card-top{display:flex;align-items:center;justify-content:space-between;margin:-8px -10px 0 0}.card-seal{font:800 12px var(--font-display);letter-spacing:.14em;opacity:.8}.card-top .icon-button{background:#ffffff24}.innocent-card .card-top .icon-button{background:#153e3314}.role-icon{width:68px;height:68px;border:1px solid currentColor;border-radius:18px;display:grid;place-items:center;opacity:.85}.role-body{display:flex;flex-direction:column;gap:8px;animation:rise .5s .12s var(--ease-out) both}.role-label{font-size:13px;font-weight:800;opacity:.75}.role-card h2{font-size:clamp(34px,10vw,46px);line-height:1.02;overflow-wrap:anywhere}.role-card p:not(.role-label){line-height:1.5;opacity:.85;font-size:15px;max-width:34ch}.role-card .profession{opacity:1!important;align-self:flex-start;border:1px solid currentColor;border-radius:10px;padding:8px 12px;font-size:15px}.innocent-card{background:var(--surface-mint-strong);color:#153e33}.spy-card{background:var(--spy);color:var(--spy-ink)}.spy-card .role-icon{color:var(--spy-accent)}@media(max-height:640px){.role-icon{width:52px;height:52px;border-radius:14px}.role-icon svg{width:28px;height:28px}}.screen-body-card{gap:var(--s3)}.handoff-steps{display:flex;gap:4px}.handoff-steps span{flex:1;height:4px;border-radius:4px;background:var(--line);transition:background-color .3s}.handoff-steps .done{background:var(--accent-line)}.handoff-steps .current{background:var(--accent)}.vote-options{display:grid;gap:8px;min-width:0}.vote-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vote-choice{width:100%;min-height:56px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);padding:8px 12px 8px 10px;color:var(--ink);transition:border-color .18s,background-color .18s,box-shadow .18s,transform .18s var(--ease-out)}.vote-choice:not(:disabled):active{transform:scale(.98)}@media(hover:hover){.vote-choice:not(:disabled):not(.selected):hover{border-color:#78ae8c}}.vote-choice.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.vote-choice:disabled{opacity:.5;background:transparent}.vote-person{display:flex;flex-direction:column;min-width:0;gap:1px}.vote-person strong{font-size:15px;line-height:1.25;overflow-wrap:anywhere}.vote-person small{font-size:12px;color:var(--ink-3);line-height:1.3}.vote-check{width:22px;height:22px;border:1.5px solid #b8cbbd;border-radius:50%;display:grid;place-items:center;color:#fff;transition:background-color .18s,border-color .18s}.vote-choice.selected .vote-check{background:var(--accent);border-color:var(--accent)}.vote-choice.selected .vote-check svg{animation:pop .3s var(--ease-out)}.vote-options-grid .vote-choice{padding:8px 10px 8px 8px;gap:8px}.vote-options-grid .vote-check{display:none}.vote-options-grid .vote-person strong{font-size:14px}@media(max-height:640px){.vote-choice{min-height:50px}}.vote-progress{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);padding:12px 14px}.vote-progress>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ink-2);font-size:14px;font-weight:700;margin-bottom:9px}.vote-progress strong{color:var(--accent);font:800 16px var(--font-display);white-space:nowrap;font-variant-numeric:tabular-nums}.progress{height:6px;border-radius:6px;background:#e8eee8;overflow:hidden}.progress span{display:block;height:100%;background:var(--accent-bright);border-radius:6px;transform-origin:left;transition:transform .6s var(--ease-out)}.vote-sent{display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;gap:10px;border:1px solid #d7e8d8;border-radius:var(--r-xl);background:var(--accent-soft);padding:32px 24px;color:#2a7654;flex:1;max-height:320px}.vote-sent-mark{width:56px;height:56px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;animation:pop .45s var(--ease-out)}.vote-sent strong{font:700 25px var(--font-display);letter-spacing:-.03em}.vote-sent>span:last-child{max-width:30ch;font-size:14px;line-height:1.5;color:#4f6a5e}.outcome{border-radius:var(--r-xl);padding:var(--s5);display:flex;flex-direction:column;gap:6px;animation:verdict .55s var(--ease-out)}.outcome-found{background:var(--surface-mint-strong);color:#153e33}.outcome-escaped{background:var(--spy);color:var(--spy-ink)}.outcome-neutral{background:var(--surface);border:1px solid var(--line);color:var(--ink)}.outcome-verdict{font-size:clamp(28px,8vw,38px)!important;line-height:1.05;overflow-wrap:anywhere}.outcome-detail{font-size:14px;line-height:1.4;opacity:.85;overflow-wrap:anywhere}.outcome-facts{display:grid;grid-template-columns:1fr 1fr;gap:var(--s3);margin:var(--s3) 0 0;padding-top:var(--s3);border-top:1px solid currentColor;border-top-color:color-mix(in srgb,currentColor 18%,transparent)}.outcome-facts div{min-width:0;animation:rise .5s var(--ease-out) both}.outcome-facts div+div{animation-delay:.1s}.outcome-facts dt{font-size:13px;font-weight:700;opacity:.75}.outcome-facts dd{margin:2px 0 0;font:700 clamp(20px,5.6vw,26px) / 1.15 var(--font-display);letter-spacing:-.03em;overflow-wrap:anywhere}.outcome-escaped .outcome-facts dt{color:var(--spy-accent);opacity:1}.result-board{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:4px 14px;flex:none}.result-board li{display:flex;align-items:center;gap:10px;min-height:50px;padding:6px 0;border-bottom:1px solid var(--line);animation:rise .4s var(--ease-out) both;animation-delay:calc(.18s + var(--i) * .05s)}.result-board li:last-child{border-bottom:0}.rb-person{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}.rb-person strong{font-size:15px;overflow-wrap:anywhere}.rb-person small{font-size:13px;color:var(--accent);font-weight:700;overflow-wrap:anywhere}.result-board .is-spy .rb-person small{color:var(--danger)}.result-board .is-spy .avatar{box-shadow:0 0 0 2px var(--spy)}.rb-tag{font-size:12px;font-weight:800;color:var(--ink-2);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:3px 7px;flex:none}.rb-votes{display:flex;align-items:center;gap:8px;flex:none}.rb-votes b{font:800 15px var(--font-display);min-width:1ch;text-align:right;font-variant-numeric:tabular-nums}.rb-bar{width:56px;height:6px;border-radius:6px;background:#edf1ec;overflow:hidden}.rb-bar span{display:block;height:100%;background:var(--accent-bright);transform-origin:left;animation:grow .7s var(--ease-out) both;animation-delay:calc(.3s + var(--i) * .05s)}.is-spy .rb-bar span{background:var(--spy)}.loading-panel{color:var(--ink-3);gap:var(--s3)}.loader{width:28px;height:28px;border:3px solid #d5e8da;border-top-color:#3c9a71;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}}@keyframes screen-in{0%{opacity:0;transform:translateY(8px)}}@keyframes rise{0%{opacity:0;transform:translateY(10px)}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-8px)}}@keyframes sheet-up{0%{transform:translateY(100%)}}@keyframes dialog-in{0%{opacity:0;transform:translateY(12px) scale(.98)}}@keyframes card-reveal{0%{opacity:0;transform:perspective(1000px) rotateY(-75deg) scale(.94);filter:blur(4px)}45%{opacity:1;filter:blur(0)}to{transform:perspective(1000px) rotateY(0) scale(1)}}@keyframes verdict{0%{opacity:0;transform:scale(.96);clip-path:inset(0 0 40% 0 round 26px)}to{clip-path:inset(0 0 0 0 round 26px)}}@keyframes grow{0%{transform:scaleX(0)}}@keyframes pop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.12);opacity:1}}@keyframes tick{0%{transform:scale(1.06)}}@keyframes pulse{50%{box-shadow:0 0 0 5px var(--accent-soft)}}@keyframes art-front{0%{opacity:0;transform:rotate(-2deg) translate(-16px,24px)}}@keyframes art-back{0%{opacity:0;transform:rotate(4deg) translateY(24px)}}@media(prefers-reduced-motion:reduce){@keyframes screen-in{0%{opacity:0}}@keyframes rise{0%{opacity:0}}@keyframes toast-in{0%{opacity:0}}@keyframes sheet-up{0%{opacity:0}}@keyframes dialog-in{0%{opacity:0}}@keyframes card-reveal{0%{opacity:0}}@keyframes verdict{0%{opacity:0}}@keyframes grow{0%{opacity:0}}@keyframes pop{0%{opacity:0}}@keyframes art-front{0%{opacity:0}}@keyframes art-back{0%{opacity:0}}.timer-urgent .timer-digits,.pulse-dot{animation:none}.timer-track span,.progress span{transition:none}.button:not(:disabled):active,.vote-choice:not(:disabled):active,.mode-local:active{transform:none}}@media(max-width:899px){.room-layout{width:min(600px,100% - var(--gutter) * 2)}}@media(min-width:600px){.screen-body{flex:0 1 auto;padding-top:var(--s6)}.screen-body-card{flex:0 1 auto}.screen-body-card .role-cover,.screen-body-card .role-card{flex:0 0 auto;height:min(440px,52dvh);min-height:300px}.screen-body-center{padding-top:clamp(32px,8dvh,88px)}.action-bar{padding-top:var(--s4)}}.sheet .side-heading{padding-right:44px}
