:root{--bg:#fdf6ec;--surface:#fff;--ink:#2b2335;--muted:#8b8196;--line:#e6dccd;--floor-a:#f7ecd9;--floor-b:#f2e4cc;--true:#3fae6a;--false:#e0483e;--unknown:#c9c1d3;--radius:14px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);-webkit-tap-highlight-color:transparent;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}.castsheet{max-width:720px;margin:0 auto;padding:16px}.castsheet__row{border-bottom:1px solid var(--line);align-items:center;gap:16px;padding:12px 0;display:flex}.castsheet__row h2{margin:0 0 4px}.castsheet__row p{color:var(--muted);margin:0 0 8px}.castsheet__swatch{border-radius:6px;width:40px;height:12px;display:inline-block}.castsheet__objects{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;display:grid}.castsheet__objects figure{text-align:center;color:var(--muted);margin:0;font-size:13px}.board{width:min(100%, calc(52vh * var(--board-ratio,1)));touch-action:none;-webkit-user-select:none;user-select:none;max-width:100%;height:auto;max-height:52vh;margin:0 auto;display:block}@supports (height:1svh){.board{width:min(100%, calc(52svh * var(--board-ratio,1)));max-height:52svh}}.board__char{cursor:grab;transition:transform .45s cubic-bezier(.2,.8,.2,1)}.board__char.is-locked{cursor:default}.board.is-dragging .board__char{transition:none}.is-shaking{animation:.35s shake}.board__alibi{pointer-events:none;animation:.4s ease-out .45s both fade-in}@keyframes shake{20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}@media (prefers-reduced-motion:reduce){.board__char{transition:none}.is-shaking,.board__alibi{animation:none}}.play{max-width:480px;padding:12px 16px calc(24px + env(safe-area-inset-bottom));flex-direction:column;gap:12px;margin:0 auto;display:flex}.play__header{align-items:center;gap:8px;display:flex}.play__header h1{white-space:nowrap;text-overflow:ellipsis;flex:1;margin:0;font-size:18px;overflow:hidden}.play__back{background:0 0;border:0;min-width:44px;min-height:44px;padding:4px 8px;font-size:22px}.play__accusations{letter-spacing:2px;font-size:16px}.help-btn{border:2px solid var(--ink);background:var(--surface);border-radius:50%;flex:none;width:44px;height:44px;padding:0;font-size:20px;font-weight:700;line-height:1}.tray-row{flex-direction:column;gap:2px;display:flex}.tray{background:var(--surface);border-radius:var(--radius);min-height:64px;box-shadow:0 1px 0 var(--line);align-items:center;gap:8px;padding:6px;display:flex}.tray__tokens{flex:1;justify-content:center;align-self:stretch;gap:8px;min-width:0;display:flex}.tray__empty{color:var(--true);align-self:center;font-size:22px}.tray__empty.is-muted{color:var(--muted)}.token{background:var(--bg);touch-action:none;-webkit-user-select:none;user-select:none;border:3px solid #0000;border-radius:12px;flex:0 auto;min-width:44px;padding:2px}.token svg{max-width:100%;height:auto;display:block}.token.is-selected{border-color:var(--ink)}.token.is-dragging{opacity:.3}.btn.check-btn{font-variant-numeric:tabular-nums;flex:none;justify-content:center;align-items:center;gap:3px;padding:0 8px;display:inline-flex}.check__hint{min-height:18.2px;color:var(--muted);text-align:right;margin:0;font-size:14px;line-height:1.3}.check-btn svg{color:var(--true)}.check-btn:disabled svg{color:inherit}.cards{flex-direction:column;gap:8px;display:flex}.card{background:var(--surface);border-radius:var(--radius);border:3px solid var(--unknown);align-items:center;gap:4px;padding:4px;display:flex}.card--true{border-color:var(--true)}.card--false{border-color:var(--false)}.card.is-selected{box-shadow:0 0 0 3px var(--ink)}.card.is-cleared{opacity:.5}.card.is-liar{background:#fdeceb}.card__who{background:0 0;border:0;flex:none;padding:0;display:flex}.card__who-wrap{flex:none;display:flex;position:relative}.card__info{width:24px;height:24px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:-11px;right:-12px}.card__info svg{background:var(--surface);border-radius:50%;width:17px;height:17px}.card__info:before{content:"";width:44px;height:44px;position:absolute;top:-15px;left:0}.card__claims{flex-wrap:wrap;flex:1;gap:3px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.claim{border:2px solid var(--unknown);color:var(--ink);border-radius:10px;align-items:center;gap:2px;padding:1px 3px;display:flex}.claim>svg:first-child,.claim__mark svg{width:16px;height:16px}.claim--true{border-color:var(--true)}.claim--false{border-color:var(--false)}.claim__mark{display:inline-flex}.card__accuse{border:2px solid var(--ink);background:var(--surface);border-radius:999px;flex:none;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0 8px;font-size:18px;display:inline-flex}.card__accuse.is-armed{background:var(--false);color:#fff;border-color:var(--false);font-size:14px;font-weight:700}.card__accuse:disabled{opacity:.35;cursor:default}.result{background:var(--surface);border-radius:var(--radius);border:3px solid var(--true);align-items:center;gap:12px;padding:10px 12px;display:flex}.result--failed{border-color:var(--false)}.result__text{flex-direction:column;flex:1;gap:2px;display:flex}.result__score{font-variant-numeric:tabular-nums;font-size:28px;font-weight:800;line-height:1.1}.result__score-label{letter-spacing:1px;text-transform:uppercase;color:var(--muted);font-size:14px;font-weight:700}.result__alibi{color:var(--muted);text-wrap:balance;font-size:14px}.result__back{border:2px solid var(--ink);background:var(--bg);border-radius:999px;min-height:44px;padding:6px 14px}.result--practice{flex-wrap:wrap}.result__actions{flex-basis:100%;justify-content:flex-end;gap:8px;display:flex}.result__next{background:var(--ink);color:#fff}.coach{background:var(--surface);border:2px solid var(--line);border-radius:var(--radius);text-wrap:pretty;align-items:center;min-height:80.75px;margin:0;padding:8px 12px;font-size:15px;line-height:1.35;display:flex;position:relative}.coach:before{content:"";background:var(--surface);border:2px solid var(--line);border-bottom:0;border-right:0;width:12px;height:12px;position:absolute;top:-8px;left:28px;transform:rotate(45deg)}.play--coached .board{width:min(100%, calc(30vh * var(--board-ratio,1)));max-height:30vh}@supports (height:1svh){.play--coached .board{width:min(100%, calc(30svh * var(--board-ratio,1)));max-height:30svh}}.coach__text{animation:.3s ease-out fade-in}@media (prefers-reduced-motion:reduce){.coach__text{animation:none}}.ghost{pointer-events:none;z-index:10;filter:drop-shadow(0 6px 8px #00000040);position:fixed;transform:translate(-50%,-60%)}.cases{max-width:480px;padding:20px 16px calc(24px + env(safe-area-inset-bottom));margin:0 auto}.cases__top{justify-content:space-between;align-items:center;gap:8px;display:flex}.cases h1{letter-spacing:-.5px;margin:0;font-size:32px}.cases__sub{margin:2px 0 0;font-weight:600}.cases__tag{color:var(--muted);margin:4px 0 16px}.cases__errors{border:2px solid var(--false);border-radius:var(--radius);background:#fdeceb;margin-bottom:12px;padding:8px 12px;font-size:13px}.cases__list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.case{background:var(--surface);border-radius:var(--radius);width:100%;box-shadow:0 1px 0 var(--line);text-align:left;border:0;align-items:center;gap:10px;padding:12px;display:flex}.case__num{background:var(--ink);color:#fff;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:grid}.case__title{flex:1;font-weight:600}.case__cast{gap:2px;display:flex}.case__result{text-align:right;width:64px;color:var(--false);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-weight:700}.case__result.is-solved{color:var(--true)}.case__best{color:var(--muted);font-size:11px;font-weight:600;display:block}.practice{align-items:center;gap:12px;margin-bottom:12px;display:flex}.practice__label{letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:0;font-size:13px;font-weight:700}.practice__list{flex:1;gap:8px;margin:0;padding:0;list-style:none;display:flex}.practice__list li{flex:1}.practice__btn{background:var(--surface);border-radius:var(--radius);width:100%;min-height:44px;box-shadow:0 1px 0 var(--line);font-variant-numeric:tabular-nums;border:0;justify-content:center;align-items:center;gap:4px;font-weight:700;display:flex}.practice__solved{color:var(--true)}.btn{border:2px solid var(--ink);background:var(--surface);border-radius:999px;min-width:44px;min-height:44px;padding:0 20px;font-weight:600}.btn--primary{background:var(--ink);color:#fff}.btn:disabled{opacity:.35;cursor:default}.modal-backdrop{z-index:20;background:#2b233573;justify-content:center;align-items:flex-end;animation:.2s ease-out fade-in;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:480px;max-height:92vh;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:var(--surface);border-radius:20px 20px 0 0;outline:none;flex-direction:column;align-items:center;gap:12px;animation:.25s cubic-bezier(.2,.8,.2,1) sheet-up;display:flex;overflow-y:auto}@media (width>=600px) and (height>=600px){.modal-backdrop{align-items:center;padding:16px}.sheet{border-radius:20px}}.sheet h2{margin:0;font-size:22px}.sheet__head{align-self:stretch;align-items:center;gap:12px;display:flex}.sheet__head h2{flex:1}.sheet__portrait{border:3px solid var(--line);background:var(--bg);border-radius:50%;padding:2px;display:flex}.sheet__sense{color:var(--muted);display:inline-flex}.sheet__sense svg{width:26px;height:26px}.sheet__rule{text-wrap:balance;text-align:center;max-width:32ch;margin:0;font-size:17px;line-height:1.4}.sheet__close{align-self:stretch}.vision{max-width:100%;height:auto;display:block}@keyframes fade-in{0%{opacity:0}}@keyframes sheet-up{0%{opacity:0;transform:translateY(24px)}}@media (prefers-reduced-motion:reduce){.modal-backdrop,.sheet{animation:none}}.howto .howto__eyebrow{letter-spacing:1px;text-transform:uppercase;color:var(--muted);font-size:13px;font-weight:700}.howto__panel{flex-direction:column;align-self:stretch;align-items:center;gap:12px;min-height:340px;display:flex}.howto__panel h3{margin:0;font-size:22px}.howto__visual{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.howto__place{max-width:100%;height:auto;display:block}.howto__board .board{width:min(100%, calc(140px * var(--board-ratio,1)));max-height:140px}.howto__cards{flex-direction:column;gap:6px;width:100%;display:flex}.howto__caption{text-wrap:balance;text-align:center;max-width:34ch;margin:0;font-size:17px;line-height:1.4}.howto__verdicts{gap:20px;margin:8px 0;padding:0;list-style:none;display:flex}.howto__verdicts li{flex-direction:column;align-items:center;gap:6px;display:flex}.howto__verdict{background:var(--true);color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.howto__verdict.is-liar{background:var(--false)}.howto__cast{flex-direction:column;align-self:stretch;gap:6px;margin:0;padding:0;list-style:none;display:flex}.howto__person{border-radius:var(--radius);background:var(--bg);text-align:left;border:0;align-items:center;gap:12px;width:100%;min-height:44px;padding:8px 12px;display:flex}.howto__person>svg{flex:none}.howto__person strong{display:block}.howto__rule{color:var(--muted);font-size:14px;line-height:1.35;display:block}.howto__dots{gap:6px;margin:0;padding:0;list-style:none;display:flex}.howto__dots li{background:var(--line);border-radius:50%;width:8px;height:8px}.howto__dots li.is-current{background:var(--ink)}.howto__nav{align-self:stretch;gap:12px;display:flex}.howto__nav .btn{flex:1}.offer__text{color:var(--muted);margin:0;font-size:17px;line-height:1.4}.offer__actions{align-self:stretch;gap:12px;margin-top:4px;display:flex}.offer__actions .btn{flex:1}
