@import "https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap";
:root{color:#15121b;font-synthesis:none;text-rendering:optimizelegibility;--purple:#6933ff;--yellow:#ffd21a;--ink:#15121b;--muted:#665878;--lavender:#e4ccff;--soft:#f5eeff;--green:#55b52c;--orange:#ff5a0a;--shadow:0 4px 0 #2c164f;background:#6933ff;font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:4px;outline:3px solid #2263d6}button:focus-visible{z-index:1;position:relative}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:900}a{color:inherit;text-underline-offset:4px}img{object-fit:contain}small,.small{font-size:12px;line-height:1.65}.muted{color:var(--muted)}.eyebrow{color:var(--muted);font-size:12px;font-weight:600;line-height:1.6}.icon{flex:0 0 28px;width:28px;height:28px}.button{color:var(--ink);border:3px solid var(--ink);min-height:48px;box-shadow:var(--shadow);background:#fff;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:8px 16px;font-size:15px;font-weight:900;line-height:1.5;transition:transform .12s,box-shadow .12s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px #2c164f}.button:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px #2c164f}.button--yellow{background:var(--yellow)}.button--orange{background:var(--orange)}.button--green{background:var(--green)}.button--purple{color:#fff;background:#7940fa}.app-header{align-items:center;gap:24px;width:min(1600px,100%);min-height:88px;margin:auto;padding:12px 32px;display:flex}.brand-button{background:0 0;border:0;flex:none;padding:0}.brand-button img{width:150px;height:58px;display:block}.header-title{color:#fff;flex:1;font-size:17px;font-weight:800}.records-short{display:none}.app-header nav{align-items:center;gap:12px;display:flex}.timer{background:var(--yellow);border:3px solid var(--ink);min-width:122px;height:48px;box-shadow:var(--shadow);font-variant-numeric:tabular-nums;border-radius:16px;justify-content:center;align-items:center;gap:10px;padding:8px 14px;font-weight:900;display:flex}.home-page{grid-template-columns:1fr 1fr;align-items:center;gap:48px;max-width:1220px;min-height:calc(100svh - 88px);margin:auto;padding:40px 48px 64px;display:grid}.hero-art{justify-content:center;display:flex}.hero-art img{aspect-ratio:450/488;width:100%;max-width:450px;height:auto}.hero-copy{color:#fff;flex-direction:column;align-items:flex-start;gap:24px;display:flex}.hero-kicker{color:var(--yellow);font-size:16px;font-weight:800}.hero-copy h1{letter-spacing:-.04em;font-size:clamp(32px,4vw,48px);line-height:1.4}.hero-description{font-size:17px;line-height:1.9}.hero-case{border-left:3px solid var(--yellow);color:#e9ddff;flex-wrap:wrap;gap:6px 14px;padding-left:14px;font-size:12px;display:flex}.hero-case strong{color:#fff;font-size:14px}.hero-start{width:min(100%,360px);min-height:62px;font-size:18px}.hero-secondary{gap:14px;width:min(100%,360px);display:flex}.hero-secondary .button{flex:1;padding-inline:10px}.hero-footnote{color:#e3d8ff;font-size:12px}.panel{border:3px solid var(--ink);background:#fff;border-radius:24px;padding:22px}.workspace{grid-template-columns:210px minmax(0,1fr) 292px;align-items:start;gap:24px;width:min(1600px,100%);margin:auto;padding:24px 32px 16px;display:grid}.case-sidebar,.inspector-sidebar{flex-direction:column;gap:20px;display:flex}.inspector-sidebar{position:sticky;top:18px}.case-summary{flex-direction:column;gap:16px;display:flex}.case-summary h2{font-size:26px;line-height:1.4}.case-mascot{align-self:center;max-width:100%;height:176px;display:block}.case-description{color:var(--muted);font-size:14px;line-height:1.85}.case-tags{flex-wrap:wrap;gap:6px;display:flex}.case-tags span{background:var(--soft);border-radius:6px;padding:4px 8px;font-size:11px;font-weight:600}.source-link{color:var(--muted);font-size:11px}.tip-panel{background:var(--lavender);border-radius:24px;flex-direction:column;gap:12px;padding:22px;display:flex}.tip-panel h3{font-size:18px}.tip-panel p{color:var(--muted);font-size:14px;line-height:1.8}.tip-panel .button{width:100%}.board-column{flex-direction:column;gap:12px;min-width:0;display:flex}.game-meta{color:#ece3ff;justify-content:space-between;align-items:center;padding-inline:4px;font-size:12px;display:flex}.chances b{color:var(--yellow);font-size:16px}.board{background:var(--soft);border-radius:24px;padding:22px}.board-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.board-heading h1{margin-top:4px;font-size:22px}.progress-label{color:var(--muted);white-space:nowrap;font-size:12px}.progress-label b{color:var(--ink);font-size:16px}progress{width:100%;height:6px;accent-color:var(--green);background:#e4d9f2;border:none;border-radius:99px;margin-top:16px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:#e4d9f2}progress::-webkit-progress-value{background:var(--green);border-radius:99px}.column-labels{color:#8c789f;text-align:center;grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0 8px;font-size:11px;font-weight:800;display:grid}.character-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.character-card{border:2px solid var(--ink);text-align:left;background:#fff;border-radius:12px;flex-direction:column;gap:4px;width:100%;min-width:0;height:164px;padding:8px;transition:transform .12s;display:flex;position:relative}.character-card:hover{transform:translateY(-2px)}.character-card.selected{outline:3px solid var(--yellow);outline-offset:1px}.character-card.highlighted{box-shadow:inset 0 0 0 3px var(--yellow)}.character-card.innocent{background:#ecf8df}.character-card.guilty{background:#ffe1d6}.card-top{flex-shrink:0;justify-content:space-between;align-items:center;height:18px;font-size:11px;font-weight:700;display:flex}.unknown-dot{color:#bcb0c8}.status{border-radius:5px;align-items:center;gap:3px;width:fit-content;padding:2px 5px;font-size:10px;font-weight:800;line-height:1.4;display:inline-flex}.status--innocent{background:var(--green)}.status--guilty{background:var(--orange)}.note{border-bottom:2px dashed;font-size:9px}.note--innocent{color:#35751b}.note--guilty{color:#a63207}.card-identity{flex-direction:column;align-items:center;min-width:0;display:flex}.card-identity img{width:82px;max-width:100%;height:82px}.card-name{flex-direction:column;align-items:center;min-width:0;display:flex}.card-name strong{font-size:14px;line-height:1.5}.card-name small{color:var(--muted);font-size:11px}.character-card:not(.unknown) .card-identity{flex-direction:row;gap:4px;min-height:40px}.character-card:not(.unknown) .card-identity img{flex:0 0 42px;width:42px;height:42px}.character-card:not(.unknown) .card-name{align-items:flex-start}.card-testimony{-webkit-line-clamp:2;background:#ffffffdb;border-radius:6px;-webkit-box-orient:vertical;min-height:47px;padding:6px;font-size:11px;line-height:1.6;display:-webkit-box;overflow:hidden}.card-read{color:var(--muted);margin-top:auto;font-size:10px}.board-footnote{color:var(--muted);text-align:center;margin-top:16px;font-size:11px}.feedback{background:#e4ccff;border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.7}.clear-highlight{color:#fff;background:0 0;border:none;align-self:flex-end;padding:6px;font-size:12px;text-decoration:underline}.judgment-feedback{border:2px solid;border-radius:10px;padding:12px;font-size:13px;line-height:1.6}.judgment-feedback p{margin:4px 0 0}.judgment-feedback--incorrect{color:#8a2608;background:#ffe1d6}.judgment-feedback--insufficient{color:#644600;background:#fff3bb}.judgment-feedback--confirmed{color:#285b18;background:#ecf8df}.inspector-content{flex-direction:column;gap:16px;display:flex}.inspector-identity{align-items:center;gap:10px;display:flex}.inspector-identity>img{flex:0 0 90px;width:90px;height:90px}.inspector-identity h2{font-size:25px}.inspector-identity p{color:var(--muted);margin:3px 0 6px;font-size:12px;line-height:1.8}.testimony-panel{background:#ecf8df;border-radius:12px;padding:16px}.testimony-panel.guilty{background:#ffe1d6}.testimony-panel h3{color:var(--muted);margin-bottom:10px;font-size:12px;font-weight:700}.testimony-panel blockquote{overflow-wrap:anywhere;margin:0;font-size:17px;font-weight:800;line-height:1.9}.testimony-panel.locked{background:var(--soft)}.testimony-panel p{color:var(--muted);font-size:14px;line-height:1.8}.original-text{color:var(--muted);font-size:12px;line-height:1.7}summary{cursor:pointer;padding:4px 0}.original-text p{overflow-wrap:anywhere;margin-top:8px}.verdict-buttons{flex-direction:column;gap:12px;display:flex}.note-controls{border:0;gap:8px;margin:0;padding:8px 0 0;display:flex}.note-controls legend{color:var(--muted);padding:0;font-size:12px}.note-controls button{background:#fff;border:1px dashed #a896bb;border-radius:8px;flex:1;min-height:40px;padding:8px 10px;font-size:12px}.note-controls button[aria-pressed=true]{background:var(--lavender);border-style:solid;border-color:var(--ink)}.related-characters{flex-wrap:wrap;gap:6px;display:flex}.related-characters button{background:var(--soft);border:1px solid #d6c7e4;border-radius:6px;min-height:32px;padding:6px 8px;font-size:11px}.game-toolbar{justify-content:center;gap:12px;max-width:1600px;margin:0 auto 28px;padding:0 32px;display:flex}.toolbar-count{background:#15121b14;border-radius:20px;padding:0 5px;font-size:11px}.intro-page{place-items:center;min-height:calc(100svh - 88px);padding:32px;display:grid}.intro-card{grid-template-columns:1fr 1.2fr;gap:48px;width:min(900px,100%);padding:40px;display:grid}.intro-card .case-mascot{width:200px;height:220px}.intro-instructions{flex-direction:column;justify-content:center;gap:22px;display:flex}.intro-instructions h1{font-size:30px;line-height:1.5}.intro-instructions>p{color:var(--muted);line-height:1.8}.notice{background:var(--soft);border-radius:12px;padding:16px;font-size:14px;line-height:1.8}.notice p{margin-top:8px}.dialog{border:3px solid var(--ink);width:min(540px,100% - 32px);max-height:calc(100dvh - 48px);color:var(--ink);overscroll-behavior:contain;border-radius:24px;padding:24px;overflow-y:auto;box-shadow:0 8px #2c164f}.dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#241141ad}.dialog-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.dialog-heading h2{font-size:22px}.close-button{background:0 0;border:0;flex:0 0 40px;place-items:center;width:40px;height:40px;padding:4px;display:grid}.dialog>p{line-height:1.8}.dialog>.button{width:100%;margin-top:20px}.dialog-actions{gap:12px;margin-top:24px;display:flex}.dialog-actions .button{flex:1}.dialog .feedback{margin-top:16px}.rules-content>img{margin:0 auto 20px;display:block}.rules-list{margin:0;padding-left:24px}.rules-list li{margin-bottom:20px;padding-left:6px;font-size:15px}.rules-list li::marker{color:var(--purple);font-weight:900}.rules-list p{color:var(--muted);margin-top:6px;font-size:13px;line-height:1.8}.evidence-list{flex-direction:column;gap:12px;display:flex}.evidence-list>p{font-size:13px;line-height:1.8}.evidence-list button{background:var(--soft);text-align:left;border:1px solid #e4d6f0;border-radius:12px;padding:16px}.evidence-list button p{margin-top:8px;font-size:14px;line-height:1.8}.hint-dialog,.result-content{flex-direction:column;gap:18px;line-height:1.8;display:flex}.hint-icon,.result-mascot{align-self:center}.hint-dialog details{font-size:14px}.hint-dialog details p{margin-top:10px}.result-content{text-align:center}.result-stats{grid-template-columns:1fr 1fr;gap:12px;display:grid}.result-stats>div{background:var(--soft);border-radius:12px;flex-direction:column;padding:16px;display:flex}.result-stats strong{font-size:24px;font-weight:900}.result-stats span{color:var(--muted);font-size:12px}.storage-warning{background:var(--yellow);border:2px solid var(--ink);border-radius:12px;margin:16px;padding:12px;font-size:13px}@media (max-width:1319px){.workspace{grid-template-columns:minmax(0,1fr) 280px;gap:20px;max-width:1180px}.case-sidebar{display:none}.board{padding:20px}.character-card{height:156px}.card-identity img{width:74px;height:74px}}@media (min-width:1550px){.character-card.unknown .card-identity{flex-direction:row;justify-content:center;gap:8px;margin-top:16px}.character-card.unknown .card-name{align-items:flex-start}}@media (max-width:1000px) and (min-width:761px){.workspace{grid-template-columns:minmax(0,1fr) 250px;gap:16px;padding:16px}.board{padding:14px}.character-grid{gap:8px}.character-card{padding:6px}.character-card:not(.unknown) .card-identity img{flex-basis:30px;width:30px;height:30px}.card-name strong{font-size:12px}.panel,.tip-panel{padding:16px}.inspector-identity>img{flex-basis:64px;width:64px;height:64px}.app-header{padding-inline:20px}.header-title{font-size:14px}.app-header nav{gap:8px}}@media (max-width:760px){body{background-image:radial-gradient(circle at -20px 240px,#ffffff0c 0 140px,#0000 141px),radial-gradient(circle at 100% 550px,#ffffff08 0 190px,#0000 191px)}.app-header{flex-wrap:wrap;gap:12px;min-height:70px;padding:10px 16px}.brand-button img{width:128px;height:48px}.header-title{text-align:right;font-size:12px}.app-header:not(.playing) nav{display:none}.app-header.playing{z-index:3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#6933fff5;padding-bottom:12px;position:sticky;top:0}.app-header.playing .brand-button img{width:96px;height:32px}.app-header.playing nav{grid-template-columns:1.15fr .9fr 1.15fr;gap:8px;width:100%;display:grid}.app-header .button{gap:5px;min-height:44px;padding:6px 8px;font-size:13px}.app-header .icon{flex-basis:25px;width:25px;height:25px}.timer{gap:8px;min-width:0;height:44px;padding:5px;font-size:15px}.home-page{flex-direction:column;gap:12px;min-height:auto;padding:8px 24px 36px;display:flex}.hero-art img{width:min(57vw,240px)}.hero-copy{text-align:center;align-items:center;gap:18px;width:100%}.hero-copy h1{font-size:32px;line-height:1.4}.hero-kicker{font-size:12px}.hero-description{font-size:14px}.hero-case{border:none;justify-content:center;padding:0;font-size:11px}.hero-start{width:100%;min-height:54px;font-size:17px}.hero-secondary{width:100%}.hero-secondary .button{font-size:14px}.hero-footnote{font-size:10px}.workspace{padding:10px 6px 12px;display:block}.inspector-sidebar{display:none}.game-meta{padding-inline:8px;font-size:10px}.board{background:0 0;border-radius:0;padding:12px 0}.board-heading{color:#fff;padding-inline:8px}.board-heading .eyebrow{display:none}.board-heading h1{margin:0;font-size:17px}.progress-label{color:#e1d6ff;font-size:10px}.progress-label b{color:#fff;font-size:13px}progress{height:5px;margin-top:12px}.column-labels{color:#e1d6ff;margin:8px 0}.character-grid{gap:5px 4px}.character-card{border-width:1.5px;border-radius:7px;gap:0;height:auto;min-height:120px;padding:4px 1px}.card-top{height:auto;font-size:9px;line-height:1.4}.character-card .status{background:0 0;padding:0;font-size:8px}.card-identity{margin-top:5px}.card-identity img{width:42px;height:42px}.card-name strong{font-size:11px}.card-name small{font-size:9px}.character-card:not(.unknown) .card-identity{flex-direction:row;gap:3px;min-height:28px;margin:4px 0 5px}.character-card:not(.unknown) .card-identity img{flex-basis:24px;width:24px;height:28px}.character-card:not(.unknown) .card-name{white-space:nowrap;align-items:flex-start}.character-card:not(.unknown) .card-name strong{font-size:10px;line-height:1.4}.character-card:not(.unknown) .card-name small{font-size:8px;line-height:1.5}.card-testimony{-webkit-line-clamp:unset;overflow-wrap:anywhere;background:0 0;border-top:1px solid #24193626;border-radius:0;flex-shrink:0;min-height:0;padding:6px 4px 5px;font-size:11px;line-height:16px;display:block;overflow:visible}.card-read{display:none}.status{padding:1px 3px;font-size:9px}.note{font-size:8px}.board-footnote{color:#e1d6ff;margin-top:12px;font-size:9px}.feedback{font-size:12px}.game-toolbar{z-index:3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:10px 12px max(14px, env(safe-area-inset-bottom));background:#6933fff5;gap:8px;margin:0;position:sticky;bottom:0}.game-toolbar .button{border-radius:14px;flex:1;gap:4px;min-width:0;min-height:48px;padding:6px 4px;font-size:12px}.game-toolbar .icon{flex-basis:23px;width:23px;height:23px}.game-toolbar .restart-action{display:none}.toolbar-count{font-size:10px}.intro-page{padding:16px;display:block}.intro-card{flex-direction:column;gap:28px;padding:24px;display:flex}.intro-card .case-mascot{width:150px;height:160px}.intro-instructions{gap:16px}.intro-instructions h1{font-size:25px}.dialog{border-radius:20px;width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:20px}.dialog-heading h2{font-size:20px}.dialog-heading{margin-bottom:16px}.character-dialog .inspector-identity img{width:90px;height:90px}.character-dialog .verdict-buttons{flex-direction:row}.character-dialog .verdict-buttons .button{flex:1;gap:4px;padding:7px;font-size:13px}.character-dialog .testimony-panel blockquote{font-size:17px}.dialog-actions{flex-direction:column}.related-characters button{min-height:40px}}@media (max-width:359px){.records-label{display:none}.records-short{display:inline}.status{padding-inline:2px;font-size:8px}.card-top{font-size:9px}.app-header.playing{padding-inline:12px}.game-toolbar{gap:6px;padding-inline:8px}.game-toolbar .icon{flex-basis:19px;width:19px;height:19px}.game-toolbar .button{font-size:11px}.character-dialog .verdict-buttons{flex-direction:column}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.case-picker{gap:8px;width:min(100%,420px);font-weight:700;display:grid}.case-picker select{border:3px solid var(--ink);background:var(--yellow);width:100%;min-width:0;color:var(--ink);font:inherit;border-radius:12px;padding:12px}.site-controls{color:#fff;flex-wrap:wrap;align-items:center;gap:12px;max-width:1600px;margin:auto;padding:12px 24px;display:flex}.site-controls button,.site-controls select{font:inherit;color:var(--ink);background:#fff;border:1px solid #e4ccff;border-radius:8px;padding:6px 10px}.language-label{margin-left:auto;font-size:12px}.site-footer{color:#fff;flex-wrap:wrap;justify-content:center;gap:16px;padding:24px 16px;font-size:12px;display:flex}.footer-link{color:inherit;text-underline-offset:4px;font:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.english-brand{color:var(--yellow);text-align:left;font-size:22px;line-height:1;display:block}.content-page{flex-direction:column;gap:20px;max-width:760px;margin:32px auto;padding:28px;line-height:1.8;display:flex}.loading-state{color:#fff;text-align:center;padding:40px}.archive{flex-direction:column;gap:12px;width:100%;display:flex}.archive h2{font-size:22px}.archive-item{background:#ffffff13;border:1px solid #fff6;border-radius:14px;flex-direction:column;gap:4px;padding:16px;text-decoration:none;display:flex}.archive-item span{font-size:12px}.form-stack{flex-direction:column;gap:16px;display:flex}.form-stack label{gap:6px;font-size:14px;display:grid}.form-stack input,.form-stack select,.form-stack textarea{border:1px solid var(--muted);width:100%;min-width:0;font:inherit;color:var(--ink);background:#fff;border-radius:8px;padding:10px}.record-item{border-bottom:1px solid #ddd;gap:5px;padding:16px 0;display:grid}.record-item a{overflow-wrap:anywhere}.case-feedback{color:#fff;text-align:center;padding:12px}html[lang=en] .card-name,html[lang=en] .character-card:not(.unknown) .card-name{white-space:normal;overflow-wrap:anywhere}html[lang=en] .card-top{flex-wrap:wrap;height:auto;min-height:18px}@media (max-width:760px){.site-controls{gap:8px;padding:10px 12px;font-size:12px}.content-page{margin:16px 12px;padding:20px}html[lang=en] .card-name strong{font-size:9px}html[lang=en] .card-name small{font-size:8px;line-height:1.4}html[lang=en] .character-card:not(.unknown) .card-name strong{font-size:9px}html[lang=en] .character-card .status{font-size:7px}html[lang=en] .character-card:not(.unknown) .card-identity{align-items:flex-start}}
