@charset "UTF-8";
:root{--night:#122a36;--ink:#203d47;--muted:#5a6a6d;--paper:#f5f0e5;--line:#cfc5b4;--gold:#dec18b;--rust:#995a40;--green:#2b654e;--serif:Georgia,"AppleMyungjo","Batang",serif;--sans:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.65}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:46px}button:disabled{cursor:default;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b36b24;outline-offset:4px}h1:focus,main:focus{outline:none}button{border:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:500;word-break:keep-all}button,input{border-radius:3px}input{min-width:0}button{transition:background .15s ease,transform .15s ease}button:not(:disabled):active{transform:translateY(1px)}[hidden]{display:none!important}.skip-link{position:fixed;left:12px;top:-90px;background:#fff;z-index:20;padding:10px}.skip-link:focus{top:10px}.site-header{max-width:1280px;margin:auto;padding:26px 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{text-decoration:none;font-weight:700;letter-spacing:1px;display:flex;align-items:center;gap:10px}.brand>span{color:var(--rust);font-size:27px}.brand small{font-size:10px;letter-spacing:1.8px;margin-left:7px;font-weight:500}.edition{font-size:12px;letter-spacing:1px;color:var(--muted)}main{max-width:1280px;margin:auto}.site-footer{max-width:1192px;border-top:1px solid var(--line);margin:36px auto 0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:80px;color:var(--muted);font-size:12px;padding:12px 0}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;color:var(--muted)}.primary{background:var(--night);color:#fbf5e9;font-weight:600;padding:13px 23px;display:inline-flex;align-items:center;justify-content:space-between;gap:24px}.primary:hover:not(:disabled){background:#2e505d}.secondary{background:transparent;border:1px solid #9eabac;color:var(--ink);padding:12px 18px}.secondary:hover{background:#e8e2d6}.text-button{background:transparent;color:var(--ink);padding:8px 0;text-align:left;text-underline-offset:5px}.text-button:hover:not(:disabled){text-decoration:underline}.quiet-note{font-size:11px;color:var(--muted);margin:14px 0 0;line-height:1.8}.welcome{display:grid;grid-template-columns:1fr 1fr;gap:64px;padding:55px 44px 20px;align-items:center}.welcome h1{font-size:70px;line-height:1.15;letter-spacing:-3px;margin:22px 0 24px;position:relative}.title-star{color:var(--rust);font-size:29px;vertical-align:top;display:inline-block;margin:10px 0 0 17px}.intro{font-size:20px;line-height:1.7;margin-bottom:20px}.description{font-size:14px;color:var(--muted);line-height:1.9}.game-facts{display:flex;gap:0;flex-wrap:wrap;margin:25px 0;font-size:12px}.game-facts span{padding:0 12px;border-right:1px solid var(--line)}.game-facts span:first-child{padding-left:0}.game-facts span:last-child{border:0}.mode-select{margin:0 0 20px;padding:0;border:0;display:flex;flex-direction:column;gap:6px}.mode-select legend{font-size:12px;font-weight:600;margin-bottom:6px}.mode-select label{display:flex;align-items:center;gap:8px;font-size:13px;min-height:44px;cursor:pointer}.mode-select input{accent-color:var(--night);width:16px;height:16px;margin:0}.mode-select small{font-size:11px;color:var(--muted)}.start-button{min-width:270px}.welcome-art{background:var(--night);align-self:stretch;min-height:620px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.night-art{width:100%;height:auto;display:block}.art-caption{padding:0 38px 32px;position:relative;color:#eee0c3}.art-caption>span:first-child{font-size:10px;letter-spacing:3px;color:#d2b886}.art-caption p{font-family:var(--serif);font-size:22px;line-height:1.6;margin:14px 0 0}.caption-mark{position:absolute;right:35px;bottom:34px;font-size:33px;color:var(--gold)}.game-top{display:flex;align-items:center;justify-content:space-between;padding:26px 44px 0}.game-top>p{margin:0}.chapter-nav{display:flex;gap:8px}.chapter{height:44px;min-height:44px;width:44px;background:transparent;border:1px solid #b9b7ac;border-radius:50%;font-size:12px;font-variant-numeric:tabular-nums}.chapter.active{background:var(--night);color:var(--paper);border-color:var(--night)}.chapter:disabled{border-style:dashed;opacity:.45}.game-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:38px 44px 16px;align-items:start}.chapter-label{color:var(--rust);margin:0 0 14px}.story-panel h1{font-size:43px;line-height:1.25;letter-spacing:-1.6px;margin-bottom:24px}.story-text{font-size:15px;line-height:1.9;word-break:keep-all;max-width:480px}blockquote{margin:24px 0 30px;padding:3px 0 3px 20px;border-left:2px solid #b69a68;font-family:var(--serif);font-size:18px;line-height:1.9;color:#53645e;word-break:keep-all}.answer-area label{display:block;font-size:16px;font-weight:650;line-height:1.6;word-break:keep-all}.format{font-size:12px;color:var(--muted);margin:5px 0 10px}.answer-row{display:flex;gap:10px}.answer-row input{width:100%;height:52px;background:#fffaf0;border:1px solid #9a9f96;padding:10px 14px;font-size:22px;letter-spacing:4px;color:var(--ink)}.answer-row input[aria-invalid=true]{border-color:#a24031}.answer-row input:disabled{background:#e6e5db}.answer-row .primary{min-width:86px;justify-content:center}.feedback{font-size:13px;color:#963f30;min-height:24px;margin:10px 0}.feedback.positive{color:var(--green)}.success-note{padding:16px 18px;background:#e4eadd;border-left:2px solid var(--green);font-size:14px;line-height:1.8;word-break:keep-all}.hint-area{border-top:1px solid var(--line);margin-top:25px;padding-top:8px}.hint-area>.text-button{display:flex;justify-content:space-between;width:100%;font-size:13px}.hint-area p{font-size:13px;padding:10px 14px;background:#ebe6dc;margin:5px 0 9px;word-break:keep-all}.hint-area p span{display:block;font-size:10px;color:var(--rust);font-weight:700;letter-spacing:1px;margin-bottom:2px}.evidence-panel{background:#e8e2d5;padding:24px 26px;position:relative;border:1px solid #d9d0bf}.evidence-pin{position:absolute;top:-17px;left:calc(50% - 17px);width:34px;height:34px;border-radius:50%;background:var(--paper);border:1px solid var(--line);text-align:center;line-height:34px;color:#a57938}.clue-paper{padding:24px;background:#fffaf0;box-shadow:0 3px 10px #493c2810;border:1px solid #e0d7c5}.clue-label{font-size:12px;font-weight:650;display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #d8cfbd;padding-bottom:13px;margin-bottom:18px;letter-spacing:.5px}.clue-label span{font-size:8px;letter-spacing:1.6px;color:var(--muted)}.map-compass{font-size:11px;display:flex;justify-content:space-between;margin:0 0 10px;color:var(--muted)}.map-grid{display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid #b9c1b3;border-top:1px solid #b9c1b3}.map-grid>div{padding:13px 4px;border-right:1px solid #b9c1b3;border-bottom:1px solid #b9c1b3;text-align:center;background:repeating-linear-gradient(135deg,transparent,transparent 8px,#849d8810 8px,#849d8810 9px)}.map-grid b{display:block;font-family:var(--serif);font-size:28px;line-height:1.2;font-weight:400}.map-grid small{font-size:10px;color:var(--muted)}.map-grid .home-cell{background:#dae1cc;box-shadow:inset 0 0 0 3px #fffaf0}.clue-foot{font-size:12px;line-height:1.8;text-align:center;color:var(--muted);margin:17px 0 0}.clue-foot strong{color:var(--ink)}.journal-heading{display:flex;justify-content:space-between;font-size:11px;margin:22px 0 12px;letter-spacing:1px}.journal-heading small{font-size:10px;color:var(--muted)}.stamps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stamp{border:1px dashed #9e998b;min-height:80px;display:grid;grid-template-columns:1fr 1fr;align-items:center;text-align:center;padding:6px 10px;color:#77796e;background:#e2ddd0}.stamp>span{font-size:26px;grid-column:1/3;line-height:1.1}.stamp small{font-size:10px}.stamp b{font-family:var(--serif);font-size:20px}.stamp.collected{background:#f7f2e5;color:#355648;border:1px dashed #547463;box-shadow:inset 0 0 0 3px #e5e9d9;transform:rotate(-2deg)}.stamp.collected:nth-child(even){transform:rotate(2deg)}.book-shelf{display:flex;gap:9px;border-bottom:8px solid #a99c81;padding:12px 6px 0;align-items:flex-end}.book{flex:1;height:181px;border-radius:4px 2px 0 0;color:#fff5df;display:flex;flex-direction:column;align-items:center;box-shadow:inset 5px 0 0 #ffffff18;border:1px solid #0002}.book b{font-family:var(--serif);font-size:24px;font-weight:400;border-bottom:1px solid #fff5;padding:6px 0;width:80%;text-align:center}.book span{writing-mode:vertical-rl;font-size:14px;letter-spacing:2px;margin-top:10px}.book.ochre{background:#7c602a;height:169px}.book.blue{background:#365666}.book.green{background:#406253;height:173px}.book.rust{background:#865541;height:186px}.rules{font-size:13px;padding-left:20px;line-height:2.1;margin-bottom:0}.equations{padding:6px 4px}.equations>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:18px 0;gap:12px}.equations b{font-family:var(--serif);font-size:28px;font-weight:400;min-width:45px;text-align:center}.equations b::before{content:'= ';font:16px var(--sans);color:var(--muted)}.equations span{font-size:16px}.equations .equation-question{border-bottom:0;color:var(--rust)}.visitor-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.visitor-table caption{font-size:11px;text-align:left;margin-bottom:13px;color:var(--muted)}.visitor-table th,.visitor-table td{padding:14px 4px;border-bottom:1px solid var(--line)}.visitor-table thead{color:var(--muted);font-size:10px}.final-envelope{border:1px solid #c4baa6;padding:55px 20px 20px;position:relative;background:repeating-linear-gradient(0deg,#faf3e5,#faf3e5 27px,#d1c5af22 28px)}.postmark{position:absolute;right:18px;top:16px;width:60px;height:60px;border:2px solid #996e5480;border-radius:50%;font-size:12px;line-height:1.4;color:#8d614a;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(13deg);font-family:var(--sans)}.final-envelope>p{font-size:11px;color:var(--muted);margin-bottom:5px}.final-envelope h3{font-size:25px;line-height:1.5;margin-bottom:22px}.seal-order{display:flex;align-items:center;justify-content:space-around;border-top:1px solid #c4baa6;padding-top:13px}.seal-order>span{font-size:27px;line-height:1.2;text-align:center}.seal-order small{display:block;font-size:10px;margin-top:4px}.seal-order i{font-size:12px;font-style:normal}.paper-notice{font-size:13px;line-height:1.9;padding:10px 0}.paper-clue summary{cursor:pointer;font-size:13px;padding:10px 0;min-height:44px}.paper-clue .clue-paper{padding:16px}.ending{max-width:750px;margin:auto;padding:50px 24px 20px;text-align:center}.ending h1{font-size:42px;letter-spacing:-1.5px;margin:12px 0 35px}.ending-letter{position:relative;background:#fffaf0;border:1px solid #d1c3aa;padding:62px 50px 34px;box-shadow:7px 7px 0 #e9e2d4;text-align:left;font-family:var(--serif);font-size:17px;line-height:1.9}.ending-letter p{margin-bottom:24px}.ending-letter .letter-to{font-size:20px;color:#765c3c}.ending-letter .letter-key{font-size:27px;color:var(--rust);margin:30px 0}.ending-letter .letter-sign{text-align:right;font-size:14px;margin-bottom:0}.promise-area{margin:35px 0 20px}.promise-area h2{font:600 16px var(--sans);margin-bottom:20px}.promise-options{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.promise-options button{font-size:12px;min-height:45px;padding:10px 12px}.promise-options .chosen{color:#fff;background:var(--ink);border-color:var(--ink)}#promise-result{font-size:12px;color:var(--muted);margin-top:16px}.ending-stats{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;font-size:11px;border-top:1px solid var(--line);padding-top:20px}.ending>.text-button{font-size:13px;margin-top:16px}dialog{max-width:calc(100vw - 32px);width:460px;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:30px}dialog::backdrop{background:#061c29aa}dialog h2{font-size:24px;line-height:1.4}dialog p{font-size:14px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.dialog-actions button{font-size:13px}.storage-notice,.no-script{max-width:1192px;margin:18px auto;padding:12px 18px;background:#eee0c3;font-size:13px}
@media(min-width:1550px){.welcome{padding-top:70px}.welcome-art{min-height:650px}}
@media(max-width:900px){.welcome{gap:30px}.welcome h1{font-size:56px}.brand small{display:none}.game-layout{gap:32px}.story-panel h1{font-size:35px}.clue-paper{padding:18px}.evidence-panel{padding:22px 18px}.stamp{padding:6px}.site-footer{margin-left:44px;margin-right:44px}.equations span{font-size:14px}}
@media(max-width:650px){.site-header{padding:17px 22px}.brand{font-size:14px;gap:7px}.brand>span{font-size:23px}.edition{font-size:10px;letter-spacing:0}.edition>span{display:none}.welcome{display:flex;flex-direction:column;padding:32px 24px 0;gap:32px;align-items:stretch}.welcome .eyebrow{font-size:10px;letter-spacing:1px}.welcome h1{font-size:55px;line-height:1.15;margin:21px 0;letter-spacing:-2px}.title-star{font-size:24px;margin-top:7px}.intro{font-size:18px;margin-bottom:16px}.description{font-size:13px}.game-facts{margin:20px 0;font-size:11px}.start-button{width:100%}.quiet-note{font-size:10px}.welcome-art{min-height:0;align-self:auto}.night-art{max-height:340px}.art-caption{padding:0 26px 26px}.art-caption p{font-size:20px}.site-footer{margin:28px 24px 0;min-height:75px;font-size:10px}.site-footer .text-button{font-size:11px}.game-top{padding:22px 24px 0;align-items:flex-start;gap:12px;flex-direction:column}.game-top>p{font-size:9px;letter-spacing:1.6px}.chapter-nav{gap:10px;width:100%;justify-content:space-between}.chapter{width:44px;height:44px}.game-layout{display:flex;flex-direction:column;padding:27px 24px 0;gap:34px}.story-panel,.evidence-panel{width:100%}.story-panel h1{font-size:32px;line-height:1.3;margin-bottom:20px;letter-spacing:-1.5px}.chapter-label{font-size:10px;letter-spacing:1.1px}.story-text{font-size:14px;line-height:1.85}blockquote{font-size:16px;margin:20px 0 24px;padding-left:15px}.answer-area label{font-size:14px}.answer-row input{height:50px}.answer-row .primary{min-width:76px;padding:12px 18px}.hint-area{margin-top:21px}.evidence-panel{padding:22px 16px}.clue-paper{padding:18px}.clue-label{font-size:11px}.clue-label span{font-size:7px}.map-grid>div{padding:12px 4px}.map-grid b{font-size:25px}.stamps{gap:8px}.stamp{min-height:76px}.book-shelf{gap:7px}.book span{font-size:12px}.rules{font-size:12px}.visitor-table{font-size:11px}.visitor-table th,.visitor-table td{padding:13px 3px}.equations span{font-size:14px}.ending{padding:34px 24px 0}.ending h1{font-size:31px;line-height:1.3;margin-bottom:24px}.ending>.eyebrow{font-size:9px;letter-spacing:1px}.ending-letter{padding:78px 23px 25px;font-size:14px;line-height:1.9;box-shadow:4px 4px 0 #e9e2d4}.ending-letter .letter-to{font-size:16px}.ending-letter .letter-key{font-size:22px}.promise-area h2{font-size:14px;line-height:1.6}.promise-options{flex-direction:column}.promise-options button{font-size:13px}.ending-stats{gap:12px;font-size:10px}.storage-notice{margin:12px 24px}.story-panel{display:contents}.game-layout .chapter-label,.game-layout h1,.game-layout .story-text,.game-layout blockquote{width:100%;margin-bottom:0}.game-layout{gap:18px}.game-layout .evidence-panel{order:1;margin-top:7px}.game-layout .answer-area{order:2;width:100%;margin-top:5px}.game-layout .hint-area{order:3;width:100%;margin-top:1px}.game-layout blockquote{margin-top:0;margin-bottom:5px}.game-layout .chapter-label{margin-bottom:-6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.lumi-guide{display:flex;gap:15px;align-items:center;margin:0 0 24px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.lumi-face{width:59px;flex:0 0 59px;display:block}.lumi-face svg{display:block;width:100%;height:auto}.lumi-guide p{font-size:13px;line-height:1.8;margin:0;word-break:keep-all}.lumi-guide b{display:block;color:var(--rust);font-size:11px;margin-bottom:4px}.answer-area h2{font:650 17px/1.7 var(--sans);margin-bottom:3px}.choice-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0}.choice-board.stage-0{grid-template-columns:repeat(3,minmax(0,1fr))}.answer-choice{background:#fffaf0;border:1px solid #9da79c;color:var(--ink);min-height:52px;padding:12px 9px;line-height:1.6;font-size:14px;word-break:keep-all;position:relative}.answer-choice:hover:not(:disabled){background:#e9eadb}.answer-choice.chosen{border:2px solid #35604c;background:#e1ead8;padding:11px 8px}.answer-choice.chosen:after{content:'✓';position:absolute;right:6px;top:2px;font-size:11px;color:#245b43}.answer-choice[aria-disabled=true]{cursor:default}.answer-choice svg{width:105px;max-width:100%;height:88px;display:block;margin:0 auto 8px}.answer-choice .choice-symbol{font-size:29px;display:block;line-height:1.1;margin-bottom:7px}.selection-head{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:13px 0 5px}.selection-head small{font-size:11px}#selection{min-height:54px;border-bottom:1px solid var(--line);padding:8px 0;font-size:14px;line-height:1.9;margin:0 0 12px;word-break:keep-all}.selection-actions{display:flex;justify-content:space-between;gap:15px;align-items:center}.selection-actions .text-button{font-size:12px;min-height:46px}.selection-actions .primary{font-size:14px}.together-prompt{padding:15px 0 20px}.together-prompt>span{color:var(--muted);font-size:11px}.together-prompt p{font-family:var(--serif);font-size:18px;line-height:1.8;margin:7px 0 0;word-break:keep-all}.cup-reference{display:flex;align-items:center;gap:22px;justify-content:center;padding:25px 8px}.cup-reference>span{font-size:74px;color:#98712e;line-height:1}.cup-reference p{font-size:15px;line-height:2;margin:0}.memory-book{border-top:1px solid var(--line);margin-top:28px;padding:24px 0 5px;text-align:left}.memory-book h2{font-size:21px}.memory-book ul{list-style:none;padding:0;font-size:14px;line-height:2.1}.memory-book li:before{content:'✦';font-size:10px;color:var(--rust);margin-right:10px}.memory-book>p{font-size:13px;line-height:1.8;color:var(--muted)}.print-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-width:420px;margin:15px auto;text-align:center}.print-choice{padding:10px;border:1px solid var(--line);font-size:12px;break-inside:avoid}.print-choice svg{width:95px;height:80px;display:block;margin:auto}.print-choices + .clue-foot{margin-bottom:0}
@media(max-width:650px){.story-text{font-size:16px}.lumi-guide{width:100%;margin:0;padding:12px 0}.lumi-guide p{font-size:13px}.lumi-face{width:48px;flex-basis:48px}.answer-area h2{font-size:16px}.choice-board{gap:8px}.answer-choice{font-size:14px;min-height:52px}.choice-board.stage-2 .answer-choice{font-size:12px}.selection-actions .primary{padding:13px 20px}.together-prompt p{font-size:17px}.ending-letter{font-size:16px}.memory-book li{margin-bottom:8px}.memory-book{font-size:14px}}
/* Series shelf and touch-first play, v0.3 */
button,.chapter,.paper-clue summary{min-height:48px}.chapter{width:48px;height:48px}.brand{min-height:48px}.header-nav{display:flex;gap:22px;align-items:center}.header-nav .text-button{font-size:13px;min-width:80px;text-align:center}.library{padding:44px 44px 10px}.library-heading{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:34px}.library-heading h1{font-size:42px;line-height:1.4;letter-spacing:-1.5px;margin:12px 0 16px}.library-heading p:last-child{color:var(--muted);margin:0;font-size:16px}.shelf-mark{border-left:1px solid var(--line);padding-left:30px;display:flex;flex-direction:column;min-width:185px;gap:5px}.shelf-mark>span{font-size:34px;color:var(--rust)}.shelf-mark b{font-size:13px}.shelf-mark small{font-size:12px;color:var(--muted)}.story-shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}.story-book{border-bottom:2px solid #b8a98d;min-width:0}.book-cover{position:relative;aspect-ratio:1.85;overflow:hidden;background:var(--night);border-radius:4px 18px 0 0;box-shadow:inset 8px 0 #0001}.book-cover .night-art{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 48%}.book-number{position:absolute;top:18px;left:20px;background:#fff7e6;color:#3c4d48;padding:5px 12px;font-size:12px;box-shadow:2px 2px #0001}.book-copy{padding:24px 0 25px}.book-copy .eyebrow{color:var(--rust);margin-bottom:8px}.book-copy h2{font-size:29px;line-height:1.4;margin-bottom:12px;letter-spacing:-.8px}.book-copy>p:not(.eyebrow){font-size:15px;color:var(--muted);min-height:25px}.book-progress{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;margin:22px 0 15px}.book-progress>span:first-child{color:var(--green);font-weight:600}.story-book .primary{width:100%;min-height:54px}.library-note{margin:35px 0 0;font-size:14px;text-align:center;color:var(--muted);line-height:1.9}.print-link{display:inline-flex;align-items:center;font-size:12px;min-height:48px;margin-top:8px;text-underline-offset:4px}.choice-board.map-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.map-choices .answer-choice{font-size:21px;min-height:58px}.answer-choice{min-height:58px;font-size:16px}.choice-board{align-items:stretch}.answer-choice svg{height:90px;width:126px}.answer-choice.chosen:after{font-size:14px}.game-layout>*{min-width:0}.ending-actions{display:flex;flex-direction:column;gap:15px;margin:26px auto 0;max-width:480px}.ending-actions .primary{justify-content:center;line-height:1.8;text-align:center}.ending-actions .text-button{text-align:center}.packing-list{display:grid;gap:12px}.packing-list p{display:flex;gap:15px;align-items:center;border-bottom:1px dashed var(--line);padding-bottom:14px;font-size:20px;margin:0}.packing-list p>span{display:block;min-width:60px;font-size:13px;color:var(--rust)}.flower-path{display:flex;justify-content:space-around;gap:5px;align-items:center;padding:20px 0}.flower-path>span{font-size:37px;text-align:center;color:#8b662b}.flower-path small{font:11px/1.6 var(--sans);display:block;color:var(--ink)}.rest-note{text-align:center;padding:15px 0;font-size:18px}.rest-note p{margin:5px 0}.rest-note strong{display:block;font-size:25px;color:var(--green)}.rest-note>span{display:block;font-size:25px;margin:10px 0}.growing-note{text-align:center;padding:15px 0}.growing-note p{font-size:19px;margin:5px 0}.growing-note>span{display:block;font-size:12px;color:var(--muted);margin:15px 0}.picnic-invite{text-align:center;padding:14px 0}.picnic-invite>span{font-size:57px;color:#a87728}.picnic-invite h3{font-size:30px;line-height:1.5;margin:15px 0}.picnic-invite p{font-size:16px}.stamp small{overflow-wrap:anywhere}.stamp b{min-width:0}body[data-story=picnic]{--night:#2b5144;--rust:#8a5537}body[data-story=picnic] .welcome-art{background:#3e604a}body[data-story=picnic] .art-caption{padding-top:18px}.answer-area .format{font-size:14px}.feedback,.success-note{font-size:16px}.hint-area p{font-size:15px}.hint-area>.text-button{font-size:15px}.paper-clue summary{font-size:15px}.answer-choice,.primary,.secondary{overflow-wrap:anywhere}.mode-select label{min-height:48px}.mode-select small{line-height:1.4}.mode-select input{flex-shrink:0}.story-text{font-size:17px}.clue-label{font-size:14px}.visitor-table{font-size:14px}.visitor-table thead{font-size:12px}.rules{font-size:15px}.map-grid small{font-size:12px}.clue-foot{font-size:14px}.memory-book li{font-size:15px}
@media(max-width:900px){.library-heading h1{font-size:34px}.story-shelf{gap:26px}.book-copy h2{font-size:25px}.shelf-mark{min-width:165px;padding-left:22px}.game-layout{gap:24px}.evidence-panel{padding:22px 14px}}
@media(max-width:650px){.site-header{padding:10px 20px;gap:10px}.header-nav{gap:8px}.header-nav .edition{display:none}.header-nav .text-button{font-size:12px;min-width:72px}.library{padding:27px 22px 0}.library-heading{display:block;margin-bottom:25px}.library-heading h1{font-size:29px;line-height:1.5;letter-spacing:-1px}.library-heading p:last-child{font-size:14px;word-break:keep-all}.shelf-mark{border:0;border-top:1px solid var(--line);padding:12px 0 0;margin-top:20px;flex-direction:row;align-items:center;gap:9px}.shelf-mark>span{font-size:20px}.shelf-mark b{font-size:12px}.shelf-mark small{margin-left:auto;font-size:11px}.story-shelf{grid-template-columns:1fr;gap:30px}.book-cover{aspect-ratio:1.65}.book-copy{padding-top:20px}.book-copy h2{font-size:27px}.book-copy>p:not(.eyebrow){font-size:15px}.book-progress{font-size:12px;margin-top:15px}.library-note{font-size:13px;margin-top:27px}.welcome{padding:26px 22px 0}.welcome h1{font-size:48px}.start-button{min-width:0}.game-top{padding:20px 22px 0}.game-layout{padding:25px 22px 0;gap:16px}.chapter-nav{gap:8px}.story-panel h1{font-size:29px;overflow-wrap:anywhere}.story-text{font-size:17px;line-height:1.9}.lumi-guide p{font-size:14px}.lumi-guide b{font-size:12px}.answer-area h2{font-size:18px;line-height:1.7}.evidence-panel{padding:22px 12px}.clue-paper{padding:16px 12px}.visitor-table{font-size:13px}.visitor-table th,.visitor-table td{padding:12px 2px}.stamps{gap:5px}.stamp{padding:7px 3px}.stamp small{font-size:10px}.stamp b{font-size:17px}.answer-choice{font-size:15px;padding:12px 8px;min-height:60px}.answer-choice.chosen{padding:11px 7px}.selection-actions .text-button{font-size:14px}.selection-actions .primary{font-size:16px}.selection-head{font-size:13px}#selection{font-size:16px;overflow-wrap:anywhere}.selection-head small{font-size:13px}.flower-path{gap:2px}.flower-path>span{font-size:30px}.flower-path small{font-size:10px}.cup-reference{gap:12px}.cup-reference>span{font-size:54px}.cup-reference p{font-size:14px}.ending-actions .primary{font-size:15px;gap:8px}.print-link{font-size:13px}.site-footer{align-items:flex-start}.site-footer>span{padding-top:13px}.site-footer .text-button{min-width:80px}.mode-select label{flex-wrap:wrap}.game-facts{row-gap:8px}.game-facts span{padding:0 7px}.ending h1{font-size:29px}.ending-letter .letter-key{font-size:21px}.book-number{left:16px;top:16px}.welcome-art .night-art{max-height:none}}
@media(max-width:350px){.library-heading h1{font-size:25px}.shelf-mark b{display:none}.shelf-mark small{margin-left:0}.welcome h1{font-size:42px}.title-star{margin-left:8px;font-size:20px}.game-top,.game-layout{padding-left:16px;padding-right:16px}.chapter-nav{gap:6px}.chapter{flex:0 0 48px}.story-panel h1{font-size:27px}.ending{padding-left:18px;padding-right:18px}.ending-letter{padding-left:18px;padding-right:18px}}
.promise-options button{min-height:48px}
body[data-story=picnic] .stamp small{grid-column:1/3;white-space:nowrap}body[data-story=picnic] .stamp b{grid-column:1/3;font-size:14px}
/* Six-story collection. Shared visual language, individual worlds. */
.story-index{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:0 0 30px}.story-index button{font-size:15px;min-height:50px}.story-index small{font-size:11px;color:var(--muted);margin-right:5px}.story-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 26px}.book-copy h2{font-size:26px}.book-copy>p:not(.eyebrow){min-height:50px}.story-book{display:flex;flex-direction:column}.book-copy{display:flex;flex-direction:column;flex:1}.book-progress{margin-top:auto;padding-top:15px}.book-cover{aspect-ratio:1.6;flex-shrink:0}.story-book.rain .book-cover{background:#405d70}.story-book.wind .book-cover{background:#dbe4df}.story-book.garden .book-cover{background:#e9e5c9}.story-book.lantern .book-cover{background:#233b4e}.collection-banner{display:flex;gap:20px;align-items:center;border:1px solid #a7b39b;padding:24px;margin:0 0 30px;background:#e6ebdb}.collection-banner>span{font-size:42px;color:var(--rust)}.collection-banner h2{font-size:25px;margin-bottom:10px}.collection-banner p{font-size:15px;margin:0}.collection-done{background:#e6ebdb;padding:22px 15px;line-height:1.8;font-size:16px}.pair-board{margin:20px 0}.pair-row{border:0;border-top:1px solid var(--line);padding:16px 0 20px;margin:0;min-inline-size:0}.pair-row legend{padding:0 8px 0 0;font-weight:650;font-size:16px;line-height:1.7;max-width:100%}.pair-row legend svg{width:48px;height:40px;vertical-align:middle;margin-right:8px}.pair-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pair-options .answer-choice{font-size:15px;padding:12px 7px;min-height:58px}.pair-options .answer-choice.chosen{padding:11px 6px}.pair-options .answer-choice svg{height:68px;width:95px}.color-swatch{display:block;width:36px;height:36px;border:1px solid #826e52;border-radius:50%;margin:2px auto 10px}.creative-preview{background:#efe7d7;border:1px solid var(--line);text-align:center;padding:15px;margin:20px 0}.creative-preview svg{display:block;width:140px;height:160px;margin:auto}.keepsake{margin:30px 0;padding:24px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#eae6d8}.keepsake h2{font-size:23px;margin-bottom:18px}.keepsake>svg{display:block;width:145px;max-height:170px;margin:10px auto}.keepsake p{font-size:16px;margin:15px 0 0}.keepsake .keepsake-title{font-size:21px;font-family:var(--serif);color:var(--rust)}.beat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:24px 0}.beat-strip>span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:88px;border:1px solid #acb7a6;background:#edf0df;font-size:32px;line-height:1.4}.beat-strip small{font:13px/1.8 var(--sans);color:var(--ink)}.blank-beats>span{border-style:dashed;color:var(--muted);font:18px var(--sans)}.picture-steps{padding:5px 0;text-align:center}.picture-steps p{font-size:17px;line-height:1.8;margin:8px 0;word-break:keep-all}.picture-steps>span{font-size:20px;color:#8a7052}.two-invites p{font-size:16px;line-height:1.9;padding:18px 0;border-bottom:1px dashed var(--line);margin:0;text-align:center}.two-invites p:last-child{border-bottom:0}.two-invites strong{font-family:var(--serif);font-size:23px;color:var(--rust)}.rain-drops{display:flex;align-items:center;justify-content:center;gap:30px;padding:30px 0}.rain-drops i{display:block;width:24px;height:30px;border-radius:70% 30% 60% 40%;background:#85aabb;border:1px solid #628897}.rain-drops i.big{width:54px;height:64px}.sound-lengths{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:35px 0;font-size:16px}.sound-lengths b{font-size:23px;color:var(--green)}.garden-observation{text-align:center;padding:15px 0}.garden-observation p{font-size:16px;line-height:1.9}.garden-observation strong{font-family:var(--serif);font-size:25px;color:var(--rust)}.garden-observation hr{border:0;border-top:1px dashed var(--line);margin:25px 0}.before-after{display:grid;grid-template-columns:1fr 1fr;gap:15px;text-align:center;margin-top:25px}.before-after b{font-size:15px}.before-after svg{display:block;width:100%;height:auto}.house-clue{display:block;width:220px;max-width:100%;height:auto;margin:20px auto}.print-branch{margin-top:20px}.print-branch a{display:inline-flex;align-items:center;min-height:48px;margin:0 10px 10px 0;font-size:14px}.print-branch [aria-current]{background:var(--ink);color:var(--paper)}.print-pair-list{display:grid;gap:9px;border-top:1px solid var(--line);margin-top:20px;padding-top:12px}.print-pair-list p{font-size:13px;line-height:1.8;margin:0}.print-choice>span{font-size:25px}.print-card .picture-steps p{font-size:15px}.print-card .picture-steps>span{font-size:16px}.print-card .clue-paper .picnic-invite{padding:5px 0}.print-card .beat-strip{margin:14px 0}.print-card .beat-strip>span{min-height:65px}.print-card .house-clue{width:165px}.print-card .print-choices{gap:10px}.print-card .print-choice{padding:7px}.print-card .print-choice svg{height:65px}.print-card .clue-paper .rest-note{padding:5px 0}.print-card .rest-note strong{font-size:21px}.print-card .rest-note>span{margin:4px 0}
body[data-story=rain]{--night:#36596b;--rust:#80553d}body[data-story=wind]{--night:#2d5654;--rust:#855435}body[data-story=garden]{--night:#3d5138;--rust:#865333}body[data-story=lantern]{--night:#243b50;--rust:#875c3c}body[data-story=rain] .welcome-art{background:#36596b}body[data-story=wind] .welcome-art{background:#2d5654}body[data-story=garden] .welcome-art{background:#3d5138}body[data-story=lantern] .welcome-art{background:#243b50}body[data-story]:not([data-story=letter]) .stamp small{grid-column:1/3;white-space:nowrap}body[data-story]:not([data-story=letter]) .stamp b{grid-column:1/3;font-size:14px}.welcome h1{font-size:58px}.art-caption{padding-top:18px}
@media(max-width:1000px){.story-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome h1{font-size:46px}.story-index{grid-template-columns:repeat(3,minmax(0,1fr))}.sound-lengths{flex-wrap:wrap}.book-copy h2{font-size:25px}}
@media(max-width:650px){.story-shelf{grid-template-columns:1fr;gap:28px}.book-copy h2{font-size:27px}.book-copy>p:not(.eyebrow){min-height:0}.story-index{gap:8px;margin:0 0 25px}.story-index button{padding:10px 6px;font-size:15px}.story-index small{font-size:11px;margin-right:4px}.welcome h1{font-size:43px;letter-spacing:-1.5px}.title-star{font-size:20px;margin-left:8px}.collection-banner{align-items:flex-start;gap:13px;padding:20px 15px}.collection-banner h2{font-size:22px}.collection-banner p{font-size:14px}.collection-banner>span{font-size:28px}.pair-options{gap:6px}.pair-options .answer-choice{font-size:14px}.pair-row legend{font-size:16px}.pair-options .answer-choice svg{height:60px}.beat-strip{gap:6px}.beat-strip>span{min-height:74px;font-size:28px}.beat-strip small{font-size:12px}.picture-steps p{font-size:16px}.rain-drops{gap:24px}.sound-lengths{gap:10px;font-size:15px}.sound-lengths b{font-size:21px}.keepsake h2{font-size:21px}.keepsake .keepsake-title{font-size:20px}.print-pair-list{font-size:13px}.creative-preview{margin:15px 0}.garden-observation strong{font-size:23px}.print-card .print-choice{font-size:11px}.art-caption p{font-size:20px}}
@media(max-width:350px){.welcome h1{font-size:36px}.welcome .title-star{font-size:18px;margin-left:7px}.pair-options .answer-choice{font-size:13px;padding-left:5px;padding-right:5px}.pair-options .answer-choice.chosen{padding-left:4px;padding-right:4px}.story-index button{font-size:14px}.book-copy h2{font-size:25px}.rain-drops{gap:20px}}
/* Hundred-story shelves and touch-first activities. */
.collection-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:30px 0}.collection-nav button{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-height:70px;text-align:left;padding:12px;border:1px solid #b6b3a3;border-radius:8px;background:#eee8d9;color:#203d47;font:inherit}.collection-nav button small{color:#666451}.collection-nav button span{width:100%;font-size:12px}.collection-nav [aria-pressed=true]{background:#244951;color:#fff4de}.collection-nav [aria-pressed=true] small{color:#f0d4a5}.shelf-tools{display:flex;gap:24px;align-items:end;flex-wrap:wrap}.shelf-tools label{display:flex;gap:8px;align-items:center;min-height:48px}.shelf-tools label:first-child{flex-direction:column;align-items:start;flex:1}.shelf-tools input[type=search]{min-height:48px;padding:12px;border:1px solid #8d9384;border-radius:6px;background:#fffaf0;width:100%;font:inherit;min-width:0}.unfinished-toggle{cursor:pointer}.unfinished-toggle input{width:22px;height:22px;accent-color:#244951}.resume-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#e7eadc;padding:20px;border-radius:10px}.shelf-empty{grid-column:1/-1;padding:32px;background:#eee8d9;border-radius:8px}.activity-host{margin:20px 0;min-width:0}.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}.activity-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.activity-grid.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.activity-cell,.paint-palette button{min-width:0;min-height:52px;padding:8px 4px;border:1px solid #9ca594;border-radius:7px;background:#fffaf0;color:#203d47;font:inherit;overflow-wrap:anywhere;cursor:pointer;position:relative}.activity-cell[aria-pressed=true],.paint-palette [aria-pressed=true]{background:#244951;color:#fff4de;border-color:#244951}.activity-cell small{display:block;font-size:11px}.activity-cell:disabled{cursor:default;opacity:.75}.activity-cell[aria-pressed=true]:disabled{opacity:1}.picture-cell{display:flex;justify-content:center;align-items:center;min-height:48px;padding:6px 2px;background:#eee8d8;border:1px solid #d2cbb8;border-radius:5px;text-align:center;overflow-wrap:anywhere;font-size:15px}.activity-notice{min-height:1.5em;font-size:14px;color:#6a4c29}.paint-palette{display:flex;gap:8px}.paint-palette button{flex:1}.balance-item{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px;border:1px solid #c0c6b6;border-radius:8px;margin:10px 0}.balance-item legend{font-size:15px;padding:0 7px}.balance-result{display:flex;justify-content:space-around;align-items:center;padding:15px;background:#e5e8d9;border-radius:10px}.balance-result b{font-size:32px}.machine-state{padding:18px;background:#e5e8d9;border-radius:10px}.machine-state span,.machine-state small{font-size:13px}.machine-state p{font-size:20px}.machine-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.keepsake-drawing{max-width:320px;margin:auto}.activity-instruction{font-size:15px}.stamp-journal .stamp small{overflow-wrap:anywhere}.activity-host button:focus-visible,.collection-nav button:focus-visible{outline:3px solid #9b6828;outline-offset:3px}.clue-paper .activity-grid{max-width:360px;margin-left:auto;margin-right:auto}
@media(max-width:650px){.collection-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.collection-nav button{min-height:80px;font-size:14px}.shelf-tools{display:block}.resume-strip{align-items:stretch;flex-direction:column}.activity-cell{font-size:15px;min-height:52px}.picture-cell{font-size:13px}.activity-grid{gap:5px}.balance-item{padding:7px}.machine-state{padding:12px}.machine-state p{font-size:18px}}
@media print{.activity-grid{max-width:270px!important}.picture-cell{min-height:26px;font-size:12px}.print-card .clue-paper p{margin:5px 0}.print-card .activity-grid{gap:3px}}
.light-on{background:#e5cf8a;color:#203d47;border-color:#8b712d}.light-target{font-weight:600;font-size:15px}
.object-icon{display:block;width:38px;height:38px;flex-shrink:0;margin:0 auto 4px}.picture-cell{flex-direction:column}.activity-cell .object-icon+span,.picture-cell .object-icon+span{display:block;font-size:12px;line-height:1.45}.activity-cell[aria-pressed=true] .object-icon{background:#f3e9cf;border-radius:5px}.card-back{display:block;font-size:30px}.paint-palette .object-icon{width:30px;height:30px}.memory-grid .activity-cell{min-height:92px}.keepsake-drawing .object-icon{width:48px;height:48px}@media print{.object-icon{width:22px;height:22px}.picture-cell .object-icon+span{font-size:10px}.activity-grid .picture-cell{min-height:40px}}
