:root{--ink:#283634;--teal:#246052;--teal-dark:#173f35;--paper:#fff8ea;--white:#fffdf6;--yellow:#f5c45b;--yellow-light:#ffedaa;--line:#d9cbb2;--muted:#58655f;--body:20px;font-family:"BIZ UDPGothic","Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;color:var(--ink);background:#e8f0df;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:280px;background:radial-gradient(ellipse at 15% 0%,#fcfff4 0,transparent 54%),linear-gradient(160deg,#e4eddd,#f3f3df);font-size:16px;line-height:1.7}button,a,input{touch-action:manipulation}button,input{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:4px solid #80520a;outline-offset:4px}button{border:0}a{color:var(--teal-dark);text-underline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.45;text-wrap:pretty}rt{font-size:.51em;font-weight:500;line-height:1.2}ruby{ruby-align:center}html[data-ruby=off] rt{display:none}html[data-large=true]{--body:24px}img{max-width:100%}[hidden]{display:none!important}.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}.skip-link{position:fixed;left:14px;top:-90px;z-index:99999;background:var(--paper);padding:12px;border:2px solid var(--teal)}.skip-link:focus{top:12px}.loading{padding:32px;text-align:center}.app-wrap{max-width:1260px;margin:auto;padding:16px 20px 28px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.topbrand{display:flex;align-items:center;gap:9px;font-weight:800;color:var(--teal-dark);font-size:15px}.icon{display:inline-block;width:24px;height:24px;vertical-align:middle;flex-shrink:0}.settings{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.setting{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:7px 10px;background:#fffdf2;border:1px solid #b8c9ba;border-radius:9px;font-size:14px;font-weight:700;cursor:pointer}.setting input{width:19px;height:19px;accent-color:var(--teal);margin:0}.small-button{min-height:46px;background:#fffdf2;border:1px solid #b8c9ba;border-radius:9px;padding:8px 12px;font-weight:700;font-size:14px}.save-warning{padding:12px 16px;background:#fff0c8;border:1px solid #a36b19;border-radius:10px;margin-bottom:12px;font-size:14px}
.game-frame{border:5px solid var(--teal-dark);border-radius:22px;overflow:hidden;background:#af8052;box-shadow:0 10px 24px #2b493020}.hero{position:relative;isolation:isolate;min-height:245px;padding:30px 38px 28px;display:flex;align-items:center;border-bottom:9px solid #825a36;background:#c99f6e url("office.webp?v=1.0.2") center 48%/cover}.hero:after{content:"";position:absolute;inset:auto 0 -8px;height:8px;box-shadow:0 3px 6px #49290870;z-index:3}.hero-art{position:absolute;right:0;bottom:-4px;height:265px;width:410px;object-fit:contain;object-position:bottom;z-index:0;pointer-events:none}.brand-plaque{position:relative;z-index:1;background:#fff8eaeF;border:2px solid #ddc597;box-shadow:2px 5px 0 #65482d30,0 2px 12px #4d381e22;padding:17px 25px;border-radius:18px 12px 16px 10px;transform:rotate(-1deg);max-width:58%}.brand-plaque .eyebrow{font-size:20px;color:var(--teal-dark);font-weight:800;letter-spacing:.07em}.brand-plaque h1{font-size:43px;letter-spacing:.06em;color:#183e33;font-weight:900;display:flex;align-items:center;gap:10px}.brand-plaque .tagline{font-size:15px;margin-top:8px;font-weight:700}.hero.compact{min-height:190px;padding:19px 28px}.hero.compact .brand-plaque{padding:12px 19px;max-width:49%}.hero.compact .eyebrow{font-size:15px}.hero.compact h1{font-size:29px}.hero.compact .hero-art{height:191px;width:310px;right:4px}.case-plaque{position:relative;z-index:2;margin-left:28px;max-width:34%;padding:13px 19px;background:#fff9e9ee;border:2px solid #dfc99e;border-radius:12px;box-shadow:2px 4px 0 #68492330}.case-plaque .case-no{font-size:13px;letter-spacing:.06em;font-weight:800;color:var(--teal)}.case-plaque h2{font-size:24px;margin-top:3px}.hero.compact .case-plaque{margin-right:185px;max-width:40%;margin-left:15px}.hero.compact .hero-art{right:-25px;width:270px}
.desk{padding:24px;background:linear-gradient(90deg,#b18558,#cfa46f 4%,#b3885a 97%,#95673e)}.paper{background:var(--paper);border:1px solid #dbc69f;border-radius:15px;box-shadow:0 3px 0 #78512726;padding:24px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.welcome h2{font-size:24px}.welcome p{margin-top:7px;color:var(--muted);font-size:17px}.welcome .stamp-small{border:2px dashed #a8ba9a;border-radius:50%;width:96px;height:96px;min-width:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eef3df;font-size:13px;font-weight:700;color:var(--teal-dark)}.stamp-small strong{font-size:29px;line-height:1.2}.resume-panel{border:2px solid var(--teal);background:#eef3e4;border-radius:13px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.resume-panel p{font-weight:800}.office-label{display:flex;align-items:center;gap:10px;margin:18px 0 14px;color:#fff9ea;text-shadow:0 1px 2px #513616}.office-label h2{font-size:22px}.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.case-card{position:relative;display:flex;flex-direction:column;padding:21px 19px 17px;transition:transform .15s,border-color .15s;border:2px solid #d9c59c}.case-card:hover{transform:translateY(-2px);border-color:#b49252}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);margin-bottom:13px}.case-number{font-weight:900;color:var(--teal);font-size:18px;letter-spacing:.08em}.status-pill{background:#f2ecdc;border-radius:30px;padding:4px 9px;font-weight:700;white-space:nowrap}.status-pill.done{color:var(--teal-dark);background:#e1ecce}.status-pill.resume{background:#ffedaa;color:#614714}.case-card h3{font-size:22px;margin-bottom:10px}.case-card .skill{font-size:13px;font-weight:700;color:var(--teal);margin-bottom:8px}.case-card .brief{font-size:15px;line-height:1.9;flex:1;margin-bottom:19px}.case-card .card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:50px;border:2px solid #ac9c7c;border-radius:11px;padding:10px 18px;background:#fffdf5;text-decoration:none;font-weight:800;line-height:1.6;box-shadow:0 3px 0 #82735b26;text-align:center}.button:hover:not(:disabled){filter:brightness(.97)}.button:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px 0 #82735b26}.button.primary{background:var(--yellow);border-color:#9b741f;color:#283327;box-shadow:0 4px 0 #a2702538}.button.green{background:var(--teal);border-color:var(--teal-dark);color:#fffdf5}.button.quiet{background:transparent;box-shadow:none;border-color:#b6b8a4}.button:disabled{opacity:.6}.button.wide{width:100%}.office-help{margin-top:22px;padding:20px 23px;font-size:16px}.office-help summary{cursor:pointer;font-weight:800;min-height:40px}.office-help p{margin-top:8px}.office-help ol{padding-left:1.7em;margin:8px 0 0}.footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;font-size:13px;padding:17px 4px 0;color:#4f5b50}.footer a{font-weight:700}.edition{font-size:11px}
.intro{max-width:820px;margin:0 auto}.intro .letter-kicker{color:var(--teal);font-size:14px;letter-spacing:.06em;font-weight:800}.intro h2{font-size:30px;margin:10px 0 20px}.speaker{font-weight:800;color:var(--teal);margin:10px 0}.letter-body{font-size:var(--body);line-height:2.15}.intro-note{padding:16px 18px;background:#edf1df;border-radius:10px;margin:20px 0;color:#394a3c}.intro .button-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:24px}.start-tips{font-size:16px;color:var(--muted);margin-top:15px}
.investigation{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);grid-template-areas:"story question" "story actions";grid-template-rows:auto 1fr;gap:18px;align-items:start;background:var(--paper);padding:18px;border:1px solid #dbc69f;border-radius:16px;box-shadow:0 4px 0 #78512730}.story-panel{grid-area:story;min-width:0}.panel-title{display:flex;align-items:center;gap:10px;background:var(--teal);color:#fffdf5;font-size:21px;padding:11px 16px;border-radius:11px 11px 0 0;letter-spacing:.04em}.panel-title .icon{width:27px;height:27px}.story-inner{background:#fffdf5;border:1px solid #dfd2b9;border-radius:0 0 11px 11px;padding:12px}.context{font-size:16px;padding:7px 7px 14px;line-height:2}.doc-title{font-size:16px;color:var(--teal-dark);border-bottom:1px dashed #c8baa2;padding:5px 1px 10px;margin:12px 4px 10px;line-height:1.9}.doc-group:first-child .doc-title{margin-top:0}.source{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) 24px;align-items:start;gap:11px;text-align:left;background:#fffaf0;border:2px solid #e5d8bf;border-radius:12px;margin-top:10px;padding:15px 13px;color:var(--ink);box-shadow:0 2px 1px #a5895420;font-size:var(--body);line-height:2;transition:border-color .15s,background .15s}.source:first-of-type{margin-top:0}.source:hover:not(:disabled){border-color:#8b9f83;background:#f7f7e7}.source[aria-pressed=true]{border-color:var(--teal-dark);background:var(--yellow-light);box-shadow:0 0 0 1px #e7c46b}.source:disabled{opacity:1}.sentence-number{width:30px;height:30px;background:#e4e9dd;color:var(--teal-dark);border-radius:50%;font-size:16px;line-height:30px;text-align:center;font-weight:800;margin-top:8px}.source[aria-pressed=true] .sentence-number{background:var(--teal);color:#fff}.source-text{overflow-wrap:anywhere}.source-check{border:1px solid #c7cbbd;width:24px;height:24px;border-radius:50%;margin-top:11px;background:#fffdf2;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:900}.source[aria-pressed=true] .source-check{background:var(--teal);border-color:var(--teal);color:#fff}.source[aria-pressed=false] .source-check span{visibility:hidden}.source-caption{font-size:13px;color:var(--muted);margin:13px 5px 1px}.question-panel{grid-area:question;padding:8px 8px 0;min-width:0}.steps{display:flex;align-items:center;gap:4px;justify-content:space-between;font-size:12px;color:#6a7067;margin-bottom:20px}.step{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}.step .dot{border-radius:50%;background:#e0e0d2;width:19px;height:19px;border:2px solid #cbccbd}.step.active{color:var(--teal-dark);font-weight:800}.step.active .dot{background:var(--yellow);border-color:#a37a26}.step-arrow{color:#a3a395;align-self:flex-start;padding-top:1px}.question-meta{font-size:14px;color:var(--teal);font-weight:800;margin-bottom:11px;display:flex;justify-content:space-between;gap:8px}.mode-label{color:var(--muted);font-size:12px}.question-panel h2{font-size:24px;line-height:1.95;margin-bottom:18px;overflow-wrap:anywhere}.choices{display:grid;gap:10px;margin-bottom:22px}.choice{display:flex;align-items:center;gap:10px;text-align:left;border:2px solid #c9c2ad;background:#fffdf5;border-radius:11px;padding:14px 13px;font-size:var(--body);font-weight:700;line-height:1.9;min-height:58px}.choice[aria-pressed=true]{background:#e2edcf;border-color:var(--teal)}.choice[aria-pressed=true] .choice-dot{background:var(--teal);border-color:var(--teal);color:#fff}.choice-dot{width:26px;height:26px;min-width:26px;line-height:22px;text-align:center;border:2px solid #bbc1b0;border-radius:50%;font-size:16px;color:transparent}.instruction{border-top:1px solid var(--line);padding:17px 0 2px;font-weight:800;line-height:2;font-size:17px}.evidence-range{font-size:14px;color:var(--muted);font-weight:400}.actions-panel{grid-area:actions;padding:0 8px 10px;min-width:0}.evidence-count{padding:14px 12px;border-radius:10px;background:#efe6cc;text-align:center;font-weight:800;margin-bottom:13px;font-size:18px}.evidence-count strong{font-size:30px;line-height:1;margin:0 3px;color:#98501e}.action-buttons{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.3fr);gap:10px}.action-buttons .button{padding:11px 10px;font-size:17px}.hint-box{background:#edf1df;border-left:4px solid #7e9770;border-radius:8px;padding:13px;margin-top:15px;font-size:16px;line-height:2}.hint-box p+p{margin-top:10px}.hint-title{font-weight:800;color:var(--teal-dark);font-size:14px}.explain-button{font-size:14px;width:100%;margin-top:12px;min-height:48px;background:transparent;text-decoration:underline;text-underline-offset:4px;border-radius:8px;line-height:1.8}.feedback{border:2px solid #c8b88e;background:#fff5d5;padding:16px;border-radius:12px;margin-bottom:14px;font-size:17px;line-height:2}.feedback.correct,.feedback.solution{background:#edf3dc;border-color:#7e9a65}.feedback h3{font-size:19px;margin-bottom:5px}.feedback p+p{margin-top:8px}.feedback small{display:block;margin-top:9px;color:#526046;line-height:1.8}.hint-note{font-size:13px;color:var(--muted);margin-top:8px;line-height:1.9}.map-figure{margin:10px 0;background:#f5f3e5;border:2px solid #d8cfb8;border-radius:12px;padding:12px}.map-figure.selected{border-color:var(--teal-dark);background:#fff2bb}.map-legend{text-align:center;font-weight:700;font-size:15px;line-height:2;margin-bottom:9px}.town-map{border-collapse:separate;border-spacing:8px;width:100%;table-layout:fixed;font-size:15px;text-align:center}.town-map td{border:1px solid #b7c5a4;background:#fffdf6;border-radius:8px;padding:12px 3px;line-height:1.9;position:relative;overflow-wrap:anywhere}.town-map td:not(:last-child):after{content:"";position:absolute;height:3px;width:10px;background:#a68e62;right:-10px;top:50%}.town-map tr:first-child td:before{content:"";position:absolute;width:3px;height:10px;background:#a68e62;bottom:-10px;left:50%}.map-figure .map-text{font-size:15px;line-height:2;margin:7px 2px 12px}.map-select{width:100%;font-size:16px;line-height:1.9;padding:11px}
.completion{max-width:850px;margin:auto;text-align:center}.completion .solved-stamp{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:3px double var(--teal);border-radius:10px;padding:9px 19px;transform:rotate(-4deg);color:var(--teal);font-size:26px;font-weight:900;background:#f5f4df;margin-bottom:20px}.completion h2{font-size:30px;margin:4px 0 18px}.ending{font-size:var(--body);line-height:2.2;text-align:left}.takeaway{padding:18px 20px;margin:22px 0;background:#edf2de;border-radius:12px;text-align:left;line-height:2;font-size:17px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.summary-item{padding:14px 7px;background:#f4edda;border-radius:10px;font-size:14px;line-height:1.8}.summary-item strong{display:block;color:var(--teal-dark);font-size:27px}.summary-note{font-size:13px;color:var(--muted);line-height:1.9;margin:14px 0 23px}.completion-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.all-done{padding:20px;background:#fff0b7;border:2px solid #b38b32;border-radius:14px;margin-bottom:22px;font-size:17px;line-height:2}.all-done h3{font-size:23px;margin-bottom:8px}.review-details{text-align:left;margin:20px 0}.review-details summary{cursor:pointer;font-weight:700;min-height:48px;display:flex;align-items:center;gap:6px}.review-item{border-top:1px solid var(--line);padding:14px 0;font-size:16px;line-height:2}.review-item strong{display:block;margin-bottom:6px}
@media(min-width:901px){.choices.two{grid-template-columns:1fr 1fr}.choices.two .choice{flex-direction:column;justify-content:center;text-align:center;gap:7px}.game-frame:fullscreen{overflow:auto;max-width:none;border-radius:0;border:0;background:#b3885a}.game-frame:fullscreen .desk{min-height:60vh}}
@media(max-width:1050px){.hero.compact .hero-art{width:210px;right:-30px}.hero.compact .brand-plaque{max-width:47%}.hero.compact .case-plaque{margin-right:135px;max-width:37%;padding:10px 13px}.hero.compact .case-plaque h2{font-size:21px}.brand-plaque h1{font-size:36px}.hero-art{width:350px}.case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.app-wrap{padding:12px}.desk{padding:17px}.investigation{grid-template-columns:minmax(0,1fr);grid-template-areas:"question" "story" "actions";gap:18px;padding:16px}.question-panel{padding:0}.actions-panel{padding:0}.steps{max-width:360px;margin:0 auto 15px}.question-panel h2{font-size:24px;line-height:1.9}.choices{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.choices:not(.two){grid-template-columns:minmax(0,1fr)}.instruction{padding:12px 0 0}.hero.compact{min-height:170px}.hero.compact .brand-plaque{max-width:48%;padding:12px}.hero.compact h1{font-size:25px}.hero.compact .case-plaque{margin-right:92px;max-width:40%;margin-left:12px}.hero.compact .hero-art{width:170px;height:150px;right:-30px}.hero.compact .case-plaque h2{font-size:20px}.hero.compact .eyebrow{font-size:13px}.source{padding:16px 13px}.action-buttons{grid-template-columns:1fr 1.5fr}.action-buttons .button{font-size:19px;min-height:57px}}
@media(max-width:600px){:root{--body:18px}.app-wrap{padding:8px 8px 20px}.topbar{gap:6px;margin-bottom:9px;align-items:center}.topbrand{font-size:12px}.topbrand .icon{width:19px;height:19px}.settings{gap:5px}.setting,.small-button{font-size:12px;padding:7px;min-height:44px}.setting input{width:17px;height:17px}.settings .expand-label{display:none}.game-frame{border-width:3px;border-radius:15px}.hero{min-height:215px;padding:20px 15px;align-items:flex-start}.brand-plaque{max-width:77%;padding:13px 16px}.brand-plaque .eyebrow{font-size:15px}.brand-plaque h1{font-size:30px;letter-spacing:.025em;gap:7px}.brand-plaque h1 .icon{width:27px;height:27px}.brand-plaque .tagline{font-size:12px;line-height:1.9;max-width:190px;margin-top:5px}.hero-art{height:180px;width:270px;right:-53px;bottom:-2px}.hero.compact{min-height:118px;padding:11px 10px;align-items:flex-start;gap:8px}.hero.compact .brand-plaque{padding:8px 10px;max-width:57%;flex:0 0 57%;margin-top:0}.hero.compact .eyebrow{font-size:11px;letter-spacing:.02em}.hero.compact h1{font-size:21px;gap:4px}.hero.compact h1 .icon{width:19px;height:19px}.hero.compact .hero-art{height:98px;width:142px;right:-22px;bottom:-3px}.hero.compact .case-plaque{margin:0 0 30px;padding:7px 8px;max-width:none;flex:1;min-width:0;z-index:2}.hero.compact .case-plaque .case-no{font-size:10px}.hero.compact .case-plaque h2{font-size:14px;line-height:1.7}.desk{padding:13px 10px}.paper{padding:19px 15px;border-radius:12px}.welcome{gap:9px;margin-bottom:16px}.welcome h2{font-size:21px}.welcome p{font-size:15px;line-height:1.9}.welcome .stamp-small{width:74px;height:74px;min-width:74px;font-size:11px}.stamp-small strong{font-size:24px}.resume-panel{flex-direction:column;align-items:stretch;padding:14px;font-size:15px}.case-grid{grid-template-columns:minmax(0,1fr);gap:12px}.case-card{padding:17px}.case-card h3{font-size:23px}.card-meta{margin-bottom:8px}.case-card .brief{font-size:16px}.case-card .button{min-width:124px}.office-label h2{font-size:21px}.office-help{padding:16px;font-size:15px}.office-help ol{padding-left:1.35em}.footer{padding:15px 3px 0;font-size:12px}.intro h2{font-size:25px;margin-bottom:16px}.letter-body{line-height:2.2}.intro .button-row{display:grid;grid-template-columns:minmax(0,1fr)}.intro .button-row .primary{grid-row:1}.intro-note{font-size:16px;padding:13px}.investigation{padding:12px 10px;gap:15px;border-radius:13px}.panel-title{font-size:20px;padding:10px 13px}.story-inner{padding:9px}.doc-title{font-size:15px;line-height:2}.context{font-size:15px;padding:7px 1px 13px}.source{grid-template-columns:26px minmax(0,1fr) 20px;gap:8px;padding:13px 10px;font-size:var(--body);line-height:2.05;margin-top:10px}.sentence-number{width:26px;height:26px;line-height:26px;font-size:14px;margin-top:9px}.source-check{width:20px;height:20px;font-size:13px;margin-top:12px}.source-caption{font-size:12px}.question-panel h2{font-size:22px;line-height:1.95;margin-bottom:13px}.question-meta{font-size:13px;margin-bottom:8px}.mode-label{font-size:11px}.steps{font-size:11px;margin-bottom:15px;max-width:300px}.choice{font-size:18px;padding:12px 11px;line-height:1.95;min-height:60px;gap:8px}.choice-dot{width:24px;height:24px;min-width:24px;line-height:20px}.choices.two{gap:8px}.choices.two .choice{justify-content:center}.instruction{font-size:16px;line-height:2}.evidence-range{font-size:13px}.evidence-count{font-size:17px;padding:12px}.evidence-count strong{font-size:28px}.action-buttons{gap:8px;grid-template-columns:1fr 1.55fr}.action-buttons .button{padding:12px 7px;font-size:17px;line-height:1.8}.feedback{font-size:16px;padding:13px}.feedback h3{font-size:18px}.hint-box{font-size:16px;line-height:2}.completion h2{font-size:25px}.completion .solved-stamp{font-size:24px}.summary-grid{gap:7px}.summary-item{font-size:12px;padding:13px 5px}.summary-item strong{font-size:25px}.takeaway{padding:15px;font-size:16px;line-height:2.1}.completion-actions{display:grid;grid-template-columns:1fr}.completion-actions .button{width:100%}.town-map{font-size:14px;border-spacing:7px}.map-figure{padding:9px}.town-map td{padding:11px 2px;line-height:2}.map-legend{font-size:14px}.map-text{font-size:14px!important}.map-select{font-size:15px;padding:12px 7px}}
@media(max-width:350px){.topbrand{display:none}.topbar{justify-content:center}.settings{width:100%;justify-content:space-between}.setting{font-size:11px}.hero.compact h1{font-size:18px}.hero.compact .brand-plaque{padding:9px 7px;flex-basis:56%;max-width:56%}.hero.compact .case-plaque h2{font-size:13px}.hero.compact .hero-art{right:-34px}.hero .brand-plaque h1{font-size:25px}.brand-plaque .eyebrow{font-size:13px}.hero-art{width:230px;right:-58px}.desk{padding:10px 7px}.investigation{padding:11px 8px}.source{padding:12px 8px;gap:6px;grid-template-columns:24px minmax(0,1fr) 18px}.source-check{width:18px;height:18px}.sentence-number{width:24px;height:24px;line-height:24px}.question-panel h2{font-size:20px}.action-buttons .button{font-size:16px}.welcome{align-items:flex-start}.welcome .stamp-small{width:62px;min-width:62px;height:62px}.welcome h2{font-size:20px}.summary-item{font-size:11px}}
.stamp-small strong{white-space:nowrap;font-size:26px}
.step{flex:1;min-width:0}.step-label{white-space:nowrap;line-height:2}.source[aria-pressed=true]:hover:not(:disabled){background:var(--yellow-light);border-color:var(--teal-dark)}
.town-map{font-size:16px}.map-legend{font-size:16px}.map-figure .map-text{font-size:var(--body)!important}html[data-large=true] .town-map,html[data-large=true] .map-legend{font-size:18px}
@media(max-width:600px){.hero.compact{display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:7px;min-height:150px;padding:10px}.hero.compact .brand-plaque{grid-column:1;max-width:none;width:100%;padding:9px 11px}.hero.compact .case-plaque{grid-column:1/-1;display:flex;align-items:center;gap:9px;margin:0;max-width:none;padding:8px 10px}.hero.compact .case-plaque h2{font-size:16px;line-height:1.9;margin:0}.hero.compact .case-plaque .case-no{white-space:nowrap;flex-shrink:0}.hero.compact .hero-art{width:165px;height:110px;right:-16px;bottom:42px}.hero.compact h1{font-size:23px}.welcome .stamp-small strong{font-size:22px}}
@media(max-width:350px){.hero.compact{grid-template-columns:minmax(0,1fr) 64px;min-height:145px}.hero.compact .brand-plaque{max-width:none;padding:9px 8px}.hero.compact h1{font-size:21px}.hero.compact .hero-art{right:-23px;width:145px}.hero.compact .case-plaque h2{font-size:15px}.welcome .stamp-small strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
@media print{.topbar,.hero-art,.footer,.action-buttons,.explain-button{display:none}.game-frame{border:1px solid #777}.desk{background:white}.investigation{display:block}.source{break-inside:avoid}}

.word-help{margin:18px 0 10px;padding:16px;background:#edf2de;border:1px solid #c7d0b6;border-radius:10px;font-size:var(--body);line-height:2}.word-help h3{font-size:1em;margin-bottom:8px}.word-help dl,.word-help dd{margin:0}.word-help dl>div+div{margin-top:12px}.word-help dt{font-weight:800}.word-help dd{margin-top:3px}.summary-item{overflow-wrap:anywhere}html[data-large=true] .choice,html[data-large=true] .instruction,html[data-large=true] .hint-box,html[data-large=true] .feedback{font-size:var(--body)}rt{font-size:max(.58em,10px);font-weight:600}
