@charset "UTF-8";
:root{color-scheme:light;--paper:#f7f5ef;--ink:#23231f;--muted:#67675e;--line:#deddd5;--yellow:#f4ca45;--red:#d94e3d;--blue:#285ec9;--radius:20px;font-family:Inter,ui-rounded,"SF Pro Rounded","Segoe UI",system-ui,sans-serif;font-synthesis:none;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{min-height:100%;overscroll-behavior:none}
body{margin:0;min-width:280px;overscroll-behavior:none;overflow-x:hidden}
button,input,select{font:inherit}
button{cursor:pointer;color:inherit;touch-action:manipulation;user-select:none;-webkit-user-select:none}
button:disabled{opacity:.4;cursor:default}
button,input,select{outline-offset:4px}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--blue)}
button{border:0}button:active:not(:disabled){transform:scale(.98)}
input{font-size:16px;min-width:0}input,textarea{user-select:text;-webkit-user-select:text}
.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}
#app{max-width:540px;margin:0 auto;min-height:100svh;padding:calc(18px + env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left));outline:none}
.screen{animation:enter .17s ease-out}.boot{padding-top:20vh;text-align:center}
@keyframes enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes flip{from{transform:rotateY(12deg) scale(.98)}to{transform:rotateY(0) scale(1)}}
h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.045em;line-height:1.08}h1{font-size:36px;font-weight:800}h2{font-size:26px}h3{font-size:20px}p{line-height:1.5}h1:focus{outline:none}
.topbar{display:flex;align-items:center;gap:12px;min-height:48px;margin-bottom:27px}.topbar .label{font-size:14px;font-weight:700;flex:1}.topbar .icon-button:last-child{margin-left:auto}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;border-radius:50%;background:transparent}.icon-button.bordered{border:1px solid var(--line)}
.brand{font-size:30px;font-weight:850;letter-spacing:-1.8px}.brand-dot{color:var(--red)}.home-head{justify-content:space-between;margin-bottom:28px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--muted);margin-bottom:10px}.home-intro{font-size:31px;line-height:1.09;max-width:350px;margin-bottom:24px;letter-spacing:-1.2px}.muted{color:var(--muted)}.small{font-size:13px}.center{text-align:center}.body-copy{color:var(--muted);margin-top:12px;line-height:1.55}.game-list{display:grid;gap:12px}.game-card{position:relative;text-align:left;display:flex;min-height:143px;align-items:center;padding:23px 18px 23px 22px;border-radius:var(--radius);gap:16px;overflow:hidden;transition:transform .1s}.game-card.impostor{background:var(--yellow);color:#272514}.game-card.thought{background:#f3d6cc;color:#692d25}.game-card.timer{background:#dce5f5;color:#213d72}.game-card .game-copy{flex:1}.game-number{font-size:10px;letter-spacing:.12em;font-weight:800;display:block;margin-bottom:10px;opacity:.75}.game-card h2{font-size:25px;letter-spacing:-.055em}.game-card p{font-size:13px;max-width:185px;line-height:1.4;margin-top:7px}.game-symbol{width:60px;height:60px;display:grid;place-items:center}.game-symbol .icon{width:56px;height:56px;stroke-width:1.45}.game-card>.icon{width:20px;position:absolute;top:17px;right:16px}.home-footer{display:flex;justify-content:center;gap:8px;align-items:center;font-size:12px;color:var(--muted);padding-top:23px}.home-footer .icon{width:16px;height:16px}.player-shortcut{display:flex;width:100%;gap:12px;align-items:center;text-align:left;padding:18px 0 0;background:transparent;font-size:14px;font-weight:700}.player-shortcut .icon:last-child{margin-left:auto}.avatars{display:flex;padding-left:0}.avatar{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:#e8e5dc;color:var(--ink);font-size:14px;font-weight:800;flex-shrink:0}.avatars .avatar{margin-left:-7px;border:3px solid var(--paper);width:32px;height:32px;font-size:11px}.avatars .avatar:first-child{margin-left:0}.resume{padding:16px;background:var(--ink);color:var(--paper);border-radius:16px;margin-bottom:20px}.resume p{font-size:13px;opacity:.8;margin:5px 0 13px}.resume .btn{background:var(--paper);color:var(--ink);min-height:42px}
.game-heading{margin:0 0 28px}.game-heading .game-badge{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;margin-bottom:14px;padding:8px 10px;border-radius:8px;background:var(--accent-soft);color:var(--accent-text)}.game-badge .icon{width:17px;height:17px}.impostor-theme{--accent:var(--yellow);--accent-soft:#f9edb9;--accent-text:#5e4808}.thought-theme{--accent:var(--red);--accent-soft:#f3d6cc;--accent-text:#782d24}.timer-theme{--accent:var(--blue);--accent-soft:#dce5f5;--accent-text:#213d72}
.section{margin:26px 0}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:8px}.section-title h2{font-size:18px;letter-spacing:-.03em}.text-button{background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;font-size:13px;font-weight:700;padding:8px;color:var(--muted)}.text-button .icon{width:18px;height:18px}.player-pills{display:flex;flex-wrap:wrap;gap:7px}.pill{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere;padding:9px 13px;border:1px solid var(--line);border-radius:10px;font-size:14px;font-weight:600}.empty-players{padding:20px;border:1px dashed #bcb9ae;border-radius:14px;color:var(--muted);font-size:14px;text-align:center}.empty-players .btn{margin-top:16px}
.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:transparent;font-size:13px;min-height:44px}.chip[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.stepper{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#eceae2;border-radius:14px}.stepper strong{font-size:24px;font-variant-numeric:tabular-nums}.stepper button{background:var(--paper);border-radius:10px}.helper{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.5}.segmented{display:flex;gap:8px}.segmented .chip{flex:1;font-size:18px;font-weight:800}.rule-line{display:flex;align-items:flex-start;gap:12px;margin:12px 0;font-size:14px;line-height:1.5}.rule-line .icon{width:20px;height:20px;margin-top:2px;color:var(--accent-text)}
.btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;padding:14px 20px;border-radius:13px;background:var(--ink);color:#fff;font-weight:750;font-size:16px;line-height:1.3;transition:transform .1s}.btn .icon{width:20px;height:20px}.btn.secondary{background:transparent;color:var(--ink);border:1px solid #cbc8bc}.btn.accent{background:var(--accent,var(--yellow));color:var(--ink)}.thought-theme .btn.accent,.timer-theme .btn.accent{color:#fff}.btn.danger{background:#b5382a;color:#fff}.actions{display:grid;gap:10px;margin-top:27px}.actions .text-button{width:100%}.sticky-action{padding:16px 0 0;position:sticky;bottom:0;background:var(--paper);padding-bottom:env(safe-area-inset-bottom)}
.player-row{display:flex;align-items:center;gap:6px;padding:12px 0;border-bottom:1px solid var(--line)}.player-row input{width:100%;background:transparent;border:1px solid transparent;padding:10px 6px;border-radius:8px;color:var(--ink);font-weight:600}.player-row input:focus{border-color:var(--line)}.player-row .avatar{width:30px;height:30px;font-size:12px}.player-row .reorder{display:flex;flex-direction:column}.reorder .icon-button{height:24px;min-width:30px;border-radius:5px}.reorder .icon{width:16px;height:16px}.player-row>.icon-button{min-width:36px;width:36px}.add-player{display:flex;gap:8px;margin-top:24px}.field{padding:16px 14px;background:#fff;border:1px solid #cfcbbf;border-radius:12px;color:var(--ink);width:100%;min-height:54px}.add-player .btn{width:54px;padding:0;flex-shrink:0}.field::placeholder{color:#807e73}.error{font-size:13px;color:#a2271c;margin-top:10px;min-height:20px}
.progress{display:flex;gap:5px;margin-bottom:28px}.progress span{height:4px;background:var(--line);flex:1;border-radius:3px}.progress .done{background:var(--accent)}.progress .now{background:var(--ink)}.turn-label{font-size:13px;color:var(--muted);margin-bottom:8px}.turn-name{font-size:36px;overflow-wrap:anywhere}.turn-title{margin:25px 0;text-align:center}.handoff-symbol{width:100px;height:100px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-text);border-radius:50%;margin:38px auto 24px}.handoff-symbol .icon{width:46px;height:46px}.privacy-line{display:flex;justify-content:center;gap:7px;align-items:center;font-size:12px;color:var(--muted);margin:20px 0}.privacy-line .icon{width:15px;height:15px}.secret-card{width:100%;background:var(--ink);color:var(--paper);min-height:264px;border-radius:22px;padding:28px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:background .12s;margin:24px 0 14px}.secret-card>.icon{width:48px;height:48px;stroke-width:1.4}.secret-card span{max-width:100%;overflow-wrap:anywhere}.secret-card .secret-instruction{font-size:15px;line-height:1.5;max-width:230px}.secret-card .secret-word{font-size:34px;font-weight:800;line-height:1.13;letter-spacing:-1px}.secret-card .secret-role{font-size:11px;font-weight:800;letter-spacing:.16em}.secret-card.revealed{background:var(--yellow);color:var(--ink);animation:flip .13s ease-out}.secret-card.revealed.spy{background:#eed7ca}.card-help{font-size:12px;text-align:center;color:var(--muted)}.turn-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-bottom:18px}.question{font-size:30px;line-height:1.18;letter-spacing:-.045em;margin:24px 0 30px;overflow-wrap:anywhere}.answer-label{display:block;font-size:13px;font-weight:700;margin-bottom:9px}.answer-form .btn{margin-top:16px}.answer-form .field{font-size:19px}.discussion{padding:36px 0 22px;text-align:center}.discussion h1{font-size:44px;margin:22px 0;overflow-wrap:anywhere}.discussion p{max-width:285px;margin:auto;color:var(--muted)}.discussion .icon{height:66px;width:66px;color:var(--accent-text)}.round-result{background:var(--accent-soft);padding:26px 22px;border-radius:20px;margin:24px 0}.round-result .big-answer{font-size:31px;line-height:1.15;font-weight:800;overflow-wrap:anywhere;margin:8px 0 18px}.round-result .eyebrow{color:var(--accent-text);font-size:10px}.round-result p{font-size:15px}.impostor-names{font-size:23px;font-weight:800;line-height:1.3;margin:10px 0 18px;overflow-wrap:anywhere}
.answer-group{padding:18px 0;border-bottom:1px solid var(--line)}.answer-group:first-child{padding-top:8px}.group-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.group-head h3{font-size:23px;overflow-wrap:anywhere;line-height:1.15}.point-badge{display:block;white-space:nowrap;background:#e1e9d5;color:#334923;border-radius:7px;padding:6px 8px;font-size:12px;font-weight:800}.point-badge.zero{background:#e9e6df;color:var(--muted)}.answer-people{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 0;font-size:13px;color:var(--muted);line-height:1.5}.answer-people span:not(:last-child)::after{content:' ·';margin-left:5px}.answer-originals{font-size:11px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.scoreboard{margin-top:24px}.score-row{display:flex;gap:10px;align-items:center;padding:10px 0}.score-row .name{flex:1;font-weight:600;font-size:14px;overflow-wrap:anywhere}.score-row .score{font-variant-numeric:tabular-nums;font-weight:800;font-size:19px}.score-row .position{color:var(--muted);width:17px;font-size:12px}.winner-banner{background:var(--ink);color:var(--paper);padding:24px;border-radius:20px;margin:24px 0}.winner-banner .icon{color:var(--yellow);height:36px;width:36px;margin-bottom:16px}.winner-banner h2{font-size:30px;overflow-wrap:anywhere}.winner-banner p{font-size:13px;opacity:.8;margin-top:8px}
.target-box{text-align:center;background:var(--accent-soft);border-radius:16px;padding:18px;margin-bottom:26px}.target-box .eyebrow{color:var(--accent-text);font-size:10px;margin-bottom:7px}.target-time{font-size:48px;line-height:1;font-weight:800;letter-spacing:-2px;font-variant-numeric:tabular-nums}.time-unit{font-size:11px;color:var(--muted);margin-top:7px}.timer-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;min-height:260px;border-radius:22px;border:2px solid var(--blue);background:var(--blue);color:#fff;touch-action:manipulation;user-select:none;-webkit-user-select:none}.timer-zone .icon{width:42px;height:42px;stroke-width:1.5}.timer-zone strong{font-size:25px;letter-spacing:-.6px}.timer-zone p{font-size:13px;opacity:.85}.timer-zone.running{background:var(--ink);border-color:var(--ink)}.timer-digits{font-size:54px;line-height:1;font-weight:750;letter-spacing:-2px;font-variant-numeric:tabular-nums;min-height:56px}.timer-digits.hidden{visibility:hidden}.timer-instruction{font-size:14px;font-weight:600}.timer-zone:active{transform:none!important}.timer-table{width:100%;border-collapse:collapse;margin-top:20px;font-size:13px}.timer-table th{text-align:left;padding:12px 5px;color:var(--muted);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.timer-table th:not(:first-child),.timer-table td:not(:first-child){text-align:right}.timer-table td{padding:17px 5px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}.timer-table td:first-child{font-weight:650;max-width:160px;overflow-wrap:anywhere}.timer-table tr.winner td{font-weight:800;color:var(--blue)}.timer-table td:last-child{font-weight:750}.toggle-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:19px 0;border-bottom:1px solid var(--line)}.toggle-copy{max-width:320px}.toggle-copy strong{font-size:15px;font-weight:650}.toggle-copy p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.45}.toggle-row input{accent-color:var(--ink);width:23px;height:23px;flex-shrink:0}.settings-stat{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.settings-stat strong{font-variant-numeric:tabular-nums}.status-line{font-size:13px;display:flex;gap:10px;line-height:1.5;align-items:flex-start;color:var(--muted);padding:18px 0}.status-line .icon{width:20px;height:20px}.settings-version{font-size:11px;color:var(--muted);text-align:center;margin-top:28px}
dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,540px);max-width:100%;max-height:90dvh;overflow:auto;background:var(--paper);color:var(--ink);border:0;border-radius:24px 24px 0 0;padding:28px 24px calc(26px + env(safe-area-inset-bottom));animation:enter .15s ease-out}dialog::backdrop{background:rgb(15 15 12 / .52)}dialog h2{font-size:27px;line-height:1.13}dialog p{font-size:14px;color:var(--muted);margin-top:14px;line-height:1.5}dialog .actions{margin-top:23px}#toast{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:5;width:max-content;max-width:calc(100vw - 36px);background:var(--ink);color:var(--paper);padding:13px 17px;border-radius:12px;font-size:13px;line-height:1.4;pointer-events:none;opacity:0;transition:opacity .15s}#toast.visible{opacity:1}
@media(min-width:600px){body{background:#e9e6dd}#app{background:var(--paper);border-left:1px solid #dedbd1;border-right:1px solid #dedbd1;padding-left:30px;padding-right:30px}dialog{inset:0;margin:auto;border-radius:24px;height:fit-content}}
@media(max-width:359px){#app{padding-left:16px;padding-right:16px}.home-intro{font-size:28px}.game-card{padding:19px 17px;min-height:137px;gap:9px}.game-card h2{font-size:23px}.game-symbol{width:45px}.game-symbol .icon{width:43px}.game-card p{font-size:12px}.turn-name{font-size:32px}.secret-card{min-height:238px}.question{font-size:26px}.player-row{gap:3px}.player-row .avatar{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
