/* In-park chrome only; entrance, world, actors and input geometry stay intact. */
#hud #celebrate{position:absolute;right:max(2.6vw,env(safe-area-inset-right));bottom:calc(30vh + 4.7rem);display:flex;align-items:center;gap:.6rem;min-height:4rem;max-width:42vw;padding:.6rem .95rem;border:1px solid #fffdf0;border-radius:1.15rem;background:#fff0d9f0;color:#906b43;box-shadow:0 4px 16px #4053471c}
#celebrate>span:first-child{font-size:1.65rem;color:#c79653}#celebrate b{display:block;font-size:.78rem}#celebrate small{display:block;font-size:.54rem;margin-top:.25rem;color:#968063}#celebrate[data-active=true]{background:#f8dfb7}
body.overview #celebrate,body.choosing-pet #celebrate,body.in-room #celebrate{visibility:hidden}

#hud{--park-ink:#3e6556;--park-muted:#77826d;--park-paper:#fffbeded;font-family:"Trebuchet MS","PingFang SC","Microsoft YaHei",sans-serif;color:var(--park-ink)}
#hud header{padding:2.8vh max(2.6vw,env(safe-area-inset-right)) 0 max(2.6vw,env(safe-area-inset-left));gap:1rem}
#hud .brand{background:var(--park-paper);border:1px solid #fffef4;border-radius:1.4rem;box-shadow:0 5px 20px #365a3b18;min-width:14rem;padding:.7rem .85rem .5rem}
.park-brand-row{display:flex;align-items:center;gap:.65rem}.park-flower{display:grid;place-items:center;border-radius:50%;width:2.65rem;height:2.65rem;background:#e9efdb;color:#7d9466;font-size:2rem}.park-weather{color:#ca9a53;font-size:1.4rem;margin-left:auto;padding-left:.8rem}
#hud .eyebrow{font-size:.52rem;letter-spacing:.14em;color:#8a9079}#hud h1{font-family:inherit;font-size:1.28rem;letter-spacing:.15em;line-height:1.35;font-weight:800;margin:.15rem 0 0;color:#3e6556;text-shadow:none}
#hud #album{display:block;width:100%;text-align:left;background:transparent;box-shadow:none;border-top:1px dashed #dce1cc;border-radius:0;margin-top:.6rem;padding:.45rem .15rem .1rem;font-size:.65rem;min-height:2rem;color:#7d826b}#hud #album b{margin-left:1rem;color:#b48457}#hud #album>span:last-child{float:right}
#hud .top-actions{display:flex;align-items:center;gap:.45rem;max-width:67vw;padding:.35rem;background:#fffbeddd;border:1px solid #fffdf2;border-radius:1.25rem;box-shadow:0 5px 20px #365a3b18}
#hud .top-actions button{border-radius:.9rem;min-height:3.5rem;padding:.5rem .9rem;background:transparent;color:#526e59;font-size:.73rem;box-shadow:none;white-space:nowrap}
#hud .top-actions #map{background:#5f816b;color:#fff9e8;box-shadow:0 2px 0 #466653}#hud #map span{margin-left:.25rem}#hud #music{background:#efeeda;color:#9a845b;font-size:1.15rem;min-width:3.5rem;padding:0}#hud #music[aria-pressed=false]{color:#8a8d83;background:#e7e8dc}#hud #overview[aria-pressed=true]{background:#dce8cf;color:#43674e}
#hud #view-tools{top:13.7vh;right:max(2.6vw,env(safe-area-inset-right));padding:.55rem .65rem;border:1px solid #fffdf0;border-radius:1.15rem;background:#fffbeddf;box-shadow:0 4px 15px #365a3b16}
#hud #zoom-hint{display:block;text-align:left;padding:0 .3rem;font-size:.56rem;color:#7a846e}#hud #view-tools>div{gap:.3rem;margin-top:.3rem}#hud #view-tools button{min-height:3.5rem;min-width:3.5rem;background:#e9efdc;border-radius:.8rem;font-size:1.1rem;color:#587458}#hud #view-tools #view-reset{font-size:.65rem;padding:0 .65rem}#hud #zoom-value{font-size:.7rem;min-width:3rem;font-weight:700}#hud #view-tools button:disabled{opacity:.4}
#hud #running-game-link{top:37vh;right:max(2.6vw,env(safe-area-inset-right));gap:.6rem;min-height:4.3rem;padding:.55rem .8rem;border-radius:1.15rem;background:#fff5dfed;border:1px solid #fffdf0;box-shadow:0 4px 0 #d5be912d,0 5px 18px #52684716;color:#866440}
#hud #running-game-link .running-link-icon{background:#ecd5a7;color:#8f683b;width:2.5rem;height:2.5rem;font-size:1.5rem}#hud #running-game-link b{font-size:.8rem}#hud #running-game-link small{font-size:.52rem;color:#9a886c;margin-top:.25rem}
body:not(.playing) #running-game-link,body.cinematic #running-game-link,body.in-room #running-game-link,body.choosing-pet #running-game-link{display:none}
#hud #summon,#hud #exit-game{right:max(2.6vw,env(safe-area-inset-right));bottom:30vh;border:1px solid #fffdf0;border-radius:1.15rem;min-height:4rem;padding:.6rem .95rem;background:#e8efdcf0;box-shadow:0 4px 16px #4053471c}#hud #summon b{font-size:.78rem}#hud #summon small{font-size:.54rem;color:#7a856c}#hud #summon[data-gathering=true]{background:#ffe6b8ef}#hud #exit-game{background:#ffeedff5;color:#98664b}
#hud #context{left:50%;transform:translateX(-50%);bottom:5.5vh;width:fit-content;max-width:46vw;min-width:23rem;padding:.7rem 1.25rem;background:#fffbeddf;border:1px solid #fffdf0bd;border-radius:1.3rem;box-shadow:0 3px 18px #40534712;text-shadow:none}#hud #place{font-family:inherit;font-size:.95rem;font-weight:700;letter-spacing:.03em}#hud #hint{font-size:.58rem;color:#7c846e;margin-top:.3rem;line-height:1.6}#hud #meter{margin:.6rem auto .1rem}
#hud #joystick{left:max(3vw,env(safe-area-inset-left));bottom:9vh;background:#fff9e84d;border:1px solid #fffbedb3;box-shadow:inset 0 0 0 .6rem #fff9e824,0 5px 20px #466b4214}#hud #stick{background:#fffae7d9;border:1px solid #fffdf0;box-shadow:0 4px 10px #63734e26}#hud #joystick>span{color:#607656;font-size:.6rem;letter-spacing:.18em}
#hud .actions{right:max(2.6vw,env(safe-area-inset-right));bottom:8vh;gap:1.2rem}#hud .actions #play{background:linear-gradient(145deg,#f9d594,#e8b479);border:2px solid #fff0c8;color:#80623c;box-shadow:0 4px 0 #b4854b33,0 6px 18px #6f674129}#hud .actions #play small{font-size:.68rem;letter-spacing:.06em}#hud .actions #switch{border:2px solid #fffced;background:#e9efd9;box-shadow:0 4px 15px #63734e26}
#hud #leader{left:max(3vw,env(safe-area-inset-left));bottom:2.7vh;padding:.45rem .7rem;border:1px solid #fffdf080;background:#fffbead9;font-size:.62rem;color:#4f705b}#hud #leader>span{margin-left:.65rem;color:#869077;font-size:.53rem;opacity:1}
#hud #toast{top:27.5vh;font-size:.74rem;max-width:54vw;padding:.8rem 1.25rem;background:#fffbedf5;border:1px solid #fffdf0;border-radius:1.1rem;color:#667357;white-space:normal;pointer-events:none}
#hud button:focus-visible{outline:3px solid #caa35d;outline-offset:3px}#hud button:not(:disabled):active{filter:brightness(.96)}
#map-panel .paper,#album-panel .paper{color:#4f6d5b;background:#fffbed;border:1px solid #fffef7;border-radius:1.6rem}#map-panel .paper h2,#album-panel .paper h2{font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:1.65rem;font-weight:700}#map-panel .destination{background:#eaf0de;border:1px solid #e0e6d2;border-radius:1rem;min-height:3.6rem}#album-panel .memory.found{background:#f2dfb8;color:#876743}
body.overview #hud #context{bottom:4vh}body.overview #hud #toast{top:auto;bottom:20vh}
@media(max-height:500px) and (min-aspect-ratio:1/1){#hud header{padding-top:2.5vh}#hud .brand{min-width:12rem;padding:.5rem .7rem .4rem}#hud h1{font-size:1.1rem}.park-flower{width:2.25rem;height:2.25rem;font-size:1.7rem}#hud #album{margin-top:.4rem;padding-top:.3rem}#hud .top-actions{gap:.2rem}#hud .top-actions button{padding:.4rem .65rem}#hud #view-tools{top:17vh;padding:.35rem .5rem}#hud #zoom-hint{display:none}#hud #view-tools>div{margin:0}#hud #running-game-link{top:35vh}#hud #context{bottom:5vh;min-width:20rem;padding:.5rem .8rem}#hud #toast{top:24vh}#hud #leader>span{display:none}}
