@font-face{font-family:Fredoka;src:url('/assets/Fredoka.ttf') format('truetype');font-weight:300 700;font-display:swap}
:root{--paper:#faf8f2;--ink:#514657;--muted:#928991;--purple:#9473b3;--purple-dark:#72518f;--lavender:#efe7f5;--sage:#7e9d7a;--line:#e8e2d9;--coral:#d98d85;--display:Fredoka,ui-rounded,'Arial Rounded MT Bold',sans-serif;--body:ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--body);font-size:14px;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:wait;opacity:.55}button,a{touch-action:manipulation}button{border:0;background:none}a{color:var(--purple-dark)}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #ac89cf;outline-offset:4px}button,.nav-button,.icon-button{transition:background .18s,transform .18s,box-shadow .18s}button:active{transform:translateY(1px)}.icon{width:22px;height:22px;flex:none;vertical-align:middle}.site-header{height:88px;border-bottom:1px solid var(--line);background:#fffdf8b3}.header-inner{max-width:1280px;margin:auto;padding:0 12px;height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:13px;text-align:left;padding:0}.brand-mark{display:grid;place-items:center;width:49px;height:49px;background:#e9e0f1;border-radius:18px;transform:rotate(-6deg)}.brand-mark img{width:46px;height:46px;transform:rotate(6deg)}.brand-wordmark{display:flex;flex-direction:column}.brand-kicker{font-size:10px;font-weight:800;letter-spacing:3px;line-height:1.35;color:#a18d78}.brand-title{font-family:var(--display);font-weight:500;font-size:27px;letter-spacing:-.5px;color:#72548b;line-height:1.1}.main-nav{display:flex;align-items:center;gap:11px;margin-left:auto;margin-right:32px}.nav-button{display:flex;align-items:center;gap:8px;padding:11px 17px;font-weight:600;font-size:13px;border-radius:12px;white-space:nowrap}.nav-button.active{background:#efe8f3;color:#84619e}.nav-button:hover{background:#f0ece6}.nav-button .icon{width:19px;height:19px}.header-controls{display:flex;align-items:center;gap:8px}.icon-button{width:38px;height:38px;display:inline-grid;place-items:center;border-radius:12px;color:#9b8d9c}.icon-button:hover{background:#eee8f0;color:var(--purple-dark)}.save-indicator{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:550;color:#86967f;white-space:nowrap}.save-indicator .icon{width:15px;height:15px}.save-indicator[data-status=offline],.save-indicator[data-status=conflict]{color:#b38957}.app-main{max-width:1280px;margin:auto;padding:0 12px 20px}.intro{height:94px;display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;text-transform:uppercase;color:#a28c80;margin:0 0 7px}.intro h1{font-family:var(--display);font-weight:450;font-size:32px;letter-spacing:-.6px;margin:0;line-height:1.15}.intro h1 em{font-style:normal;color:var(--purple)}.intro-meta{color:#a1968a;display:flex;gap:12px;align-items:center;font-size:12px}.intro-meta .icon{color:#d7b16d}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 281px;gap:24px;align-items:start}.world-column{min-width:0}.stage-frame{padding:7px;background:#fffef9;border:1px solid #e8e1d5;border-radius:23px;box-shadow:0 5px 0 #e9e4da88,0 12px 32px #71604c0b}.world-stage{aspect-ratio:3/2;position:relative;isolation:isolate;overflow:hidden;border-radius:17px;background:#d6dfa6;touch-action:none;user-select:none;container-type:inline-size;cursor:default}.world-background{position:absolute;inset:0;background-size:100% 100%;background-position:center;transition:opacity .22s,filter 1s;z-index:0}.world-stage[data-scene=garden] .world-background{background-image:url('/assets/garden.webp')}.world-stage[data-scene=cottage] .world-background{background-image:url('/assets/cottage.webp')}.world-stage.changing .world-background{opacity:.4}.world-stage.evening .world-background{filter:brightness(.75) saturate(.85) sepia(.2)}.world-stage.evening:after{content:'';position:absolute;inset:0;background:#77629f20;pointer-events:none;z-index:900}.stage-hud{position:absolute;top:17px;left:19px;right:19px;display:flex;align-items:center;justify-content:space-between;z-index:1200;pointer-events:none}.scene-label{display:flex;align-items:center;gap:7px;background:#fffcefde;color:#796d57;padding:9px 11px;border-radius:10px;box-shadow:0 2px 7px #574a3330;backdrop-filter:blur(10px);font-size:10px;font-weight:750;letter-spacing:1px}.scene-label .icon{width:15px;height:15px;color:#c69b4b}.scene-tabs{pointer-events:auto;display:flex;border-radius:12px;background:#fffdf4e8;padding:4px;gap:2px;box-shadow:0 2px 8px #574a3329;backdrop-filter:blur(8px)}.scene-tab{display:flex;gap:6px;align-items:center;padding:7px 12px;border-radius:8px;font-size:11px;font-weight:650;color:#978c7f}.scene-tab.active{background:#7f9d7b;color:white;box-shadow:0 2px 5px #69876430}.scene-tab .icon{width:15px;height:15px}.scene-tab:hover:not(.active){background:#e9eadb}.stage-bottom{position:absolute;bottom:15px;left:15px;right:15px;z-index:1200;display:flex;align-items:center;justify-content:space-between;pointer-events:none;gap:12px}.movement-hint{font-size:10px;color:#706a4c;background:#fffdf2d9;border:1px solid #fff8;border-radius:10px;padding:9px 12px;display:flex;align-items:center;gap:6px;box-shadow:0 2px 5px #5c5a3010}.movement-hint .icon{width:13px;height:13px}.scene-weather{pointer-events:auto;background:#fffcf2d9;color:#9f8a57;border:1px solid #fff8;width:32px;height:32px;border-radius:10px;display:grid;place-items:center}.scene-weather .icon{width:16px;height:16px}.world-object{position:absolute;transform:translate(-50%,-94%);width:10%;padding:0;aspect-ratio:1;isolation:isolate;transition:filter .2s,opacity .2s;z-index:10;cursor:pointer;border-radius:16px}.world-object:hover .prop-art,.world-object:focus-visible .prop-art{transform:translateY(-5px) rotate(-3deg);filter:drop-shadow(0 2px 2px #fff9)}.world-object:before{content:'';position:absolute;width:75%;height:13%;border-radius:50%;left:12.5%;bottom:6%;background:#3c493b24;filter:blur(3px);z-index:-1}.world-object .prop-art{width:100%;height:100%;overflow:visible;transition:transform .2s,filter .2s;filter:drop-shadow(0 3px 1px #3d4a3028)}.world-object[data-kind=bed]{width:20%}.world-object[data-kind=tea]{width:16%}.world-object[data-kind=flowers]{width:11%}.world-object[data-kind=window]{width:8%}.world-object[data-kind=window]:before{display:none}.world-object.active .prop-art{filter:drop-shadow(0 0 5px #fff6bbee)}.object-label{position:absolute;bottom:98%;left:50%;transform:translate(-50%,5px);background:#fffef4f5;box-shadow:0 3px 8px #4d3d4225;font-size:11px;font-weight:650;white-space:nowrap;border-radius:8px;padding:7px 10px;opacity:0;transition:opacity .15s,transform .15s;pointer-events:none;color:#716457}.world-object:hover .object-label,.world-object:focus-visible .object-label{opacity:1;transform:translate(-50%,0)}.world-object.carried{display:none}.object-spark{position:absolute;right:0;top:20%;color:#fff6cf;filter:drop-shadow(0 1px 1px #977744);font-size:18px;animation:twinkle 3s ease-in-out infinite;pointer-events:none}.door-hotspot{position:absolute;left:17%;top:48%;z-index:1150;transform:translate(-50%,-50%);background:#fff8dce8;border:1px solid #fff7;border-radius:20px;padding:6px 9px;font-size:10px;font-weight:650;display:flex;align-items:center;gap:4px;color:#7e7459;box-shadow:0 2px 4px #59442624}.door-hotspot .icon{width:12px;height:12px}.world-stage[data-scene=cottage] .door-hotspot{left:11%;top:44%}.world-stage[data-scene=cottage] .door-hotspot .icon{transform:rotate(180deg)}.pal-character{position:absolute;left:52%;top:67%;width:16%;aspect-ratio:1;transform:translate(-50%,-91%) scale(var(--depth,1));transform-origin:50% 91%;isolation:isolate;z-index:670;pointer-events:none}.pal-hit{position:absolute;width:16%;height:23%;left:52%;top:67%;transform:translate(-50%,-100%);z-index:1100;border-radius:45%;cursor:pointer}.pal-hit:focus-visible{outline:3px dashed #fff8d0}.pal-shadow{position:absolute;left:22%;right:22%;bottom:4%;height:10%;background:#34432a34;border-radius:50%;filter:blur(3px);transform-origin:center;animation:shadow-breathe 3s ease-in-out infinite}.pal-body-wrap{position:absolute;inset:0;transform-origin:50% 85%;animation:pal-breathe 3s ease-in-out infinite}.pal-painted{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:none;transform:scaleX(var(--face,1));filter:drop-shadow(0 2px 1px #5b406222)}.pal-vector{width:100%;height:100%;overflow:visible;transform:scaleX(var(--face,1))}.pal-eye{transform-origin:75px 82px;animation:blink 5.8s infinite}.pal-arm.left{transform-origin:35px 91px}.pal-arm.right{transform-origin:115px 91px}.pal-foot.left{transform-origin:49px 145px}.pal-foot.right{transform-origin:101px 145px}.pal-character[data-motion=walk] .pal-body-wrap{animation:walk-bounce .32s ease-in-out infinite}.pal-character[data-motion=walk] .pal-foot.left{animation:step .32s alternate infinite}.pal-character[data-motion=walk] .pal-foot.right{animation:step .32s alternate-reverse infinite}.pal-character[data-motion=walk] .pal-arm.left{animation:arm .32s alternate infinite}.pal-character[data-motion=walk] .pal-arm.right{animation:arm .32s alternate-reverse infinite}.pal-character[data-motion=dance] .pal-body-wrap{animation:pal-dance .55s ease-in-out infinite}.pal-character[data-motion=cuddle] .pal-body-wrap,.pal-character[data-motion=eat] .pal-body-wrap,.pal-character[data-motion=tea] .pal-body-wrap{animation:pal-squish .7s ease-in-out infinite}.pal-character[data-motion=sniff] .pal-body-wrap,.pal-character[data-motion=read] .pal-body-wrap,.pal-character[data-motion=watch] .pal-body-wrap,.pal-character[data-motion=water] .pal-body-wrap{animation:pal-peek 1.3s ease-in-out infinite}.pal-character[data-motion=sleep] .pal-body-wrap{transform:rotate(-13deg) scaleY(.82) translateY(10%);animation:pal-sleep 2s ease-in-out infinite}.pal-character[data-motion=stretch] .pal-body-wrap{animation:pal-stretch 2s ease-in-out infinite}.pal-character[data-motion=play] .pal-body-wrap,.pal-character[data-motion=wave] .pal-body-wrap{animation:pal-dance .7s ease-in-out infinite}.carried-object{position:absolute;width:46%;height:46%;left:28%;top:52%;filter:drop-shadow(0 2px 2px #55375455);z-index:2;pointer-events:none}.carrying .pal-arm.left{transform:rotate(-60deg) translate(6px,-5px)}.carrying .pal-arm.right{transform:rotate(60deg) translate(-6px,-5px)}.sleepy-z{position:absolute;top:0;right:-25%;font-family:var(--display);color:#fdf8e3;text-shadow:1px 2px #776a76;font-size:26px;display:none;white-space:nowrap;animation:float-up 2s infinite}.pal-character[data-motion=sleep] .sleepy-z{display:block}.speech{position:absolute;left:52%;top:43%;transform:translate(-50%,-100%);background:#fffef6f5;border:1px solid #f1e8d8;padding:11px 15px;border-radius:15px;box-shadow:0 4px 10px #64544415;font-family:var(--display);font-size:15px;text-align:center;max-width:220px;min-width:110px;z-index:1150;pointer-events:none;transition:opacity .25s,transform .25s;color:#76637c}.speech:after{content:'';position:absolute;bottom:-7px;left:50%;width:12px;height:12px;background:#fffef6;transform:rotate(45deg);border-bottom:1px solid #f1e8d8;border-right:1px solid #f1e8d8}.speech.hidden{opacity:0;transform:translate(-50%,-85%)}.walk-marker{position:absolute;width:28px;height:13px;transform:translate(-50%,-50%);border:2px solid #fffce6;border-radius:50%;z-index:5;pointer-events:none;animation:marker .8s forwards}.effect{position:absolute;transform:translate(-50%,-100%);pointer-events:none;z-index:1160;color:#cf7b9c;animation:float-effect 1.8s ease-out forwards;font-size:23px;filter:drop-shadow(0 1px 1px #fff9)}.effect .icon{width:25px;height:25px;fill:currentColor;stroke:#fff8e3;stroke-width:1.2}.effect.note{color:#8967b4}.effect.water{color:#73b6bf}.ambient{position:absolute;pointer-events:none;z-index:1;opacity:.7}.butterfly-one{left:65%;top:30%;color:#e6b9b5;animation:butterfly-fly 16s ease-in-out infinite}.butterfly-two{left:83%;top:45%;color:#fff0be;animation:butterfly-fly 20s ease-in-out -9s infinite}.ambient .icon{width:22px;height:22px;fill:currentColor;stroke:#b88f6c;stroke-width:1}.world-stage[data-scene=cottage] .ambient{display:none}.blossoms{position:absolute;inset:0;pointer-events:none;z-index:4;display:none}.world-stage.bloomed[data-scene=garden] .blossoms{display:block}.blossom{position:absolute;font-size:21px;color:#ffe0e0;text-shadow:0 1px #bca26f;animation:twinkle 3s ease-in-out infinite}.interaction-popover{position:absolute;z-index:1250;max-width:255px;width:240px;background:#fffdf6;border:1px solid #e3d9c9;border-radius:16px;padding:14px;box-shadow:0 10px 30px #53445a25;color:var(--ink);transform:translate(-50%,-100%)}.interaction-popover[hidden]{display:none}.popover-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.popover-heading h3{font-family:var(--display);font-weight:500;font-size:19px;margin:0}.popover-heading .icon-button{width:26px;height:26px}.interaction-popover p{font-size:11px;line-height:1.5;color:var(--muted);margin:4px 0 12px}.popover-actions{display:flex;gap:7px}.small-action{background:var(--lavender);color:var(--purple-dark);padding:9px 10px;border-radius:9px;display:flex;justify-content:center;align-items:center;gap:5px;font-size:11px;font-weight:650;flex:1}.small-action.primary{background:var(--purple);color:white;flex:2}.small-action .icon{width:15px;height:15px}.object-tray{padding:20px 6px 0;display:flex;align-items:center;gap:15px}.tray-heading{flex:none;line-height:1.5;font-size:10px;color:#a18f80;letter-spacing:1.3px;font-weight:700;width:87px}.tray-actions{display:flex;justify-content:space-between;gap:10px;flex:1}.tray-action{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;border:1px solid var(--line);background:#fffdf7;flex:1;min-width:0;padding:12px 5px 9px;border-radius:13px;font-size:10px;font-weight:600;box-shadow:0 3px 0 #eee8de;position:relative}.tray-action .icon{width:21px;height:21px;color:var(--purple)}.tray-action:hover{background:#efe7f3;border-color:#d8c9e2;transform:translateY(-2px)}.tray-action.active{background:#f1e6f5;border-color:#bca2cd}.tray-action:nth-child(2) .icon{color:#cf8992}.tray-action:nth-child(3) .icon{color:#85a990}.tray-action:nth-child(4) .icon{color:#c5a06c}.tray-action.cuddle .icon{color:#d795a0}.sidebar{display:flex;flex-direction:column;gap:18px}.pal-card{background:#fffdf9;border:1px solid var(--line);border-radius:19px;overflow:hidden;box-shadow:0 5px 0 #eee8dd77}.pal-portrait{height:145px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 80%,#f7e8f1 10%,#f1e7f5 80%);display:flex;align-items:center;justify-content:center}.pal-portrait:before,.pal-portrait:after{content:'✦';font-size:20px;color:#ccafd9;position:absolute;left:25%;top:31%;transform:rotate(10deg)}.pal-portrait:after{left:auto;right:20%;top:57%;font-size:14px;transform:rotate(-15deg)}.portrait-pal{width:114px;height:114px;left:50%;top:94%;--depth:1.13}.portrait-pal .pal-shadow{opacity:.25}.pal-portrait-tag{position:absolute;left:13px;top:12px;background:#fffcf6b8;color:#a087a9;border-radius:10px;font-size:9px;padding:5px 9px;font-weight:700;letter-spacing:.8px}.pal-card-body{padding:17px 20px 19px}.name-line{display:flex;align-items:center;justify-content:space-between}.name-line h2{font-family:var(--display);font-weight:500;font-size:29px;line-height:1;margin:0;color:#6e5181}.name-line .icon-button{width:27px;height:27px}.name-line .icon{width:14px;height:14px}.species{margin:5px 0 13px;font-size:11px;color:#a398a0}.mood-pill{font-size:10px;display:inline-flex;align-items:center;gap:6px;background:#edf1e5;color:#879773;border-radius:20px;padding:6px 10px;font-weight:600}.mood-dot{width:5px;height:5px;border-radius:50%;background:#8eaa7c}.needs{margin:18px 0 20px;display:flex;flex-direction:column;gap:13px}.need-row{display:grid;grid-template-columns:19px 58px 1fr;align-items:center;gap:7px;font-size:11px;color:#9e8f9c}.need-row>.icon{width:15px;height:15px}.need-row.happiness{color:#c58ea7}.need-row.fullness{color:#c4a173}.need-row.energy{color:#a28eb5}.need-meter{background:#f2ede9;height:7px;border-radius:10px;overflow:hidden}.need-meter span{display:block;height:100%;border-radius:10px;transition:width .7s;background:#ce9cb2}.need-row.fullness .need-meter span{background:#d7b78c}.need-row.energy .need-meter span{background:#b5a0ca}.bond{border-top:1px dashed #e8e0d9;padding-top:14px}.bond-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.bond-title{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:650;color:#9271ab}.bond-title .icon{width:14px;height:14px}.bond-level{font-size:9px;color:#b3a4b7;background:#f4eef6;padding:4px 6px;border-radius:5px}.bond-bar{height:5px;background:#f0e8f2;border-radius:9px;margin:10px 0 7px;overflow:hidden}.bond-bar span{display:block;height:100%;background:#b59bc9;border-radius:9px;transition:width .6s}.bond-note{font-size:10px;color:#a59aa5;margin:0}.journal-card{background:#f6f1e7;border:1px solid #e7dfd0;border-radius:17px;padding:17px 18px;position:relative}.journal-card:before{content:'';width:45px;height:11px;position:absolute;top:-5px;left:calc(50% - 22px);background:#e8ddc9ad;transform:rotate(-5deg)}.journal-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}.journal-heading h3{font-family:var(--display);font-weight:450;font-size:19px;display:flex;align-items:center;gap:8px;margin:0;color:#927e67}.journal-heading .icon{width:19px;height:19px}.journal-count{font-size:11px;color:#ae9b86}.journal-caption{font-size:11px;line-height:1.65;color:#a49381;margin:8px 0 12px}.discovery-preview{display:flex;gap:8px;margin-bottom:14px}.mini-discovery{display:grid;place-items:center;border:1px dashed #dacdbc;background:#eee7d9;border-radius:10px;width:36px;height:36px;color:#c3b6a3}.mini-discovery .icon{width:17px;height:17px}.mini-discovery.found{background:#fdf9ef;border-style:solid;color:var(--purple)}.journal-link{font-size:11px;color:#9b8060;font-weight:600;display:flex;align-items:center;justify-content:space-between;width:100%;padding:0}.journal-link .icon{width:16px;height:16px}.footer-note{display:flex;align-items:center;justify-content:space-between;margin:21px 3px 0;font-size:10px;color:#b1a59b;gap:15px}.footer-note span{display:flex;align-items:center;gap:5px}.footer-note .icon{width:12px;height:12px}.footer-note button{font-size:10px;color:#9e8baa;padding:2px 0}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:min(540px,90vw);border:1px solid #e1d6e8;background:#fffdf7f5;box-shadow:0 8px 25px #58446e20;backdrop-filter:blur(12px);border-radius:15px;padding:13px 18px;display:flex;align-items:center;gap:10px;color:#8e719e;font-size:12px;transition:opacity .2s,transform .2s;z-index:4000}.toast.show{opacity:1;transform:translate(-50%,0)}.toast .icon{width:19px;height:19px}.discovery-toast{position:absolute;bottom:62px;left:50%;transform:translate(-50%,15px);max-width:85%;width:355px;opacity:0;pointer-events:none;z-index:1500;background:#fffdf2f5;border:1px solid #e4d4b0;box-shadow:0 7px 20px #66513330;border-radius:14px;padding:13px 15px;display:flex;align-items:center;gap:13px;transition:opacity .3s,transform .3s}.discovery-toast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}.discovery-medallion{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#f4e2b9;color:#b49662;flex:none}.discovery-toast .eyebrow{font-size:8px;letter-spacing:1.3px;color:#b49863;margin:0 0 3px}.discovery-toast h3{font-family:var(--display);font-weight:500;font-size:20px;margin:0;color:#8c7555}.discovery-toast button{margin-left:auto;align-self:start;padding:0;color:#b8a991}.discovery-toast button .icon{width:15px;height:15px}.modal-backdrop{position:fixed;inset:0;z-index:3000;background:#4d405b55;backdrop-filter:blur(6px);padding:25px;display:flex;align-items:center;justify-content:center;animation:fade-in .2s}.modal-backdrop[hidden]{display:none}.modal{background:#fbf8ef;border:1px solid #fff7;border-radius:24px;padding:28px;box-shadow:0 20px 80px #33263f30;max-width:640px;width:100%;max-height:88vh;overflow:auto}.modal-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:5px}.modal-top h2{font-family:var(--display);font-weight:450;font-size:31px;margin:0;color:#7d6190}.modal-top .icon-button{flex:none}.modal-description{color:#a09294;font-size:13px;line-height:1.7;margin:6px 0 23px}.journal-progress{display:flex;align-items:center;justify-content:space-between;background:#eee7f3;padding:12px 15px;border-radius:12px;margin-bottom:18px;color:#9479ab;font-size:12px}.journal-progress .icon{width:17px;height:17px;margin-right:7px}.discovery-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.discovery-card{border:1px solid #e4dacb;border-radius:14px;padding:17px;background:#fffdf7;position:relative}.discovery-card.locked{background:#f1ede4;border-style:dashed}.discovery-card .discovery-badge{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eee6f2;color:#9875ad;margin-bottom:10px}.discovery-card.locked .discovery-badge{color:#c4b6a5;background:#e9e1d4}.discovery-card h3{font-family:var(--display);font-weight:450;font-size:20px;margin:0 0 5px}.discovery-card.locked h3{color:#b5a693}.discovery-card p{font-size:11px;line-height:1.7;color:#9b8e8e;margin:0}.discovery-card.locked p{color:#ae9f90}.discovery-found{position:absolute;right:12px;top:13px;color:#8da67b}.discovery-found .icon{width:14px;height:14px}.settings-row{display:flex;gap:20px;align-items:center;justify-content:space-between;border-bottom:1px solid #e7e0d7;padding:17px 0}.settings-row h3{font-size:13px;font-weight:650;margin:0 0 4px}.settings-row p{font-size:11px;color:#a19599;line-height:1.6;margin:0}.toggle{border:1px solid #ddd2e2;flex:none;background:#e4dce9;border-radius:22px;width:43px;height:25px;position:relative}.toggle:before{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fffdf6;box-shadow:0 1px 3px #5552;transition:left .2s}.toggle[aria-checked=true]{background:#9d7cb5;border-color:#9d7cb5}.toggle[aria-checked=true]:before{left:21px}.settings-button{padding:9px 13px;border:1px solid #e0d5e6;border-radius:10px;color:#9676a6;background:#f2ecf4;font-size:11px;font-weight:600;white-space:nowrap}.settings-button .icon{width:14px;height:14px;margin-right:5px}.settings-field{width:100%;background:#fffdf8;border:1px solid #ddd3e4;border-radius:12px;padding:12px 14px;font-size:17px;color:#79578f}.primary-button{display:flex;align-items:center;justify-content:center;gap:9px;background:#9572b0;color:#fffaf7;border:1px solid #8967a4;box-shadow:0 3px 0 #78558f33;border-radius:13px;padding:13px 21px;font-weight:600;font-size:13px}.primary-button:hover{background:#8662a3}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.help-list{display:flex;flex-direction:column;gap:17px}.help-item{display:flex;gap:13px;align-items:flex-start}.help-item>.icon{color:#a387b6;background:#eee6f3;padding:9px;width:41px;height:41px;border-radius:12px}.help-item strong{font-family:var(--display);font-size:19px;font-weight:450}.help-item p{font-size:12px;line-height:1.65;margin:4px 0 0;color:#a09294}.hint-box{background:#f0eadb;border-radius:12px;padding:13px 15px;margin-top:20px;font-size:11px;line-height:1.7;color:#a48d6e}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#faf8f2;color:#9473b3}.loading-screen h1{font-family:var(--display);font-weight:400;font-size:30px}.loading-screen p{color:#b4a4ae}.loading-leaf{font-size:50px;animation:twinkle 2s infinite}.noscript{position:fixed;top:30%;text-align:center;width:100%;padding:20px;background:white}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.reduced-motion *, .reduced-motion *:before,.reduced-motion *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
@keyframes pal-breathe{0%,100%{transform:translateY(0) scale(1,1)}50%{transform:translateY(-2%) scale(1.02,.98)}}@keyframes shadow-breathe{50%{transform:scaleX(.95);opacity:.8}}@keyframes blink{0%,43%,47%,93%,97%,100%{transform:scaleY(1)}45%,95%{transform:scaleY(.06)}}@keyframes walk-bounce{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-6%) rotate(2deg)}}@keyframes step{to{transform:translateY(-10px) rotate(15deg)}}@keyframes arm{to{transform:rotate(15deg)}}@keyframes pal-dance{0%,100%{transform:rotate(-10deg) translateY(-3%)}50%{transform:rotate(10deg) translateY(-10%) scale(1.04,.96)}}@keyframes pal-squish{0%,100%{transform:scale(1,1)}50%{transform:scale(1.08,.91) translateY(5%)}}@keyframes pal-peek{0%,100%{transform:rotate(0)}50%{transform:rotate(8deg) translateY(3%)}}@keyframes pal-sleep{0%,100%{transform:rotate(-13deg) scale(1.05,.8) translateY(11%)}50%{transform:rotate(-13deg) scale(1.07,.83) translateY(9%)}}@keyframes pal-stretch{50%{transform:scale(.9,1.15) translateY(-8%)}}@keyframes float-up{0%{opacity:0;transform:translateY(5px)}20%{opacity:1}100%{opacity:0;transform:translateY(-20px)}}@keyframes float-effect{0%{opacity:0;transform:translate(-50%,0) scale(.7)}20%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--drift,0px)),-95px) scale(1.2)}}@keyframes twinkle{0%,100%{opacity:.4;transform:scale(.8)}50%{opacity:1;transform:scale(1.1)}}@keyframes butterfly-fly{0%,100%{transform:translate(0,0) rotate(10deg)}25%{transform:translate(-60px,35px) rotate(-10deg)}50%{transform:translate(-150px,5px) rotate(5deg)}75%{transform:translate(-40px,-30px) rotate(-15deg)}}@keyframes marker{0%{opacity:1;transform:translate(-50%,-50%) scale(.5)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.4)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}
@media(min-width:1500px){.app-main,.header-inner{max-width:1360px}.game-layout{grid-template-columns:minmax(0,1fr) 295px}.pal-portrait{height:167px}.pal-card-body{padding:21px 23px}.needs{gap:16px;margin:20px 0 23px}.journal-card{padding:20px 22px}}
@media(max-width:1100px){.app-main,.header-inner{padding-left:22px;padding-right:22px}.game-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.main-nav{margin-right:10px;gap:3px}.nav-button{padding:10px 12px}.pal-portrait{height:120px}.pal-card-body{padding:15px 16px}.needs{margin:15px 0;gap:11px}.journal-card{padding:15px}.journal-caption{margin:7px 0 10px}.tray-heading{display:none}.object-tray{padding-top:17px}.tray-actions{gap:8px}.save-indicator{font-size:10px}.intro h1{font-size:29px}.world-object{width:11%}.world-stage{min-height:0}.stage-hud{top:13px;left:13px;right:13px}.scene-label{padding:8px;font-size:8px;gap:5px}.scene-tab{padding:6px 8px;font-size:10px}.stage-bottom{bottom:11px;left:11px;right:11px}.movement-hint{font-size:9px;padding:7px 8px}.discovery-toast{bottom:50px}}
@media(max-width:850px){.header-inner{padding:0 20px}.site-header{height:76px}.brand-title{font-size:25px}.brand-mark{width:42px;height:42px}.brand-mark img{width:40px;height:40px}.main-nav{margin:0 0 0 auto}.nav-button{padding:9px 11px}.nav-button span{display:none}.header-controls{gap:3px}.header-controls .save-indicator{display:none}.app-main{padding:0 20px 20px}.intro{height:86px}.intro h1{font-size:28px}.intro-meta{display:none}.game-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1.2fr 1fr;gap:17px;margin-top:6px}.pal-card{display:flex;align-items:stretch}.pal-portrait{width:32%;height:auto;min-height:225px;flex:none}.portrait-pal{width:105%;height:auto;aspect-ratio:1;top:59%}.pal-portrait-tag{font-size:7px;left:9px;top:10px}.pal-portrait:before{left:20%;top:25%}.pal-portrait:after{top:70%}.pal-card-body{flex:1;min-width:0;padding:15px}.species{margin:4px 0 9px;font-size:10px}.name-line h2{font-size:26px}.needs{margin:11px 0 12px;gap:9px}.bond{padding-top:10px}.bond-note{font-size:9px}.need-row{font-size:10px;grid-template-columns:15px 44px 1fr;gap:6px}.journal-card{padding:19px}.journal-caption{margin:10px 0 17px}.discovery-preview{margin-bottom:19px}.journal-heading h3{font-size:20px}.object-tray{padding:19px 3px 0}.tray-action{padding:12px 6px;font-size:11px}.tray-heading{display:block;width:80px}.world-object{width:10%}.footer-note{margin-top:20px}.speech{font-size:13px;padding:9px 12px;max-width:185px}.modal{padding:24px}}
@media(max-width:560px){.header-inner{padding:0 15px;gap:8px}.site-header{height:70px}.brand{gap:9px}.brand-mark{width:36px;height:36px;border-radius:13px}.brand-mark img{width:35px;height:35px}.brand-kicker{font-size:8px;letter-spacing:2.4px}.brand-title{font-size:22px}.main-nav{gap:0}.nav-button{padding:9px;border-radius:10px}.main-nav .nav-home{display:none}.header-controls .icon-button{width:32px}.header-controls .icon-button.help-button{display:none}.app-main{padding:0 11px 15px}.intro{height:78px;padding:0 5px}.eyebrow{font-size:8px;letter-spacing:1.5px}.intro h1{font-size:25px}.stage-frame{padding:5px;border-radius:18px}.world-stage{border-radius:13px;aspect-ratio:1.12;overflow:hidden}.world-background{background-size:auto 100%;background-position:46% center}.world-object{width:16%}.world-object[data-kind=flowers]{width:16%}.world-object[data-kind=tea]{width:20%}.world-object[data-kind=bed]{width:27%}.world-object[data-kind=window]{width:12%}.pal-character{width:24%}.pal-hit{width:24%;height:26%}.stage-hud{top:10px;left:10px;right:10px;gap:6px}.scene-label{font-size:7px;letter-spacing:.5px;padding:7px 8px}.scene-label .icon{width:13px;height:13px}.scene-tab{padding:7px 8px;font-size:9px;gap:4px}.scene-tab .icon{width:13px;height:13px}.scene-tabs{padding:3px}.movement-hint{font-size:8px;padding:7px 8px;gap:4px}.movement-hint .icon{width:11px;height:11px}.scene-weather{width:28px;height:28px}.door-hotspot{font-size:8px;padding:5px 7px;left:11%;top:48%}.world-stage[data-scene=cottage] .door-hotspot{left:10%;top:42%}.speech{font-size:12px;padding:8px 10px;max-width:150px;min-width:85px}.object-tray{padding-top:15px;gap:0}.tray-heading{display:none}.tray-actions{gap:6px}.tray-action{font-size:9px;padding:10px 3px 8px;border-radius:11px;gap:6px}.tray-action .icon{width:19px;height:19px}.sidebar{grid-template-columns:1fr;gap:18px;margin-top:6px}.pal-card{min-height:220px}.pal-portrait{width:35%;min-height:220px}.portrait-pal{width:108px;top:62%}.pal-card-body{padding:16px 20px}.name-line h2{font-size:27px}.species{font-size:10px;margin:4px 0 9px}.needs{margin:14px 0;gap:10px}.need-row{grid-template-columns:18px 55px 1fr;font-size:10px}.journal-card{padding:18px 20px}.journal-caption{margin:7px 0 13px}.discovery-preview{margin-bottom:14px}.journal-heading h3{font-size:20px}.footer-note{font-size:9px;padding:0 5px}.footer-note>span:first-child{max-width:63%;line-height:1.6}.footer-note button{font-size:9px}.interaction-popover{width:215px;padding:12px}.popover-heading h3{font-size:17px}.interaction-popover p{font-size:10px}.small-action{font-size:10px;padding:9px 7px}.discovery-toast{width:285px;padding:11px 12px;gap:10px;bottom:52px}.discovery-toast h3{font-size:19px}.discovery-medallion{width:36px;height:36px}.modal-backdrop{padding:12px}.modal{padding:20px;border-radius:20px;max-height:91vh}.modal-top h2{font-size:27px}.modal-description{font-size:12px;margin-bottom:18px}.discovery-grid{gap:10px}.discovery-card{padding:13px}.discovery-card h3{font-size:18px}.discovery-card p{font-size:10px}.settings-row{gap:12px}.settings-row h3{font-size:12px}.settings-row p{font-size:10px}.settings-button{font-size:10px;padding:8px 10px}.toast{bottom:15px;font-size:11px;width:max-content}.object-label{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
/* Carry props follow the hands in each facing direction. */
.carried-object{width:42%;height:42%;left:var(--carry-left,35%);top:50%}
.ball-thrown .prop-art{animation:ball-hop .85s ease-out}
@keyframes ball-hop{0%{transform:translate(var(--throw-x,0px),0) rotate(0)}45%{transform:translate(var(--throw-mid,0px),-55px) rotate(140deg)}80%{transform:translate(0,-10px) rotate(255deg)}100%{transform:translate(0,0) rotate(270deg)}}
@media(max-width:560px){.world-background{background-size:100% 100%;background-position:center}.discovery-preview{gap:9px}}
.world-stage{touch-action:pan-y}
.pal-hit{width:11%;height:18%}
@media(max-width:560px){.pal-hit{width:17%;height:22%}}
.prop-art{object-fit:contain;pointer-events:none}
.carried-object .prop-art{width:100%;height:100%;object-fit:contain}
/* Preserve anchored hit regions while a pointer is down. */
.world-object:active{transform:translate(-50%,-94%)}
.door-hotspot:active{transform:translate(-50%,-50%)}
.pal-hit:active{transform:translate(-50%,-100%)}

.legal-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px}.legal-links a{font-size:12px;text-underline-offset:3px;padding:8px 0}.settings-legal{justify-content:flex-start}

.more-games-button{border:1px solid #c7b7d3;border-radius:9px;padding:8px 10px;font-size:12px;font-weight:700;background:#f2eaf8;color:#694b81;white-space:nowrap}@media(max-width:560px){.more-games-button{font-size:10px;padding:7px}.header-controls{gap:4px}}
/* Pocket Travel Club: stitched canvas covers, illustrated postcards and enamel price tags. */
.travel-tools,.passport-strip,.shop-ribbon,.shelf-filters,.book-foot,.outing-controls{display:flex;align-items:center;gap:10px}.travel-tools button,.passport-strip button,.book-foot button,.book-foot a,.shop-ribbon button,.book-link,.shortfall button,.shop-notice button{font:inherit;font-weight:750;cursor:pointer}.travel-tools button{display:inline-flex;align-items:center;gap:8px;background:#fff9e9;border:1.5px solid #b8a785;border-radius:12px;padding:10px 15px;color:#493548;box-shadow:0 3px 0 #d8ccb7}.travel-tools .market-launch{background:#513852;color:#fff4d4;border-color:#49304c}.travel-tools [data-gem-count]{border-radius:20px;background:#f1dcff;color:#56356c;padding:3px 8px;font-size:11px}.travel-tools svg{width:17px;height:17px}.passport-strip{justify-content:space-between;margin-top:10px;border-bottom:1px dashed #c9baa1;padding:0 3px 9px;color:#705b53}.passport-strip>span,.book-head small,.postcard-num,.detail-copy>small,.stock-card>small,.outing-controls small{font:800 10px/1.4 var(--body);letter-spacing:.14em}.passport-strip button{background:#f6eedb;border:1px solid #d2c1a2;border-radius:20px;padding:5px 12px;font-size:11px}.passport-strip button:disabled{cursor:default}.world-stage:not([data-scene=garden]) .blossoms,.world-stage:not([data-scene=garden]) .ambient{display:none}.trip-prop,.shop-prop>img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 2px #3d293443)}.world-object:has(.trip-prop){width:15%}.world-object[data-object=carousel],.world-object[data-object=ferris-wheel]{width:23%}.world-object[data-object=rowboat]{width:21%}.shop-prop{width:calc(12% * var(--prop-scale,1))}.placing-prop{cursor:crosshair}.placing-prop .world-object,.placing-prop #pal-hit{pointer-events:none}#placement-note{position:absolute;left:50%;top:13%;transform:translateX(-50%);z-index:1201;background:#49344f;color:#fff8e9;padding:7px 12px;border-radius:13px;font-weight:700;white-space:nowrap}#placement-note button{margin-left:5px;background:#f4e6ff;color:#522e67;border-radius:7px;padding:3px 6px}.pal-body-wrap{isolation:isolate}.wear-back-layer,.wear-front-layer{position:absolute;inset:0;pointer-events:none;transform:scaleX(var(--face,1))}.wear-back-layer{z-index:-1}.wear-front-layer{z-index:3}.wear{position:absolute;object-fit:contain;pointer-events:none}.wear-head{width:65%;height:44%;left:20%;bottom:74%;object-position:center bottom}.wear-neck{width:49%;height:30%;top:61%;left:29%;object-position:center top}.wear-face{width:48%;height:35%;top:25%;left:37%}.wear-monocle{height:47%;width:45%;top:24%;left:40%;object-position:center top}.wear-back{width:101%;height:71%;top:23%;left:-6%}.wear-trail-pack,.wear-shell-pack,.wear-guitar{width:47%;left:2%;top:30%;height:60%}.wear-balloon-bundle{width:60%;height:97%;left:-18%;top:-27%}.wear-royal-cape{width:83%;left:5%;height:73%}.fitted-pal{position:relative;display:block;aspect-ratio:1;width:68%;max-width:210px;isolation:isolate}.fitted-pal .fit-body{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.fitted-pal .wear-back{z-index:-1}.fitted-pal .wear:not(.wear-back){z-index:2}
.pp-book{padding:0;margin:auto;width:min(895px,calc(100vw - 26px));max-width:none;max-height:calc(100dvh - 26px);border:2px solid #69516a;border-radius:21px;background:#faf4e9;color:#413342;font-family:var(--body);overflow:auto;overscroll-behavior:contain;box-shadow:0 18px 70px #2e203c80}.pp-book::backdrop{background:#291a3bbc;backdrop-filter:blur(4px)}.pp-book button,.pp-book select,.pp-book a{font-family:inherit;line-height:1.3}.pp-book :is(button,a,select):focus-visible{outline:3px solid #754d89;outline-offset:3px}.book-head{background:#4b3652;color:#fff1d6;display:flex;align-items:center;justify-content:space-between;padding:20px 25px;border-bottom:4px solid #c9a66e;position:sticky;top:0;z-index:5}.book-head small{color:#e0c29d}.book-head h2{font-family:var(--display),sans-serif;font-size:clamp(24px,3vw,34px);margin:2px 0 0;line-height:1.15;color:inherit}.book-close{border:1px solid #ad93a9;background:#ffffff12;border-radius:50%;color:#fff6df;font-size:27px;line-height:1!important;width:36px;height:36px}.atlas-grid,.pack-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:22px}.postcard{position:relative;text-align:left;padding:6px 6px 0;background:#fffcf2;border:1px solid #cabda3;border-radius:7px;box-shadow:0 3px 0 #dfd2ba;overflow:hidden;transition:transform .15s}.postcard:hover,.stock-card:hover{transform:translateY(-2px)}.postcard.here{border:2px solid #80678d}.postcard>img{width:100%;aspect-ratio:1.75;display:block;object-fit:cover;border-radius:3px}.postcard-num{position:absolute;top:12px;left:12px;background:#fff8dfeb;color:#5b4546;padding:4px 8px;border:1px dashed #927768;border-radius:3px}.postcard-caption{display:grid;gap:3px;padding:10px 4px 13px;border-bottom:5px solid var(--edge)}.postcard-caption strong{font-family:var(--display),sans-serif;font-size:18px}.postcard-caption small{color:#796c72;font-size:11px}.book-foot,.shop-ribbon{justify-content:space-between;padding:12px 23px}.book-foot{border-top:1px solid #dacebc}.book-foot button,.book-foot a,.shop-ribbon button,.shortfall button,.shop-notice button{border:0;background:none;color:#664378;text-decoration:none}.gem-balance,.price-tag{display:inline-flex;align-items:center;gap:6px}.gem-balance{color:#5e426e;font-size:14px}.gem-balance svg,.price-tag svg{width:19px;height:18px;flex:none}.shop-ribbon{background:#efe4f2;border-bottom:1px dashed #bda7bd}.shelf-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 22px 7px;flex-wrap:wrap}.shelf-filters{gap:5px;flex-wrap:wrap}.shelf-filters button,.area-filter select{border:1px solid #cfbfaa;border-radius:9px;background:#fffaf0;color:#66526a;font-size:12px;padding:7px 10px;font-weight:700}.shelf-filters button[aria-pressed=true]{background:#614869;color:#fff7e9;border-color:#614869}.area-filter{font-size:11px;color:#776670;font-weight:750}.area-filter select{margin-left:3px;max-width:145px}.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px 22px 24px}.stock-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;position:relative;min-width:0;padding:10px;background:#fffaf1;border:1px solid #d6c8b0;border-radius:13px;box-shadow:0 3px 0 #e8dcc5;color:#473044}.stock-art{background:radial-gradient(ellipse at 50% 76%,#e2d4b9 0,transparent 55%),linear-gradient(#faf3e2,#f7eedf);border-radius:9px;width:100%;height:97px;display:grid;place-items:center}.stock-art img{max-width:90%;width:auto;height:83px;object-fit:contain}.stock-card strong{font-family:var(--display),sans-serif;font-size:15px;line-height:1.16}.stock-card small{color:#82716b;font-size:9px;letter-spacing:.09em}.price-tag{margin-top:auto;background:#eee2f0;color:#654775;font-size:12px;font-weight:800;border-radius:8px;padding:3px 7px}.price-tag svg{width:13px;height:13px}.shop-notice,.empty-shelf,.counter-note{margin:12px 22px;color:#725a6d;font-size:13px}.empty-shelf{grid-column:1/-1}.detail-book,.outing-book{width:min(730px,calc(100vw - 26px))}.detail-layout{display:grid;grid-template-columns:1.1fr 1fr;padding:20px;gap:20px}.try-on{border:1px solid #d2c4ac;border-radius:16px;min-height:235px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 86%,#b3a08c45 0,transparent 26%),linear-gradient(#e9dced,#f8efd9)}.try-on.accessory .fitted-pal{margin-top:10%}.prop-preview{display:grid;place-items:end center;background-size:cover;background-position:center;width:100%;height:100%;min-height:235px}.prop-preview img{max-width:67%;height:62%;object-fit:contain;margin-bottom:12%}.detail-copy{align-self:center}.detail-copy p{font-size:15px;line-height:1.5;margin:8px 0 18px}.book-primary,.pack-card button{color:#fff8e5;background:#62466c;border:1px solid #49304f;border-radius:11px;padding:10px 15px;font-weight:800;box-shadow:0 3px 0 #412c4c;font-size:14px}.detail-copy .book-primary{margin:15px 0 2px}.book-link{display:block;background:none;border:0;color:#715778;padding:10px 0 0}.detail-copy .shortfall{font-size:12px}.pack-grid{gap:12px;padding-bottom:8px}.pack-card{border:1px solid #cbbba6;border-radius:13px;padding:10px;text-align:center;display:flex;flex-direction:column;align-items:center;background:#fffaf1;gap:4px}.pack-card img{width:100%;height:95px;object-fit:contain}.pack-card small{font-size:11px;color:#806c7f}.pack-card strong{font:800 21px var(--display),sans-serif}.pack-card span{color:#65526e;font-size:11px}.pack-card button{align-self:stretch;font-size:13px;margin-top:5px;padding:7px}.counter-note{line-height:1.55}.prop-use{text-align:center;padding:22px}.prop-use img{height:125px;max-width:80%;object-fit:contain}.prop-use .book-link{margin:auto}.outing{aspect-ratio:1.85;position:relative;isolation:isolate;overflow:hidden;background-size:cover;background-position:center}.outing-kit,.outing-rider,.float{position:absolute;transition:left 1s ease-in-out,top 1s ease-in-out,transform 1s}.outing-kit img,.outing-rider .fitted-pal{width:100%;max-width:none;height:100%;object-fit:contain}.outing-kit{left:49%;top:43%;width:24%;height:42%}.outing-rider{width:21%;aspect-ratio:1;left:31%;top:52%}.outing-controls{padding:15px 22px;justify-content:space-between}.outing-controls p{margin:4px 0 0;font-size:14px}.outing-controls .book-primary{flex:none}.fishing .outing-kit{width:18%;left:52%;top:55%}.fishing .outing-rider{left:38%;top:50%}.float{display:none}.fishing.cast .float{display:block;width:14px;height:18px;border-radius:55%;background:linear-gradient(#eb6857 52%,#fff1cd 53%);border:2px solid #6d5447;left:60%;top:39%;box-shadow:0 6px 0 2px #d8f6f8a6;animation:float-pip 1.6s ease-in-out infinite alternate}.fishing.bite .float{animation-duration:.22s}.boating .outing-kit{left:29%;top:29%;width:28%;height:29%;z-index:2}.boating .outing-rider{left:34%;top:17%;width:14%;z-index:1}.boating[data-step="1"] .outing-kit{left:44%;top:26%}.boating[data-step="1"] .outing-rider{left:49%;top:14%}.boating[data-step="2"] .outing-kit{left:58%;top:31%}.boating[data-step="2"] .outing-rider{left:63%;top:19%}.boating[data-step="3"] .outing-kit{left:34%;top:33%}.boating[data-step="3"] .outing-rider{left:39%;top:21%}.boating .outing-route{position:absolute;left:26%;right:23%;top:42%;border-bottom:3px dotted #ffedd1}.wheel .outing-kit,.carousel .outing-kit{left:28%;top:8%;width:48%;height:81%}.wheel .outing-rider,.carousel .outing-rider{width:13%;left:38%;top:55%}.wheel[data-step="1"] .outing-rider{left:31%;top:37%}.wheel[data-step="2"] .outing-rider{left:45%;top:10%}.wheel[data-step="3"] .outing-rider{left:61%;top:38%}.carousel.playing .outing-rider{animation:merry 2.3s ease-in-out infinite alternate}.campfire.playing .outing-rider,.sandcastle.playing .outing-rider,.shells.playing .outing-rider{animation:lean-in .8s ease-in-out 2 alternate}.fireflies .spark-points{position:absolute;left:42%;top:42%;width:7px;height:7px;background:#fff4a3;border-radius:50%;box-shadow:0 0 13px 6px #fff1a870,40px -25px 5px #ffeda1,85px 8px 7px #ffefa5;animation:float-pip 1.6s infinite alternate}.finished .spark-points:after{content:'✦';color:#ffe47d;font-size:32px;position:absolute;left:60%;top:20%;text-shadow:0 2px 3px #8a6a51}.quiet *,.reduced-motion .pp-book *{animation-duration:.01ms!important;transition-duration:.01ms!important}@keyframes float-pip{to{transform:translate(5px,5px)}}@keyframes merry{to{transform:translateX(145%) translateY(-11%) scale(.87)}}@keyframes lean-in{to{transform:rotate(9deg)}}
@media(max-width:700px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.travel-tools button{padding:8px 10px;font-size:12px}.atlas-grid,.pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}.detail-layout{gap:12px;padding:14px}.shelf-tools{padding:13px 14px 5px}.shop-grid{padding:10px 14px 16px}.book-head{padding:14px 17px}.stock-art{height:80px}.stock-art img{height:70px}.outing-controls{padding:12px}.intro{height:auto;min-height:85px}.travel-tools{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:480px){.intro{display:block;padding-top:15px;padding-bottom:12px}.travel-tools{margin-top:10px;justify-content:flex-start}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.postcard-caption strong{font-size:15px}.atlas-grid{gap:10px}.detail-layout{grid-template-columns:1fr}.try-on,.prop-preview{min-height:165px;height:165px}.try-on .fitted-pal{width:135px}.detail-copy p{margin:6px 0 9px}.pp-book{width:calc(100vw - 14px);max-height:calc(100dvh - 14px);border-radius:15px}.detail-copy .book-primary{margin:8px 0 0}.stock-card strong{font-size:14px}.pack-card img{height:75px}.passport-strip>span{font-size:9px;letter-spacing:.06em}.outing-controls{align-items:flex-start;flex-wrap:wrap}.outing-controls button{margin-left:auto}.book-foot,.shop-ribbon{padding:10px 14px}}
@media(prefers-reduced-motion:reduce){.pp-book *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Hull, passenger and near rail share the same moving coordinate system. The
   rail occludes the feet so the pal sits *inside* the boat at every waypoint. */
.open-water{aspect-ratio:16/9;background-size:100% 100%;background-position:center}.vessel-route{position:absolute;left:18%;top:36%;width:30%;height:46%;z-index:2;transition:left 1.6s ease-in-out,top 1.6s ease-in-out}.boat-rig{position:absolute;inset:0;animation:lake-rock 3.6s ease-in-out infinite alternate;transform-origin:50% 76%}.boat-shell,.boat-rail{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.boat-shell{z-index:0}.seated-pal{position:absolute;z-index:1;width:49%;aspect-ratio:1;left:24%;bottom:30%;--head-x:52.36%}.seated-pal .fitted-pal{width:100%;max-width:none}.boat-rail{z-index:2;clip-path:polygon(0 59%,13% 63%,27% 65%,42% 64%,57% 61%,70% 55%,83% 46%,91% 37%,98% 26%,100% 100%,0 100%)}.boat-swan-boat .seated-pal{left:41%;bottom:24%;width:44%}.boat-swan-boat .boat-rail{clip-path:polygon(0 0,27% 0,39% 54%,57% 67%,76% 57%,95% 34%,100% 100%,0 100%)}.boat-surfboard .seated-pal{left:20%;bottom:28%;width:58%}.boat-surfboard .boat-rail{display:none}.wake{position:absolute;width:79%;height:18%;left:5%;top:77%;border:2px solid #e5fffcaa;border-radius:50%;box-shadow:0 2px 0 #3c98ae66;animation:lake-wake 2.7s infinite ease-out}.wake-two{animation-delay:1.2s}.boating[data-step="1"] .vessel-route{left:33%;top:35%}.boating[data-step="2"] .vessel-route{left:52%;top:25%}.boating[data-step="3"] .vessel-route{left:62%;top:43%}.course-buoys{position:absolute;inset:0}.course-buoys i,.float-water{position:absolute;width:2.25%;aspect-ratio:.72;border-radius:45% 45% 55% 55%;background:linear-gradient(#dd675a 0 46%,#fff5d7 48% 77%,#83b6bc 80%);border:1.5px solid #72574c;box-shadow:0 4px 0 2px #e1ffffaa;animation:buoy-bob 1.9s ease-in-out infinite alternate}.course-buoys i:nth-child(1){left:43%;top:62%}.course-buoys i:nth-child(2){left:61%;top:44%;animation-delay:-.8s}.course-buoys i:nth-child(3){left:86%;top:67%;animation-delay:-1.3s}.fishing .vessel-route{left:14%;top:40%;width:30%;height:43%}.cast-rod{position:absolute;left:50%;top:-12%;width:59%;height:66%;z-index:3;overflow:visible}.water-line{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3;opacity:0}.float-water{left:71.5%;top:63%;z-index:4;opacity:0}.fishing.cast .water-line,.fishing.cast .float-water{opacity:1}.fishing.bite .float-water{animation-duration:.18s}.catch-fish{display:none;position:absolute;left:68%;top:55%;width:9%;z-index:5}.catch-fish svg{width:100%;display:block}.fishing.finished .catch-fish{display:block;animation:minnow-jump .8s ease-in-out alternate infinite}.open-water .spark-points{display:none}.try-on.accessory .fitted-pal{margin-top:14%}.pal-portrait:has(.wear-head) .portrait-pal{width:105px;height:105px;top:97%}.wear-head{object-fit:initial;max-width:none}
@keyframes buoy-bob{to{transform:translateY(3px) rotate(5deg)}}@keyframes lake-rock{from{transform:rotate(-1deg) translateY(0)}to{transform:rotate(1.2deg) translateY(-2px)}}@keyframes lake-wake{from{opacity:.62;transform:scale(.91)}to{opacity:0;transform:scale(1.35,1.65)}}@keyframes minnow-jump{to{transform:translate(-12%,-20%) rotate(-12deg)}}
.open-water{background-color:#78bfcc}.park-ride{position:absolute;display:block;inset:0;width:100%;height:100%;overflow:visible}.ride-passenger,.ride-passenger .fitted-pal{width:100%;max-width:none;height:100%;--head-x:52.36%}#placement-note{max-width:94%;white-space:normal;text-align:center}
/* Toys share the field with Pip; controls live on the lip beneath the illustration. */
#play-panel[hidden],.throw-aim[hidden],.fetch-ball[hidden]{display:none}
#play-panel{position:relative;display:flex;align-items:center;gap:13px;flex-wrap:wrap;background:#faf1da;color:#493e43;border:1px solid #ccba98;border-radius:12px;padding:10px 13px;margin-top:8px}
.toy-copy{flex:1 1 190px;display:grid;gap:2px}.toy-copy strong{font:700 21px var(--display),sans-serif}.toy-status{font-size:13px;line-height:1.4;min-height:1.4em}.toy-keys{display:flex;flex-wrap:wrap;gap:5px}
#play-panel button{font:700 13px var(--body),sans-serif;background:#fffdf1;border:1px solid #bca68c;color:#5b4356;border-radius:9px;min-height:36px;padding:5px 10px;cursor:pointer}
#play-panel .toy-done{background:#614862;color:#fff9ea;border-color:#614862}
#toy-field,#garden-beds,#habitat{position:absolute;inset:0;pointer-events:none}#garden-beds{z-index:4}#habitat{z-index:14}#toy-field{z-index:1030}
#toy-field button,#habitat button{pointer-events:auto;cursor:pointer}.world-stage[data-toy]{touch-action:none}.world-stage[data-toy] .movement-hint{visibility:hidden}
.world-stage[data-toy] :is(#pal-hit,.world-object,.field-visitor){pointer-events:none}
.world-stage[data-toy=play] [data-object=ball],.world-stage[data-toy=water] [data-object=watering-can]{visibility:hidden}
.garden-stem,.toy-target,.toy-can,.toy-cup,.fetch-ball,.fetch-ring,.ball-landing,.throw-aim,.field-visitor{position:absolute;transform:translate(-50%,-87%);pointer-events:none}
.garden-stem{width:8%;min-width:26px}.garden-stem svg,.toy-target svg,.field-visitor svg{width:100%;display:block}
.toy-target{padding:0;border:0;background:none;min-width:42px;min-height:42px;color:#432f40}
.fetch-ring,.ball-landing,.throw-aim{width:16%;height:5.5%;border-radius:50%;transform:translate(-50%,-50%)}
.fetch-ring{border:clamp(3px,.65cqw,7px) solid #e8bc65;box-shadow:0 2px 0 1px #79563c,inset 0 1px 0 1px #7e5839,0 5px 5px #43322833;background:#ead39b35}.fetch-ring.scored{border-color:#fff2a6;box-shadow:0 0 17px #ffe295}
.fetch-ball{width:9%;height:auto;transform:translate(-50%,-76%)}.fetch-ball img,.toy-can img,.tea-pot img{width:100%;display:block}
.ball-landing{width:7%;height:2%;background:#70504540;filter:blur(1px)}.throw-aim{width:7%;border:2px dashed #fff7d7;background:#57405444}
.flower-target{width:9%;height:12%;border:1.5px dashed #fff5ca;border-radius:50%;background:linear-gradient(to top,#74cee575 var(--fill,0%),#fff6cf11 0);transform:translate(-50%,-90%)}
.toy-can{width:13%;transform:translate(0,-97%) rotate(5deg);transform-origin:24% 73%;transition:rotate .16s;filter:drop-shadow(0 3px 2px #553e4480)}.toy-can.pouring{rotate:-24deg}
.chime-key{border:3px solid #7e664f;width:12%;height:var(--length);max-height:30%;min-height:68px;border-radius:45% 45% 12px 12px;transform:translate(-50%,-50%);transform-origin:50% 0;background:linear-gradient(90deg,#ffffff24,transparent 50%,#5c395522),var(--chime);box-shadow:inset 0 0 0 3px #fff4cc63,0 4px 4px #41313044}
.chime-key:before{content:'';display:block;position:absolute;left:48%;bottom:100%;height:24%;border-left:2px solid #765a46}.chime-key b{position:absolute;bottom:10%;left:0;width:100%;color:#4c394a;font:700 16px var(--display)}.chime-key.ring{animation:chime-ring .45s ease-out}@keyframes chime-ring{20%{rotate:10deg;filter:brightness(1.3)}65%{rotate:-5deg}}
.toy-cup{width:17%;height:15%;border-radius:12% 12% 44% 44%;background:linear-gradient(110deg,#fff1d6,#e6cbbb);border:3px solid #846759;transform:translate(-50%,-70%);box-shadow:0 4px 1px #775c493d}.toy-cup:after{content:'';position:absolute;left:97%;top:10%;width:25%;height:50%;border:4px solid #9c7862;border-left:none;border-radius:0 65% 70% 0}.tea-liquid{position:absolute;inset:auto 12% 9%;height:calc(var(--tea)*.81);background:linear-gradient(#c88c4e,#905934);border-radius:12% 12% 40% 40%}.tea-line{position:absolute;left:5%;right:4%;bottom:calc(9% + var(--line)*.81);border-top:3px dashed #c08b2e}.tea-pot{width:21%;filter:drop-shadow(0 3px 2px #62415355);transform-origin:80% 65%}.tea-pot.tilt{rotate:20deg}.tea-pot.tilt:after{content:'';position:absolute;top:65%;left:87%;height:55%;border-right:4px solid #c18c51;border-radius:90%}
.hunt-light{width:7%;height:10%;animation:field-flit 2.8s ease-in-out var(--delay) infinite alternate}.hunt-light i{display:block;border-radius:50%;width:20%;height:22%;margin:auto;background:#b8c8b5;box-shadow:0 0 10px 3px #c6d9cb66}.hunt-light.golden i{background:#fff397;box-shadow:0 0 8px 4px #fff29a,0 0 22px 8px #ffc82c88}.hunt-shell{width:9%;filter:drop-shadow(1px 2px 1px #755b4e55)}@keyframes field-flit{to{translate:9px -10px}}
.field-visitor{background:none;border:0;width:6%;min-width:38px;padding:0;filter:drop-shadow(0 2px 1px #775c4640);transition:filter .2s}.field-visitor:focus-visible,.toy-target:focus-visible{outline:3px solid #fff4b4;outline-offset:2px}.field-visitor.greeted{filter:drop-shadow(0 0 5px #fff8bd)}.field-visitor svg{animation:visitor-bob 2.3s ease-in-out infinite alternate}@keyframes visitor-bob{to{translate:0 -4px;rotate:4deg}}
#habitat[data-place=woods] .field-visitor{filter:drop-shadow(0 0 4px #f9e799)}.habitat-detail{position:absolute;left:20%;top:30%;width:8%;height:2%;border-radius:50%;animation:field-air 5s ease-in-out infinite;opacity:.6}.detail-1{left:58%;top:42%;animation-delay:-2s}.detail-2{left:70%;top:32%;animation-delay:-3.5s}
[data-place=lake] .habitat-detail,[data-place=beach] .habitat-detail{border-bottom:2px solid #e1f9f5}.detail-0{left:32%}
[data-place=garden] .habitat-detail,[data-place=woods] .habitat-detail,[data-place=cottage] .habitat-detail,[data-place=park] .habitat-detail{width:4px;height:4px;background:#f6ddb2;box-shadow:4px 16px 0 #ffe89b,18px 4px 0 #f9edb1}
[data-place=woods] .habitat-detail{background:#ffef96;box-shadow:0 0 6px 2px #ffe6a3}.pal-noticed{filter:drop-shadow(0 0 7px #fff3b3)}
@keyframes field-air{0%,100%{opacity:.16;translate:0 2px;scale:.75}50%{opacity:.9;translate:12px -4px;scale:1.1}}
#habitat.resting *,body.reduced-motion .hunt-light,body.reduced-motion .chime-key{animation:none}
@media(prefers-reduced-motion:reduce){#habitat *,#toy-field *{animation:none!important;transition:none!important}}
@media(max-width:560px){#play-panel{gap:6px 9px;padding:8px}.toy-copy{flex-basis:70%}.toy-keys:not(:empty){order:3;flex-basis:100%}#play-panel .toy-done{margin-left:auto}.toy-copy strong{font-size:18px}.toy-status{font-size:12px}.flower-target{min-width:32px}}
.sand-piece,.mallow-stick{position:absolute;pointer-events:none;transform:translate(-50%,-90%);width:9%}.sand-piece svg,.picnic-berry svg{width:100%;display:block}.sand-shell{width:5%}.sand-flag{width:4%;height:7%;border-left:2px solid #72523c}.sand-flag i{display:block;width:90%;height:43%;background:#bc718a;clip-path:polygon(0 0,100% 15%,65% 100%,0 85%)}
.mallow-stick{width:20%;height:1%;background:#9b7148;border:1px solid #684f38;rotate:17deg;transform-origin:right center;border-radius:8px}.mallow-stick i{position:absolute;right:0;bottom:-125%;width:25%;height:340%;border-radius:33%;border:1.5px solid #93785f;box-shadow:inset 2px 3px 0 #fff5e466}.mallow-stick.turned i{rotate:-16deg}.picnic-berry{width:7%}.picnic-berry[hidden]{display:none}.toy-keys button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #927449}
.steerable,.outing.wheel,.outing.carousel{touch-action:none;cursor:grab}.steerable .vessel-route{transition:none}.steerable .vessel-route.facing-left .boat-rig{scale:-1 1}
.steerable .course-buoys i.next{outline:3px solid #ffdc76;outline-offset:4px;filter:drop-shadow(0 1px 3px #5c745c)}
.ride-gauge{position:absolute;left:25%;right:25%;bottom:3%;height:12px;border:2px solid #715643;border-radius:10px;background:#fbf0cf;pointer-events:none}.gold-sector{position:absolute;inset:0 auto 0 40%;width:23%;background:#dcb24b}.ride-gauge i{position:absolute;top:-4px;bottom:-4px;left:var(--phase,0%);width:5px;border-radius:3px;background:#583764}.ride-bell.in-gold{background:#b88728}.outing-controls:has(.ride-bell){flex-wrap:wrap}.outing-controls:has(.ride-bell)>div{flex:1 1 180px}.outing.fishing{cursor:crosshair}
.toy-records{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.toy-records span{padding:6px 10px;background:#eee4ce;border-radius:9px;color:#584751;font-size:13px}.toy-records b{margin-left:3px}.world-object.pal-noticed .object-label{opacity:1;visibility:visible}.world-object.pal-noticed:after{content:'♪';position:absolute;right:-3%;top:6%;color:#ffe08a;text-shadow:0 1px 2px #533b4b}
#sand-shore{position:absolute;inset:0;z-index:5;pointer-events:none}.world-stage[data-toy=sandcastle] #sand-shore,.door-hotspot[hidden]{display:none}
.chime-rack{position:absolute;width:37%;height:2.8%;border:2px solid #936b4f;border-radius:30% 18% 20% 19%;background:linear-gradient(#e2be87,#b98a59 68%,#986d4e);box-shadow:0 2px 2px #624a5238;transform:translate(-50%,-355%)}
.chime-key{height:var(--length);width:7.4%;min-width:25px;max-height:none;min-height:38px;transform:translate(-50%,-32%);border-radius:23% 23% 16% 16%;border-width:2px;background:linear-gradient(100deg,#ffffff52 0%,transparent 20%,#fff3cd26 45%,#69495826 80%,#6949583b),var(--chime)}
.chime-key:before{bottom:calc(100% - 7px);height:36%;border:2px solid #8e7154;border-bottom:0;border-radius:50% 50% 0 0;width:14%;left:42%}.chime-key i{position:absolute;top:9%;left:44%;width:12%;aspect-ratio:1;border-radius:50%;background:#755752}.chime-key b{font-size:clamp(11px,1.8cqw,15px)}
.chime-key[data-ringing=yes]{background-color:#fff1aa;filter:drop-shadow(0 0 5px #ffe2a6)}.tea-pot svg{display:block;width:100%}.tea-pot{width:16%}
@media(max-width:560px){.chime-key{min-height:42px}.chime-key:after{content:'';position:absolute;inset:-5px}}
#pal-hit{touch-action:none}.paper-theatre,.paper-puppet{position:absolute}.paper-theatre{width:58%;height:39%;border:7px double #d4b78c;border-radius:6% 9% 6% 8%;background-size:cover;background-position:center;transform:translate(-50%,-75%);box-shadow:0 6px 0 #947855,0 12px 8px #533c4838}.paper-theatre i{position:absolute;left:50%;height:100%;border-left:2px solid #8d785d55;box-shadow:-4px 0 6px #70573d33}.paper-puppet{width:12%;min-height:0;transform:translate(-50%,-60%);filter:drop-shadow(1px 2px 0 #fff4d7) drop-shadow(1px 3px 2px #57414b66)}.paper-puppet:after{content:'';position:absolute;left:49%;bottom:-18%;width:5%;height:39%;border-radius:3px;background:#b99263;z-index:-1}.paper-puppet img{width:100%;display:block}
.pal-invitation{position:absolute;z-index:3;bottom:94%;left:50%;translate:-50% 0;white-space:nowrap;font:700 clamp(11px,1.65cqw,15px) var(--body),sans-serif;color:#54364e;background:#fff5da;border:1px solid #bf9d70;border-radius:11px;padding:5px 9px;box-shadow:0 2px 3px #593d3b35;pointer-events:none}.pal-invitation:after{content:'';position:absolute;left:42%;top:100%;border:5px solid transparent;border-top-color:#bf9d70}.world-object:has(.pal-invitation) .object-label{visibility:hidden}
