/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.start{inset-inline-start:var(--spacing)}.table{display:table}}:root{--ink:#1f2430;--muted:#777a85;--paper:#f7f3eb;--card:#fffdf8;--purple:#6855d9;--purple-dark:#4d3eba;--orange:#ef8057;--line:#e7e0d5;--shadow:0 18px 60px #372f201a}*{box-sizing:border-box}html{background:var(--paper)}body{color:var(--ink);background:var(--paper);margin:0;font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif}button,input,select{font:inherit}button{color:inherit}.app-shell{background:radial-gradient(circle at 0 0,#ffffffe6,#0000 28rem),linear-gradient(#faf7f1 0%,#f4efe7 100%);min-height:100dvh;overflow-x:hidden}.topbar{justify-content:space-between;align-items:center;max-width:520px;height:68px;margin:0 auto;padding:0 20px;display:flex}.brand,.admin-button{cursor:pointer;background:0 0;border:0;align-items:center;display:inline-flex}.brand{letter-spacing:-.02em;gap:10px;padding:8px 0;font-size:16px;font-weight:800}.brand-mark{background:var(--ink);border-radius:50%;place-items:center;width:29px;height:29px;display:grid;position:relative;box-shadow:inset -5px -3px #3b4150}.brand-mark:before{content:"";background:#f8d46c;border-radius:50%;width:13px;height:13px;box-shadow:0 0 16px #f8d46ca6}.brand-mark span{background:#fff;border-radius:50%;width:4px;height:4px;position:absolute;top:6px;right:5px}.admin-button{color:#6f6e78;border:1px solid var(--line);background:#ffffff8c;border-radius:999px;gap:5px;padding:9px 12px;font-size:13px;font-weight:700}.content{width:min(100%,520px);margin:0 auto;padding:18px 20px 44px}.hero-copy{padding:23px 2px 30px}.eyebrow{color:var(--purple);letter-spacing:.18em;text-transform:uppercase;font-size:11px;font-weight:900}.hero-copy h1,.center-view>h1{letter-spacing:-.055em;margin:12px 0 14px;font-family:Georgia,Songti SC,serif;font-size:clamp(43px,12vw,58px);font-weight:700;line-height:1.04}h1 em{color:var(--purple);font-style:normal}.hero-copy p,.center-view>p{color:var(--muted);margin:0;font-size:14px;line-height:1.75}.setup-card{background:#fffdf8e6;border:1px solid #e0d7cae6;border-radius:24px;margin-bottom:14px;padding:20px;box-shadow:0 4px 22px #3a2f1e0a}.section-heading,.heading-group{align-items:center;gap:12px;display:flex}.section-heading{margin-bottom:17px}.section-heading h2{letter-spacing:-.02em;margin:0 0 3px;font-size:16px}.section-heading p{color:var(--muted);margin:0;font-size:11px}.step-number{width:32px;height:32px;color:var(--purple);background:#eeeafc;border-radius:11px;flex:none;place-items:center;font-size:10px;font-weight:900;display:grid}.game-picker{grid-template-columns:1fr 1fr;gap:10px;display:grid}.game-picker button{border:1.5px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:18px;flex-direction:column;align-items:flex-start;gap:11px;min-width:0;min-height:132px;padding:15px;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex;position:relative}.game-picker button:active{transform:scale(.98)}.game-picker button.selected{border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple), 0 9px 22px #6855d91a}.game-icon{border-radius:12px;place-items:center;width:36px;height:36px;font-family:Georgia,serif;font-size:22px;font-weight:800;display:grid}.undercover-icon{color:var(--purple);background:#eeeafd}.wolf-icon{color:var(--orange);background:#fff0e8}.game-picker strong,.game-picker small{white-space:nowrap;display:block}.game-picker strong{margin-bottom:5px;font-size:14px}.game-picker small{color:var(--muted);font-size:9px}.game-picker i{border:1px solid var(--line);border-radius:50%;width:16px;height:16px;position:absolute;top:11px;right:11px}.game-picker .selected i{border:5px solid var(--purple)}.row-heading{justify-content:space-between}.counter{background:#f2eee7;border-radius:14px;align-items:center;gap:7px;padding:4px;display:flex}.counter button{width:30px;height:30px;color:var(--purple);cursor:pointer;background:#fff;border:0;border-radius:10px;font-size:20px;font-weight:700;box-shadow:0 2px 7px #281e0f12}.counter button:disabled{opacity:.3}.counter strong{text-align:center;min-width:32px;font-size:17px}.counter small{color:var(--muted);margin-left:2px;font-size:9px}.roster-picker{background:#f8f5ef;border:1px solid #e9e2d8;border-radius:18px;margin:0 -4px 17px;padding:13px}.roster-toolbar{justify-content:space-between;align-items:center;gap:10px;display:flex}.roster-tabs{background:#ece7df;border-radius:12px;gap:3px;padding:3px;display:flex}.roster-tabs button{color:#77727a;cursor:pointer;background:0 0;border:0;border-radius:9px;min-height:32px;padding:0 11px;font-size:11px;font-weight:800}.roster-tabs button span{color:#9a9498;margin-left:3px;font-size:8px}.roster-tabs button.active{color:var(--purple);background:#fff;box-shadow:0 3px 10px #2d241914}.roster-tabs button.active span{color:var(--purple)}.clear-players{color:#a16a66;cursor:pointer;background:0 0;border:0;padding:8px;font-size:10px;font-weight:800}.roster-tip{color:#88828a;margin:11px 2px 9px;font-size:9px}.roster-grid{scrollbar-width:thin;scrollbar-color:#d8d0c5 transparent;grid-template-columns:1fr 1fr;gap:7px;max-height:326px;padding-right:2px;display:grid;overflow-y:auto}.roster-grid>button{text-align:left;cursor:pointer;background:#fffdf9;border:1px solid #e5ded4;border-radius:13px;grid-template-rows:1fr 1fr;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;column-gap:8px;min-width:0;min-height:47px;padding:7px 8px;transition:border-color .16s,background .16s,transform .16s;display:grid}.roster-grid>button:active{transform:scale(.98)}.roster-grid>button.selected{border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:#f0edff}.roster-avatar{width:30px;height:30px;color:var(--purple);background:#eae5fa;border-radius:10px;grid-row:1/3;place-items:center;font-size:11px;font-weight:900;display:grid}.roster-grid .adult .roster-avatar{color:#c76848;background:#ffede5}.roster-name{text-overflow:ellipsis;white-space:nowrap;align-self:end;font-size:11px;font-weight:800;overflow:hidden}.roster-grid>button small{color:#99939a;align-self:start;font-size:8px}.roster-grid>button i{color:#aaa3a6;background:#f1ede7;border-radius:50%;grid-area:1/3/3;place-items:center;width:20px;height:20px;font-size:12px;font-style:normal;font-weight:900;display:grid}.roster-grid>button.selected i{background:var(--purple);color:#fff}.selected-list-title{justify-content:space-between;align-items:center;margin:2px 2px 9px;display:flex}.selected-list-title span{font-size:11px;font-weight:900}.selected-list-title small{color:var(--muted);font-size:9px}.player-list{gap:8px;margin-bottom:10px;display:grid}.player-row,.admin-player{background:#f8f5ef;border-radius:14px;align-items:center;gap:11px;padding:9px;display:flex}.avatar{color:#fff;border-radius:13px;flex:none;place-items:center;width:38px;height:38px;font-size:14px;font-weight:900;display:grid;box-shadow:inset 0 -4px 8px #0000000f}.avatar-0{background:#7564dd}.avatar-1{background:#ed895f}.avatar-2{background:#55a18d}.avatar-3{background:#ca79a7}.player-row div,.admin-player div{flex:1;min-width:0}.player-row strong,.player-row small,.admin-player strong,.admin-player small{display:block}.player-row strong,.admin-player strong{font-size:13px}.player-row small,.admin-player small{color:var(--muted);margin-top:3px;font-size:9px}.player-row>button{color:#aaa4a0;cursor:pointer;background:0 0;border:0;padding:5px 8px;font-size:20px}.add-player{color:#6f6976;cursor:pointer;background:0 0;border:1.5px dashed #d9d0c3;border-radius:14px;width:100%;padding:13px;font-size:12px;font-weight:700}.add-player span{color:var(--purple);margin-right:5px}.add-form{grid-template-columns:1fr 1.25fr;gap:9px;padding-top:3px;display:grid}.add-form label,.admin-login label{color:#65616b;gap:6px;font-size:10px;font-weight:800;display:grid}.add-form input,.admin-login input,.birthday-form input{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:12px;outline:none}.add-form input{min-width:0;padding:11px;font-size:12px}.add-form input:focus,.admin-login input:focus,.birthday-form input:focus{border-color:var(--purple);box-shadow:0 0 0 3px #6855d91a}.add-form button{background:var(--ink);color:#fff;cursor:pointer;border:0;border-radius:12px;grid-column:1/-1;padding:12px;font-size:11px;font-weight:800}.form-message{color:#c55247;text-align:center;margin:9px 0 0;font-size:11px}.primary-button{background:var(--purple);color:#fff;cursor:pointer;border:0;border-radius:18px;justify-content:space-between;align-items:center;width:100%;min-height:54px;padding:0 20px;font-size:14px;font-weight:800;transition:transform .18s,background .18s;display:flex;box-shadow:0 12px 27px #6855d93d}.primary-button:active{background:var(--purple-dark);transform:scale(.985)}.primary-button:disabled{color:#aaa6a0;box-shadow:none;cursor:not-allowed;background:#e4dfd6}.start-button{margin-top:20px}.privacy-note{text-align:center;color:#99928a;margin:14px 0 0;font-size:10px}.privacy-note span{color:#63a08d}.phase-handoff,.phase-login,.phase-revealed,.phase-ready{background:radial-gradient(circle at 50% 28%,#fff 0,#f7f3eb 52%,#eee7dc 100%)}.phase-revealed{background:radial-gradient(circle at 50% 30%,#4c4377 0,#24223b 42%,#171827 100%)}.phase-revealed .topbar{color:#fff}.phase-revealed .brand-mark{background:#fff}.phase-revealed .brand-mark:before{background:var(--purple)}.phase-revealed .admin-button{color:#d5d0ef;background:#ffffff0f;border-color:#ffffff26}.center-view{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100dvh - 130px);padding:20px 4px 36px;display:flex}.center-view>h1{margin-bottom:17px;font-size:clamp(48px,15vw,68px)}.center-view .primary-button{max-width:390px;margin-top:34px}.progress-label{color:#98929a;font-size:11px;font-weight:800;position:absolute;top:89px;right:max(24px,50vw - 240px)}.progress-label span{color:var(--purple);font-size:16px}.handoff-orbit{border:1px dashed #c9c1df;border-radius:50%;place-items:center;width:170px;height:170px;margin:5px 0 26px;animation:4s ease-in-out infinite float;display:grid;position:relative}.handoff-orbit:before,.handoff-orbit:after{content:"";background:#ed895f;border-radius:50%;position:absolute}.handoff-orbit:before{width:8px;height:8px;top:31px;left:12px}.handoff-orbit:after{background:var(--purple);width:5px;height:5px;bottom:47px;right:2px}.handoff-orbit .avatar{border-radius:38px;width:112px;height:112px;font-size:39px;box-shadow:0 20px 48px #4b398238,inset 0 -12px 20px #00000014}@keyframes float{50%{transform:translateY(-7px)}}.dot-progress{gap:7px;margin-top:30px;display:flex}.dot-progress i{background:#d7d1c7;border-radius:8px;width:6px;height:6px}.dot-progress i.done{background:#a49ad8}.dot-progress i.active{background:var(--purple);width:20px}.back-button{border:1px solid var(--line);cursor:pointer;background:#ffffffb3;border-radius:50%;width:40px;height:40px;position:absolute;top:85px;left:max(20px,50vw - 240px)}.large-avatar{border-radius:25px;width:74px;height:74px;margin-bottom:25px;font-size:26px}.login-view>h1{font-size:43px}.birthday-form{text-align:left;width:100%;max-width:390px;margin-top:30px}.birthday-form label{color:#6e6971;margin:0 0 8px 4px;font-size:11px;font-weight:800;display:block}.birthday-form input{letter-spacing:.14em;text-align:center;padding:17px;font-size:22px;font-weight:800}.birthday-form .primary-button{margin-top:13px}.reveal-view{color:#fff;position:relative}.secret-stamp{color:#bfb8e7;letter-spacing:.15em;border:1px solid #ffffff30;border-radius:999px;padding:6px 11px;font-size:9px;font-weight:900;position:absolute;top:24px}.reveal-view .eyebrow{color:#aaa0e8}.role-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(150deg,#ffffff1c,#ffffff09);border:1px solid #ffffff21;border-radius:28px;width:100%;max-width:390px;margin-top:16px;padding:39px 25px 28px;box-shadow:0 28px 70px #00000040}.role-card h1{letter-spacing:.05em;margin:7px 0 19px;font-family:Georgia,Songti SC,serif;font-size:56px}.role-kicker{color:#c6c0e2;letter-spacing:.14em;font-size:11px;font-weight:800}.role-divider{background:#7f74b8;width:35px;height:1px;margin:0 auto 18px}.role-card strong{color:#8fe0c5;font-size:15px}.role-card strong.danger-role{color:#ff9f7d}.role-card p{color:#c5c0d1;max-width:270px;min-height:43px;margin:10px auto 0;font-size:11px;line-height:1.7}.role-symbol{background:#7867d9;border-radius:22px;place-items:center;width:64px;height:64px;margin:-8px auto 22px;font-size:30px;display:grid;box-shadow:0 12px 25px #00000040}.reveal-view.werewolf .role-card h1{letter-spacing:.02em;font-size:52px}.hide-button{color:#29263e;background:#fff;box-shadow:0 12px 30px #00000040}.hide-button:active{background:#eeeaf8}.ready-mark{width:90px;height:90px;color:var(--purple);background:#e9e4fb;border:1px dashed #a9a1d2;border-radius:50%;place-items:center;margin-bottom:28px;font-size:35px;display:grid;box-shadow:inset 0 0 0 12px #f4f1ff}.ready-view>h1{font-size:54px}.ready-summary{border:1px solid var(--line);text-align:left;background:#fff9;border-radius:16px;align-items:center;gap:13px;width:100%;max-width:390px;margin:30px 0 0;padding:13px 15px;display:flex}.ready-summary>span{color:#fff;background:var(--purple);border-radius:12px;place-items:center;width:38px;height:38px;font-size:19px;font-weight:800;display:grid}.ready-summary small,.ready-summary strong{display:block}.ready-summary small{color:var(--muted);font-size:9px}.ready-summary strong{margin-top:3px;font-size:12px}.ready-view .primary-button{margin-top:14px}.text-button{color:var(--purple);cursor:pointer;background:0 0;border:0;padding:14px;font-size:11px;font-weight:800}.modal-backdrop{z-index:10;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#15141d7a;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.admin-sheet{width:min(100%,520px);max-height:91dvh;padding:8px 20px max(28px, env(safe-area-inset-bottom));background:#fbf8f2;border-radius:28px 28px 0 0;animation:.25s ease-out sheetUp;overflow-y:auto;box-shadow:0 -30px 80px #0003}@keyframes sheetUp{0%{opacity:0;transform:translateY(30px)}}.sheet-handle{background:#d8d1c8;border-radius:5px;width:38px;height:4px;margin:2px auto 17px}.sheet-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:0 2px 17px;display:flex}.sheet-header h2{letter-spacing:-.04em;margin:4px 0 0;font-size:23px}.sheet-header button{color:#716c70;cursor:pointer;background:#eee9e1;border:0;border-radius:50%;width:38px;height:38px;font-size:22px}.admin-login{padding:27px 2px 2px}.admin-login>p{text-align:center;color:var(--muted);margin:10px 0 24px;font-size:12px}.lock-mark{width:58px;height:58px;color:var(--purple);background:#e9e4fb;border-radius:20px;place-items:center;margin:0 auto;font-size:25px;display:grid}.admin-login label{margin-bottom:12px}.admin-login input{padding:14px}.admin-login .primary-button{margin-top:20px}.admin-panel{padding-top:18px}.admin-status{background:#e8f4ee;border-radius:15px;align-items:center;gap:12px;padding:13px;display:flex}.admin-status>span{color:#fff;background:#5d9b82;border-radius:12px;place-items:center;width:36px;height:36px;display:grid}.admin-status strong,.admin-status small{display:block}.admin-status strong{font-size:12px}.admin-status small{color:#648173;margin-top:3px;font-size:9px}.admin-section-title{justify-content:space-between;align-items:center;margin:23px 1px 10px;display:flex}.admin-section-title h3{margin:0;font-size:14px}.admin-section-title span{color:var(--muted);font-size:10px}.admin-player-list{gap:7px;display:grid}.admin-player{background:#f2eee7}.admin-player select{background:#fff;border:1px solid #ddd5cb;border-radius:10px;max-width:92px;padding:8px 7px;font-size:11px;font-weight:800}.waiting-role{color:var(--muted);font-size:10px}.admin-empty{text-align:center;color:var(--muted);padding:25px;font-size:12px}.secondary-button{border:1px solid var(--purple);width:100%;color:var(--purple);cursor:pointer;background:0 0;border-radius:13px;margin-top:15px;padding:13px;font-size:11px;font-weight:800}.admin-panel>.text-button{margin:7px auto 0;display:block}.danger-text{color:#c75d54}@media (min-width:700px){.content{padding-top:30px}.setup-card{padding:24px}.hero-copy{text-align:center;padding-top:35px}.hero-copy p{max-width:390px;margin:0 auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
