@import"https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600&family=Noto+Serif+JP:wght@400;500;600&display=swap";:root{font-family:Noto Sans JP,sans-serif;color:#535951;background:#eef0e9;font-synthesis:none;--ink:#535951;--sage:#6f8978;--paper:#fffaf0;--gold:#c49a58}*{box-sizing:border-box}body{margin:0;padding:0 4vw}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:6px;background:#6f8978;color:#fff;padding:12px 24px;transition:background .2s,transform .2s}button:hover{background:#58745f}button:active{transform:translateY(1px)}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #c89756;outline-offset:3px}h1,h2,h3,p{margin:0}.page-top{max-width:1240px;margin:0 auto;height:80px;display:flex;align-items:center;justify-content:space-between}.wordmark{font-family:"Noto Serif JP",serif;font-size:15px;letter-spacing:.16em}.edition{font-size:10px;letter-spacing:.16em;color:#879083}.book{position:relative;max-width:1240px;aspect-ratio:16/9;margin:auto;overflow:hidden;border:8px solid #fffbef;outline:1px solid #d9ded0;box-shadow:0 18px 60px #55644d18;border-radius:4px;container-type:inline-size;background:#d9e8df}.watercolor{position:absolute;inset:0;background:url(./rainbow-story.webp) center/cover}.watercolor:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff7e962,transparent 60%)}#canvas{position:absolute;inset:0;display:none}#canvas canvas{display:block!important;width:100%!important;height:100%!important;margin:0!important;object-fit:contain}#surface{position:absolute;inset:0}.corner-tools{position:absolute;right:2.5%;top:4%;display:flex;gap:7px;z-index:5}.icon-button{padding:0;width:34px;height:34px;border-radius:50%;background:#fffbedbd;border:1px solid #d0b79570;color:#7c816e}.icon-button:hover{background:#fff9e9}.eyebrow{font-size:clamp(9px,1cqw,12px);letter-spacing:.24em;color:#8d947f}.title-content{position:absolute;left:9%;top:12%;width:44%}.title-content .eyebrow{font-size:clamp(9px,.9cqw,12px);color:#777d67}h1{font-family:"Noto Serif JP",serif;color:#6b5140;font-size:clamp(28px,5.1cqw,64px);font-weight:500;line-height:1.5;letter-spacing:.1em;margin-top:10px}h1 span{padding-left:1.6em}.title-rule{width:42px;height:1px;background:#bda075;margin:20px 0}.title-copy{font-family:"Noto Serif JP",serif;font-size:clamp(11px,1.3cqw,17px);letter-spacing:.05em;color:#796951}form{margin-top:6%;max-width:270px}form label{font-family:"Noto Serif JP",serif;font-size:clamp(11px,1.3cqw,16px);display:block;margin-bottom:10px}.name-line{display:flex;align-items:center;background:#fffdf2b8;border:1px solid #c5ae89;border-radius:5px;padding:0 12px}.name-line input{min-width:0;width:100%;background:none;border:none;padding:11px 0;outline:none;font-size:14px;color:#655a49}.name-line span{font-size:24px;color:#b99a65}input::placeholder{color:#a79b87}.primary{margin-top:10px;width:100%;display:flex;align-items:center;justify-content:space-between;background:#a9855f}form .primary:hover{background:#96734f}#name-error{color:#a34f41;font-size:11px;min-height:5px}.continue{padding:10px 0;background:transparent;color:#71644c;font-size:12px}.continue:hover{background:transparent;color:#3c5740}.chapter-seal{position:absolute;right:4%;bottom:5%;border:1px solid #bda77f83;border-radius:50%;height:83px;width:83px;display:grid;place-content:center;text-align:center;font-family:"Noto Serif JP",serif;font-size:10px;line-height:1.9;color:#8b7958;background:#fff7e85c}footer{max-width:1240px;margin:23px auto;display:flex;justify-content:space-between;font-size:10px;color:#91998a;letter-spacing:.08em}.back-link{position:absolute;top:4%;left:3%;font-size:11px;background:#fff9ebac;color:#727a68;padding:8px 13px;border-radius:20px;z-index:4}.back-link:hover{background:#fff8e7}.story-heading{position:absolute;top:11%;left:7%}.story-heading h2{font-family:"Noto Serif JP",serif;font-size:clamp(18px,3cqw,35px);font-weight:500;letter-spacing:.1em;margin-top:8px;color:#66513f}.story-card{position:absolute;left:6%;right:6%;bottom:6%;min-height:28%;padding:2.2% 3%;background:#fff9eaf2;border:1px solid #cfb995;border-radius:3px;box-shadow:0 5px 22px #6c674315}.story-card:before{content:"";position:absolute;inset:5px;border:1px solid #d9c8a54d;pointer-events:none}.story-card p{font-family:"Noto Serif JP",serif;font-size:clamp(12px,1.7cqw,21px);line-height:1.95;white-space:pre-line;min-height:5.9em;padding-right:8%}.page-number{position:absolute;right:3%;top:12%;font-size:10px;color:#a19276;letter-spacing:.1em}.story-actions{display:flex;justify-content:space-between;position:relative}.quiet{background:#fff9edb0;border:1px solid #c3cbb7;color:#6a765f;font-size:12px;padding:10px 17px}.quiet:hover{background:#e6ecdd}.round-next{background:transparent;color:#8a734d;font-size:13px;padding:8px 0}.round-next:hover{background:transparent;color:#51432d}.puzzle .watercolor,.clear .watercolor{display:none}.puzzle #canvas,.clear #canvas{display:block}.puzzle-header{position:absolute;top:4%;left:32%;right:32%;text-align:center;pointer-events:none}.puzzle-header h2{font-family:"Noto Serif JP",serif;font-size:clamp(16px,2.3cqw,27px);font-weight:500;letter-spacing:.07em;margin-top:4px}.progress-dots{display:flex;justify-content:center;align-items:center;margin-top:8px;gap:7px}.progress-dots span{border:1px solid #a9bcaa;border-radius:50%;width:19px;height:19px;display:grid;place-items:center;font-size:9px;color:#8c9a88}.progress-dots .lit{background:#8ba38d;color:#fff;border-color:#8ba38d}.progress-dots i{width:15px;height:1px;background:#b3c6b4}.puzzle-note{position:absolute;left:5%;top:27%;width:23%;pointer-events:none}.little-star{color:#c6a367;font-size:28px}.mini-label{font-size:clamp(9px,.9cqw,11px);color:#7f8e79;margin:7px 0}.puzzle-note h3{font-family:"Noto Serif JP",serif;font-size:clamp(13px,1.65cqw,20px);font-weight:500;line-height:1.7;margin:8px 0 13px}.puzzle-note p:not(.mini-label){font-size:clamp(10px,1.05cqw,13px);line-height:1.9;color:#7b8b75}.puzzle-note .keyboard-help{margin-top:14px;font-size:10px!important}.step-count{margin-top:10px}.step-count span{font-family:"Noto Serif JP",serif;font-size:22px;color:#687d61}.puzzle-actions{position:absolute;right:3%;bottom:5%;display:flex;gap:6px}.hint-button{font-size:12px;padding:10px 17px;background:#8c9c7b}.hint-text{position:absolute;right:3%;top:31%;width:23%;font-family:"Noto Serif JP",serif;font-size:clamp(11px,1.4cqw,17px);line-height:1.9;color:#61785d;background:#fffbedcc;border-radius:6px}.hint-text:not(:empty){padding:14px;border:1px solid #d1d9c2}.garden-caption{position:absolute;bottom:8%;left:37%;font-size:10px;color:#89987d;font-family:"Noto Serif JP",serif;letter-spacing:.06em}.dpad{position:absolute;bottom:6%;left:7%;display:grid;grid-template:repeat(3,34px)/repeat(3,34px);gap:3px;touch-action:none}.dpad button{padding:0;background:#fffcedbd;border:1px solid #bdcdb9;color:#7b8f73;font-size:20px;touch-action:none;-webkit-user-select:none;user-select:none}.dpad .up{grid-area:1/2}.dpad .left{grid-area:2/1}.dpad .right{grid-area:2/3}.dpad .down{grid-area:3/2}.paw{grid-area:2/2;display:grid;place-items:center;color:#9bb08e}.clear-overlay{position:absolute;inset:0;background:#edf1e4aa;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:7;display:grid;place-items:center}.clear-card{text-align:center;background:#fffaf0;border:1px solid #dac9a8;box-shadow:0 10px 45px #52664820;padding:24px 35px;border-radius:8px;max-width:90%}.clear-sparkle,.end-star{display:block;font-size:45px;color:#d2a45e;line-height:1.2}.clear-card h2,.end-card h2{font-family:"Noto Serif JP",serif;font-size:clamp(22px,3cqw,36px);font-weight:500;color:#79623f;margin:12px 0}.clear-card p{font-size:13px;color:#87917a;margin:12px 0}.clear-card button{display:block;margin:14px auto 0;font-size:12px}.clear-card .quiet{border:0;background:none}.end-card{position:absolute;inset:8% 23%;background:#fffaf0ec;border:1px solid #d3bd98;padding:4%;text-align:center;border-radius:5px}.end-card p{font-family:"Noto Serif JP",serif;font-size:clamp(11px,1.4cqw,17px);line-height:1.9}.end-card .eyebrow{font-family:Noto Sans JP,sans-serif;font-size:10px}.end-card .title-rule{margin:15px auto}.end-card .demo-note{font-size:clamp(10px,1.05cqw,13px);color:#8d8c78}.end-card button{margin-top:15px;font-size:12px}.end-card .quiet{display:block;margin:8px auto;border:0;background:none}dialog{border:1px solid #d2c5a6;border-radius:9px;background:#fffaf0;color:#58624f;padding:30px;max-width:420px;width:88vw;box-shadow:0 12px 80px #20382030}dialog::backdrop{background:#40524266;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog h2{font-family:"Noto Serif JP",serif;font-size:22px;margin-bottom:18px}dialog p{font-size:13px;line-height:1.9}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #e4e4d5;font-size:14px}.setting-row input{accent-color:#829773;width:19px;height:19px}.setting-help{margin:20px 0;color:#90917c}#close-settings{width:100%}.rotate{display:none}#notice{position:absolute;bottom:1%;left:2%;font-size:11px}@media(max-width:900px){body{padding:0 2vw}.page-top{height:52px}.book{border-width:4px}.title-content{top:8%}h1{margin-top:6px}.title-rule{margin:10px 0}form{margin-top:4%;max-width:230px}.name-line input{padding:7px 0;font-size:12px}.primary{padding:8px 17px;font-size:12px}.continue{padding:6px 0}.icon-button{width:28px;height:28px}.chapter-seal{width:64px;height:64px;font-size:8px}.story-card{bottom:4%;padding:2% 3%}.story-card p{font-size:1.65cqw}.puzzle-actions .quiet,.hint-button{padding:8px 10px;font-size:10px}.dpad{grid-template:repeat(3,29px)/repeat(3,29px);bottom:5%}.puzzle-note{top:25%}.keyboard-help,.garden-caption{display:none}.clear-card{padding:15px 30px}.clear-sparkle{font-size:30px}.clear-card h2{margin:6px 0}.clear-card p{margin:8px 0}.end-card{inset:5% 22%;padding:3%}.end-card .end-star{font-size:30px}.end-card h2{margin:8px 0}.end-card button{padding:8px 15px;margin-top:10px}footer{margin-top:14px;font-size:9px}}@media(max-height:550px)and (orientation:landscape){body{padding:0;background:#dce6dc}.page-top,footer{display:none}.book{height:100dvh;width:calc(100dvh * 16/9);max-width:100vw;border-width:0;margin:auto}.dpad{grid-template:repeat(3,30px)/repeat(3,30px)}.title-content{top:6%}form{margin-top:3%}.title-content h1{font-size:4.4cqw}.title-copy{font-size:1.2cqw}}@media(max-width:650px)and (orientation:portrait){.rotate{display:flex;position:fixed;inset:0;background:#f5f3e7f5;z-index:50;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px;gap:18px}.rotate-icon{font-size:60px;color:#98ad90}.rotate h2{font-family:"Noto Serif JP",serif;font-size:20px}.rotate p{font-size:13px}.rotate button{margin-top:12px}.portrait-allowed .rotate,.edition{display:none}footer{flex-direction:column;gap:8px}.book{min-height:380px;aspect-ratio:auto}.title-content{width:70%;left:8%;top:10%}h1{font-size:32px}.title-copy{font-size:11px}.story-card p{font-size:12px}.puzzle-note{display:none}.puzzle-header{left:20%;right:20%}.dpad{left:2%;bottom:2%;grid-template:repeat(3,26px)/repeat(3,26px)}.puzzle-actions{right:2%;bottom:2%;gap:3px}.puzzle-actions button{font-size:9px;padding:8px 5px}.hint-text{top:26%;right:4%;width:92%;z-index:4}.end-card{inset:10% 5%}.end-card h2{font-size:22px}.end-card p{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}.story .watercolor:after{background:linear-gradient(180deg,#fff7e922,transparent 20%)}.watercolor.loading{background-color:#f5eddc}.watercolor.loading:before{content:"絵本をひらいています…";position:absolute;inset:30% 0 auto;text-align:center;font-family:"Noto Serif JP",serif;color:#9a8b73;font-size:14px}.story-heading{top:5%;left:16%;background:#fff9ebbd;border-radius:20px;padding:7px 14px}.story-heading .eyebrow{letter-spacing:.1em;color:#7d705c}.story-card{bottom:4%;left:5%;right:5%;min-height:0;padding:1.5% 3%;background:#fffaeff5;box-shadow:0 6px 25px #6b563928}.dialogue-meta{display:flex;justify-content:space-between;align-items:center;min-height:18px;margin-bottom:5px}.speaker{font-size:clamp(11px,1.25cqw,16px);color:#9b7655;letter-spacing:.1em}.page-number{position:static;font-size:10px}.story-card p{font-size:clamp(12px,1.8cqw,22px);min-height:3.5em;line-height:1.8;padding-right:0}.story-actions{margin-top:5px}.story-actions .quiet{border:0;background:transparent;padding:5px 0}.story-actions .round-next{padding:5px 0}.puzzle,.clear{background:#edddf5 url(./puzzle-clouds.webp) center/cover;color:#604176}.puzzle-header h2{color:#5f3f79;text-shadow:0 1px #fff}.puzzle-header{left:35%;right:21%}.puzzle .eyebrow,.clear .eyebrow{color:#80629a}.puzzle-note{left:4%;width:24%;top:24%}.puzzle-note h3{font-weight:600;color:#5c3d74}.puzzle-note p:not(.mini-label){color:#765584}.mini-label,.step-count span{color:#6a4585}.progress-dots .lit{background:#ad91d3;border-color:#ab8bcf}.progress-dots span{background:#fff9f0aa;color:#9a7bb9;border-color:#c3a5d3}.progress-dots i{background:#d2b5df}.little-star{color:#dbab54}.dpad button,.puzzle-actions .quiet{background:#fff9e9e8;border:2px solid #d3b9d7;box-shadow:0 3px #b69dc766;color:#77518d}.dpad button:hover,.puzzle-actions .quiet:hover{background:#fff0da}.dpad{grid-template:repeat(3,38px)/repeat(3,38px);gap:4px;left:5%}.hint-button{background:#ab8bdd;border:2px solid #9675c3;box-shadow:0 3px #8869a94d}.hint-button:hover{background:#9978cd}.hint-text{background:#fffbf2f5;color:#765089;width:19%;right:2%;font-size:clamp(11px,1.25cqw,15px)}.garden-caption{color:#886194}.clear-overlay{background:#f4e8f6aa}.clear-card{border:2px solid #dac1de}.clear-card button:not(.quiet){background:#a084c1}.clear-card p{color:#8c6b9c}@media(max-width:900px){.story-card p{font-size:clamp(12px,1.85cqw,18px)}.story-card{bottom:3%;padding:1% 3%}.dialogue-meta{min-height:12px;margin-bottom:3px}.story-heading{top:4%;padding:5px 10px}.dpad{grid-template:repeat(3,30px)/repeat(3,30px)}.puzzle-note{top:23%}.puzzle-note h3{margin:5px 0 8px}.puzzle-note .step-count{margin-top:4px}.puzzle-note .little-star{font-size:21px}}@media(max-height:550px)and (orientation:landscape){.story-card p{font-size:clamp(12px,1.8cqw,18px)}.story-card{bottom:3%}.story-actions{margin-top:0}.story-actions button{font-size:11px}.dpad{bottom:4%}}@media(max-width:650px)and (orientation:portrait){.story-card p{font-size:13px;min-height:5em}.story-heading{top:13%;left:6%}.story-card{bottom:4%}.puzzle-header{left:24%;right:15%}.dpad{grid-template:repeat(3,26px)/repeat(3,26px)}.hint-text{width:90%;right:5%}}.book.toy-maze{background-color:#faeed6}.book.toy-playground{background-image:url(./toy-playground.webp);background-color:#f6eed7}.toy-playground .puzzle-note strong{color:#644378;font-weight:600}.book.toy-maze .puzzle-header h2{color:#71543d}.book.toy-maze .puzzle-note{background:#fff8e8bd;border-radius:16px;padding:12px}.book.toy-maze .hint-button{background:#95704f}.dpad button,.dpad button:hover{position:relative;background:transparent;border:0;box-shadow:none;padding:0;border-radius:4px;color:transparent;overflow:visible}.dpad .arrow-art{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;pointer-events:none}.dpad .pressed,.dpad button:active .normal{display:none}.dpad button:active .pressed{display:block}.dpad button:focus-visible{outline:3px solid #8053a0;outline-offset:2px}.bridge-status{font-size:12px!important;color:#78522d!important;background:#fff1c7;padding:6px 8px;border-radius:6px;margin-top:10px!important;line-height:1.5!important}.bridge-puzzle .puzzle-note h3{font-size:17px}@media(max-width:900px)and (orientation:portrait){.book.puzzle,.book.clear{height:auto;min-height:0;aspect-ratio:auto;width:100%;max-width:1240px}.book.toy-playground{background-size:100% auto;background-position:top center;background-repeat:no-repeat}.puzzle #canvas,.clear #canvas{position:relative;inset:auto;width:100%;aspect-ratio:16/9}.puzzle #surface,.clear #surface{position:static;display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px 16px;padding:14px 18px;background:#fff9eef0}.puzzle .puzzle-header,.clear .puzzle-header{top:2cqw}.toy-playground .puzzle-header{top:1cqw}.toy-playground .puzzle-header h2{font-size:14px;margin-top:0}.toy-playground .progress-dots{margin-top:3px;gap:4px}.toy-playground .progress-dots span{width:15px;height:15px}.puzzle .back-link,.clear .back-link,.puzzle .corner-tools,.clear .corner-tools{top:2cqw}.book .puzzle-note{display:block;position:static;width:auto;padding:0;background:none;border-radius:0}.puzzle-note .little-star,.puzzle-note .keyboard-help{display:none}.puzzle-note .mini-label{margin:0 0 4px;font-size:10px}.book .puzzle-note h3{font-size:14px;line-height:1.5;margin:0 0 6px}.book .puzzle-note p:not(.mini-label){font-size:11px;line-height:1.6}.puzzle-note .bridge-status{margin-top:6px!important;padding:4px 6px;font-size:11px!important}.puzzle-note .step-count{margin-top:4px}.step-count span{font-size:18px}.book .dpad{position:static;grid-template:repeat(3,34px)/repeat(3,34px);gap:4px;align-self:center;justify-self:end}.book .puzzle-actions{position:static;grid-column:1/-1;justify-self:end;flex-wrap:wrap}.book .hint-text{position:static;grid-column:1/-1;width:auto;font-size:12px;line-height:1.7}.book .hint-text:empty{display:none}.book .hint-text:not(:empty){padding:10px}.book .garden-caption{display:none}.clear-overlay{position:absolute}}.book.bridge-puzzle{background-image:url(./neighborhood-sky.webp)}.book.dream{background:#e4ebcc url(./dream-meadow.webp) center/cover}.dream .watercolor{display:none}.dream #canvas,.dream-break .watercolor{display:block}.dream-break #canvas{display:none}.dream .puzzle-note{top:24%;background:#fffaf0d9;border-radius:14px;padding:14px}.dream .puzzle-note h3{font-size:clamp(13px,1.5cqw,18px);color:#615f48}.dream .puzzle-note p{color:#697258!important}.dream-help{margin-top:12px}.dream-count{font-size:11px;margin-top:7px;color:#6b725e}.dream .puzzle-header h2{color:#65704e}.dream .puzzle-actions button{font-size:12px}@media(max-width:900px)and (orientation:portrait){.book.dream:not(.dream-break){height:auto;min-height:0;aspect-ratio:auto;width:100%}.book.bridge-puzzle,.book.dream:not(.dream-break){background-size:100% auto;background-position:top center;background-repeat:no-repeat}.dream:not(.dream-break) #canvas{position:relative;inset:auto;width:100%;aspect-ratio:16/9}.dream:not(.dream-break) #surface{position:static;display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px 16px;padding:14px 18px;background:#fff9eef0}.dream .puzzle-header,.bridge-puzzle .puzzle-header{top:1cqw}.dream .puzzle-header h2,.bridge-puzzle .puzzle-header h2{font-size:14px;margin-top:0}.bridge-puzzle .progress-dots{margin-top:3px;gap:4px}.bridge-puzzle .progress-dots span{width:15px;height:15px}.dream .back-link,.dream .corner-tools{top:2cqw}.dream .puzzle-note{padding:0;background:none}.dream .puzzle-note h3{font-size:14px}.dream-count{font-size:10px;margin-top:4px}}@media(min-width:901px){.dream .puzzle-note{width:21%;left:3%}.dream .puzzle-note h3{font-size:16px}}.pixel-story #canvas{display:block}.pixel-story .watercolor{display:none}.pixel-story #canvas canvas{image-rendering:pixelated}.end-card{overflow:auto}.credits{font-size:11px!important;line-height:1.6!important;margin-top:10px!important}@media(max-width:650px)and (orientation:portrait){.book.pixel-story{min-height:0;aspect-ratio:auto}.pixel-story #canvas{position:relative;aspect-ratio:16/9;width:100%}.pixel-story #surface{position:static}.pixel-story .story-card{position:relative;inset:auto;margin:0;padding:16px}.pixel-story .story-heading{top:12%;left:4%}.pixel-story .story-card p{min-height:5em}}.book.credits{background:#fff9ed}.credits .watercolor{display:none}.credits #canvas{display:block}.credits .corner-tools{right:2%;top:3%}.credits-panel{position:absolute;inset:0 0 0 60%;background:#fff9ed;display:flex;flex-direction:column;align-items:center;text-align:center;padding:12% 4% 3%;color:#74634e}.credits-panel>.eyebrow{font-size:clamp(8px,.9cqw,11px);letter-spacing:.15em}.credit-copy{flex:1;display:flex;flex-direction:column;justify-content:center;width:100%;min-height:0}#credit-count{font-size:10px;color:#a59981;letter-spacing:.2em;margin-bottom:15px}#credit-role{font:500 clamp(14px,2cqw,25px)/1.7 "Noto Serif JP",serif;white-space:pre-line}#credit-lines{font-size:clamp(10px,1.15cqw,14px);line-height:2;white-space:pre-line;overflow:auto}.credit-rule{height:1px;width:36px;background:#c7ae7e;margin:16px auto}#credit-caption{font-family:"Noto Serif JP",serif;font-size:clamp(10px,1.2cqw,15px);margin:10px 0;color:#988567}.credits-controls{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.credits-controls button{padding:8px 10px;font-size:11px}#credits-progress{width:100%;height:3px;margin-top:14px;accent-color:#ae9369}.credits-memory{position:absolute;top:7%;left:5%;font:500 clamp(12px,1.6cqw,20px) "Noto Serif JP",serif;letter-spacing:.18em;background:#fff9e7db;padding:10px 14px;border-radius:3px;color:#7f694b}@media(max-width:650px)and (orientation:portrait){.book.credits{aspect-ratio:auto;min-height:0}.credits #canvas{position:relative;width:100%;aspect-ratio:576/540;overflow:hidden}.credits #canvas canvas{width:166.666667%!important;height:100%!important;max-width:none!important}.credits #surface{position:static}.credits-panel{position:relative;inset:auto;min-height:300px;padding:25px 20px 18px}.credit-copy{flex:none;margin:12px 0}#credit-role{font-size:20px}#credit-lines{font-size:12px;overflow:visible}#credit-count{margin-bottom:8px}.credits-memory{top:24px;left:18px;font-size:13px}}.crate-guide{display:flex;align-items:center;gap:8px;margin:6px 0 8px;line-height:1.5}.crate-example{width:36px;height:36px;flex:0 0 36px}.toy-playground .puzzle-note .little-star,.toy-playground .puzzle-note .keyboard-help{display:none}@media(min-width:901px){.toy-playground .puzzle-note{top:20%;max-height:48%;overflow:auto;pointer-events:auto}.toy-playground .puzzle-note h3{font-size:clamp(13px,1.5cqw,18px);margin:4px 0 8px}.toy-playground .puzzle-note .step-count{margin-top:3px}}.dream .puzzle-header{left:25.8333%;right:17.5%;top:2%;pointer-events:auto}.dream-start{margin-top:6px}.dream-start button{padding:7px 12px;font-size:clamp(10px,1.2cqw,14px);box-shadow:0 2px 5px #354d3833}.dream-count{position:absolute;left:25.8333%;width:56.6667%;top:80%;text-align:center;margin:0;padding:3px 6px;background:#fff9e9c9;border-radius:8px;pointer-events:none}@media(max-width:900px)and (orientation:portrait){.dream:not(.dream-break) .puzzle-header{top:1cqw;left:25.8333%;right:17.5%}.dream-start{margin-top:3px}.dream-start button{padding:5px 8px;font-size:10px}.dream-count{top:45cqw;font-size:10px}}.book.credits,.credits-panel{background:#000}.credits-panel{color:#f5f1e9}.credits-panel>.eyebrow,#credit-count{color:#bbb6ad}#credit-caption{color:#d2c0a0}.credit-rule{background:#b6a07b}.credits-controls .quiet{background:#161616;color:#f5f1e9;border-color:#777}.credits-controls .quiet:hover{background:#303030}.credits-controls button:focus-visible{outline-color:#efd09d}#credits-progress{background:#333;accent-color:#d2b683}#credits-progress::-webkit-progress-bar{background:#333}#credits-progress::-webkit-progress-value{background:#d2b683}#credits-progress::-moz-progress-bar{background:#d2b683}.book.end{background:#000;color:#f5f1e9}.end .watercolor,.end #canvas{display:none}.end .thank-you-card{inset:0;background:#000;border:0;border-radius:0;padding:7% 6% 4%;color:#f5f1e9}.end .thank-you-card h2{color:#fff;font-size:clamp(20px,3cqw,36px);margin:18px 0 22px}.end .thank-you-card .eyebrow{color:#c9bba7}.end .feedback-copy{font-size:clamp(12px,1.3cqw,16px);color:#ddd5c9}.feedback-link{display:inline-block;margin:22px auto 8px;padding:12px 24px;background:#eed9b1;color:#29231b;border-radius:6px;text-decoration:none;font-size:15px;font-weight:600}.feedback-link:hover{background:#fff0d5}.feedback-link:focus-visible{outline:3px solid #fff;outline-offset:4px}.feedback-link span{display:block;font-size:10px;font-weight:400;margin-top:4px}.end .ending-main-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.end .thank-you-card .quiet{display:inline-block;color:#d1c7b7;background:#161616;border:1px solid #555;padding:8px 12px;margin:10px 0;font-size:12px}.end .thank-you-card .quiet:hover{background:#303030}.ending-replay{margin:12px auto 0;max-width:600px;font-size:12px;color:#bfb6a8}.ending-replay summary{cursor:pointer;padding:8px}.ending-replay>div{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}@media(max-width:650px)and (orientation:portrait){.book.end{min-height:530px}.end .thank-you-card{padding:70px 20px 24px}.end .thank-you-card h2{font-size:22px}.end .feedback-copy{font-size:12px}}@media(max-height:550px)and (orientation:landscape){body{padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left)}.page-top,footer{display:none}.book{width:min(100%,calc(100dvh * 16 / 9));height:auto;aspect-ratio:16/9;min-height:0;max-width:100%;border:0;margin:0 auto}.book .puzzle-note{top:19%;left:3%;width:24%;max-height:40%;overflow:auto;pointer-events:auto;padding:4px 6px;background:#fff9eee8;border-radius:6px}.book .puzzle-note .little-star,.book .keyboard-help,.book .dream-help{display:none}.book .puzzle-note h3{font-size:12px;line-height:1.4;margin:3px 0 5px}.book .puzzle-note p:not(.mini-label){font-size:10px;line-height:1.5}.book .puzzle-note .mini-label{font-size:9px;margin:0}.book .step-count{margin-top:2px}.book .step-count span{font-size:16px}.book .dpad{position:absolute;left:6%;bottom:4%;grid-template:repeat(3,32px)/repeat(3,32px);gap:3px}.book .puzzle-actions{bottom:3%;right:3%;gap:4px}.book .puzzle-actions button{padding:8px;font-size:10px}.book .puzzle-header{top:3%}.book .puzzle-header h2{font-size:16px;margin-top:2px}.book .progress-dots{margin-top:4px}.book .back-link{top:3%;padding:6px 10px;font-size:10px}.book .corner-tools{top:3%}.book .icon-button{width:28px;height:28px}.book .hint-text{max-height:45%;overflow:auto;font-size:11px}.book .crate-example{width:26px;height:26px;flex-basis:26px}.book .crate-guide{gap:4px;margin:3px 0}.dream .dream-count{top:80%;font-size:10px}.dream .dream-start{margin-top:3px}.dream .dream-start button{font-size:10px;padding:5px 8px}}#app,#app *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#app img,#app svg,#app canvas{-webkit-user-drag:none}#app button{touch-action:manipulation}#app .dpad,#app .dpad *{touch-action:none}#app #name-dialog input{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;touch-action:auto;font-size:16px}#name-dialog{max-height:calc(100dvh - 24px);overflow:auto}#name-dialog form{max-width:none;margin-top:12px}#name-dialog h2{font-size:20px}#name-dialog #name-error{min-height:1.5em;margin-top:8px}.title-start{max-width:270px;margin-top:24px}@media(max-height:550px)and (orientation:landscape){#name-dialog{padding:16px 22px}#name-dialog h2{margin-bottom:8px}#name-dialog .dialog-actions{margin-top:10px}.title-start{margin-top:12px}}.dream-quick-help{font-size:clamp(11px,1.2cqw,14px);line-height:1.4;margin:3px 0 0;color:#485940;background:#fff9e9dd;border-radius:6px}.credit-role-line{display:block}.credit-role-line:last-child{white-space:nowrap}@media(max-height:550px)and (orientation:landscape){.book .dpad{grid-template:repeat(3,44px)/repeat(3,44px);gap:2px;left:4%;bottom:3%}.book .puzzle-note{top:18%;max-height:calc(79% - 140px);width:26%}.book .puzzle-note h3{font-size:13px}.book .puzzle-note p:not(.mini-label){font-size:12px}.book .puzzle-note .step-count{font-size:11px}.book .puzzle-actions button{min-height:44px;padding:6px 10px;font-size:12px}.book .story-card{height:64%;max-height:calc(100% - 66px);display:flex;flex-direction:column;bottom:2%;padding:8px 14px}.book .story-card .dialogue-meta{flex:none}.book .story-card p{font-size:15px;line-height:1.65;min-height:0;overflow:auto;flex:1;padding:0}.book .story-actions{flex:none;gap:16px;margin-top:3px}.book .story-actions button{min-height:44px;min-width:90px;font-size:15px;padding:8px 10px}.book .dream-quick-help{font-size:11px}.book.dream .puzzle-header{top:1%}.book.dream .puzzle-note h3{font-size:12px}.book .credits-controls button{min-height:44px;font-size:12px}.book .credits-panel{padding:10% 3% 2%}.book #credit-count{margin-bottom:6px}.book .credit-rule{margin:6px auto}.book #credit-role{font-size:14px;line-height:1.5}.book #credit-caption{margin:4px 0}.book #credits-progress{margin-top:6px}.book.end .thank-you-card{padding:28px 5% 16px;overflow:auto}.book.end .thank-you-card h2{margin:8px 0 12px}.book.end .feedback-link{margin:10px auto 4px}.book.end .ending-replay button{min-height:44px}}@media(max-height:550px)and (orientation:landscape){.book.dream .puzzle-note{width:21%}.book.dream .puzzle-note p:not(.mini-label){font-size:11px}}@media(max-width:900px)and (orientation:portrait),(max-height:550px)and (orientation:landscape){.book.story .story-card{position:absolute;inset:70% 0 0;height:30%;max-height:30%;min-height:0;margin:0;padding:6px 100px;display:grid;grid-template-rows:18px minmax(0,1fr);gap:2px;border-radius:0}.book.story .story-card .dialogue-meta{margin:0;min-height:0}.book.story .story-card p{min-height:0;font-size:15px;line-height:1.55;overflow-y:auto;padding:0;overscroll-behavior:contain;touch-action:pan-y}.book.story .story-actions{position:absolute;inset:0;margin:0;align-items:center;justify-content:space-between;pointer-events:none}.book.story .story-actions button{min-width:90px;min-height:44px;padding:8px 5px;font-size:14px;pointer-events:auto}.book.pixel-story #canvas{position:absolute;inset:0;width:100%;height:70%;aspect-ratio:auto}.book.pixel-story #surface{position:absolute;inset:0}}@media(max-width:500px)and (orientation:portrait){.book.story .story-card{padding-left:70px;padding-right:70px}.book.story .story-actions button{min-width:66px;font-size:12px}}.creator-credit{font:12px/1.8 Noto Sans JP,sans-serif!important;margin:8px 0}.creator-credit a,#creator-site{color:#ead4a5;text-decoration:underline;text-underline-offset:3px}#creator-site{font-size:12px;line-height:1.8}#story-fade{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;z-index:6}.story-card p{white-space:pre-wrap}.clear-card p,.dream .puzzle-note h3{white-space:pre-line}
