:root{--ink:#174b69;--muted:#436b82;--teal:#17796e;--paper:#f4fbff;--cyan:#6cf;--bar:88px;font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:var(--bar);scroll-snap-type:y proximity}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #6cf;outline-offset:5px}button{color:inherit}::selection{background:#d8f1ff}button,input{border-radius:0}.topbar{height:var(--bar);position:fixed;inset:0 0 auto;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 6%;background:#f4fbff;transition:background .45s,box-shadow .45s,backdrop-filter .45s}.topbar.scrolled{background:#f4fbff3d;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 1px #217bbd0a}.brand{display:flex;align-items:center;gap:13px;font-weight:700;font-size:17px;letter-spacing:2px}.brand small{display:block;font-size:8px;letter-spacing:2.3px;font-weight:500;margin-top:4px}.brand-mark{font-family:Georgia,serif;font-size:47px;line-height:1;position:relative;width:35px;color:#1c648e}.brand-mark span{position:absolute;font-size:24px;left:13px;top:2px;color:#6cf}nav{display:flex;align-items:center;gap:38px;font-size:13px}.nav-link{position:relative;padding:10px 0}.nav-link.active:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:#6cf;bottom:0;left:calc(50% - 2px)}.nav-game{border:1px solid #b9deef;border-radius:30px;padding:11px 19px;display:flex;gap:12px;align-items:center;transition:background .2s}.nav-game:hover{background:#e6f6ff}.tiny-star{font-size:20px}.hero{margin-top:var(--bar);height:calc(100svh - var(--bar));min-height:580px;position:relative;overflow:hidden;scroll-snap-align:end;background:#d8f1ff}.hero-art{position:absolute;inset:0;background:url('./assets/landscape.svg') center center/cover no-repeat}.hero-grain{position:absolute;inset:0;opacity:.055;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E");pointer-events:none}.hero-copy{position:absolute;left:10.2%;top:20%;z-index:1}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.8px;display:flex;align-items:center;gap:11px;color:#1c648e}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:#178573}.hero h1{font-size:clamp(48px,5.25vw,84px);font-weight:700;line-height:1.5;letter-spacing:5px;margin:24px 0 22px}.song{position:relative;color:#17796e}.song svg{position:absolute;left:-7%;width:112%;bottom:-7px;fill:none;stroke:#8cdfff;stroke-width:2;stroke-linecap:round}.hero p{font-size:14px;line-height:2.2;letter-spacing:2px;color:#1c648e}.hero-link{display:inline-flex;gap:34px;align-items:center;font-size:12px;letter-spacing:1px;border-bottom:1px solid #7da69a;padding:13px 0 11px;margin-top:19px}.hero-link span{font-size:20px}.hero-note{position:absolute;right:5.1%;top:32%;writing-mode:vertical-rl;font-size:11px;letter-spacing:5px;color:#1c648e}.hero-stamp{position:absolute;right:15%;bottom:20%;border:1px solid #74bad588;border-radius:50%;width:102px;height:102px;transform:rotate(12deg);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.8;font-size:12px;letter-spacing:2px;color:#1c648e}.hero-stamp>span{font-size:22px;line-height:1}.scroll-cue{position:absolute;left:calc(50% - 24px);bottom:27px;width:48px;height:40px;display:grid;place-items:center}.scroll-cue svg{animation:float 2.6s ease-in-out infinite;width:27px;fill:none;stroke:#1c648e;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.hero-index{position:absolute;left:6%;bottom:36px;font-size:9px;letter-spacing:2px;color:#1c648e}.explore{padding:98px 10.2% 0;scroll-snap-align:start;min-height:calc(100svh - var(--bar));background:var(--paper)}.section-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:42px}.section-top h2{font-size:34px;font-weight:600;letter-spacing:2px;margin:16px 0 12px}.section-top h2>span{color:#6cf}.section-top p{font-size:13px;letter-spacing:1.5px;color:var(--muted)}.section-doodle{color:#6cf;font-size:75px;display:flex;align-items:center;flex-direction:column;line-height:1}.section-doodle small{font-size:8px;letter-spacing:2px;margin-top:13px;transform:rotate(-7deg)}.module-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.module-card{background:#fff;border:1px solid #b9deef;border-radius:17px;overflow:hidden;transition:transform .35s,box-shadow .35s}.module-card:hover{transform:translateY(-7px);box-shadow:0 18px 40px #216cb50c}.card-art{height:260px;position:relative;overflow:hidden}.chat-art{background:#d8f1ff}.art-label{position:absolute;left:26px;top:23px;font-size:8px;letter-spacing:2px;color:#1c648e;z-index:1}.chat-bubble{position:absolute;display:flex;align-items:center;justify-content:center;gap:20px;font-size:16px;font-weight:500;box-shadow:0 9px 15px #216cb508;letter-spacing:1px;white-space:nowrap}.bubble-one{left:13%;top:69px;padding:18px 25px;border-radius:17px 17px 17px 4px;background:#effaff;color:#17796e;transform:rotate(-5deg)}.bubble-one span{color:#178573;font-size:23px}.bubble-two{right:10%;top:139px;padding:16px 24px;border-radius:17px 17px 4px 17px;background:#66ccff;color:#fff;transform:rotate(4deg);gap:10px}.little-flower{font-size:25px;color:#c6f3e3}.floating-heart{position:absolute;top:64px;right:12%;font-family:Georgia,serif;font-size:52px;color:#6cf;transform:rotate(17deg)}.art-spark{position:absolute;color:#6cf;font-size:25px}.spark-one{left:9%;top:173px}.spark-two{right:5%;bottom:47px;font-size:18px}.card-pill{position:absolute;left:25px;bottom:18px;display:flex;align-items:center;gap:7px;color:#1c648e;background:#ffffff8c;padding:7px 11px;border-radius:20px;font-size:9px;letter-spacing:1px}.card-pill i,.chat-status i{width:5px;height:5px;border-radius:50%;background:#178573}.run-art{background:#effaff}.run-art canvas{width:100%;height:100%;object-fit:cover;image-rendering:pixelated;position:absolute;inset:0}.run-art .card-pill{color:#1c648e;background:#ffffffb0;letter-spacing:3px}.run-art .card-pill>span{letter-spacing:1px;color:#1c648e;margin-left:5px}.pixel-hi{position:absolute;top:72px;right:17%;font-family:monospace;font-size:17px;font-weight:700;letter-spacing:2px;color:#1c648e;transform:rotate(7deg)}.card-body{padding:25px 29px 27px}.card-number{font-family:monospace;color:#1c648e;font-size:12px;display:flex;gap:10px;align-items:center}.card-number span{font-size:8px;letter-spacing:1.4px;color:#436b82}.card-heading{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.card-heading h3{font-size:25px;letter-spacing:2px;margin:0;font-weight:600}.circle-arrow{width:36px;height:36px;border:1px solid #b9deef;border-radius:50%;display:grid;place-items:center;color:#1c648e;font-size:21px;transition:background .2s,color .2s}.module-card:hover .circle-arrow{background:#1c648e;color:white}.card-body p{font-size:12px;color:#436b82;letter-spacing:1px;margin:10px 0 26px}.card-action{font-size:11px;letter-spacing:1px;display:flex;align-items:center;gap:21px;color:#1c648e}.card-action span{font-size:18px}.more-note{display:flex;align-items:center;justify-content:center;gap:19px;color:#436b82;padding:43px 0 52px}.more-note p{font-size:11px;letter-spacing:2px}.more-note>span{font-size:20px}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #b9deef;padding:25px 0 30px;font-size:9px;color:#436b82;gap:18px}footer>a:last-child{letter-spacing:1px}.footer-logo{font-size:24px;letter-spacing:-1px;font-family:Georgia,serif;font-weight:bold;color:#1c648e}.footer-logo span{color:#6cf;font-size:18px;margin-left:2px}dialog{color:var(--ink)}.app-dialog{border:1px solid #b9deef;border-radius:24px;padding:30px;max-height:calc(100dvh - 48px);width:min(680px,calc(100% - 40px));background:#f4fbff;box-shadow:0 30px 120px #173f4933;overflow:auto}.app-dialog::backdrop{background:#183f4a5c;backdrop-filter:blur(13px)}.app-dialog[open]{animation:dialog-in .28s ease-out}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.dialog-heading .eyebrow{font-size:8px;letter-spacing:2px}.dialog-heading h2{font-size:26px;letter-spacing:2px;font-weight:600;margin:9px 0 0}.dialog-heading h2 span{color:#6cf;font-size:24px}.icon-button{border:1px solid #b9deef;background:transparent;width:37px;height:37px;border-radius:50%;display:grid;place-items:center;font-size:24px;line-height:1}.icon-button:hover{background:#e6f6ff}.dialog-actions{display:flex;gap:10px}.chat-status{display:flex;justify-content:space-between;font-size:10px;color:#436b82;border-bottom:1px solid #b9deef;padding:20px 0 15px;gap:12px}.chat-status>span:first-child{display:flex;align-items:center;gap:7px}.messages{height:min(41dvh,360px);min-height:200px;overflow-y:auto;overscroll-behavior:contain;padding:22px 2px;scroll-behavior:smooth}.empty-chat{text-align:center;display:grid;place-content:center;height:100%;color:#436b82;line-height:2;font-size:13px}.empty-chat span{font-size:42px;color:#6cf}.message{margin:0 0 17px;display:flex;flex-direction:column;align-items:flex-start}.message.own{align-items:flex-end}.message-meta{font-size:9px;color:#436b82;margin:0 3px 5px}.message-text{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;background:#e6f6ff;border-radius:13px 13px 13px 2px;padding:10px 14px;max-width:87%;margin:0}.message.own .message-text{background:#e6f6ff;border-radius:13px 13px 2px 13px}.nickname-label{display:flex;align-items:center;font-size:10px;color:#436b82;gap:11px;margin:10px 0}.nickname-label input{border:0;background:transparent;color:#17796e;width:160px;font-size:11px;outline-offset:2px}.composer{display:flex;background:white;border:1px solid #b9deef;border-radius:13px;padding:6px;gap:8px}.composer>input{border:0;outline:0;min-width:0;flex:1;background:transparent;padding:9px 7px;font-size:12px;color:var(--ink)}input::placeholder{color:#436b82}.send-button,.primary-button{border:0;border-radius:9px;color:white;background:#66ccff;padding:12px 20px;font-size:12px;letter-spacing:1px;transition:background .2s}.send-button:hover,.primary-button:hover{background:#35b7f2}.chat-footnote{font-size:9px;text-align:center;color:#436b82;margin-top:12px}.game-dialog{width:min(1080px,calc(100% - 40px));padding:28px}.game-hud{display:flex;align-items:center;justify-content:space-between;padding:24px 3px 17px;gap:10px}.hearts{display:flex;gap:7px;height:23px}.heart{width:25px;height:23px;background:#6cf;clip-path:polygon(0 14%,14% 14%,14% 0,36% 0,36% 14%,50% 28%,64% 14%,64% 0,86% 0,86% 14%,100% 14%,100% 50%,86% 50%,86% 64%,72% 64%,72% 78%,58% 78%,58% 92%,43% 92%,43% 78%,29% 78%,29% 64%,14% 64%,14% 50%,0 50%)}.heart.empty{background:#daebf2}.scores{display:flex;gap:26px;font-size:10px;color:#436b82}.scores b{font-size:19px;font-family:monospace;color:#1c648e;letter-spacing:2px;margin-left:9px;font-weight:500}.game-stage{position:relative;overflow:hidden;border-radius:14px;background:#effaff;border:1px solid #b9deef}.game-stage>canvas{display:block;width:100%;height:390px;image-rendering:pixelated;touch-action:manipulation;outline-offset:-4px}.game-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#edf9ffed;text-align:center;padding:20px;backdrop-filter:blur(3px)}.game-overlay[hidden]{display:none}.overlay-icon{font-size:30px;color:#8cdfff}.game-overlay h3{font-size:24px;font-weight:600;letter-spacing:2px;margin:12px 0}.game-overlay>p{font-size:12px;line-height:1.8;color:#436b82;margin:0 0 20px}.primary-button{padding:13px 28px;font-size:13px;display:flex;gap:24px}.game-overlay .result-score{font-family:monospace;font-size:27px;color:#1c648e;margin:0 0 16px;letter-spacing:4px}.game-overlay .storage-note{font-size:10px;max-width:320px;margin:17px 0 0;color:#436b82}.text-button{border:0;background:transparent;color:#17796e;font-size:10px;padding:9px}.text-button[hidden]{display:none}.game-instructions{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#436b82;margin:17px 1px 0;align-items:center;flex-wrap:wrap}kbd{font-family:inherit;border:1px solid #b9deef;border-radius:4px;padding:2px 5px;font-size:9px;background:white}.instruction-heart{color:#6cf;font-size:16px}.game-toast{position:absolute;top:30px;left:50%;transform:translateX(-50%) translateY(-5px);font-size:12px;color:#2b7ea0;background:#ffffffd9;border-radius:30px;padding:8px 18px;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;white-space:nowrap}.game-toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dialog-open{overflow:hidden}.dialog-open .topbar{padding-right:calc(6% + var(--scrollbar,0px))}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}@keyframes dialog-in{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media(min-width:1600px){.hero-copy{top:22%}.explore{padding-left:max(10.2%,calc((100% - 1280px)/2));padding-right:max(10.2%,calc((100% - 1280px)/2))}.card-art{height:300px}}
@media(max-width:900px){:root{--bar:76px}.topbar{padding:0 5%}.brand{font-size:15px;gap:9px}.brand small{font-size:7px;letter-spacing:1.5px}nav{gap:23px;font-size:12px}.hero{min-height:550px}.hero-copy{left:8%;top:21%}.hero h1{font-size:62px}.hero-art{background-position:58% center}.explore{padding:70px 7% 0}.section-top h2{font-size:28px}.module-grid{gap:20px}.card-art{height:230px}.chat-bubble{font-size:12px}.bubble-one{left:8%;padding:15px 17px}.bubble-two{right:6%;top:129px;padding:15px}.floating-heart{right:6%;font-size:40px}.card-body{padding:22px}.card-heading h3{font-size:23px}.card-number span{font-size:7px}.game-dialog{padding:22px}.game-stage>canvas{height:350px}}
@media(max-width:600px){:root{--bar:68px}.topbar{padding:0 6%}.brand{font-size:14px;letter-spacing:1px;gap:7px}.brand small{font-size:6px;letter-spacing:1px}.brand-mark{font-size:39px;width:28px}.brand-mark span{font-size:20px;left:11px}nav{gap:15px;font-size:11px}.nav-game{padding:8px 11px;gap:6px}.tiny-star{display:none}.nav-link:first-child{display:none}.hero{min-height:560px}.hero-copy{left:9%;top:19%}.eyebrow{font-size:8px;letter-spacing:1.6px;gap:8px}.hero h1{font-size:49px;letter-spacing:3px;margin:27px 0 20px;line-height:1.6}.hero p{font-size:12px;letter-spacing:1.3px}.hero-link{font-size:11px;margin-top:15px}.hero-art{background-position:56% center}.hero-note{right:6%;font-size:9px;letter-spacing:3px;top:26%}.hero-stamp{right:10%;bottom:14%;width:77px;height:77px;font-size:9px}.hero-index{font-size:7px;left:8%;letter-spacing:1.2px;bottom:30px}.scroll-cue{bottom:21px}.explore{padding:61px 7% 0}.section-top{margin-bottom:28px}.section-top h2{font-size:25px;letter-spacing:0;margin:15px 0 12px}.section-top p{font-size:11px;letter-spacing:1px}.section-doodle{font-size:43px;margin-left:9px}.section-doodle small{display:none}.module-grid{grid-template-columns:1fr;gap:24px}.card-art{height:236px}.card-body{padding:24px}.card-number span{font-size:8px}.bubble-one{left:10%;top:64px;font-size:14px;padding:17px 20px}.bubble-two{right:8%;top:134px;font-size:14px;padding:15px 20px}.floating-heart{right:10%;font-size:47px;top:57px}.more-note{gap:10px;padding:34px 0}.more-note p{font-size:9px;letter-spacing:1px}footer{flex-wrap:wrap;gap:13px;padding:20px 0}footer>span{order:3;width:100%;font-size:9px}.app-dialog{width:calc(100% - 20px);padding:21px 17px;max-height:calc(100dvh - 20px);border-radius:18px}.dialog-heading h2{font-size:23px}.dialog-heading .eyebrow{font-size:7px}.chat-status{font-size:9px}.messages{height:43dvh}.chat-footnote{font-size:8px}.game-dialog{padding:20px 12px}.game-dialog .dialog-heading{padding:0 4px}.game-stage>canvas{height:330px}.scores{gap:12px;font-size:9px}.scores b{font-size:15px;margin-left:5px;letter-spacing:1px}.heart{width:20px;height:20px}.hearts{gap:4px}.game-hud{padding-top:20px}.game-overlay h3{font-size:20px;letter-spacing:1px}.game-overlay>p{font-size:10px}.game-instructions{font-size:9px;gap:10px;line-height:1.9}.game-instructions>span:last-child{display:none}.game-overlay .storage-note{font-size:9px}.game-overlay .result-score{font-size:23px}.overlay-icon{font-size:23px}.game-overlay h3{margin:8px 0}.game-overlay>p{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){html,.messages{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
.brand-mark span,.section-top h2>span,.footer-logo span{color:#1687b8}.song svg{stroke:#38b5ee}.bubble-two,.send-button,.primary-button{color:#123f5b}.send-button:hover,.primary-button:hover{background:#35b7f2}.chat-bubble.bubble-two{background:#6cf;color:#123f5b}.bubble-one span,.little-flower{color:#178573}.nav-game{border-color:#6cf;background:#e7f7ff}.nav-game:hover{background:#6cf}.circle-arrow{color:#17658d}.module-card:hover .circle-arrow{background:#6cf;color:#174b69;border-color:#6cf}.floating-heart,.section-doodle,.art-spark{color:#45b5ec}.hero p.development-note{color:#185d80;font-weight:500;letter-spacing:1px}.hero-link{border-color:#2a9dd2}.brand small{color:#436b82}.game-hud{flex-wrap:wrap}.run-weather{font-size:11px;color:#276d92;letter-spacing:.3px}.game-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:14px}.game-controls>span{color:#276d92;font-size:11px}.game-controls>div{display:flex;gap:10px}.control-button{border:1px solid #84cff1;background:#e4f6ff;color:#185b7b;padding:11px 18px;border-radius:10px;font:inherit;font-size:12px;touch-action:none;user-select:none;-webkit-user-select:none}.control-button[aria-pressed=true],.control-button:active{background:#6cf;border-color:#37b1ed;box-shadow:inset 0 2px 5px #158bb522}.jump-button{background:#6cf}.game-stage.night .game-overlay{background:#10263be8}.game-stage.night .game-overlay h3{color:#e2f7ff}.game-stage.night .game-overlay>p,.game-stage.night .text-button{color:#b7e9ff}.game-stage.night .overlay-icon{color:#6cf}.game-stage.night .game-toast{background:#14334fee;color:#c9f2ff}.game-instructions{line-height:2}.icon-button:hover{background:#e1f4ff}
@media(max-width:600px){.run-weather{order:3;width:100%;font-size:10px;margin-top:3px;text-align:right}.game-controls{align-items:flex-start;gap:8px;flex-direction:column}.game-controls>div{width:100%}.control-button{flex:1;padding:12px 10px}.game-controls>span{font-size:10px}.game-instructions{gap:4px 12px}.game-instructions>span:last-child{display:block;width:100%}.hero p.development-note{font-size:11px;letter-spacing:.2px}}
