@import url('/fonts.css');
:root{font-family:'Noto Sans JP',ui-rounded,'Hiragino Maru Gothic ProN',sans-serif;color:#44324e;background:#f7f3fa;font-synthesis:none;--ink:#44324e;--gold:#dec185;--purple:#75608f;--cream:#fff9ea}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit;border:0;min-height:48px;padding:12px 22px;border-radius:100px;background:#fff9}button:hover{filter:brightness(1.045)}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #a173c2;outline-offset:5px}a{color:inherit}img{max-width:100%;user-select:none;pointer-events:none}h1,p{margin:0}h1{font-weight:650;letter-spacing:.02em}.play-shell{min-height:100svh;overflow:hidden}.eyebrow{font-size:11px;letter-spacing:.22em;margin-bottom:10px;color:#8e7799}.gold-button{background:linear-gradient(130deg,#fff2ce,#e7c990);border:1px solid #d4af70;box-shadow:0 4px 0 #a57e48,0 12px 24px #39254b1a;color:#5b3c25;font-weight:700;letter-spacing:.1em;min-height:60px;padding:16px 30px}.quiet,.sound{background:#fff9;border:1px solid #e3dae9}.preview-label{font-size:12px;letter-spacing:.09em;color:#e8d8ef;background:#ffffff12;padding:8px 14px;border:1px solid #ffffff30;border-radius:30px;display:inline-block}.magic-title{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:.98;letter-spacing:-.035em;color:#ffe9bd;text-shadow:0 0 32px #f9d47b66}.magic-title span{display:block}.prototype-note{font-size:12px;line-height:1.8;color:#d9cddd}.loading{padding:10vh;text-align:center}#play-notice{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);max-width:90vw;padding:10px 20px;border-radius:50px;background:#fff8ec;box-shadow:0 4px 22px #26173222;font-size:14px;z-index:100;pointer-events:none;text-align:center}#play-notice:empty{display:none}
.opening-scene{min-height:100svh;position:relative;background:radial-gradient(ellipse at 70% 55%,#97769466,transparent 50%),linear-gradient(145deg,#282540,#554261 62%,#8b687f);display:flex;align-items:center;padding:7vw;overflow:hidden}.opening-scene:before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle,#fff5bd 0 1px,transparent 2px),radial-gradient(circle,#fff8 0 1px,transparent 1.6px);background-size:179px 157px,97px 119px;background-position:35px 51px,11px 32px;opacity:.35}.opening-copy{position:relative;z-index:3;width:57%;text-align:center}.opening-copy .eyebrow{margin-top:30px;color:#ddc6e4;font-size:10px}.opening-copy h1{font-size:clamp(55px,7.2vw,112px);margin:22px 0}.opening-description{color:#eadced;font-size:15px;margin:26px 0 30px;letter-spacing:.08em}.opening-copy .prototype-note{margin-top:26px}.opening-copy small{color:#d9cddd;font-size:11px;display:block;margin-top:8px}.opening-princess{position:absolute;right:5%;bottom:-5%;height:85%;max-width:40%;object-fit:contain;filter:drop-shadow(0 20px 25px #25192c55)}.opening-lumi{position:absolute;right:27%;top:13%;height:17%;filter:drop-shadow(0 0 22px #fcefcbaa)}.opening-moon{position:absolute;right:12%;top:6%;font-size:110px;color:#ffdf9b;transform:rotate(-17deg);text-shadow:0 0 45px #ffd99c88}.legacy-link{position:absolute;left:40px;bottom:28px;text-decoration:none;font-size:12px;color:#e1d2e8;z-index:4}
.book,.turning{background:radial-gradient(ellipse at 50% 45%,#756080,#32283e 75%)}.book>.preview-label,.turning>.preview-label{position:absolute;left:24px;top:24px;z-index:3}.book-scene{min-height:100svh;display:grid;align-content:center;justify-items:center;perspective:1400px;padding:60px 30px}.book-scene>.book{position:relative;width:min(390px,55vw);height:min(520px,68svh);transform-style:preserve-3d;transform:rotateY(-13deg) rotateX(7deg);animation:book-arrive 1.1s ease both;box-shadow:35px 40px 45px #160d2f88}.book-cover{position:absolute;inset:0;transform:translateZ(30px);transform-origin:left;background:radial-gradient(ellipse at 80% 25%,#8a6b7e55,transparent 70%),repeating-linear-gradient(11deg,#0000 0 3px,#00000009 3px 4px),#59405d;border:3px solid #bb9766;border-left:14px solid #38243e;border-radius:5px 16px 16px 5px;box-shadow:inset 0 0 0 10px #59405d,inset 0 0 0 12px #ad8e63,inset 0 0 50px #1e122955;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px 28px;text-align:center;backface-visibility:hidden}.book-cover h1{font-size:clamp(34px,4.6vw,63px);animation:letter-glow 2s ease-in-out both}.book-cover p{color:#ead9e4;font-size:11px;letter-spacing:.08em;margin:18px 0 24px}.cover-crest{color:#e7c78a;font-size:40px;margin-bottom:20px}.cover-rule{color:#cba975;margin-top:20px;font-size:15px}.cover-corner{position:absolute;color:#d6b375;font-size:22px}.tl{top:17px;left:22px}.tr{top:17px;right:19px}.bl{bottom:17px;left:22px}.br{bottom:17px;right:19px}.page-block{position:absolute;inset:7px -24px -7px 6px;border-radius:4px 14px 14px 3px;background:repeating-linear-gradient(0deg,#d6c6aa 0 1px,#f7e8cd 1px 3px);box-shadow:5px 5px 0 #5b3c58,8px 9px 0 #b28b59;transform:translateZ(0)}.book-scene>.prototype-note{margin-top:40px;text-align:center}.book-back{position:absolute;bottom:22px;left:24px;color:#ead9ef;background:#ffffff15}.turning .book-cover{animation:turn-page .7s ease forwards}.turning .book-scene>.book{animation:none}.turning .book-back{display:none}
.garden{padding:24px 4vw 18px;max-width:1600px;margin:auto}.garden-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.garden-top h1{font-size:24px}.garden-top .eyebrow{font-size:9px;margin-bottom:6px}.garden-tools{display:flex;gap:10px}.garden-world{position:relative;min-height:390px;height:62svh;max-height:740px;border-radius:25px;isolation:isolate;overflow:hidden;background:linear-gradient(#3b3557,#716083 47%,#b193b0 70%,#bca6b7);box-shadow:0 12px 35px #4f35551a;touch-action:manipulation}.stars{position:absolute;left:8%;right:8%;top:8%;color:#ffe1aa;display:flex;justify-content:space-between;font-size:22px;opacity:.75}.stars span{transform:translateY(35px)}.moon{position:absolute;right:16%;top:8%;width:60px;height:60px;border-radius:50%;background:#ffe5af;box-shadow:0 0 45px #f3d79f55}.moon:after{content:'';position:absolute;width:56px;height:56px;border-radius:50%;background:#4f4268;left:16px;top:-6px}.hill{position:absolute;border-radius:50% 50% 0 0;width:120%;height:60%;bottom:-25%;left:-10%;background:#ad99b0;box-shadow:inset 0 12px 30px #e8cde522}.hill-back{bottom:7%;height:39%;left:-32%;background:#696b7b;transform:rotate(9deg)}.hill-front{bottom:-2%;left:14%;height:48%;background:linear-gradient(#928391,#b5a0b4)}.path{position:absolute;bottom:-28%;left:-5%;width:110%;height:58%;border-radius:50%;background:linear-gradient(#e1cfc9,#c9b0bc);border-top:3px solid #f7e4d355;box-shadow:0 -8px 30px #f8d8b122}.pond{position:absolute;left:64%;top:49%;width:27%;height:19%;border-radius:50%;background:linear-gradient(140deg,#afb5cc,#5b7b93 60%,#849da4);border:9px solid #918c9d;transform:rotate(-8deg);box-shadow:inset 0 8px 18px #435b7955,0 5px 0 #67566d66}.pond i{position:absolute;height:2px;background:#f2e6d4aa;left:20%;right:22%;top:30%;border-radius:50%}.pond i:nth-child(2){top:57%;left:40%;right:13%}.pond i:nth-child(3){top:75%;left:25%;right:40%}.hedge{position:absolute;border-radius:50% 50% 20% 20%;width:20%;height:15%;background:radial-gradient(ellipse at 50% 0,#899483,#64736a);bottom:27%;box-shadow:inset 0 4px 0 #c6c7a433}.hedge-left{left:-9%;transform:rotate(10deg)}.hedge-right{right:-11%;bottom:24%}.garden-arch{position:absolute;top:27%;left:38%;width:16%;height:30%;border:15px solid #b6a2ac;border-bottom:0;border-radius:100% 100% 0 0;opacity:.7;box-shadow:inset 0 0 0 3px #e2c7b577}.lantern{position:absolute;color:#ffe5a6;font-size:24px;bottom:26%;text-shadow:0 0 22px #ffe295;border:2px solid #d3bc8a;padding:1px 4px;border-radius:8px 8px 3px 3px;background:#695066}.lantern-left{left:10%}.lantern-right{right:11%;bottom:36%}.garden-message{position:absolute;left:5%;top:10%;color:#f8ecf4;max-width:48%}.chapter{font-size:8px;letter-spacing:.18em;color:#c8b0cf}.garden-message p{font-size:clamp(14px,1.65vw,23px);line-height:1.9;margin-top:12px}.walker{position:absolute;width:clamp(85px,10.4%,180px);transform:translate(-50%,-100%);transition:left .7s ease,top .7s ease;z-index:6;pointer-events:none;filter:drop-shadow(0 10px 5px #38254244)}.follower{position:absolute;width:clamp(55px,7%,100px);transform:translate(-50%,-100%);transition:left .9s ease,top .9s ease;z-index:7;pointer-events:none;filter:drop-shadow(0 0 12px #ffe3ab99);animation:hover-fairy 3s ease-in-out infinite}.garden-flower{position:absolute;left:26%;top:70%;width:clamp(85px,12%,170px);height:32%;transform:translate(-50%,-100%);z-index:5;padding:0;background:transparent;display:flex;align-items:center;flex-direction:column}.garden-flower img{height:88%;object-fit:contain}.garden-flower span{white-space:nowrap;font-size:11px;color:#fff8ee;background:#6f547cbb;border:1px solid #d6bbd688;padding:6px 12px;border-radius:20px}.bloomed img,.casting{animation:bloom .55s ease}.spica{position:absolute;left:78%;top:89%;width:clamp(90px,13%,175px);height:29%;transform:translate(-50%,-100%);z-index:7;background:transparent;padding:0;display:flex;flex-direction:column;align-items:center}.spica img{height:88%;object-fit:contain}.spica span{font-size:10px;color:#5b455d}.petted img{animation:pet .6s ease}.field-note{position:absolute;bottom:12px;right:18px;color:#69516e;font-size:10px}.touch-ring{position:absolute;width:35px;height:15px;border:2px solid #fff2c5;border-radius:50%;transform:translate(-50%,-50%);opacity:0;z-index:5;pointer-events:none}.touch-ring.show{animation:ring .65s ease-out}.garden-nav{display:flex;align-items:center;justify-content:space-between;padding:18px 0 10px;gap:18px}.lumi-callout{display:flex;align-items:center;gap:13px}.lumi-callout img{width:60px;height:60px;object-fit:contain;border-radius:50%;background:#e8ddec}.lumi-callout p{font-size:14px;font-weight:600}.lumi-callout small{display:block;font-weight:400;color:#97849e;font-size:10px;margin-top:7px}.play-footer{display:flex;justify-content:space-between;font-size:10px;color:#97849e;gap:20px}.play-footer a{text-decoration:none}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 4vw;background:#fff8}.topbar>span{font-size:14px}.question,.success{background:radial-gradient(ellipse at 50% 40%,#fff9ed,#eee6f4)}.question-card{max-width:1050px;margin:20px auto;padding:0 4vw}.question-heading{display:flex;align-items:center;gap:22px}.question-heading>img{width:80px;height:80px;border-radius:50%;background:#e2d4ed}.question-heading h1{font-size:clamp(24px,3vw,38px)}.question-heading>.quiet{margin-left:auto;font-size:13px}.counting-garden{display:flex;align-items:flex-end;justify-content:center;gap:clamp(15px,5vw,70px);padding:10px 35px 0;height:clamp(170px,33svh,350px);background:radial-gradient(ellipse at 50% 100%,#dce2d4 0 45%,transparent 46%);border-bottom:2px solid #d3d9c9;margin-top:15px}.count-flower{position:relative;width:22%;max-width:170px;height:95%;padding:0 5px;background:transparent;display:grid;place-items:center}.count-flower img{height:100%;object-fit:contain}.count-mark{display:none;position:absolute;top:14%;left:50%;transform:translate(-50%,-50%);border:2px solid #b9a572;background:#ffedbd;border-radius:50%;width:40px;height:40px;place-items:center}.counted .count-mark{display:grid}.counted img{filter:drop-shadow(0 0 8px #d7be88)}.hint-text{text-align:center;min-height:34px;margin:16px 0;font-size:15px}.question-actions{display:flex;align-items:center;justify-content:center;gap:30px;position:relative}.answer-stones{display:flex;gap:22px}.answer-stone{min-height:80px;width:88px;border-radius:45% 45% 40% 42%;background:linear-gradient(150deg,#fff8e7,#e4d4c0);box-shadow:0 5px 0 #b6a195,0 10px 20px #9375a022;font:36px Georgia,serif;border:1px solid #d6c3ad;color:#66506c}.answer-feedback{min-height:65px;text-align:center;display:flex;justify-content:center;align-items:center;gap:12px;font-size:14px}.retry-button{background:#e8d9f3;min-height:48px;font-weight:600}.question-foot{text-align:center;color:#8f7c97;font-size:11px;line-height:1.8}.question-foot small{font-size:10px}.success-panel{text-align:center;padding:20px 20px 50px}.success-flower{height:34svh;min-height:160px;max-height:300px;margin:10px auto 20px}.success-flower img{height:100%;animation:bloom .7s ease}.success-panel h1{font-size:clamp(24px,3vw,38px);margin:15px 0}.success-panel p{margin-bottom:30px}.success-panel>div:not(.success-flower){display:flex;gap:20px;justify-content:center}.success-panel>small{display:block;margin-top:30px;color:#8f7c97;font-size:12px}.rest-panel{text-align:center;padding:15svh 20px;min-height:100svh;background:radial-gradient(#f7edf5,#e4daef)}.rest-moon{font-size:70px;color:#af8b56;display:block;margin-bottom:30px}.rest-panel h1{font-size:38px;line-height:1.5}.rest-panel p{margin:25px 0;line-height:2}.text-link{display:inline-block;margin-top:20px;font-size:14px}
@keyframes hover-fairy{50%{translate:0 -7px}}@keyframes pet{50%{scale:1.07;rotate:4deg}}@keyframes bloom{0%{scale:.85;opacity:.6}65%{scale:1.08}100%{scale:1}}@keyframes ring{0%{opacity:1;scale:.5}100%{opacity:0;scale:1.7}}@keyframes book-arrive{from{transform:translateZ(230px) rotateY(0);opacity:.2}to{transform:rotateY(-13deg) rotateX(7deg);opacity:1}}@keyframes letter-glow{0%{filter:blur(7px);opacity:0;text-shadow:0 0 50px #fff}65%{filter:blur(0);opacity:1;text-shadow:0 0 30px #ffe5ac}100%{text-shadow:0 0 13px #ffe5ac66}}@keyframes turn-page{to{transform:translateZ(30px) rotateY(-130deg);opacity:.25}}
@media(max-width:700px){.opening-scene{padding:40px 20px 210px;align-items:flex-start}.opening-copy{width:100%}.opening-copy h1{font-size:64px}.opening-princess{height:35%;right:9%;bottom:-3%;max-width:42%;opacity:.8}.opening-lumi{height:12%;top:auto;bottom:14%;right:50%}.opening-moon{right:5%;top:12%;font-size:60px}.opening-copy .prototype-note{font-size:11px}.opening-copy .eyebrow{margin-top:25px}.legacy-link{left:25px;bottom:25px}.book-scene>.book{width:min(330px,76vw);height:480px;max-height:68svh}.book-cover h1{font-size:45px}.garden{padding:18px 15px}.garden-top h1{font-size:19px}.garden-tools{gap:5px}.garden-tools button{padding:8px 10px;font-size:11px}.garden-world{height:57svh;min-height:400px}.garden-message{max-width:65%;top:10%}.garden-message p{font-size:15px}.garden-nav{flex-wrap:wrap;gap:12px}.lumi-callout{width:100%}.garden-nav>.gold-button{flex:1;font-size:13px;padding:12px 14px}.garden-nav>.quiet{font-size:12px;padding:10px}.walker{width:20%}.follower{width:13%}.garden-flower{left:23%;height:25%;width:25%}.spica{height:22%;width:25%}.moon{width:40px;height:40px}.moon:after{width:38px;height:38px}.field-note{font-size:8px}.play-footer{font-size:9px}.topbar{padding:12px}.topbar>span{display:none}.topbar button{font-size:12px;padding:9px 16px}.question-heading{gap:10px;flex-wrap:wrap}.question-heading>img{width:55px;height:55px}.question-heading h1{font-size:23px}.question-heading>.quiet{font-size:11px;min-height:44px;padding:8px}.question-heading .eyebrow{font-size:9px;letter-spacing:.1em}.counting-garden{padding:10px 10px 0;gap:15px;height:26svh;min-height:180px}.count-flower{width:28%}.question-actions{gap:14px;flex-wrap:wrap}.question-actions>.quiet{order:2}.answer-stone{width:72px;min-height:72px}.answer-feedback{flex-wrap:wrap;font-size:12px;margin-top:12px}.hint-text{font-size:12px}.question-card{margin:16px auto}.success-panel>div:not(.success-flower){flex-direction:column;align-items:center}.success-panel h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.session-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.session-time{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px;color:#705b7b}.garden-tools{align-items:center;flex-wrap:wrap;justify-content:flex-end}.rest-panel .session-time{font-size:24px;display:block}.rest-panel .session-explanation{max-width:38em;margin:22px auto;font-size:14px}.topbar .session-tools button{padding-inline:14px}@media(max-width:700px){.garden-top{gap:10px}.garden-tools .session-time{flex-basis:100%;text-align:right}.topbar .session-tools{gap:5px}.topbar .session-tools button{padding:8px;font-size:11px}.session-time{font-size:12px}}

.trial-restart{max-width:42em;margin:28px auto 8px;padding:20px;border:1px solid #c9b6d0;border-radius:16px;background:#fff9}.trial-restart h2{margin:0;font-size:19px}.rest-panel .trial-restart p{margin:14px 0;font-size:14px;line-height:1.8}.trial-restart button{font-weight:700}
