:root{--paper:#f2ecdd;--ink:#343e34;--muted:#858574;--line:#d9d3bf;--green:#405d4c;--accent:#bb7050;--serif:Georgia,'Times New Roman',serif;--sans:'Trebuchet MS',Arial,sans-serif;color-scheme:light;font-family:var(--sans);color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23887b55' opacity='.055' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");min-width:300px}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #bd713f;outline-offset:5px}button:disabled{cursor:default}button,svg{touch-action:manipulation}button{border:0}#app{max-width:1440px;margin:auto;padding:0 6.3%}.topbar{height:107px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.brand{display:flex;align-items:center;gap:11px;background:none;text-align:left;font-size:9px;letter-spacing:2px;line-height:1.6;padding:0}.brand strong{font-size:14px;letter-spacing:2.6px}.brand svg{width:32px;height:32px;fill:none;stroke:var(--green);stroke-width:2}.edition{font-size:9px;letter-spacing:2px;color:#797c6c}.edition i{font-style:normal;margin:0 13px;color:var(--accent)}.prototype{border:1px solid #c9c4af;border-radius:3px;padding:7px 10px;font-size:8px;letter-spacing:1.6px;color:#7d806f}.home{display:grid;grid-template-columns:.9fr 1.25fr;column-gap:35px;padding-top:65px}.eyebrow{font-size:9px;font-weight:bold;letter-spacing:2px;display:flex;align-items:center;gap:9px}.eyebrow>span:first-child:empty{height:6px;width:6px;background:var(--accent);border-radius:50%}h1{font-family:var(--serif);font-weight:normal;line-height:.96;font-size:clamp(45px,5.65vw,78px);letter-spacing:-2.7px;margin:28px 0 20px}h1 span{display:block}h1 span:last-child{font-style:italic;color:var(--green)}.tagline{font-family:var(--serif);font-size:23px;line-height:1.25;letter-spacing:-.5px;margin:0 0 17px}.intro-copy{font-size:12px;line-height:1.8;color:#7b7e6e;margin-bottom:27px}.primary{background:var(--green);color:#f7f0dc;padding:17px 23px;border-radius:4px;font-size:11px;letter-spacing:2px;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:51px;transition:background .15s,transform .15s}.primary:hover{background:#304b3b;transform:translateY(-1px)}.play{width:240px}.primary>span{font-size:19px;font-weight:normal;letter-spacing:0}.home-progress{display:flex;align-items:center;gap:19px;margin-top:24px;font-size:9px;letter-spacing:1px}.home-progress b{font-size:12px;margin-left:4px}.hearts{display:flex;gap:5px;font-family:Arial,sans-serif;font-size:21px;color:#b56750;line-height:1}.hearts .empty{color:#d7d0bd}.home-progress .hearts{font-size:17px;border-left:1px solid var(--line);padding-left:19px}.save-note{font-size:9px;color:#90907d;letter-spacing:.2px}.save-note.warning{color:#aa563d}.cover{position:relative;padding-top:21px;align-self:center}.case-label{position:absolute;left:26px;top:4px;transform:rotate(-5deg);border:1px solid #b8b599;padding:9px 14px;display:flex;gap:30px;align-items:center;color:#717960;background:#ebe7d4}.case-label span{font-size:7px;letter-spacing:1.3px}.case-label b{font-family:var(--serif);font-size:14px;font-style:italic;font-weight:normal}.office-art{width:100%;display:block;filter:drop-shadow(0 10px 8px #6d60410a)}.cover-caption{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:-8px}.cover-caption em{font-family:var(--serif);font-size:15px;color:#868572;white-space:nowrap}.caption-line{height:1px;width:33px;background:#c9c7af}.howto{display:flex;justify-content:center;gap:22px;margin-top:39px}.howto span{font-size:7px;letter-spacing:1px;display:flex;flex-direction:column;gap:9px}.howto b{font-family:var(--serif);font-style:italic;font-size:20px;font-weight:normal;color:#9a997f}.home-bottom{grid-column:1/-1;border-top:1px solid var(--line);margin-top:48px;padding:25px 0;display:flex;align-items:center;gap:13px;font-size:9px;letter-spacing:1.8px}.star{font-size:24px;color:#8c9a80}.bottom-detail{margin-left:auto;font-family:var(--serif);font-size:13px;font-style:italic;letter-spacing:0;color:#8c8d79}footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;min-height:67px;font-size:7px;letter-spacing:1.7px;color:#999884}.text-button{background:none;font-size:9px;letter-spacing:1.4px;padding:12px 0;min-height:44px}.text-button span{font-size:14px;margin-left:7px}.game{max-width:900px;margin:0 auto;padding-top:23px}.game-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.back{color:#7c806d}.progress-head{display:flex;align-items:center;gap:16px;font-size:9px;letter-spacing:1px;margin:15px 0 24px}.progress-head b{font-size:16px;margin-left:3px}.progress-head small{font-size:7px;margin-left:6px;color:#898b78}.level-track{height:4px;flex:1;background:#ddd9c6;overflow:hidden;border-radius:4px}.level-track i{display:block;height:100%;background:#829278}.case-board{background:#f8f4e8;border:1px solid #d8d1bd;border-radius:7px;box-shadow:0 8px 30px #776a4510;padding:21px 28px 0;position:relative}.question-meta{display:flex;justify-content:space-between;color:#8c8d77;font-size:8px;letter-spacing:1.6px}.question-meta span:last-child{color:#8b886c}h2{font:normal 34px/1.1 var(--serif);letter-spacing:-.8px;margin:17px 0 8px;text-align:center}.look-hint{font-size:10px;text-align:center;color:#92917c;margin:0}.scene{height:114px;display:flex;justify-content:center;margin:5px 0 0}.scene-art{width:380px;max-width:100%;height:100%}.suspects{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-items:stretch}.suspect{min-width:0;background:#eeeddf;border:1px solid #dedbc8;border-radius:5px;padding:7px 0 10px;transition:background .16s,border-color .16s,transform .16s;position:relative}.suspect:nth-child(2){background:#f0e8da}.suspect:nth-child(3){background:#e8ecdf}.suspect:nth-child(4){background:#eee8de}.suspect:hover:not(:disabled){border-color:#8a9d81;transform:translateY(-3px);background:#e4e9d8}.animal-art{width:100%;display:block}.animal-name{font-size:8px;letter-spacing:1.4px;display:flex;align-items:center;justify-content:center;gap:8px}.suspect-number{font:italic 11px var(--serif);color:#9a9c84}.animal-name b{color:var(--green)}.suspect.revealed{border:2px solid #7d9271;background:#e5e9d9}.suspect.wrong{border-color:#bc8066}.timer{display:flex;align-items:center;gap:12px;margin:24px 0 0;font-size:8px;letter-spacing:1.5px}.time-track{flex:1;background:#e2decc;height:5px;border-radius:6px;overflow:hidden}.time-track i{width:100%;height:100%;display:block;background:#8e9b78;transition:background .2s}.time-track i.urgent{background:#bd7653}.timer b{width:27px;text-align:right;font-weight:normal;font-variant-numeric:tabular-nums}.feedback{min-height:70px;display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;align-content:center;font-size:10px;color:#8c8d79;text-align:center;padding:12px 0}.feedback strong{font-size:12px;letter-spacing:1px}.feedback.correct strong{color:#526d46}.feedback.miss strong{color:#ac684c}.feedback span{font-family:var(--serif);font-style:italic;font-size:14px}.feedback .bonus{font-size:9px;letter-spacing:1px;color:#8c6e37;border:1px solid #d5c7a5;padding:5px 7px}.game-bottom{display:flex;align-items:center;gap:27px;padding:25px 0;font-size:8px;letter-spacing:1px}.game-bottom b{font-size:14px;margin-left:5px}.game-bottom small{font-size:7px;color:#90917b;margin-left:12px}.game-bottom .save-note{margin-left:auto;letter-spacing:0}.modal-shade{position:fixed;inset:0;z-index:10;background:#343e346e;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:22px}.modal{background:var(--paper);padding:34px;width:360px;max-width:100%;max-height:calc(100dvh - 44px);overflow:auto;border:1px solid #fff8e3;box-shadow:0 20px 100px #20271d40;border-radius:9px;text-align:center}.modal-icon{color:#b76e52;font:44px var(--serif);margin-bottom:18px}.modal .eyebrow{justify-content:center;color:#8a8e73;font-size:8px}.modal h2{font-size:38px;margin:18px 0}.modal p{font:14px/1.7 var(--serif);color:#7e816d}.modal .primary{width:100%;margin-top:22px}.modal>small{font-size:9px;display:block;color:#92937e;margin:12px 0}.modal>.text-button{color:#81856f}.refill-progress{display:flex;justify-content:center;gap:20px;font-size:10px;letter-spacing:1px;border-block:1px solid var(--line);padding:16px 0;margin:22px 0}.secondary{padding:14px;border:1px solid #bc9276;border-radius:3px;color:#9d5b43;background:transparent;font-size:9px;letter-spacing:1px}.modal .small{font:10px/1.6 var(--sans)}.evidence-ring{animation:clue-pulse .7s ease-in-out infinite alternate}@keyframes clue-pulse{to{stroke-width:4;opacity:.6}}
@media(min-width:1400px){.home{padding-top:80px}.cover{margin-top:15px}.home-bottom{margin-top:65px}}
@media(max-width:800px){#app{padding:0 5%}.edition{display:none}.home{column-gap:12px;grid-template-columns:1fr 1.1fr;padding-top:47px}h1{font-size:51px}.eyebrow{font-size:7px;letter-spacing:1.3px}.howto{gap:13px}.howto span{font-size:6px}.cover-caption em{font-size:12px}.caption-line{width:12px}.case-label{left:13px;padding:7px 9px}.suspects{gap:8px}.case-board{padding-inline:18px}.animal-name{font-size:7px;gap:5px;letter-spacing:1px}.game-bottom small{display:block;margin:6px 0 0}.game-bottom .save-note{font-size:8px}}
@media(max-width:580px){#app{padding:0 6%}.topbar{height:77px}.brand{font-size:7px;gap:8px}.brand strong{font-size:11px}.brand svg{width:26px;height:26px}.prototype{font-size:6px;padding:6px 7px;letter-spacing:1px}.home{padding-top:31px;display:flex;flex-direction:column;position:relative}.intro{position:relative}.intro .eyebrow{font-size:7px;letter-spacing:1.7px}h1{font-size:58px;line-height:.96;letter-spacing:-2px;margin:21px 0 17px}.tagline{font-size:19px;margin-bottom:13px}.intro-copy{font-size:10px;margin-bottom:22px}.play{width:100%;max-width:330px}.cover{width:53%;position:absolute;right:-10px;top:174px;pointer-events:none;transform:rotate(3deg)}.case-label{display:none}.cover-caption{margin-top:0;gap:0}.cover-caption em{font-size:9px;white-space:normal;text-align:center;max-width:160px}.caption-line,.howto{display:none}.home-progress{gap:18px;justify-content:center;max-width:330px;margin-top:20px}.intro>.save-note{text-align:center;max-width:330px;margin-top:12px}.home-bottom{margin-top:30px;padding:21px 0;font-size:8px;gap:10px;flex-wrap:wrap}.bottom-detail{font-size:12px;margin-left:0;width:100%;padding-left:30px;margin-top:-7px}footer{min-height:60px;font-size:6px;letter-spacing:1px}.text-button{font-size:8px}.game{padding-top:12px}.game-top .eyebrow{font-size:8px}.hearts{font-size:21px}.progress-head{margin:10px 0 18px;gap:10px;font-size:8px}.progress-head small{display:none}.case-board{padding:15px 12px 0}.question-meta{font-size:7px}h2{font-size:25px;letter-spacing:-.8px;margin-top:17px}.look-hint{font-size:9px}.scene{height:91px;margin-top:2px}.suspects{grid-template-columns:repeat(2,1fr);gap:9px}.suspect{padding:0 0 8px}.animal-art{max-height:166px}.animal-name{font-size:8px}.timer{margin-top:18px}.feedback{min-height:69px;padding:10px 0;gap:4px 8px}.feedback span{font-size:12px}.game-bottom{gap:22px;padding:18px 0;font-size:7px}.game-bottom .save-note{font-size:7px;max-width:65px;text-align:right;line-height:1.5}.modal{padding:27px}.scene-art{width:310px}}
@media(max-width:370px){h1{font-size:50px}.cover{top:162px;width:50%;right:-5px}.tagline{font-size:17px}.animal-art{max-height:142px}.home-progress{gap:12px}.home-progress .hearts{padding-left:12px}.case-board h2{font-size:22px}.feedback span{font-size:11px}.brand{letter-spacing:1px}.brand strong{letter-spacing:1.5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Keep all four suspects and the clock visible on portrait phones. */
@media(max-width:580px){.cover{width:48%;top:204px;right:-5px}.game~footer{min-height:45px}.topbar:has(+.game){height:62px}.game .game-top{min-height:30px}.game .game-top .text-button{min-height:30px;padding:8px 0}.game .progress-head{margin:7px 0 13px}.game .case-board{padding-top:12px}.game h2{margin-top:12px}.game .scene{height:70px}.game .animal-art{max-height:140px}.game .feedback{min-height:53px}.game .timer{margin-top:14px}.game .game-bottom{padding:14px 0}.game .suspect{padding-bottom:7px}}
@media(max-width:370px){.cover{top:185px;width:46%}.game h2{font-size:21px}.game .animal-art{max-height:132px}}
@media(max-width:580px) and (max-height:740px){.topbar:has(+.game){height:51px}.game{padding-top:5px}.game .scene{height:54px}.game h2{font-size:21px;margin:8px 0 6px}.game .animal-art{max-height:119px}.game .feedback{min-height:45px}.game .game-bottom{padding:9px 0}.game~footer{min-height:34px}.game .timer{margin-top:10px}.game .suspects{gap:7px}.game .progress-head{margin:4px 0 8px}.game .look-hint{font-size:8px}.game .case-board{padding-top:9px}}
/* v0.2: the scene is a source of evidence, not a decorative prop. */
.scene-source{width:380px;max-width:100%;height:100%;display:flex;flex-direction:column;align-items:center;background:#ececdd;border:1px solid #dcd8c4;border-radius:5px;padding:1px 8px 5px}
.scene-source .scene-art{flex:1;min-height:0;width:100%;display:block}
.scene-caption{font-size:7px;letter-spacing:1.2px;color:#747863;text-align:center;line-height:1.2}
.game .scene{height:140px;margin:12px 0 17px}
.scene-evidence-ring{animation:clue-pulse .7s ease-in-out infinite alternate}
.suspect.revealed{box-shadow:0 0 0 2px #e7dec1;}
@media(max-width:580px){.game .scene{height:105px;margin:9px 0 11px}.scene-source{width:100%}.game .animal-art{max-height:147px}.game .feedback span{font:normal 10px var(--sans);letter-spacing:.4px}.game .feedback{min-height:57px}.game h2{font-size:23px}.game .look-hint{font-size:9px}}
@media(max-width:370px){.game .animal-art{max-height:135px}.game h2{font-size:20px}}
@media(max-width:580px) and (max-height:740px){.game .scene{height:89px}.game .animal-art{max-height:123px}.game .feedback{min-height:46px}.game h2{font-size:20px}}
/* Difficulty Lab: large diagrams, short speech, and a separate observation beat. */
.lab-source{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;background:#edeadb;border:1px solid #d4cfb8;border-radius:5px;padding:5px 8px}
.lab-scene-art{display:block;width:100%;flex:1;min-height:0}
.lab-scene{height:180px!important}
.lab-source-Q13 .lab-scene-art{max-width:380px}
.scene:has(.lab-source-Q13){height:205px!important}
.scene:has(.lab-source-Q14){height:205px!important}
.scene:has(.lab-source-Q16){height:235px!important}
.photo-log{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;width:100%;max-width:390px;flex:1;min-height:0;align-items:center}
.photo{position:relative;border:1px solid #c8bda1;background:#f6efdc;border-radius:3px;padding:4px;text-align:center}
.photo .animal-art{height:74px!important;width:100%;max-height:none!important}
.photo-number{position:absolute;left:5px;top:4px;font-size:9px;color:#837a63}
.place-icon{width:34px;height:32px;display:block;flex:none}
.photo .place-icon{margin:0 auto;height:32px}
.scene-photo-reveal{outline:3px dashed #bd713f;outline-offset:1px}
.statement{display:flex;align-items:center;justify-content:center;gap:5px;background:#f7eed8;border:1px solid #cfc3a3;border-radius:9px;margin:6px 6px 0;padding:4px 5px;font-size:10px;min-height:36px;letter-spacing:0;line-height:1.2}
.revealed .statement{outline:2px dashed #bd713f}
.memory-pair{display:grid;grid-template-columns:1fr 18px 1fr;align-items:center;gap:5px;width:100%;flex:1}.memory-pair b{display:block;text-align:center;font-size:9px;letter-spacing:1px;margin:4px}.memory-pair svg{width:100%;display:block}
.before-card{text-align:center;display:flex;align-items:center;justify-content:center;gap:15px;padding:24px;background:#e8e5d1;border:1px solid #cfc7aa;border-radius:5px;margin-bottom:16px;font-size:11px;letter-spacing:1px}.before-card>span{color:#8b866f}.before-card strong{color:#6a7c5d;font-size:18px}
.notes-list{border-block:1px solid #d9d1b8;text-align:left;margin:20px 0;padding:9px 0}.notes-list>div{display:flex;gap:17px;align-items:center;padding:9px 0;font-size:10px;letter-spacing:.6px}.notes-list small{color:#8b8870;font-size:9px}
@media(max-width:580px){.lab-scene{height:151px!important}.scene:has(.lab-source-Q13){height:175px!important}.scene:has(.lab-source-Q14){height:175px!important}.scene:has(.lab-source-Q16){height:223px!important}.lab-game .statement{font-size:10px;gap:3px;padding:4px 3px}.lab-game .statement .place-icon{width:28px;height:29px}.photo .animal-art{height:58px!important}.photo-log{gap:6px}.lab-source-Q16 .lab-scene-art{height:99px;flex:none}.lab-game .feedback{min-height:63px}.lab-game .feedback span{font-size:10px}.before-card{padding:20px 8px;gap:8px;font-size:9px}.photo-number{font-size:8px;left:3px;top:3px}}
@media(max-width:580px){.lab-game .suspect>.animal-art{height:145px;max-height:145px;object-fit:contain}.lab-game .case-board{padding-top:11px}.lab-game h2{margin-top:10px}.lab-game .timer{margin-top:14px}.lab-game .feedback{min-height:49px}.lab-game .game-bottom{padding:16px 0}.lab-game .suspect{padding-bottom:8px}}
/* v0.4: one visual vocabulary for tasks, records, speech and reasons. */
.visual-icon{width:32px;height:32px;display:block;flex:none}.task-guide{display:flex;align-items:center;justify-content:center;gap:7px;margin:8px auto 6px;min-height:36px}.visual-token{display:inline-flex;align-items:center;justify-content:center}.visual-symbol{font:22px var(--serif);color:#786b52;line-height:1}.visual-compare,.visual-reason{display:inline-flex;align-items:center;gap:5px}.visual-compare{border:1px solid #cfc4aa;border-radius:5px;padding:3px 5px;background:#f1e8d1}.visual-reason .visual-icon{width:24px;height:24px}.visual-reason .visual-symbol{font-size:18px}.lab-game .statement{gap:5px;min-height:38px}.statement>.icon-speech{width:19px;height:22px}.statement>.place-icon{width:34px;height:34px}.statement>span{font-size:10px;letter-spacing:.6px}.photo-caption .visual-icon{height:18px;width:21px}.photo-caption{display:flex;justify-content:center}.before-card>.visual-icon{width:40px;height:40px}.memory-pair b .visual-icon{height:27px;width:27px;margin:auto}.lab-game .feedback:not(.correct):not(.miss){min-height:0;padding:0}.lab-game .scene{animation:scene-in .18s ease-out}@keyframes scene-in{from{opacity:.4}to{opacity:1}}@media(prefers-reduced-motion:reduce){.lab-game .scene{animation:none}}
@media(max-width:580px){
 .lab-screen .topbar{height:45px}.lab-screen .prototype{font-size:7px;padding:5px}.lab-screen .brand{font-size:7px}.lab-screen .brand strong{font-size:11px}.lab-screen footer{min-height:39px}.lab-game{padding-top:0}.lab-game .game-top{min-height:32px}.lab-game .game-top .text-button{min-height:32px;padding:7px 0}.lab-game .progress-head{margin:2px 0 8px}.lab-game h2{font-size:23px;margin:8px 0 2px}.lab-game .task-guide{gap:5px;margin:3px 0;min-height:34px}.lab-game .task-guide .visual-icon{width:28px;height:28px}.lab-game .task-guide .visual-symbol{font-size:20px}.lab-game .case-board{padding:9px 9px 0}.lab-game .scene{margin:3px 0 6px}.lab-game .lab-scene{height:115px!important}.lab-game .scene:has(.lab-source-Q13),.lab-game .scene:has(.lab-source-Q14){height:150px!important}.lab-game .scene:has(.lab-source-Q16){height:169px!important}.lab-source-Q16 .lab-scene-art{height:66px}.lab-game .photo .animal-art{height:44px!important}.lab-game .photo .place-icon{height:27px;width:31px}.lab-game .suspects{gap:7px}.lab-game .suspect>.animal-art{height:132px;max-height:132px}.lab-game .suspect{padding-top:3px;padding-bottom:7px}.lab-game .statement{margin:2px 4px 0;padding:2px;min-height:35px;gap:3px}.lab-game .statement>.place-icon{height:31px;width:32px}.lab-game .statement>.icon-speech{width:16px;height:19px}.lab-game .animal-name{font-size:8px;letter-spacing:.6px}.lab-game .timer{margin-top:9px;margin-bottom:10px}.lab-game .feedback.correct,.lab-game .feedback.miss{min-height:40px;padding:5px 0;gap:5px}.lab-game .game-bottom{padding:10px 0;gap:15px}.lab-game .visual-reason .visual-icon{width:22px;height:22px}.lab-game .visual-reason .visual-symbol{font-size:16px}.lab-game .visual-reason{gap:3px}
}
@media(hover:none){.lab-game .suspect:hover:not(:disabled){transform:none;border-color:#dedbc8;background:#eeeddf}.lab-game .suspect:nth-child(2):hover:not(:disabled){background:#f0e8da}.lab-game .suspect:nth-child(3):hover:not(:disabled){background:#e8ecdf}.lab-game .suspect:nth-child(4):hover:not(:disabled){background:#eee8de}}
.reward-modal img{width:100%;display:block;margin:15px 0}.reward-modal small{display:block;margin:10px;color:#8a8066;font-size:9px;letter-spacing:2px}.reward-modal .primary{width:100%}.reward-shelf{display:flex;gap:10px;margin:15px 0}.reward-shelf figure{margin:0;max-width:120px}.reward-shelf img{width:100%;min-width:0;max-width:180px;border-radius:5px}.reward-shelf figcaption{font-size:8px;letter-spacing:1px;margin-top:5px}.complete-modal .reward-shelf img{width:calc(50% - 5px)}.memory-covered{flex:1;min-height:70px;border:2px dashed #c9bda2;background:#e5deca;display:flex;align-items:center;justify-content:center;gap:20px;width:100%;border-radius:5px}.memory-covered .visual-icon{width:50px;height:50px}.record-pair{display:flex;justify-content:center;align-items:center;gap:3px}.record-pair>svg{height:30px;width:30px}.statement.double{gap:2px}.statement.double .claim-object{height:31px;width:31px}.statement.double>.icon-speech{width:13px}.statement.double .place-icon{height:31px;width:31px}.chapter-source-two-statements .photo-caption{margin:auto}.chapter-source-two-statements .photo-caption .visual-icon{height:18px;width:18px}
@media(max-width:580px){.chapter-source .lab-scene-art{max-width:100%;height:100%}.lab-screen .lab-source-final .photo .animal-art{height:60px!important}.lab-game .scene:has(.lab-source-final){height:140px!important}.reward-shelf figure{max-width:105px}}

/* Two authored clues, with separate source and claim comparisons. */
.both-goal{display:inline-flex;align-items:center;gap:7px;border:1px solid #bdb196;padding:5px 7px;border-radius:5px;background:#f1e8d1;font-size:11px}.clue-label{display:inline-flex;align-items:center;gap:4px;font-size:10px}.record-pair>span{display:inline-flex}.record-pair>span>svg{height:30px;width:30px}.scene-photo-reveal .record-pair>span{outline:2px dashed #bd713f;border-radius:4px}.pair-feedback{display:flex;flex-direction:column;gap:5px;max-width:100%;width:350px}.clue-result{display:grid;grid-template-columns:35px 1fr 1fr;align-items:center;gap:5px}.pair-number{font-size:11px}.result-clue{border:1px dashed #9a916f;border-radius:4px;padding:2px}.result-clue small{display:block;font-size:8px;letter-spacing:1px}.clue-equation{display:flex;align-items:center;justify-content:center;gap:3px}.clue-equation>svg{width:25px;height:25px}.clue-equation>b{font-size:15px}.clue-fail{background:#eee0cf;border-color:#b9795b}.clue-pass{background:#e5eadb}.lab-game .feedback:has(.pair-feedback){flex-wrap:wrap}.pair-task .visual-icon{width:25px;height:25px}
@media(max-width:580px){.lab-game .pair-task{gap:4px}.pair-task .visual-compare{gap:2px}.both-goal{gap:4px;padding:5px;font-size:10px}.pair-task .icon-photo,.pair-task .icon-speech{width:22px!important;height:22px!important}.lab-game .feedback .pair-feedback{font-size:10px}.clue-equation>svg{width:27px;height:27px}.clue-result{grid-template-columns:29px 1fr 1fr;gap:4px}.result-clue small{font-size:8px}}

@media(max-width:580px){.lab-game:has(.chapter-source-two-statements) .suspect>.animal-art{height:115px;max-height:115px}}

/* Chapter title only: one title, one scene, one primary action. */
.title-screen .topbar{height:42px;border:0;justify-content:flex-end}.title-screen .topbar .brand,.title-screen .edition,.title-screen footer>span{display:none}.title-screen .prototype{border:0;font-size:7px;color:#98917c;padding:5px;letter-spacing:1px}.title-screen .title-home{display:flex;flex-direction:column;align-items:center;max-width:590px;margin:0 auto;padding:10px 0 24px;gap:0;text-align:center}.title-home h1{margin:0;letter-spacing:-1px;line-height:1.04;font-size:64px}.title-home h1 span:first-child{font:14px var(--sans);letter-spacing:5px;margin-bottom:8px}.title-home h1 span:last-child{font-style:italic}.title-visual{width:100%;max-width:510px;margin:12px auto 6px}.title-screen .title-start{width:320px;max-width:100%;min-height:64px;font-size:17px;font-weight:bold;letter-spacing:3px;padding:18px 26px;box-shadow:0 4px 0 #293e32,0 10px 20px #405d4c15;border-radius:7px}.title-start>span{font-size:23px}.title-progress{display:flex;gap:18px;align-items:center;margin-top:20px;font-size:9px;letter-spacing:1px;color:#868573}.title-progress b{font-size:11px}.title-progress .hearts{font-size:16px}.title-screen footer{border:0;justify-content:center;min-height:48px}.title-screen footer .text-button{color:#94917e;font-size:8px}.title-screen .save-note{font-size:9px;margin:8px 0 0}
@media(max-width:580px){.title-screen .topbar{height:34px}.title-screen .title-home{padding:12px 0 18px}.title-home h1{font-size:49px;letter-spacing:-1.7px}.title-home h1 span:first-child{font-size:12px;letter-spacing:3.5px;margin-bottom:8px}.title-visual{margin:20px auto 17px;width:100%;max-width:380px}.title-screen .title-start{width:100%;max-width:330px;min-height:64px;font-size:18px}.title-progress{margin-top:19px}.title-screen footer{min-height:44px}}

/* Keep reward text beside level progress rather than extending mobile feedback. */
.mobile-progress-bonus{display:none}
@media(max-width:580px){.lab-game .mobile-progress-bonus{display:inline;font-size:9px;letter-spacing:.3px;color:#8c6e37}.lab-game .mobile-progress-bonus+.progress-count{display:none}.lab-game .feedback .bonus{display:none}}

/* The reward painting leads; the milestone is a quiet label. */
.reward-modal{width:720px;padding:24px}
.completion-title{font:700 18px/1.3 var(--sans);letter-spacing:1px;text-align:center;color:var(--green)}
.reward-picture{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:15px 0}
.reward-picture img{margin:0}
.reward-labels{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%}
.reward-chapter{font:700 11px/1.3 var(--sans);letter-spacing:1px;color:var(--muted);white-space:nowrap}
.reward-modal .reward-level-badge{margin:0;padding:8px 11px;border:1px solid #3e5c4b;background:#fff7e5;color:#243f30;border-radius:4px;box-shadow:0 2px 5px #201b1633;font:700 18px/1.2 var(--sans);letter-spacing:1px;white-space:nowrap}
@media(max-width:580px){.reward-shade{padding:8px}.reward-modal{width:100%;padding:8px;max-height:calc(100dvh - 16px)}.completion-title{font-size:16px;margin:8px 0}.reward-modal .primary{margin-bottom:4px}}
