@font-face{font-family:system;src:local(Segoe UI)}*{box-sizing:border-box}html,body,#app{width:100%;min-height:100%;margin:0}body{color:#eee8df;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background-color:#10152a;background-image:radial-gradient(at 65% 0,#34304f55,#0000 55%),radial-gradient(at 0 70%,#162b4355,#0000 60%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;font-family:system,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer;color:#d9d6e3;background:#22283f;border:1px solid #ffffff16;border-radius:12px;padding:12px 18px;transition:background .18s,transform .18s}button:hover:not(:disabled){background:#343b58;transform:translateY(-1px)}button:disabled{opacity:.45;cursor:default}button:focus-visible{outline-offset:4px;outline:2px solid #e8c592}.primary{color:#322b2a;background:linear-gradient(110deg,#dfbc83,#f3d8a9);border:0;padding:16px 25px;font-weight:650;box-shadow:0 7px 25px #e6b66e19}.primary:hover:not(:disabled){background:#f1dab8}.app-shell{max-width:1240px;margin:auto;padding:26px 38px 115px}header{justify-content:space-between;align-items:center;gap:20px;display:flex}.brand{text-align:left;background:0 0;border:0;align-items:center;gap:13px;padding:0;font-family:Georgia,serif;font-size:25px;display:flex}.brand-icon{color:#e6c592;font-size:42px}.brand small{letter-spacing:2.8px;color:#9499b1;margin-top:6px;font:9px system;display:block}.wallet{color:#b3b4c8;align-items:center;gap:14px;font-size:13px;display:flex}.wallet button:first-of-type{color:#efd39b}.wallet button:last-child{padding:8px 12px;font-size:21px}.page-heading{margin:42px 0 25px}.eyebrow{letter-spacing:2.7px;color:#b7a581;font-size:10px}h1,h2,h3{font-weight:400}h1{margin:10px 0;font-family:Georgia,serif;font-size:clamp(27px,3.3vw,43px)}h2{margin:12px 0;font-family:Georgia,serif;font-size:26px}h3{margin:8px 0;font-size:16px}p{color:#a8aec7;font-size:14px;line-height:1.7}.home-grid{grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);align-items:start;gap:30px;display:grid}.chapter-card{background:#1d2339;border:1px solid #ffffff12;border-radius:22px;padding:22px}.chapter-top{letter-spacing:1.7px;color:#b8abc6;justify-content:space-between;margin-bottom:17px;font-size:11px;display:flex}.mosaic{aspect-ratio:1;background:#111a30;border-radius:12px;grid-template-columns:repeat(5,1fr);gap:5px;padding:6px;display:grid}.tile{color:#6d7893;background:linear-gradient(135deg,#35425b,#252e47);border-radius:7px;min-width:0;padding:0;font:18px Georgia;position:relative;overflow:hidden}.tile:after{content:"✧";opacity:.13;pointer-events:none;font-size:37px;position:absolute;inset:12% 0}.tile.locked{opacity:1;background-image:repeating-linear-gradient(45deg,#0000,#0000 15px,#ffffff03 16px 17px)}.tile.current{color:#f2d1a0;background:linear-gradient(130deg,#796344,#3e3c47);border-color:#e1ba78;box-shadow:inset 0 0 30px #c99b5725}.tile.current:after{color:#ffdfaa;opacity:.25}.tile.revealed{opacity:1;border:0}.tile.revealed:after{display:none}.chapter-bottom{justify-content:space-between;align-items:center;gap:10px;display:flex}.chapter-bottom h2{font-size:21px}.chapter-bottom p{margin-bottom:0;font-size:12px}.chapter-arrows{gap:6px;display:flex}.chapter-arrows button{padding:8px 13px;font-size:23px}.continue-card{background:linear-gradient(135deg,#2a2d40,#1b2236);border:1px solid #d8ba8d25;border-radius:22px;padding:25px}.continue-card h2{font-size:29px}.continue-card p{font-size:13px}.dream-preview{aspect-ratio:1.65;background-position:50%;background-size:cover;border-radius:14px;margin:20px 0;box-shadow:0 6px 30px #0004}.continue-card .primary{width:100%}.continue-card>small{text-align:center;color:#8c94ad;margin-top:13px;font-size:11px;display:block}.daily-teaser{cursor:pointer;background:#1c2339;border-radius:18px;align-items:center;gap:15px;margin-top:18px;padding:20px;display:flex}.daily-teaser>span{color:#dbca9b;font-size:37px}.daily-teaser p{margin:0;font-size:12px}.save-note{text-align:center;color:#767f99;font-size:10px}nav{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#1c2339ed;border:1px solid #ffffff16;border-radius:20px;padding:6px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 8px 35px #0006}nav button{color:#9ca4bd;background:0 0;border:0;min-width:105px;padding:10px;font-size:11px}nav button span{margin-bottom:5px;font-size:23px;display:block}nav button.selected{color:#edd2a1;background:#b3986a15}.lede{margin-bottom:24px}.gallery-grid,.shop-grid,.achievement-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.gallery-item{text-align:left;background:#1d253e;border:1px solid #ffffff12;border-radius:15px;padding:0;overflow:hidden}.gallery-item img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.gallery-item span{padding:15px;font-size:13px;display:block}.empty{text-align:center;grid-column:1/-1;padding:60px}.empty>span,.moon{color:#d5bb8c;font-size:65px}.feature-panel{text-align:center;background:#1c2339;border-radius:22px;max-width:740px;margin:auto;padding:40px}.feature-panel p{max-width:460px;margin:15px auto}.calendar{grid-template-columns:repeat(7,1fr);gap:10px;max-width:420px;margin:25px auto;display:grid}.calendar span{color:#7d86a2;background:#272e47;border-radius:9px;padding:14px}.calendar .lit{color:#fff;background:#a18458}.feature-panel button{margin:6px}.achievement{background:#1b2339;border:1px solid #ffffff12;border-radius:18px;padding:30px}.achievement>span{color:#737c96;font-size:45px}.achievement.earned{border-color:#dfbc8355}.achievement.earned>span{color:#e4c48e}.achievement small{color:#a7987e}.ranking{border:1px solid #ffffff12;border-radius:18px;margin-top:25px;padding:25px}.ranking button{margin:5px}.product{background:linear-gradient(130deg,#252b40,#1c243a);border:1px solid #ffffff12;border-radius:18px;flex-direction:column;padding:25px;display:flex}.product-symbol{color:#e8c795;font-size:37px}.product p{flex:1;font-size:12px}.product button{font-size:12px}.settings-panel{max-width:760px}.settings-panel label{border-bottom:1px solid #ffffff10;justify-content:space-between;align-items:center;padding:20px;display:flex}.settings-panel small{color:#939db7;margin-top:7px;display:block}.settings-panel input{accent-color:#e2c58e;width:22px;height:22px}.version{font-size:11px}.result{text-align:center;max-width:700px;margin:auto}.result-art{background-position:50%;background-size:cover;border-radius:20px;height:min(48vh,420px);margin-bottom:30px;position:relative;overflow:hidden;box-shadow:0 0 50px #d5b97e15}.poem{color:#cec6c5;max-width:510px;margin:20px auto;font-family:Georgia,serif;font-size:20px}.reward-line{color:#dec99d;padding:16px;font-size:13px}.result button{margin:5px}.alive{animation:8s ease-in-out infinite breathe}.spark{color:#fff2c1;filter:drop-shadow(0 0 8px #fff5a2);font-size:26px;animation:5s ease-in-out infinite float;position:absolute}.s1{top:30%;left:25%}.s2{animation-delay:-2s;top:65%;left:80%}@keyframes breathe{50%{filter:brightness(1.1)}}@keyframes float{50%{opacity:.3;transform:translateY(-15px)}}.toast{z-index:100;color:#282d42;background:#e8d6b8;border-radius:12px;width:max-content;max-width:90vw;padding:17px 22px;font-size:14px;position:fixed;bottom:110px;left:50%;transform:translate(-50%);box-shadow:0 5px 35px #0005}.loading{color:#dfc89a;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.loading h1{font-family:Georgia,serif}.puzzle-shell{flex-direction:column;max-width:1000px;height:100dvh;margin:auto;padding:15px 24px;display:flex;position:relative}.puzzle-shell header>span{text-align:center;font:22px Georgia}.puzzle-shell header small{letter-spacing:3px;color:#9c9db6;margin-top:8px;font:10px system;display:block}.puzzle-shell header button{font-size:13px}.puzzle-top{color:#9ca8c4;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;font-size:12px;display:flex}.puzzle-top button{padding:8px 12px;font-size:11px}#board{touch-action:none;flex:1;width:100%;min-height:0}#board canvas{touch-action:none;display:block}.puzzle-controls{justify-content:center;gap:12px;padding-top:12px;display:flex}.puzzle-controls button{padding:12px 17px;font-size:13px}.puzzle-controls small{color:#a0a3bc;margin-top:5px;font-size:10px;display:block}.puzzle-controls .active{background:#69573f;border-color:#eacb95}.puzzle-help{text-align:center;margin-bottom:0;font-size:11px}.image-dialog{z-index:90;background:#0c1026ed;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:25px;display:flex;position:fixed;inset:0}.image-dialog img{border-radius:18px;max-width:min(85vw,650px);max-height:75vh}#pause-overlay:not([hidden]){z-index:50;background:#151a32e8;justify-content:center;align-items:center;font:30px Georgia;display:flex;position:absolute;inset:85px 0 0}.gold .chapter-card,.gold .gallery-item{border:2px solid #d5b774}@media (width<=720px){.app-shell{padding:18px 17px 100px}.brand{font-size:20px}.brand-icon{font-size:30px}.brand small{letter-spacing:1.4px;font-size:7px}.wallet{gap:5px}.wallet>span{display:none}.wallet button{padding:9px;font-size:12px}.page-heading{margin-top:30px}.home-grid{grid-template-columns:1fr;gap:18px}.chapter-card{padding:15px}.chapter-top{letter-spacing:1px;font-size:9px}.chapter-bottom h2{font-size:19px}.chapter-bottom p{font-size:11px}.continue-card{padding:20px}.dream-preview{display:none}.continue-card h2{font-size:24px}.continue-card p{display:none}.continue-card .primary{margin-top:10px}.daily-teaser{padding:14px}nav{border-radius:17px;justify-content:space-around;width:calc(100% - 20px);bottom:10px}nav button{flex:1;min-width:0;padding:8px 5px;font-size:9px}nav button span{font-size:22px}.gallery-grid,.shop-grid,.achievement-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product,.achievement{padding:17px}.product h3{font-size:14px}.feature-panel{padding:23px 15px}.calendar{gap:6px}.calendar span{padding:10px}.puzzle-shell{padding:12px 10px}.puzzle-shell header{gap:8px}.puzzle-shell header>span{font-size:16px}.puzzle-shell header button{padding:9px}.puzzle-controls{gap:6px}.puzzle-controls button{padding:10px 9px;font-size:11px}.puzzle-help{font-size:10px}.settings-panel label{padding:18px 0}.settings-panel small{font-size:11px}.poem{font-size:18px}.result-art{height:40vh}}@media (height<=550px) and (orientation:landscape){.puzzle-shell{padding:6px 14px}.puzzle-top{padding:5px 0}.puzzle-help{display:none}.puzzle-controls{flex-direction:column;width:120px;position:absolute;top:110px;right:12px}#board{width:calc(100% - 140px)}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.tutorial-panel{background:linear-gradient(110deg,#383443,#242c43);border:1px solid #e9c48666;border-radius:15px;flex-shrink:0;align-items:flex-start;gap:20px;margin:0 0 9px;padding:12px 16px;display:flex}.tutorial-copy{flex:1}.tutorial-copy small{color:#e7c996;letter-spacing:1.7px;margin-bottom:5px;font-size:9px;display:block}.tutorial-copy strong{color:#fff0d6;font-size:15px;font-weight:550}.tutorial-copy p{color:#d5d2df;margin:5px 0 0;font-size:12px;line-height:1.45}.tutorial-copy .primary{margin-top:7px;padding:8px 14px;font-size:12px}.skip-tutorial{background:#20273b;border-color:#bdadc088;flex-shrink:0;max-width:145px;margin-left:14px;padding:9px 12px;font-size:11px;line-height:1.5}.tutorial-target{outline:2px solid #f6cf89;animation:1.5s ease-in-out infinite lesson-pulse;box-shadow:0 0 20px #f6cf8940}@keyframes lesson-pulse{50%{outline-offset:3px;box-shadow:0 0 26px #f6cf8990}}.training-dialog{color:#f4ebdf;background:#222b43;border:1px solid #e1c39680;border-radius:20px;width:min(560px,100vw - 32px);padding:28px;box-shadow:0 15px 80px #0008}.training-dialog::backdrop{background:#070d20bc}.training-dialog p{color:#c5c9da;line-height:1.75}.dialog-actions{flex-wrap:wrap;gap:12px;margin-top:22px;display:flex}.dialog-actions button{flex:1;min-width:180px}.journey-extras{margin:22px 0}.journey-extras>button{font-size:13px}.coming-soon,.tutorial-farewell{background:#283149;border:1px solid #cdb58b66;border-radius:16px;margin:18px 0;padding:20px}.coming-soon h2,.tutorial-farewell h2{font-size:24px}.coming-soon p,.tutorial-farewell p{color:#c5c7d2}.training-shop-return{z-index:10;background:#1a2239ee;border:1px solid #e6c49066;border-radius:14px;margin-bottom:20px;padding:12px;position:sticky;top:12px}.sound-choices{border:1px solid #ffffff24;border-radius:14px;margin:24px 0 0;padding:12px 20px}.sound-choices legend{color:#ead3a9;padding:0 10px}.sound-choices p{font-size:12px}.settings-panel .volume-setting input{width:180px;height:28px}.sound-choices input{accent-color:#ead3a9}.sound-choices label:last-child{border:0}select{font:inherit}@media (width<=720px){.tutorial-panel{gap:8px;padding:10px}.tutorial-copy strong{font-size:12px}.tutorial-copy p{font-size:10px}.tutorial-copy small{letter-spacing:.8px;font-size:8px}.skip-tutorial{max-width:94px;margin-left:8px;padding:8px;font-size:9px}.tutorial-copy .primary{padding:8px;font-size:11px}.puzzle-shell:has(.tutorial-panel) .puzzle-help{display:none}.puzzle-shell:has(.tutorial-panel) .puzzle-top{padding:8px 0}.sound-choices{padding:12px}.settings-panel .volume-setting input{width:140px}.training-dialog{padding:20px}.training-dialog h2{font-size:24px}.dialog-actions{gap:16px}.dialog-actions button{flex:auto;width:100%}}@media (height<=550px) and (orientation:landscape){.puzzle-shell:has(.tutorial-panel){padding-left:205px}.puzzle-shell:has(.tutorial-panel) .tutorial-panel{width:185px;display:block;position:absolute;top:75px;left:8px}.puzzle-shell:has(.tutorial-panel) .skip-tutorial{max-width:none;margin:16px 0 0}.tutorial-copy p{font-size:11px}}.ad-consent section{background:#22283f;border-radius:22px;max-width:460px;margin:20px;padding:28px}.ad-consent button{margin:6px}a{color:#edd2a1}
