:root{font-family:Arial,Helvetica,sans-serif;color:#292c29;background:#e4e2dc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--paper:#f7f3e9;--ink:#292c29;--muted:#63635b;--line:#d7d2c5;--red:#a63929}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #336a99;outline-offset:3px}button{background:transparent;border:1px solid var(--line);border-radius:12px;min-height:48px;padding:13px 18px;font-size:1rem;line-height:1.25;font-weight:600;white-space:normal;overflow-wrap:anywhere}button:hover{background:#eae5d9}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--ink);border-color:var(--ink);color:var(--paper)}button.primary:hover{background:#41453e}button.danger{background:var(--red);color:#fff;border-color:var(--red)}button.quiet{border-color:transparent;color:var(--muted);font-weight:400}button[aria-pressed=true]{background:#e4cbbf;border-color:var(--red);color:#65291e}input,select{font-size:1rem;border:1px solid #aaa69a;border-radius:10px;background:#fffdf7;min-height:48px;padding:10px 12px;max-width:100%;min-width:0}input[aria-invalid=true]{border-color:var(--red)}p{font-size:1rem;line-height:1.55;margin:12px 0;color:#55574f}h1,h2,h3{overflow-wrap:anywhere}h1{font-size:1.875rem;font-weight:600;line-height:1.18;letter-spacing:-.65px;margin:12px 0 28px}h2{font-size:1.25rem;margin:12px 0}h3{font-size:1rem;font-weight:600;margin:0 0 12px}main>button,form>button,#credentials button.primary{width:100%;margin-top:10px}.app-shell{max-width:440px;min-height:100svh;margin:0 auto;background:var(--paper);display:flex;flex-direction:column;box-shadow:0 0 24px #292c290b}.app-header{display:flex;align-items:center;gap:12px;min-height:68px;padding:10px 24px;border-bottom:1px solid var(--line)}.app-header>span:nth-child(2){color:var(--muted);font-size:.875rem}.wordmark{font-weight:700;font-size:1.125rem;letter-spacing:-.4px}.header-back{border:0;padding:2px;font-size:2rem;min-width:44px}.timer{margin-left:auto;font-size:1rem!important;color:var(--ink)!important;font-variant-numeric:tabular-nums;font-weight:600}main{display:flex;flex-direction:column;flex:1;padding:24px;min-width:0;outline:none}main>h1{margin-top:8px}.eyebrow{font-size:.8125rem;line-height:1.4;color:var(--muted);margin:4px 0 10px;letter-spacing:.2px}.home{display:flex;flex:1;flex-direction:column;padding-top:48px}.brand{font-family:Georgia,serif;font-size:4.75rem;letter-spacing:-5px;line-height:1;margin:12px 0 72px;font-weight:400}.brand span{color:var(--red)}.home-actions{display:grid;gap:10px}.home nav{display:flex;flex-wrap:wrap;justify-content:center;margin-top:auto;padding-top:60px;gap:2px}.home nav button{font-size:.8125rem;border:0;padding:10px}.neutral{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;flex:1;padding:40px 0 64px;min-height:340px}.neutral>.icon{width:52px;height:52px;margin-bottom:32px;color:var(--muted)}.neutral h1{font-size:2.25rem;margin:12px 0 32px}.neutral button{width:100%;max-width:320px}.bottom-actions{display:grid;gap:8px;margin-top:auto;padding-top:24px}.bottom-actions>p{margin:0 0 8px}.lead{font-size:1.25rem;line-height:1.6}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-heading h2{margin:0}.section-heading span{font-size:.8125rem;color:var(--muted)}.roster{display:grid;gap:8px}.roster-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:start}.roster-row label,.roster-row input{width:100%}.roster-row .error{grid-column:1/-1;margin:0}.icon-button{padding:4px;border-color:transparent;font-size:1.5rem;min-height:48px}.error{font-size:.875rem;color:#9c2d20;line-height:1.4}.error:empty{display:none}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;margin-top:8px;border-top:1px solid var(--line)}.facts{display:flex;justify-content:space-between;gap:10px;padding:16px 0;font-size:.8125rem;color:var(--muted)}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);padding-bottom:12px;margin:0 0 20px}.tabs button{flex:1;font-size:.875rem;min-width:0;padding:10px 6px;border-color:transparent;border-radius:8px}.tabs button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.private-content{margin-bottom:8px}.location-name{font-family:Georgia,serif;font-size:1.625rem;margin:0 0 18px}.art-button{display:block;width:100%;padding:0;border:0;overflow:hidden;border-radius:12px;background:#e6dfce;line-height:0}.art-button img{display:block;width:100%;height:auto;aspect-ratio:1.34;object-fit:cover}.role-name{font-size:1.375rem;font-weight:600;padding:24px 0 8px}.spy-card{padding:40px 0 60px;text-align:center}.spy-symbol{display:inline-grid;place-items:center;width:96px;height:96px;border:1px solid var(--ink);border-radius:50%;font:3.5rem Georgia,serif;color:var(--red);margin-bottom:20px}.spy-card h2{font-size:1.75rem}.small-heading{font-size:1rem;color:var(--muted);font-weight:400;margin:0 0 20px}.note-row{padding:16px 0;border-bottom:1px solid var(--line)}.segments{display:flex;gap:5px;align-items:stretch}.segments button{font-size:.75rem;min-width:0;flex:1;padding:10px 4px;min-height:44px;border-radius:8px}.segments button:first-child{flex:.42}.segments button[data-note=suspect]:before{content:"● ";content:"● " / ""}.segments button[data-note=clear]:before{content:"✓ ";content:"✓ " / ""}.segments button[data-note=likely]:before{content:"★ ";content:"★ " / ""}.segments button[data-note=none][aria-pressed=true]{background:#e6e2d6;border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);color:var(--ink)}.segments button[data-note=suspect][aria-pressed=true]{background:var(--red);border-color:var(--red);color:#fff}.segments button[data-note=clear][aria-pressed=true]{background:#d3e5d0;border-color:#3d7a52;color:#1e4a30}.segments button[data-note=likely][aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}.segments button[data-note=excluded][aria-pressed=true]{background:#e4e1d8;border-color:#aaa69a;color:#5a5a52;font-weight:400;text-decoration:line-through}.choice-list{display:grid;gap:8px;margin-bottom:20px}.choice{text-align:left;display:flex;justify-content:space-between;align-items:center;min-height:56px}.choice[aria-pressed=true]:after{content:"✓";margin-left:8px}.credential-label{display:flex;flex-direction:column;gap:10px;margin-bottom:20px;font-size:.9375rem}.credential-label input{font-size:1.5rem;letter-spacing:.4em;text-align:center}.pattern{position:relative;display:grid;grid-template-columns:repeat(3,1fr);aspect-ratio:1;max-width:270px;width:100%;margin:8px auto;touch-action:none;color:var(--red)}.pattern svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.pattern-dot{display:grid;place-items:center;padding:0;border:0;background:transparent!important;min-height:0;z-index:1;border-radius:50%}.pattern-dot span{width:18px;height:18px;border:2px solid var(--ink);border-radius:50%;background:var(--paper)}.pattern-dot[aria-pressed=true] span{background:var(--red);border-color:var(--red)}.pattern-clear{display:block;margin:0 auto 16px;font-size:.8125rem}.toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.toggle input{width:24px;height:24px;min-height:24px;accent-color:var(--red);flex-shrink:0}.rules h2{margin-top:28px}.rules p{margin:10px 0}.rules h2:first-child{margin-top:0}.history-card{padding:20px 0;border-bottom:1px solid var(--line)}.result-place{border:1px solid var(--line);border-radius:12px;padding:20px;margin:16px 0}.result-place span{font-size:.8125rem;color:var(--muted)}.result-place h2{margin:6px 0 18px}.result-place h2:last-child{margin-bottom:0}.revealed>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:14px 0;border-bottom:1px solid var(--line);font-size:.875rem}.revealed span{color:var(--muted)}.confirmation{padding:16px;border:1px solid var(--red);border-radius:12px;margin-top:16px}.confirmation button{width:100%;margin-top:8px}.qa-panel{max-width:440px;margin:20px auto;padding:12px 24px;color:var(--muted);font-size:.8125rem}.qa-panel summary{cursor:pointer;padding:12px 0}.qa-panel p{font-size:.8125rem}.qa-panel button{font-size:.8125rem;margin:6px}.lightbox{position:fixed;inset:0;z-index:10;background:#151714ee;display:grid;place-items:center;padding:28px 12px}.lightbox-close{position:fixed;right:16px;top:16px;z-index:12;border:0;border-radius:50%;background:#f7f3e9;color:#292c29;font-size:2rem;width:48px;height:48px;padding:0}.image-scroll{overflow:auto;max-width:100%;max-height:100%;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;display:grid;place-items:center}.image-scroll img{display:block;max-width:100%;max-height:90svh;object-fit:contain}.lightbox.zoomed .image-scroll{display:block}.lightbox.zoomed img{max-width:none;max-height:none;width:1400px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:440px){:root{background:var(--paper)}main{padding:20px}.app-header{padding:8px 20px}.qa-panel{margin:0 auto;border-top:1px solid var(--line)}.brand{font-size:4.5rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.notice{margin:0 0 1rem;padding:.6rem .9rem;border:1px solid var(--line);border-radius:12px;background:#efeadd;color:var(--ink);font-weight:600}.credential{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:12px}.credential-hint{margin:0;font-size:.9375rem;color:var(--muted);text-align:center}.credential-error{margin:0;min-height:1.4em;text-align:center}.credential .credential-error:empty{display:block}#secret-pattern{align-self:stretch}.pin-dots{display:flex;gap:20px;padding:8px 0}.pin-dots i{width:16px;height:16px;border:2px solid var(--ink);border-radius:50%;transition:background-color .12s}.pin-dots[data-count="1"] i:nth-child(-n+1),.pin-dots[data-count="2"] i:nth-child(-n+2),.pin-dots[data-count="3"] i:nth-child(-n+3),.pin-dots[data-count="4"] i:nth-child(-n+4){background:var(--ink)}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 20px;width:100%;max-width:300px}.keypad .key{min-height:64px;padding:0;border:1px solid var(--line);border-radius:999px;font-size:1.75rem;font-weight:400;font-variant-numeric:tabular-nums;touch-action:manipulation;user-select:none;-webkit-user-select:none}.keypad .key:active{background:var(--line)}.keypad #pin-key-back{border-color:transparent;color:var(--muted);font-size:1.5rem}@media(max-width:360px){.keypad{gap:10px 14px}.keypad .key{min-height:56px}}
