:root{color-scheme:light;--ink:#304c3f;--muted:#7b8878;--green:#315f47;--gold:#e2b45e;--paper:#fcfbf5;--line:#dfe5d6;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:#f4f5ed;color:var(--ink)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:1px solid var(--line);border-radius:12px;background:#fffdf5;padding:12px 15px;font-size:13px;transition:background .2s,transform .2s}button:hover:not(:disabled){background:#e9eedc;transform:translateY(-1px)}button:focus-visible,a:focus-visible{outline:3px solid #d9ab53;outline-offset:4px}button:disabled{opacity:.46;cursor:default}button.primary{background:var(--green);border-color:var(--green);color:#fff8df;font-weight:650}button.primary:hover:not(:disabled){background:#234c36}button.icon-button{font-size:23px;padding:5px 13px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}.topbar{max-width:1440px;margin:auto;padding:22px 36px;display:flex;gap:18px;align-items:center}.back{border:1px solid #d5dfce;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-size:23px}.brand{flex:1}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:650}.brand h1{font-size:22px;margin-top:4px;letter-spacing:1px}.brand h1 span{font-size:11px;color:var(--muted);letter-spacing:0;margin-left:16px;font-weight:400}.wallet{display:flex;gap:22px;align-items:center;font-size:12px;background:#fffdf3;border:1px solid var(--line);border-radius:30px;padding:12px 19px}.wallet b{font-size:18px;margin-left:7px;font-variant-numeric:tabular-nums}.game-layout{max-width:1440px;padding:0 36px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.chapter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0}.chapter-heading h2{font-size:19px;margin-top:7px}.chest-count{font-size:11px;color:var(--muted);white-space:nowrap}.chest-count b{color:var(--green);font-size:19px}.landscape{height:465px;position:relative;isolation:isolate;border-radius:25px;background:linear-gradient(#e0ebdb 0%,#eef0cb 40%,#baca92 41%,#cbd99f 100%);overflow:hidden;box-shadow:inset 0 0 0 1px #56714325}.sky-glow{position:absolute;left:52%;top:28px;width:77px;height:77px;border-radius:50%;background:#fff5c6;box-shadow:0 0 70px 25px #fff8c481}.hill{position:absolute;bottom:33%;width:95%;height:190px;border-radius:50% 70% 0 0;background:#bacda4}.hill-back{left:-20%;transform:rotate(-7deg)}.hill-front{left:40%;bottom:31%;background:#a9c298;transform:rotate(10deg)}.cloud{position:absolute;width:97px;height:20px;border-radius:60%;background:#ffffff80;top:55px}.cloud:before,.cloud:after{content:'';position:absolute;border-radius:50%;background:inherit;width:40px;height:34px;bottom:0;left:17px}.cloud:after{left:42px;width:46px;height:42px}.cloud-one{left:19%}.cloud-two{right:13%;top:97px;transform:scale(.7)}.trail{position:absolute;inset:0;width:100%;height:100%}.scene-tag{position:absolute;z-index:5;top:20px;left:22px;background:#fffdf5bc;border:1px solid #ffffffa6;backdrop-filter:blur(8px);border-radius:20px;font-size:11px;padding:9px 13px;display:flex;align-items:center;gap:7px}.scene-tag i{width:6px;height:6px;border-radius:50%;background:#6b8d58}.tree{position:absolute;bottom:41%;width:80px;height:120px}.tree i{width:12px;height:65px;background:#9c8463;position:absolute;left:34px;bottom:0;border-radius:4px}.tree b{position:absolute;width:95px;height:110px;left:-8px;top:-22px;background:radial-gradient(ellipse at 40% 30%,#93b479,#658859);border-radius:53% 49% 45% 43%;box-shadow:inset -12px -10px 0 #567d4c55,0 4px 0 #56784330}.tree-one{right:5%;transform:scale(1.12)}.tree-two{left:-4%;bottom:20%;transform:scale(1.35)}.tree-three{right:23%;bottom:46%;transform:scale(.5)}.little-house{position:absolute;left:17%;top:37%;width:70px;height:65px;background:#f2e5be;border-radius:6px;box-shadow:inset -10px 0 #dccb9f}.little-house i{position:absolute;top:-27px;left:-10px;border-left:45px solid transparent;border-right:45px solid transparent;border-bottom:33px solid #8caa7e}.little-house b{width:21px;height:36px;position:absolute;bottom:0;left:24px;background:#6a8469;border-radius:12px 12px 0 0}.little-house span{position:absolute;bottom:-20px;font-size:9px;width:100%;text-align:center;color:#61754d}.pet-art{display:block;background-image:url('/games/pets/companions.png');background-size:400% 200%;background-repeat:no-repeat;background-position:var(--col,0%) var(--row,0%);width:100%;height:100%}.stage-buddy{position:absolute;z-index:3;left:14%;top:46%;width:130px;height:130px;transform:translateX(-50%);filter:drop-shadow(0 7px 3px #53663830);transition:left .2s linear,top .2s linear}.stage-buddy .pet-art{animation:breathe 2.8s ease-in-out infinite}.stage-buddy.walking .pet-art{animation:hop .42s ease-in-out infinite}.stage-buddy.working .pet-art{animation:work .5s ease-in-out infinite}.buddy-name{position:absolute;left:50%;bottom:-11px;transform:translateX(-50%);white-space:nowrap;background:#fdf9e8cf;padding:4px 12px;border-radius:12px;font-size:11px}.treasure{position:absolute;left:71%;top:47%;width:126px;height:126px;filter:drop-shadow(0 5px 6px #7a704735)}.treasure span:last-child{position:absolute;white-space:nowrap;bottom:-6px;left:50%;transform:translateX(-50%);font-size:10px;color:#695f37}.treasure.ready{animation:float 1.4s ease-in-out infinite;filter:drop-shadow(0 0 20px #fff29c)}.jelly{position:absolute;left:66%;top:55%;z-index:2;width:55px;height:49px;background:linear-gradient(#b6d79e,#7fab73);border-radius:50% 50% 36% 36%;box-shadow:inset -5px -4px #80a973,0 4px 0 #67805830;animation:wobble 1.5s ease-in-out infinite}.jelly i{position:absolute;top:21px;left:16px;width:4px;height:6px;border-radius:50%;background:#466440}.jelly i:nth-child(2){left:34px}.jelly b{position:absolute;top:28px;left:23px;font-size:11px}.jelly span{position:absolute;bottom:-20px;white-space:nowrap;font-size:9px;color:#536b47;left:5px}.flowers{position:absolute;letter-spacing:9px;font-size:18px;color:#fff3c8;bottom:24%;left:35%}.flowers span{font-size:12px;color:#f1cfb0}.flowers-two{left:80%;bottom:34%;font-size:14px}.scene-message{position:absolute;top:104px;left:27px;max-width:65%;display:flex;flex-direction:column;gap:9px}.scene-message strong{font-size:25px;color:#476545;letter-spacing:1px}.scene-message>span{font-size:12px;color:#5f7956;line-height:1.7;max-width:300px}.main-action{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);white-space:nowrap;min-width:230px;box-shadow:0 5px 12px #36583418}.main-action:hover:not(:disabled){transform:translate(-50%,-1px)}kbd{font-family:inherit;font-size:10px;opacity:.55;margin-left:12px;border:1px solid currentColor;border-radius:3px;padding:1px 4px}.progress-wrap{position:absolute;left:50%;bottom:90px;transform:translateX(-50%);width:230px}.progress-wrap>div:first-child{display:flex;justify-content:space-between;font-size:11px;margin-bottom:6px}.progress-track,.energy-track{height:5px;border-radius:8px;background:#42533d1a;overflow:hidden}.progress-track i,.energy-track i{display:block;height:100%;background:#537e53;border-radius:inherit;transition:width .15s linear}.route-heading{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px}.route-heading h3{font-size:14px}.route-heading>span{font-size:10px;color:var(--muted)}.routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.route{padding:15px;text-align:left;position:relative;background:#fcfbf5;border-radius:16px;min-height:115px}.route strong{display:block;font-size:14px}.route small{display:block;font-size:10px;line-height:1.65;color:var(--muted);margin:7px 0 11px}.route-count{font-size:10px;display:flex;align-items:center;justify-content:space-between}.route-dots{display:flex;gap:4px}.route-dots i{width:6px;height:6px;background:#dce1d1;border-radius:2px}.route-dots i.done{background:#769268}.route[data-selected=true]{border-color:#6b8c62;background:#eef2e2}.journey-note{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;color:var(--muted);font-size:10px;line-height:1.6}.journey-note button{border:0;background:none;padding:5px;white-space:nowrap;font-size:10px}.companions{padding-top:20px;display:flex;flex-direction:column;gap:15px}.buddy-card,.collection-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:20px}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:13px}.section-heading>span{font-size:10px;color:var(--muted)}.active-portrait{width:158px;height:138px;margin:3px auto -5px;position:relative}.active-portrait .pet-art{position:relative;z-index:1}.portrait-halo{position:absolute;width:106px;height:106px;top:23px;left:26px;border-radius:50%;background:#eaf0d8}.active-portrait #rare-badge{position:absolute;z-index:2;bottom:0;right:-34px;white-space:nowrap;font-size:10px;color:#ad7d2d;background:#fff3c9;border:1px solid #e7d298;border-radius:10px;padding:4px 8px}.active-title{text-align:center;margin:10px 0 7px;display:flex;justify-content:center;align-items:center;gap:9px}.active-title h3{font-size:19px}.active-title span{font-size:11px;letter-spacing:2px;color:#d6aa4b}#active-skill{text-align:center;min-height:29px;font-size:10px;color:var(--muted);line-height:1.6}.pet-stats{display:flex;justify-content:space-between;font-size:10px;margin:15px 0 7px;color:var(--muted)}.pet-stats b{margin-left:5px;color:var(--ink);font-size:12px}.energy-track{height:5px}.care-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:15px}.care-actions button{font-size:11px;padding:10px 7px}.care-actions button:last-child{background:#e9eedc;border-color:#d6dfc9}.shop-button{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:none;margin-top:9px;padding:8px 3px;font-size:10px}.shop-button span{color:var(--muted)}.care-note{font-size:10px;line-height:1.7;color:#8b927f;padding-top:6px;min-height:22px}.collection-card{padding:18px 20px}.collection{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:13px}.pet-slot{aspect-ratio:1;padding:0;border-radius:12px;position:relative;background:#f2f1e6;overflow:hidden}.pet-slot .pet-art{width:100%;height:100%}.pet-slot[data-selected=true]{border:2px solid #769466;background:#e8edd7}.pet-slot.locked{font-size:17px;color:#b2b7a5;background:#f1f1e8;border:1px dashed #d7dbcd}.pet-slot .slot-star{position:absolute;right:4px;bottom:3px;font-size:8px;color:#8a7133}.collection-card>p{font-size:9px;color:var(--muted);margin-top:11px;line-height:1.6}.blind-box{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:16px 18px;border:1px solid #d9d7bb;background:#edead6;border-radius:18px}.box-symbol{display:grid;place-items:center;flex:none;width:39px;height:42px;font-size:26px;font-family:Georgia,serif;color:#8b7750;background:#dacc9f;border:2px solid #bfab77;border-radius:8px;transform:rotate(-8deg)}.blind-box>span:nth-child(2){flex:1}.blind-box strong{display:block;font-size:12px}.blind-box b{background:#e1d5b5;border-radius:12px;padding:3px 6px;margin-left:5px}.blind-box small{display:block;font-size:9px;color:#8b8063;margin-top:6px;line-height:1.6}.blind-box>i{font-style:normal}.blind-box:disabled{opacity:.65}footer{max-width:1440px;margin:28px auto 0;padding:22px 36px;display:flex;justify-content:space-between;border-top:1px solid #e2e7db;font-size:10px;color:#919989}footer i{font-style:normal;margin:0 10px}.notice{position:fixed;z-index:20;left:50%;bottom:28px;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#294b3f;color:#fff9e5;border-radius:14px;padding:15px 22px;box-shadow:0 7px 30px #1a302633;font-size:13px;max-width:90vw;transition:.25s}.notice.show{opacity:1;transform:translate(-50%,0)}dialog{width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #d7dfcb;border-radius:24px;background:#fbfaf1;color:var(--ink);padding:28px;box-shadow:0 30px 100px #18352344}dialog::backdrop{background:#29483777;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.modal-head button{border:0;background:none;font-size:25px;padding:0 6px;color:#87917e}dialog h2{font-size:24px;letter-spacing:.7px}#dialog-copy{font-size:13px;color:#7a8673;line-height:1.9;margin:13px 0 20px;white-space:pre-line}#dialog-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:20px}.reward-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.reward-choice{padding:15px 12px;background:#f0f2e3;border-color:#dce2cc}.reward-choice .pet-art{width:150px;height:150px;max-width:100%;margin:auto}.reward-choice strong{font-size:17px;display:block;margin-top:3px}.reward-choice small{display:block;font-size:11px;color:#849075;line-height:1.7;margin:7px 0}.reward-choice em{font-size:11px;font-style:normal;display:block;color:#547349;padding-top:7px}.reveal-pet{width:220px;height:220px;margin:5px auto;background:radial-gradient(circle,#fff0b0 0%,#f6edc14f 48%,transparent 70%);animation:reveal .7s ease-out}.reveal-pet.rare{filter:drop-shadow(0 0 23px #efce6490)}.welcome-pets{height:190px;display:flex;justify-content:center;align-items:end;margin-bottom:10px}.welcome-pets .pet-art{width:160px;height:160px}.welcome-pets .pet-art:nth-child(2){width:120px;height:120px;margin-left:-20px}.rules-copy{font-size:12px;line-height:1.9;background:#eff1e5;border-radius:13px;padding:16px 19px}.rules-copy p+p{margin-top:9px}[hidden]{display:none!important}@keyframes hop{50%{transform:translateY(-9px) rotate(2deg)}}@keyframes work{50%{transform:translateX(5px) rotate(4deg)}}@keyframes breathe{50%{transform:translateY(-3px)}}@keyframes float{50%{transform:translateY(-7px)}}@keyframes wobble{50%{transform:scale(1.08,.94)}}@keyframes reveal{from{transform:scale(.65);opacity:0}to{transform:scale(1);opacity:1}}@media(min-width:1400px){.landscape{height:515px}.stage-buddy{width:150px;height:150px}}@media(max-width:1050px){.topbar,.game-layout{padding-left:22px;padding-right:22px}.game-layout{grid-template-columns:minmax(0,1fr) 275px;gap:18px}.brand h1 span{display:none}.scene-message strong{font-size:21px}.route{padding:12px}.scene-message{max-width:77%}.treasure{left:69%;width:110px;height:110px}.landscape{height:430px}.buddy-card{padding:17px}.chapter-heading h2{font-size:16px}.chest-count{font-size:10px}.stage-buddy{width:110px;height:110px}.tree-one{right:0%}}
@media(max-width:760px){.topbar{padding:18px 16px;gap:10px}.brand h1{font-size:18px}.brand .eyebrow{font-size:9px}.wallet{padding:9px 10px;gap:10px;font-size:0}.wallet span:first-child{font-size:0}.wallet span:first-child:before{content:'✦';font-size:13px}.wallet span:last-child{display:none}.wallet b{font-size:16px}.game-layout{display:block;padding:0 16px}.chapter-heading{padding:12px 0 16px}.chapter-heading h2{font-size:16px}.chest-count{font-size:9px}.landscape{height:430px}.scene-message{top:94px;left:20px;max-width:76%}.scene-message strong{font-size:22px}.scene-message>span{font-size:11px;max-width:250px}.stage-buddy{width:120px;height:120px}.treasure{left:70%;width:105px;height:105px}.little-house{left:15%;transform:scale(.8)}.tree{transform:scale(.8)}.tree-two{left:-12%;transform:scale(1.1)}.tree-three{transform:scale(.45)}.route{padding:12px 10px;min-height:128px}.route strong{font-size:12px}.route small{font-size:9px}.route-count{font-size:9px}.route-dots{gap:3px}.route-dots i{width:4px;height:5px}.routes{gap:8px}.journey-note{align-items:flex-start;font-size:9px}.companions{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:20px}.buddy-card{grid-row:span 2}.collection-card{padding:16px 12px}.collection{grid-template-columns:repeat(3,1fr);gap:5px}.blind-box{padding:12px;gap:9px;align-self:start}.box-symbol{width:27px;height:30px;font-size:19px}.blind-box strong{font-size:11px}.blind-box small{font-size:9px}.blind-box i{display:none}.section-heading h2{font-size:11px}.section-heading>span{font-size:9px}.active-portrait{width:125px;height:122px}.portrait-halo{width:86px;height:86px;left:20px}.active-title h3{font-size:17px}.care-actions{grid-template-columns:1fr}.pet-stats{font-size:9px;flex-wrap:wrap;gap:7px}.care-note{font-size:9px}.shop-button{flex-wrap:wrap;gap:7px}.active-portrait #rare-badge{right:-12px;font-size:8px}footer{font-size:9px;padding:20px 16px;gap:15px;line-height:1.7}dialog{padding:22px}.reward-choice .pet-art{width:125px;height:125px}.reward-options{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Keep route choices visible in a typical laptop window. */
@media(min-width:761px){.landscape{height:clamp(320px,calc(100dvh - 365px),500px)}.route{min-height:90px;padding:12px 15px}.route small{margin:5px 0 8px}.route-heading{margin-top:16px}.buddy-card{padding-top:16px;padding-bottom:14px}.active-portrait{height:110px;width:125px}.portrait-halo{width:90px;height:90px;top:15px;left:18px}.active-title{margin-top:8px}.pet-stats{margin-top:10px}.care-actions{margin-top:12px}.collection-card{padding:15px 18px}.collection{margin-top:10px}.pet-slot{max-height:49px}.companions{gap:12px}.blind-box{padding:13px 16px}.scene-message{top:82px}.scene-message strong{font-size:22px}.scene-message>span{max-width:300px}.stage-buddy{top:46%}.progress-wrap{bottom:77px}}
.river{display:none;position:absolute;left:43%;top:32%;width:19%;height:90%;background:linear-gradient(90deg,#9dc8c2,#aed8cd,#95c3bf);border:5px solid #dbe4bb;border-top:0;border-bottom:0;transform:rotate(12deg);border-radius:45%;box-shadow:inset 8px 0 #e4f4e62e}
.landscape[data-route="brook"]{background:linear-gradient(#dfefeb 0%,#eef1d6 40%,#b6d2af 41%,#cbdba9 100%)}
.landscape[data-route="brook"] .river{display:block}.landscape[data-route="brook"] .hill{background:#adcdb5}
.landscape[data-route="grove"]{background:linear-gradient(#dce8d6 0%,#d5e5b6 40%,#96b888 41%,#b6ca92 100%)}
.landscape[data-route="grove"] .tree-three{transform:scale(.85);bottom:40%}.landscape[data-route="grove"] .hill{background:#91ae82}
.jelly i,.jelly b{display:none}.jelly[data-kind="meadow"]{border-radius:90% 0 80% 15%;transform:rotate(-12deg);background:linear-gradient(40deg,#719c53,#afc978)}
.jelly[data-kind="meadow"]:before{content:'';position:absolute;left:21px;top:-10px;width:28px;height:57px;background:#83a962;border-radius:80% 20% 80% 20%;transform:rotate(25deg)}
.jelly[data-kind="grove"]{background:linear-gradient(140deg,#d4d0b8,#92978b);border-radius:43% 32% 29% 38%;box-shadow:inset -8px -9px #91968966,0 5px 0 #62765120}
.jelly[data-kind="brook"]{width:69px;height:32px;top:60%;border-radius:2px;background:repeating-linear-gradient(90deg,#b2996e 0 11px,#d6bb85 11px 14px);box-shadow:0 5px 0 #8a7c54}
.jelly[data-kind="brook"]:before{content:'';position:absolute;width:81px;height:5px;background:#8f7c52;left:-6px;top:-5px;box-shadow:0 37px #8f7c52}
/* Living companions: a small garden to walk in, everyday care and conversation. */
.stage-buddy{transition:none;width:140px;height:140px;z-index:4;filter:none;pointer-events:none}
.stage-buddy .living-avatar{width:100%;height:100%;display:block;filter:drop-shadow(0 6px 3px #53663824)}
.pet-speech{position:absolute;left:50%;bottom:94%;transform:translateX(-50%);width:max-content;max-width:190px;padding:9px 12px;border-radius:15px 15px 15px 3px;background:#fffdf2;box-shadow:0 3px 12px #3a57351a;font-size:11px;line-height:1.65;z-index:6;color:#52654c;text-align:center}
.pet-speech:after{content:'';position:absolute;bottom:-6px;left:40%;border:6px solid transparent;border-top-color:#fffdf2;border-bottom:0}
.stage-player{position:absolute;left:22%;top:53%;width:45px;height:75px;transform:translateX(-50%);z-index:3;pointer-events:none}
.player-head{position:absolute;top:2px;left:9px;width:29px;height:30px;background:#f3d6b5;border-radius:47%;border:1px solid #896e5230;z-index:2;box-shadow:inset -4px -1px #ebc7a2}
.player-head:before{content:'';position:absolute;top:-6px;left:-3px;width:34px;height:14px;background:#729581;border-radius:50% 50% 20% 20%;box-shadow:4px 7px 0 -3px #547560}
.player-head:after{content:'• •';position:absolute;left:7px;top:9px;font-size:10px;letter-spacing:1px;color:#584633}
.player-head i{position:absolute;width:6px;height:3px;left:12px;bottom:4px;border-bottom:1px solid #b47b68;border-radius:50%}
.player-body{position:absolute;top:27px;left:6px;width:35px;height:31px;background:#d7a771;border-radius:12px 12px 6px 6px;box-shadow:inset -6px 0 #c1916245}
.player-body:before,.player-body:after{content:'';position:absolute;bottom:-11px;left:6px;width:8px;height:16px;background:#607067;border-radius:1px 1px 3px 3px;transform-origin:top}
.player-body:after{left:22px}.stage-player[data-moving=true] .player-body:before{animation:player-step .4s alternate infinite}.stage-player[data-moving=true] .player-body:after{animation:player-step .4s alternate-reverse infinite}
.player-label{position:absolute;bottom:-10px;left:12px;background:#fdf9e8b8;padding:2px 7px;border-radius:9px;font-size:9px}
.pet-personality{display:flex;gap:6px;justify-content:center;margin:7px 0 10px}.pet-personality span{background:#edf0e1;padding:4px 9px;border-radius:20px;font-size:10px;color:#68825b}.pet-personality span:last-child{background:#f5ecd7;color:#987849}
.needs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.needs label{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:6px}.needs b{font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}.need-track{display:block;overflow:hidden;height:5px;background:#eae5d4;border-radius:5px}.need-track i{display:block;height:100%;background:#cfab65;transition:width .2s}.affection-track{background:#efe2d8}.affection-track i{background:#ce9d86}
.living-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}.living-actions button{font-size:11px;padding:10px 5px;background:#f6f1e3;border-color:#e4dcc9}.living-actions button:last-child{grid-column:span 2;background:#e9efdf;border-color:#d9e0cc}.follow-note{font-size:10px;line-height:1.7;margin:9px 0 0;color:#748269}.buddy-card .care-actions{margin-top:8px;border-top:1px solid #e4e8db;padding-top:14px}.buddy-card .shop-button{margin-top:5px}
.chat-card{margin:18px 0 6px;padding:20px 23px;background:var(--paper);border:1px solid var(--line);border-radius:20px}.chat-card .section-heading{gap:12px}.chat-card .section-heading h2{font-size:15px}.chat-card .section-heading button{font-size:10px;padding:6px 10px;color:#64815a;border:0;background:#edf1e4}.pet-chat-log{height:131px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:15px 0;padding:0 3px;font-size:12px;line-height:1.75}.pet-chat-log p{padding:8px 12px;border-radius:12px;max-width:93%;white-space:pre-wrap;overflow-wrap:anywhere}.chat-pet{background:#eff2e5;color:#59724d}.chat-user{background:#f4eada;color:#8a7152;align-self:flex-end}.chat-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:11px}.chat-suggestions button{font-size:10px;padding:6px 10px;border-radius:20px;color:#7c8973;background:transparent}.pet-chat-form{display:flex;gap:8px}.pet-chat-form input{min-width:0;flex:1;background:#f7f6ee;border:1px solid #e0e4d4;border-radius:12px;padding:12px 14px;font:inherit;font-size:12px;color:var(--ink)}.pet-chat-form input:focus-visible{outline:2px solid #93ab7c;outline-offset:1px}.pet-chat-form button{padding:10px 13px;font-size:12px}.pet-chat-form button[data-listening=true]{background:#edd1bf;border-color:#c7836a}.chat-note{font-size:9px;line-height:1.7;margin-top:9px;color:#8e9785}.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}
.landscape .scene-message{top:69px;pointer-events:none}.landscape .scene-message strong{font-size:20px}.landscape .scene-message>span{max-width:360px;font-size:11px}.landscape .scene-tag{pointer-events:none}.landscape .little-house{top:39%;left:15%}.collection{grid-template-columns:repeat(5,1fr)}
@keyframes player-step{from{transform:rotate(-19deg)}to{transform:rotate(19deg)}}
@media(min-width:761px){.landscape{height:clamp(365px,calc(100dvh - 350px),535px)}.stage-buddy{width:135px;height:135px}.scene-message{max-width:85%}}
@media(max-width:1050px){.stage-buddy{width:120px;height:120px}.pet-speech{max-width:150px;font-size:10px}.chat-card{padding:17px}.wallet{gap:13px}}
@media(max-width:760px){.companions{grid-template-columns:minmax(0,1fr)}.buddy-card{grid-row:auto}.buddy-card .active-portrait{height:140px;width:160px}.buddy-card .pet-stats{font-size:11px}.buddy-card .section-heading h2{font-size:14px}.living-actions{grid-template-columns:1fr 1fr 1fr}.living-actions button:last-child{grid-column:auto}.care-actions{grid-template-columns:1fr 1fr}.collection{grid-template-columns:repeat(5,1fr)}.pet-slot{max-height:75px}.wallet span:nth-child(2){display:none}.wallet{gap:0}.landscape{height:430px}.stage-buddy{width:115px;height:115px}.pet-speech{font-size:10px;max-width:146px;padding:8px 10px}.landscape .scene-message{top:75px;max-width:86%}.landscape .scene-message strong{font-size:21px}.landscape .scene-message>span{max-width:270px}.chat-card{padding:17px 14px;margin-top:16px}.pet-chat-form{gap:5px}.pet-chat-form input{padding:11px 9px;font-size:11px}.pet-chat-form button{padding:9px 10px}.chat-note{font-size:9px}.chat-card .section-heading h2{font-size:14px}.stage-player{transform:translateX(-50%) scale(.88)}.active-portrait #rare-badge{right:-23px;font-size:10px}.blind-box strong{font-size:13px}.blind-box small{font-size:11px}.box-symbol{width:40px;height:44px;font-size:30px}.follow-note{font-size:11px}}
body[data-paused=true] .landscape *,body[data-paused=true] .landscape *:before,body[data-paused=true] .landscape *:after{animation-play-state:paused!important}
body[data-paused=true] .living-avatar *{animation-play-state:paused!important}
@media(max-width:760px){.pet-chat-form input{font-size:16px}.pet-chat-form button,.living-actions button,.care-actions button{min-height:44px}}
/* Aim and tame in the same garden; shops and companion care stay on this page. */
.monster-layer,.followers-layer,.projectile-layer{position:absolute;inset:0;pointer-events:none;z-index:3}.projectile-layer{z-index:8}.wild-monster{position:absolute;width:76px;height:82px;transform:translate(-50%,-50%);padding:0;border:0;background:transparent;pointer-events:auto;border-radius:50%;transition:none}.wild-monster:hover:not(:disabled){background:#fff9cb33;transform:translate(-50%,-50%)}.wild-monster:disabled{opacity:1}.wild-monster .monster-avatar{width:100%;height:100%}.wild-monster[data-selected=true]:before{content:'';position:absolute;inset:4px -3px 0;border:2px dashed #c09546;border-radius:50%;background:#fff4c21c;z-index:-1}.monster-tag{position:absolute;bottom:-13px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:9px;line-height:1.4;padding:3px 7px;background:#fffbedeb;color:#607449;border-radius:10px;box-shadow:0 1px 3px #36512612}.monster-follower{position:absolute;width:63px;height:63px;transform:translate(-50%,-50%)}.monster-follower .monster-tag{font-size:8px;bottom:-7px;padding:2px 5px;background:#fffbedb0}.monster-follower[data-alive=false]{opacity:.65}.taming-projectile{transform:translate(-50%,-50%) rotate(var(--shot-angle,0rad));z-index:8}
.taming-hud,.monster-followers,.monster-shop{border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:17px 20px;margin-top:14px}.taming-hud .section-heading h2,.monster-followers .section-heading h2{font-size:14px}.taming-target{font-size:11px;color:#6c7d60;margin:10px 0 12px;line-height:1.7}.taming-controls{display:flex;gap:15px;align-items:stretch}.skill-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:1}.skill-card{position:relative;display:grid;grid-template-columns:21px 1fr;align-items:center;gap:3px 7px;padding:9px 10px;border-radius:11px;min-height:59px;text-align:left;background:#f4f4e9}.skill-card-icon{grid-row:span 2;width:21px;height:29px;border:1px solid #a7b899;border-radius:4px;background:#e0eacb;display:grid;place-items:center;color:#658459;font-size:12px;font-family:serif}.skill-card strong{font-size:11px}.skill-card small{font-size:10px;color:#8a947d}.skill-card kbd{position:absolute;top:5px;right:4px;font-size:8px;padding:0 2px;margin:0}.skill-card[data-selected=true]{border-color:#789765;box-shadow:0 0 0 2px #94ac7c25;background:#eef2e0}.skill-card[data-tier=medium] .skill-card-icon{background:#daedf0;color:#559aaa;border-color:#8bbcc5}.skill-card[data-tier=high] .skill-card-icon{background:#e9e1f5;color:#9974b1;border-color:#b19ecb}.skill-card[data-tier=super] .skill-card-icon{background:#f9ecc7;color:#b38b36;border-color:#d7b664}.taming-buttons{display:flex;flex-direction:column;gap:6px}.taming-buttons button{font-size:11px;padding:7px 13px;min-width:139px}.taming-buttons kbd{margin-left:8px}.taming-hint,.monster-note{font-size:10px;line-height:1.75;color:#89957e;margin:10px 0 0}.starfruit-warning{font-size:11px;line-height:1.7;padding:10px 12px;background:#fff0c4;color:#9d732e;border-radius:10px;margin:10px 0 0}.starfruit-warning[data-urgent=true]{background:#f7dccb;color:#a35d42}.monster-followers{margin-top:18px}.monster-followers>p{font-size:11px;color:#8a967f;line-height:1.7;margin-top:12px}.followers-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.monster-friend{display:flex;align-items:center;gap:7px;margin-top:13px;border:1px solid #e5e9db;border-radius:12px;background:#f7f7ed;padding:10px}.monster-friend>.monster-avatar{flex:none;width:54px;height:54px}.monster-friend-body{flex:1;min-width:0}.monster-friend-body>strong{font-size:12px;display:block}.monster-friend-stats{font-size:9px;line-height:1.9;color:#80916e;display:block;margin-top:5px}.monster-friend-status{display:block;font-size:9px;line-height:1.7;color:#9b9777;margin-top:3px}.monster-friend[data-alive=false]{background:#eeede7;opacity:.7}.monster-energy{height:4px;background:#e8e2ca;border-radius:6px;display:block;margin-top:8px;overflow:hidden}.monster-energy i{display:block;height:100%;background:#d6b95b}.equip-base{font-size:10px;padding:7px 10px;margin-top:8px;background:#f6eac2;border-color:#e5d296}.monster-shop{padding:18px;margin-top:0}.monster-shop .section-heading h2{font-size:13px}.card-shop{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:13px}.card-purchase{display:flex;flex-direction:column;gap:7px;align-items:flex-start;text-align:left;padding:10px 9px;background:#f4f4e9;border-radius:10px;font-size:10px}.card-purchase strong{font-size:11px;color:#709066}.card-purchase[data-tier=medium]{background:#eef5f1}.card-purchase[data-tier=high]{background:#f1edf5}.card-purchase[data-tier=super]{background:#f8f0db}.base-shop{display:flex;gap:10px;align-items:center;justify-content:space-between;padding-top:15px;margin-top:15px;border-top:1px solid #e4e7d9}.base-shop strong{font-size:11px}.base-shop small{display:block;font-size:9px;margin-top:6px;color:#8b957c;line-height:1.7}.base-shop button{font-size:10px;padding:9px;white-space:nowrap;background:#fbf0d4;border-color:#e6d7aa}
@media(min-width:761px){.landscape{height:clamp(410px,calc(100dvh - 300px),540px)}.wild-monster[data-monster=cloud]{width:86px;height:92px}}
@media(max-width:1050px){.skill-card{grid-template-columns:17px 1fr;padding:9px 7px;gap:3px 4px}.skill-card-icon{width:17px;height:27px}.taming-controls{gap:9px}.taming-buttons button{min-width:116px;padding:8px;font-size:10px}.followers-list{grid-template-columns:1fr}.taming-hud{padding:16px}}
@media(max-width:760px){.landscape{height:440px}.wild-monster{width:56px;height:62px}.wild-monster[data-monster=cloud]{width:66px;height:70px}.monster-tag{font-size:8px;padding:2px 4px}.monster-follower{width:48px;height:48px}.monster-follower .monster-tag{font-size:7px;bottom:-9px}.taming-hud{padding:15px}.taming-controls{flex-direction:column;gap:10px}.skill-cards{gap:6px}.skill-card{grid-template-columns:18px 1fr;min-height:58px;padding:9px 8px}.skill-card-icon{width:18px}.skill-card kbd{display:none}.taming-buttons{flex-direction:row}.taming-buttons button{min-height:42px;flex:1;font-size:11px}.taming-target{font-size:11px}.taming-hint{font-size:9px}.taming-hud .section-heading>span{font-size:9px}.monster-followers{padding:16px}.monster-followers .section-heading>span{font-size:9px}.monster-shop{padding:18px}.monster-shop .section-heading h2{font-size:14px}.card-purchase{min-height:62px}.base-shop button{min-height:44px}.monster-shop .monster-note{font-size:10px}.monster-friend-stats{font-size:10px}.monster-friend-status{font-size:10px}.equip-base{min-height:40px}.monster-friend>.monster-avatar{width:60px;height:60px}}
@media(max-width:760px){.monster-follower{width:42px;height:42px}.monster-follower:nth-child(3n+2){margin-top:16px}}
.story-gateway{display:flex;align-items:center;gap:28px;justify-content:space-between;padding:24px 27px;margin-bottom:25px;border:1px solid #c9d8bd;border-radius:19px;background:linear-gradient(125deg,#e8efda,#f9f5e3);box-shadow:0 7px 25px #69834d0c}.story-gateway h2{margin:7px 0 9px;font-size:23px;letter-spacing:-.5px}.story-gateway p{font-size:13px;line-height:1.8;max-width:480px;margin:0 0 8px;color:#617357}.story-gateway small{font-size:11px;color:#7c8c70}.story-link{display:flex;flex-shrink:0;gap:20px;align-items:center;justify-content:center;text-decoration:none;padding:16px 20px;border-radius:12px;font-size:14px;min-height:48px}.story-link:focus-visible{outline:3px solid #c69e49;outline-offset:4px}@media(max-width:700px){.story-gateway{flex-direction:column;align-items:stretch;gap:17px;padding:20px}.story-gateway h2{font-size:21px}.story-link{width:100%;justify-content:space-between}}
/* A small welcome between the road and the companion home. */
.world-welcome{max-width:1440px;margin:0 auto 22px;padding:7px 36px 2px;display:flex;align-items:center;gap:24px;justify-content:space-between}.world-welcome-copy{min-width:0}.world-welcome h2{font-size:23px;letter-spacing:.4px;line-height:1.45;margin-bottom:6px}.world-welcome p{max-width:780px;color:#77836d;font-size:12px;line-height:1.8}.world-path{display:inline-flex;align-items:center;border-radius:20px;background:#e6edde;color:#62805a;font-size:10px;letter-spacing:1px;padding:5px 10px;margin-bottom:9px}.town-return{flex-shrink:0;border:1px solid #d4deca;border-radius:12px;padding:12px 15px;font-size:12px;min-height:44px;background:#fafbf3}.town-return:hover{background:#e9efde}.music-button{min-height:44px;min-width:94px;white-space:nowrap;font-size:11px;padding:10px 12px;border-color:#cfdbc4;background:#f8faed}.music-button[aria-pressed=true]{color:#315f47;background:#e3edda;border-color:#adc699}.topbar .back{flex-shrink:0}.topbar .brand{min-width:0}.topbar .wallet{flex-shrink:0}
@media(max-width:1050px){.world-welcome{padding-left:22px;padding-right:22px}.topbar{gap:12px}.music-button{padding:9px;min-width:87px}.world-welcome h2{font-size:21px}}
@media(max-width:760px){.world-welcome{padding:1px 16px 0;margin-bottom:19px;gap:13px;align-items:flex-start;flex-direction:column}.world-welcome h2{font-size:21px}.world-welcome p{font-size:11px;max-width:510px}.world-path{font-size:9px}.town-return{font-size:11px;padding:10px 13px}.topbar{flex-wrap:wrap;gap:10px;padding-bottom:14px}.topbar .brand{flex:1 1 calc(100% - 60px)}.topbar .wallet{margin-left:52px;margin-right:auto}.music-button{min-height:44px;padding:9px 12px;min-width:95px}.topbar #pause{min-height:44px;min-width:44px}.story-gateway{margin-bottom:14px}}
