:root{--card:#ffffffd1;--card-border:#ffffffe6;--text:#2d2433;--muted:#7a6f80;--accent:#ef7d6d;--accent-text:#fff;--good:#58b368;--warn:#f0a93b;--bad:#e35d5d;--radius:20px;--shadow:0 10px 30px -12px #2d243359;--font:"Nunito", ui-rounded, "SF Pro Rounded", system-ui, "Segoe UI", sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html{font-size:min(100%,max(18px,5vw))}[hidden]{display:none!important}html,body{height:100%;color:var(--text);font-family:var(--font);-webkit-tap-highlight-color:transparent;touch-action:none;-webkit-user-select:none;user-select:none;background:#cfe7f2;margin:0;overflow:hidden}.pet-details,dialog{touch-action:pan-y}input{-webkit-user-select:text;user-select:text}.scene{touch-action:none;position:fixed;inset:0}.hud{background:var(--card);border:1px solid var(--card-border);border-radius:var(--radius);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(10px);position:fixed}.hud-info{width:min(360px,100vw - 32px);padding:14px 16px;top:16px;left:16px}.hud-strip{align-items:center;gap:8px;display:flex}.pet-tabs{flex:1;justify-content:space-evenly;gap:6px;margin:0;display:flex}.pet-face,.pet-tabs .add-pet{background:0 0;border:0;border-radius:999px;flex:none;width:40px;height:40px;margin:0;padding:0;position:relative}.hamster-face{width:100%;height:100%;display:block}.pet-face[aria-pressed=true]{outline:3px solid var(--accent);outline-offset:2px}.pet-tabs .add-pet{color:#b08d6c;border:2px dashed #e0cdbd;font-size:16px;font-weight:900}.pet-badge{background:var(--bad);color:#fff;border:2px solid #fff;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:11px;font-weight:900;line-height:1;display:grid;position:absolute;top:-4px;right:-4px}.pet-badge[data-kind=sleep]{background:#6a6fb5}.details-toggle svg{width:20px;height:20px}.sheet-head{align-items:center;gap:10px;margin:0 0 12px;display:flex}.sheet-face{flex:none;width:44px;height:44px}.sheet-who{flex:1;min-width:0}.sheet-name{margin:0;font-size:18px;font-weight:900;line-height:1.15}.subtitle{color:var(--muted);margin:0;font-size:.82rem;font-weight:700}.sheet-tabs{background:#f6ece2;border-radius:999px;grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;margin:0 0 4px;padding:4px;display:grid}.sheet-tab{color:#8a5a3a;min-width:0;font:inherit;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:5px;margin:0;padding:7px 4px;font-size:.82rem;font-weight:800;display:flex}.sheet-tab span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sheet-tab svg{flex:none;width:15px;height:15px}.sheet-tab[aria-selected=true]{color:var(--text);background:#fff;box-shadow:0 2px 6px -3px #2d243380}.sheet-panel{padding-top:8px}.sheet-h{letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px;font-size:.7rem;font-weight:900}.chips{flex-wrap:wrap;gap:6px;display:flex}.chips span{color:#8a5a3a;background:#f6ece2;border-radius:999px;padding:3px 10px;font-size:.8rem;font-weight:800}.chips span[data-warn]{color:#b26d12;background:#fdebd3}#condition{margin:0 0 12px}.set-group{background:#f8f3ee;border-radius:16px;display:grid;overflow:hidden}.set-row{width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin:0;padding:8px 12px;font-size:.88rem;font-weight:800;display:flex}.set-row+.set-row{border-top:1px solid #ece3d9}.set-row[hidden]{display:none}.set-icon{color:#fff;background:#9a8fa3;border-radius:9px;flex:none;place-items:center;width:28px;height:28px;display:grid}.set-icon svg{width:16px;height:16px}.set-icon[data-tone=blue]{background:#5b9bd5}.set-icon[data-tone=purple]{background:#b28bd1}.set-icon[data-tone=red]{background:var(--bad)}.set-chev{width:16px;height:16px;color:var(--muted);flex:none;margin-left:auto}.set-danger{color:var(--bad)}.set-two{min-width:0;line-height:1.25;display:grid}.set-two .account-email{overflow-wrap:anywhere;color:var(--muted);margin:0;font-size:.78rem;font-weight:700}.switch{background:#d9d1dc;border:0;border-radius:999px;flex:none;width:44px;height:26px;margin:0 0 0 auto;padding:0;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:999px;width:20px;height:20px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000004d}.switch[aria-checked=true]{background:var(--good)}.switch[aria-checked=true]:after{transform:translate(18px)}.volume span{width:4.5em;color:var(--muted);flex:none;font-size:.82rem;font-weight:700}.volume input{min-width:0;accent-color:var(--accent);flex:1}.lang-picker.set-lang{background:#f6ece2;border-radius:999px;grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;margin:0;padding:4px;display:grid}.set-lang .lang-option{color:#8a5a3a;background:0 0;border:0;padding:7px 0;font-size:.85rem}.set-lang .lang-option[aria-pressed=true]{color:var(--text);background:#fff;box-shadow:0 2px 6px -3px #2d243380}.sheet-panel .app-version{text-align:center;margin:12px 0 0}.help-title{margin:8px 0 4px;font-size:1.05rem;font-weight:900}.help-text{color:var(--muted);margin:0 0 12px;font-size:.85rem;font-weight:700;line-height:1.45}.help-mail{background:#f8f3ee;border:1px solid #ece3d9;border-radius:14px;align-items:center;gap:8px;padding:6px 6px 6px 12px;display:flex}.help-mail code{overflow-wrap:anywhere;min-width:0;font:inherit;-webkit-user-select:all;user-select:all;flex:1;font-size:.82rem;font-weight:800}.help-copy{background:var(--accent);color:var(--accent-text);font:inherit;border:0;border-radius:10px;flex:none;align-items:center;gap:5px;margin:0;padding:8px 12px;font-size:.85rem;font-weight:900;transition:background .2s;display:inline-flex}.help-copy[data-copied]{background:var(--good)}.help-copy svg,.help-open svg{width:16px;height:16px}.help-open{color:#8a5a3a;background:#f6ece2;border-radius:12px;justify-content:center;align-items:center;gap:6px;margin-top:8px;padding:10px;font-size:.88rem;font-weight:900;text-decoration:none;display:flex}@media (width>=641px){.sheet-face,.sheet-name{display:none}.sheet-head{margin:8px 0 10px}.sheet-panel{height:min(380px,100vh - 330px);overflow-y:auto}.hud-float{width:max-content;left:0;right:auto}}.hud-float{justify-content:flex-end;align-items:center;gap:8px;display:flex;position:absolute;top:calc(100% + 8px);left:0;right:0}.relations{gap:4px;margin:0;padding:0;font-size:.85rem;list-style:none;display:grid}.relations li{align-items:center;gap:8px;display:flex}.relation-face{flex:none;width:26px;height:26px}.relation-state{color:var(--muted);background:#f1ecf3;border-radius:999px;margin-left:auto;padding:2px 8px;font-size:.75rem;font-weight:800}.relations li[data-mood=friends] .relation-state{color:#2f8a40;background:#e2f4e5}.relations li[data-mood=enemies] .relation-state{color:#c03f3f;background:#fbe2e2}.title-row{flex-wrap:wrap;align-items:baseline;gap:0 .35em;margin:8px 0 6px;font-size:15px;display:flex}.pet-name{letter-spacing:-.02em;font-size:18px;font-weight:900}.mood{color:var(--good);font-weight:800}.mood:before,.title-row .activity:before{content:"· ";color:var(--muted);font-weight:700}.mood[data-mood=bien]{color:#4f8fc9}.mood[data-mood=triste]{color:var(--warn)}.mood[data-mood=enfermo]{color:var(--bad)}.trust{gap:5px;margin:0;font-size:.85rem;font-weight:700;display:grid}.trust>span{justify-content:space-between;gap:8px;display:flex}.trust strong{color:#d0577f}.trust-track{background:#2d24331a;border-radius:999px;height:8px;overflow:hidden}.trust-track span{border-radius:inherit;background:#e889a8;height:100%;transition:width .4s;display:block}.trust[data-level=afraid] strong,.trust[data-level=afraid] .trust-track span{color:var(--bad);background:var(--bad)}.trust[data-level=afraid] strong{background:0 0}.hold-ring{z-index:27;pointer-events:none;width:64px;height:64px;position:fixed;transform:translate(-50%,-50%)}.hold-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.hold-ring circle{fill:none;stroke-width:5px}.hold-track{stroke:#fff9}.hold-progress{stroke:var(--accent);stroke-linecap:round;stroke-dasharray:113;stroke-dashoffset:113px}.bite-flash{z-index:30;pointer-events:none;background:radial-gradient(circle,#e35d5d00 30%,#e35d5de6);position:fixed;inset:0}.fx-heart,.fx-anger,.fx-bite{z-index:26;pointer-events:none;text-shadow:0 2px 4px #0003;font-weight:900;position:fixed}.fx-heart{color:#ff6b9a;font-size:1.5rem}.fx-anger{color:var(--bad);font-size:1.2rem}.fx-friendship{z-index:26;pointer-events:none;white-space:nowrap;text-shadow:0 1px 3px #ffffffe6;font-size:.9rem;font-weight:900;position:fixed}.fx-friendship-good{color:#2f9a45}.fx-friendship-bad{color:var(--bad)}.fx-sleep{z-index:26;pointer-events:none;color:#8fa6e8;text-shadow:0 1px 3px #fffc;font-size:1.15rem;font-style:italic;font-weight:900;position:fixed}.fx-curious{z-index:26;pointer-events:none;color:#6aa6d8;text-shadow:0 2px 4px #0003;font-size:1.3rem;font-weight:900;position:fixed}.fx-bite{color:#fff;background:var(--bad);border-radius:999px;padding:2px 10px;font-size:1rem}.habits{gap:5px;margin:0;padding:0;list-style:none;display:grid}.habit{grid-template-columns:1fr 90px;align-items:center;gap:8px;font-size:.8rem;font-weight:700;display:grid}.habit-track{background:#2d24331a;border-radius:999px;height:8px;position:relative}.habit-track:after{content:"";background:#2d243340;width:2px;position:absolute;top:-2px;bottom:-2px;left:50%}.habit-track span{border-radius:999px;position:absolute;top:0;bottom:0}.habit-track span[data-direction=up]{background:var(--good);left:50%}.habit-track span[data-direction=down]{background:var(--bad);right:50%}.activity{margin:0}.wallet{color:#8a5a00;background:#fff4d1;border-radius:999px;flex:none;align-items:center;gap:.25em;margin:0;padding:.15em .55em .15em .25em;font-size:.9rem;font-weight:900;display:inline-flex}.decor-open{color:#3d6d86;background:#e3f1f8;border-radius:999px;flex:none;place-items:center;width:44px;height:44px;margin:0;padding:0;display:grid;box-shadow:0 4px 12px -6px #2d243399}.decor-open svg{width:20px;height:20px}body[data-decorating] .bubble,body[data-decorating] .hud-info,body[data-decorating] .hud-actions,body[data-decorating] .hint,body[data-decorating] .pet-menu{display:none!important}.decor-bar{left:50%;bottom:calc(1rem + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr);gap:.6em;width:min(26em,100vw - 20px);padding:.7em .8em;display:grid;transform:translate(-50%)}.account-rows{gap:.4em;max-height:55vh;display:grid;overflow-y:auto}.account-row{color:var(--text);font:inherit;text-align:left;background:#f5ebe0;border:0;border-radius:12px;gap:.15em;margin:0;padding:.55em .8em;display:grid}.account-row span{color:var(--muted);font-size:.85em}.sex-row{gap:.5em;display:flex}.sex-choice{min-height:2.6em;color:var(--text);font:inherit;background:#f5ebe0;border:2px solid #0000;border-radius:999px;flex:1;margin:0;font-weight:800}.sex-choice[aria-pressed=true]{background:#fff;border-color:#ef7d6d}.sex-mark{color:var(--muted);margin-left:.3em;font-size:.8em}.sex-mark[data-sex=male]{color:#4f8fc9}.sex-mark[data-sex=female]{color:#e0709a}.decor-pill{white-space:nowrap;border:0;border-radius:999px;flex:1;justify-content:center;align-items:center;gap:7px;min-width:0;height:44px;margin:0;padding:0 18px;font-size:16px;font-weight:900;display:inline-flex}.decor-pill svg{flex:none;width:20px;height:20px}.decor-pill:disabled{opacity:.45}.decor-tabs{gap:8px;display:flex}#decor-tab-props,#decor-tab-tubes{background:#fff;box-shadow:inset 0 0 0 2px}#decor-tab-props{color:#3aa59a}#decor-tab-tubes{color:#4a9ad8}#decor-tab-props[aria-pressed=true]{color:#fff;background:#3aa59a;box-shadow:0 4px 10px -4px #3aa59acc}#decor-tab-tubes[aria-pressed=true]{color:#fff;background:#4a9ad8;box-shadow:0 4px 10px -4px #4a9ad8cc}.decor-piece{align-items:center;gap:8px;display:flex}.decor-piece .decor-looks{flex:1;min-width:0}.decor-piece:not(:has(>:not([hidden]))){display:none}.decor-turn{color:#fff;background:#7b6cd9;flex:none;margin-left:auto;box-shadow:0 4px 10px -4px #7b6cd9cc}.decor-turn:disabled{opacity:1;color:#a59cd6;box-shadow:none;background:#e4e0f5}.decor-quiet{color:var(--text);background:#f1e7da}.decor-done{background:var(--accent);color:var(--accent-text);box-shadow:0 4px 10px -4px #ef7d6dcc}.tube-tool{color:#8a5a00;background:#fff3cf;gap:6px;height:42px;padding:0 12px;font-size:15px}.tube-entry{flex:1.3}.tube-tool[aria-pressed=true]{color:#fff;background:#f0a93b}.tube-cost{text-align:center;color:var(--text);margin:0;font-weight:800}.tube-panel{gap:.5em;display:grid}.tube-row{gap:6px;display:flex}.decor-status{text-align:center;color:var(--good);margin:0;font-weight:800}.decor-status[data-ok=false]{color:var(--bad)}.decor-actions{gap:8px;display:flex}.shop-open{background:var(--accent);height:44px;color:var(--accent-text);border-radius:999px;flex:none;align-items:center;gap:6px;margin:0;padding:0 14px;font-size:16px;font-weight:900;display:inline-flex;box-shadow:0 4px 10px -4px #ef7d6dcc}.shop-open svg{width:20px;height:20px}.furniture-open{background:#3aa59a;box-shadow:0 4px 10px -4px #3aa59acc}.games-open{color:#fff;background:#7b6cd9;border-radius:999px;flex:none;align-items:center;gap:6px;height:44px;margin:0;padding:0 14px;font-size:16px;font-weight:900;display:inline-flex;box-shadow:0 4px 10px -4px #7b6cd9cc}.games-open svg{width:20px;height:20px}@media (width<=430px){.hud-float{gap:5px}.shop-open,.games-open{gap:4px;padding:0 10px;font-size:14px}.shop-open svg,.games-open svg{width:18px;height:18px}}.games-racer-card{background:#f8f3ee;border-radius:16px;gap:8px;padding:14px;display:grid}.games-racer-head{align-items:center;gap:12px;display:flex}.games-face{flex:none;width:44px;height:44px}.games-who{flex:1;min-width:0;line-height:1.3;display:grid}.games-who small{color:var(--muted);font-size:.8rem;font-weight:700}.games-stat{color:var(--muted);grid-template-columns:7.5em 1fr;align-items:center;gap:10px;font-size:.82rem;font-weight:800;display:grid}.games-bar{background:#2d24331a;border-radius:999px;height:9px;overflow:hidden}.games-bar i{border-radius:inherit;background:var(--good);height:100%;display:block}.games-level .games-bar i{background:#7b6cd9}.games-pick{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;margin:4px 0 12px;display:grid}.games-pick[hidden]{display:none}.games-pick-option{min-width:0;color:var(--muted);background:0 0;justify-items:center;gap:3px;margin:0;padding:0;font-size:.76rem;font-weight:800;display:grid}.games-pick-option>span:last-child{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.games-pick-option .games-face{background:#f8f3ee;border-radius:999px;width:50px;height:50px;box-shadow:inset 0 0 0 3px #0000}.games-pick-option[aria-pressed=true]{color:var(--text)}.games-pick-option[aria-pressed=true] .games-face{box-shadow:inset 0 0 0 3px #7b6cd9}.games-circuits{gap:6px;margin:0 0 12px;display:grid}.games-circuit{color:var(--text);text-align:left;background:#f6ece2;border:2px solid #0000;border-radius:14px;gap:1px;margin:0;padding:8px 14px;display:grid}.games-circuit small{color:var(--muted);font-size:.76rem;font-weight:700}.games-circuit[aria-pressed=true]{border-color:var(--accent);background:#fff}.games-circuit:disabled{opacity:.6}.games-racer{margin:0 0 14px}.games-athletics{grid-template-columns:7.5em 1fr auto}.games-athletics .games-bar i{background:#f0a93b}.adopt p.games-points{color:#b7791f;margin:4px 0 0;font-size:.82rem;font-weight:800}button.games-assign{color:var(--text);background:#2d243312;border-radius:12px;margin:8px 0 0;padding:8px 12px;font-size:.88rem;font-weight:800}button.games-assign.has-points{color:#fff;background:#f0a93b}.games-open{position:relative}.games-badge{background:#f0a93b;border:2px solid #fff;border-radius:999px;width:14px;height:14px;position:absolute;top:-3px;right:-3px}.games-badge[hidden]{display:none}.adopt.games{padding:0}.games-body{padding:14px 18px 18px}.race-slides{touch-action:pan-y;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden}.race-slides-track{transition:transform .35s;display:flex}.race-slides-track.dragging{transition:none}.race-slide{flex:0 0 100%;min-width:0}.race-slide-picture{aspect-ratio:4/3;background:#cfe7f2;position:relative}@media (height<=820px){.race-slide-picture{aspect-ratio:16/9}button.race-slides-arrow{top:calc(28% - 18px)}}.race-slide-picture img{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.race-slide-halves{grid-template-columns:1fr 1fr;display:grid;position:absolute;inset:0}.race-slide-halves span{color:#fff;text-shadow:0 1px 3px #00000080;background:#7b6cd947;border:2px dashed #ffffffd9;justify-content:center;align-items:center;font-size:1rem;font-weight:900;display:flex}.race-slide-halves span+span{background:#ef7d6d47}.race-slide h3{margin:10px 18px 2px;font-size:1.02rem}.adopt .race-slide p{margin:0 18px;font-size:.88rem;line-height:1.4}.adopt .race-slide p.race-slide-computer{margin-top:4px;font-size:.82rem}@media (hover:none){.adopt .race-slide p.race-slide-computer{display:none}}button.race-slides-arrow{width:36px;height:36px;color:var(--text);background:#ffffffeb;border-radius:999px;margin:0;padding:0;font-size:1.3rem;font-weight:900;line-height:1;position:absolute;top:calc(37.5% - 18px);box-shadow:0 2px 8px #0003}button.race-slides-arrow.prev{left:10px}button.race-slides-arrow.next{right:10px}button.race-slides-arrow:disabled{opacity:0;pointer-events:none}.race-slides-dots{justify-content:center;gap:5px;margin:10px 0 0;display:flex}.race-slides-dots span{background:#2d24332e;border-radius:999px;width:7px;height:7px;transition:width .2s}.race-slides-dots span.on{background:#7b6cd9;width:18px}button.games-x{width:34px;height:34px;color:var(--text);background:#ffffffeb;border-radius:999px;margin:0;padding:0;font-size:1rem;font-weight:900;position:absolute;top:10px;right:10px;box-shadow:0 2px 6px #0003}.adopt p.skills-intro,.adopt p.skills-note{color:var(--muted);font-size:.88rem}.adopt p.skills-points{color:#b7791f;margin:4px 0 10px;font-weight:900}.skills-row{grid-template-columns:1fr auto 1.4fr auto;align-items:center;gap:8px;font-weight:800;display:grid}button.skills-step{color:#fff;background:#f0a93b;border-radius:999px;width:36px;height:36px;margin:0;padding:0;font-size:1.2rem;font-weight:900;line-height:1}button.skills-step:disabled{color:var(--muted);background:#2d24331f}.skills-bar i{background:#f0a93b}.adopt p.games-left{color:var(--muted);margin:2px 0 0;font-size:.8rem;font-weight:700}.adopt p.games-tired{color:var(--bad);margin:0 0 10px;font-size:.88rem;font-weight:800}.race{z-index:50;touch-action:none;background:#bfe3f5;position:fixed;inset:0}.race[hidden]{display:none}.race-view{position:absolute;inset:0}.race-view canvas{display:block}.race-top{top:calc(12px + env(safe-area-inset-top));pointer-events:none;align-items:flex-start;gap:10px;display:flex;position:absolute;left:12px;right:12px}.race-chip{box-shadow:var(--shadow);background:#ffffffeb;border-radius:999px;padding:8px 14px;font-weight:900}.race-standings{box-shadow:var(--shadow);background:#ffffffeb;border-radius:16px;margin:0 auto 0 0;padding:8px 12px;font-size:.85rem;font-weight:800;line-height:1.55;list-style:none}.race-standings li[data-me]{color:var(--accent)}.race-quit{width:44px;height:44px;color:var(--text);pointer-events:auto;background:#ffffffeb;border-radius:999px;place-items:center;margin:0;padding:0;display:grid}.race-quit svg{width:20px;height:20px}.race-countdown{text-align:center;color:#fff;text-shadow:0 4px #7b6cd9,0 8px 20px #2d243359;pointer-events:none;margin:0;font-size:5rem;font-weight:900;position:absolute;top:34%;left:0;right:0}.race-bottom{left:50%;bottom:calc(16px + env(safe-area-inset-bottom));justify-items:center;gap:10px;width:min(420px,100vw - 24px);display:grid;position:absolute;transform:translate(-50%)}.race-stamina{width:100%;height:14px;box-shadow:var(--shadow);background:#ffffffd9;border-radius:999px;overflow:hidden}.race-stamina span{border-radius:inherit;background:var(--good);height:100%;transition:background .2s;display:block}.race-stamina[data-state=low] span{background:var(--warn)}.race-stamina[data-state=tired] span{background:var(--bad)}.race-cheer{background:radial-gradient(circle at 35% 28%, #f59384, var(--accent) 70%);-webkit-user-select:none;user-select:none;touch-action:none;border-radius:999px;place-items:center;width:132px;height:132px;margin:0;padding:0;display:grid;box-shadow:inset 0 3px #ffffff38,inset 0 -6px 12px #9632284d,0 8px #c95d4e,0 14px 24px -8px #2d243380}.race-cheer[data-on]{transform:translateY(6px);box-shadow:inset 0 3px #ffffff38,inset 0 -6px 12px #9632284d,0 2px #c95d4e,0 6px 14px -8px #2d243380}.race-cheer svg{width:72px;height:72px}.race-cheer .bolt-deep{fill:#9c3f33}.race-cheer .bolt-lit{fill:#fff4b8}.race-cheer .bolt{fill:#ffc93c;transition:fill .15s}.race-cheer[data-on] .bolt{fill:#ffe066}.race-result{background:#2d243359;place-items:center;padding:16px;display:grid;position:absolute;inset:0}.race-result[hidden]{display:none}.race-result-card{width:min(380px,100%);box-shadow:var(--shadow);text-align:center;background:#fff;border-radius:24px;padding:24px}.race-result-card h2{margin:0 0 8px;font-size:1.6rem}.race-reward,.race-level{margin:0 0 12px;font-weight:800}.race-level{color:#7b6cd9}.race-xp{background:#2d24331a;border-radius:999px;height:10px;margin:0 0 8px;overflow:hidden}.race-xp span{background:#7b6cd9;height:100%;display:block}.race-tired{color:var(--bad);background:#e35d5d1a;border-radius:12px;margin:0 0 12px;padding:8px 12px;font-size:.88rem;font-weight:800}.race-tired[hidden]{display:none}.race-result-actions{gap:8px;display:grid}.wallet{cursor:pointer}.wallet-icon{width:1.25em;height:1.25em}.wallet.bump{animation:.35s wallet-bump}@keyframes wallet-bump{50%{scale:1.2}}.fx-coin-gain{z-index:40;pointer-events:none;color:#f5b400;text-shadow:0 2px #8a5a00,0 0 6px #ffffffe6;font-size:1.3rem;font-weight:900;position:fixed}.details-toggle,.details-close,.details-backdrop{display:none}.activity strong{color:var(--accent)}.needs{grid-template-columns:repeat(5,1fr);gap:6px;margin:0;padding:0;list-style:none;display:grid}.need{color:var(--good);justify-items:center;gap:4px;display:grid}.need-bar{background:#2d24331a;border-radius:999px;justify-self:stretch;height:10px;display:block;overflow:hidden}.need-fill{background:currentColor;border-radius:999px;width:0;height:100%;transition:width .4s;display:block}.need[data-level=mid]{color:var(--warn)}.need[data-level=low]{color:var(--bad)}.care-ring{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.ring-track{fill:#fff;stroke:#2d24331a;stroke-width:4px}.ring-fill{fill:none;stroke:currentColor;stroke-width:4px;stroke-linecap:round;stroke-dasharray:0 100;transition:stroke-dasharray .4s}.need-icon{width:1.05em;height:1.05em}.need[data-level=low]{animation:1.4s ease-in-out infinite need-pulse}@keyframes need-pulse{50%{scale:1.12}}.hud-actions{left:50%;bottom:calc(1rem + env(safe-area-inset-bottom));border-radius:1.6em;justify-content:space-around;gap:.4em;width:min(24em,100vw - 20px);padding:.45em .6em;display:flex;transform:translate(-50%)}button{font:inherit;cursor:pointer;color:var(--text);border:none}.hud-actions .care{touch-action:none;background:0 0;border-radius:1.1em;justify-items:center;gap:.2em;min-width:4.6em;padding:.35em .4em .3em;transition:transform .1s,background .2s;display:grid}.care-badge{width:3em;height:3em;color:var(--accent);place-items:center;display:grid;position:relative}.care-icon{width:1.55em;height:1.55em;position:relative}.care[data-action=water] .care-badge{color:#4aa3df}.care[data-action=treat] .care-badge{color:#c98b52}.care[data-action=clean] .care-badge{color:#3f9d8f}.hud-actions .care:hover{background:#fff4ef}.hud-actions .care:active{transform:translateY(2px)scale(.97)}.care[data-alert] .care-badge{border-radius:50%;animation:1.6s ease-in-out infinite care-glow}@keyframes care-glow{50%{box-shadow:0 0 0 .35em #f5c5428c}}.care[data-waiting] .care-icon{opacity:.45}.treat-token{z-index:40;pointer-events:none;filter:drop-shadow(0 4px 6px #2d243359);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c98b52' d='M12 2c3.6 3 5 6.6 5 10.2S14.8 22 12 22s-5-6.2-5-9.8S8.4 5 12 2Z'/%3E%3Cpath d='M12 5.5v13' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' opacity='0.7'/%3E%3C/svg%3E") 50%/contain no-repeat;width:2.2em;height:2.2em;position:fixed;top:-1.6em;left:-1.1em}.pet-menu{z-index:6;width:0;height:0;position:fixed;top:0;left:0}.pet-action{min-width:4.4em;box-shadow:var(--shadow);color:var(--accent);background:#fffffff0;border-radius:1.2em;justify-items:center;gap:.15em;padding:.55em .55em .4em;font-size:.8rem;font-weight:800;animation:.18s ease-out pet-action-in;display:grid;position:absolute;top:0;left:0}.pet-action svg{width:1.7em;height:1.7em}.pet-action-label{color:var(--text);white-space:nowrap;line-height:1.1}.pet-action-scold,.pet-action-scold .pet-action-label{color:var(--bad)}.pet-action:disabled{opacity:.55}@keyframes pet-action-in{0%{opacity:0;scale:.6}}.hud-actions button[aria-pressed=true],.hud-actions button[aria-expanded=true]{background:#ffe7a8;box-shadow:0 0 0 3px #f5c542}.clean-bar{gap:6px;width:min(360px,100vw - 20px);padding:12px 14px;display:grid;top:16px;left:50%;transform:translate(-50%)}.clean-info{flex:1;gap:4px;min-width:0;display:grid}.clean-counts{align-items:center;gap:14px;margin:0;padding:0;font-size:1.05rem;font-weight:800;list-style:none;display:flex}.clean-counts li{align-items:center;gap:4px;display:flex}.clean-icon{font-size:1.1rem}.clean-bedding{color:var(--muted);flex:1;font-size:.75rem}.clean-meter{background:#eee6dc;border-radius:999px;flex:1;min-width:50px;height:8px;overflow:hidden}.clean-meter span{border-radius:inherit;background:#c9a46a;height:100%;transition:width .3s;display:block}.clean-meter[data-level=dirty] span{background:#a0703a}.clean-advice{color:var(--text);margin:0;font-size:.85rem;font-weight:700}.clean-advice:before{content:"→ ";color:var(--accent)}.bedding-change[data-ready]{background:#ffe7a8;box-shadow:0 0 0 2px #f5c542}.clean-actions{gap:8px;margin-top:4px;display:flex}.clean-actions button{border-radius:12px;flex:1;padding:9px 12px;font-weight:800}.bedding-change{background:#f6ece2}.clean-done{background:var(--accent);color:var(--accent-text)}.clean-head{align-items:center;gap:12px;display:flex}.trash{flex:none;width:44px;height:44px;position:relative}.trash svg{width:100%;height:100%;overflow:visible}.trash-lid{transform-origin:12px 13px;transition:transform .15s}.trash.gulp{animation:.45s gulp}.trash.gulp .trash-lid{animation:.45s lid}.trash-count{background:var(--accent);color:#fff;text-align:center;border-radius:999px;min-width:20px;padding:1px 6px;font-size:.72rem;font-weight:800;position:absolute;top:-4px;right:-6px}@keyframes gulp{25%{transform:scale(1.18)rotate(-6deg)}55%{transform:scale(.95)rotate(4deg)}}@keyframes lid{30%{transform:rotate(-35deg)}}.tool{z-index:20;pointer-events:none;will-change:transform;position:fixed;top:0;left:0}.tool svg{filter:drop-shadow(0 4px 4px #00000040);width:56px;height:56px;display:none;position:absolute}.tool .tool-scoop{transform-origin:30% 80%;top:-44px;left:-14px}.tool .tool-sponge{top:-40px;left:-28px}.tool[data-tool=scoop] .tool-scoop,.tool[data-tool=sponge] .tool-sponge{display:block}.tool.scooping .tool-scoop{animation:.35s scoop}@keyframes scoop{40%{transform:rotate(38deg)translateY(6px)}to{transform:rotate(-12deg)}}.fx-pellet{z-index:25;pointer-events:none;background:#4a3222;border-radius:999px;width:12px;height:7px;position:fixed;transform:translate(-50%,-50%)}.fx-bubble{z-index:25;pointer-events:none;background:radial-gradient(circle at 30% 30%,#fff,#bee6ff80 60%,#a0d2ff33);border:1px solid #96cdffcc;border-radius:50%;position:fixed;transform:translate(-50%,-50%)}.fx-sparkle{z-index:25;pointer-events:none;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);background:#ffe36e;width:10px;height:10px;position:fixed;transform:translate(-50%,-50%)}.food-menu{left:50%;bottom:calc(96px + env(safe-area-inset-bottom));gap:6px;width:min(320px,100vw - 20px);padding:8px;display:grid;transform:translate(-50%)}.food-menu button{text-align:left;background:#fff;border-radius:14px;gap:2px;padding:10px 12px;display:grid}.food-menu button:hover{background:#fff4ef}.food-menu span{color:var(--muted);font-size:.78rem}.hud-actions .label{font-size:.78rem;font-weight:800}.hint{left:0;right:0;bottom:calc(132px + env(safe-area-inset-bottom));text-align:center;color:#2d24338c;pointer-events:none;margin:0;padding:0 16px;font-size:.8rem;position:fixed}.bubble{max-width:220px;box-shadow:var(--shadow);text-align:center;pointer-events:none;transform-origin:50% 100%;will-change:transform;background:#fff;border-radius:18px;padding:10px 14px;font-size:.95rem;font-weight:700;line-height:1.25;animation:.25s ease-out pop;position:fixed;top:0;left:0}.bubble:after{content:"";background:#fff;border-radius:3px;width:16px;height:16px;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)rotate(45deg)}.bubble[data-urgent=true]{color:#b3412f;background:#fff2ec}.bubble[data-urgent=true]:after{background:#fff2ec}@keyframes pop{0%{opacity:0;scale:.7}to{opacity:1;scale:1}}.toast{background:var(--text);color:#fff;box-shadow:var(--shadow);border-radius:999px;padding:10px 16px;font-size:.9rem;font-weight:700;animation:.25s ease-out pop;position:fixed;top:16px;left:50%;transform:translate(-50%)}.adopt{width:min(380px,100vw - 32px);max-height:calc(100dvh - 32px);box-shadow:var(--shadow);color:var(--text);border:none;border-radius:24px;padding:24px;overflow-y:auto}.adopt::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#2d243359}.adopt h2{margin:0 0 6px}.adopt p{color:var(--muted);margin:0 0 16px}.name-row{gap:8px;margin-bottom:16px;display:flex}.name-row input{min-width:0;font:inherit;border:2px solid #eadfd6;border-radius:14px;outline:none;flex:1;padding:10px 14px;font-size:1.1rem;font-weight:700}.name-row input:focus,.auth-field input:focus{border-color:var(--accent)}.auth-field{color:var(--muted);gap:4px;margin-bottom:12px;font-size:.85rem;font-weight:700;display:grid}.auth-field input{font:inherit;color:var(--text);border:2px solid #eadfd6;border-radius:14px;outline:none;padding:10px 14px;font-size:1.05rem}.adopt p.auth-rules{margin:-4px 0 12px;font-size:.8rem}.adopt p.auth-error{color:var(--bad);margin:0 0 12px;font-size:.9rem;font-weight:700}button.primary:disabled{opacity:.6}button.primary,a.primary{box-sizing:border-box;text-align:center;background:var(--accent);width:100%;color:var(--accent-text);border-radius:14px;padding:12px;font-size:1.05rem;font-weight:800;text-decoration:none;display:block}.adopt-cancel{width:100%;margin-top:8px}button.beta-signup{border:2px solid var(--accent);width:100%;color:var(--accent);background:#fff;border-radius:14px;margin-top:8px;padding:11px 12px;font-weight:800;display:block}button.beta-signup:hover:not(:disabled){background:#fff4f1}button.beta-signup:disabled{opacity:.6}button.ghost{white-space:nowrap;background:#f6ece2;border-radius:14px;padding:10px 12px;font-weight:700}@media (width<=640px){.hud-info{top:calc(8px + env(safe-area-inset-top));-webkit-backdrop-filter:none;background:#ffffffed;width:calc(100vw - 20px);padding:12px;left:10px}.pet-summary{cursor:pointer}.pet-name{font-size:18px}.details-toggle{color:#8a5a3a;background:#f6ece2;border-radius:999px;flex:none;place-items:center;width:40px;height:40px;margin:0;padding:0;display:grid}.hud-info[data-open] .hud-float{display:none}.hud-info[data-open]{z-index:31}.title-row{font-size:14px}.pet-details{display:none}.hud-info[data-open] .pet-details{z-index:31;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));border-radius:var(--radius);background:#fff;height:min(72vh,640px);padding:18px 16px 16px;animation:.22s ease-out sheet-up;display:block;position:fixed;overflow-y:auto;box-shadow:0 -8px 30px -10px #2d243366}.details-close{color:#8a5a3a;background:#f6ece2;border-radius:999px;flex:none;place-items:center;width:36px;height:36px;margin:0;padding:0;display:grid}.details-close svg{width:18px;height:18px}.hud-info[data-open]~.details-backdrop{z-index:30;background:#2d243340;display:block;position:fixed;inset:0}.hud-actions{justify-content:space-around;width:calc(100vw - 20px)}.hud-actions .care{flex:1;min-width:0}.hud-actions .label{white-space:nowrap}.care-badge{width:min(3em,15vw);height:min(3em,15vw)}.hint{display:none}.clean-bar{width:calc(100vw - 20px);top:10px}body[data-clean-panel] .hud-info{display:none}}@keyframes sheet-up{0%{opacity:0;transform:translateY(40px)}}@media (prefers-reduced-motion:reduce){.bubble,.toast,.pet-details{animation:none!important}}.landing-open .hud,.landing-open .hint,.landing-open .details-backdrop{display:none!important}.landing{z-index:40;pointer-events:none;align-items:center;padding:24px clamp(16px,5vw,64px);display:flex;position:fixed;inset:0}.landing-card{pointer-events:auto;border:1px solid var(--card-border);width:min(420px,100%);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe6;border-radius:28px;padding:28px 26px 22px;animation:.35s ease-out pop}.beta-tag{background:var(--accent);color:var(--accent-text);letter-spacing:.06em;text-transform:uppercase;vertical-align:middle;border-radius:999px;margin-left:6px;padding:3px 10px;font-size:.8rem;font-weight:800;display:inline-block}.landing-title{color:var(--accent);margin:0 0 8px;font-size:clamp(2rem,6vw,2.6rem);font-weight:900;line-height:1.05}.landing-kicker{color:var(--text);margin-top:6px;font-size:1.05rem;font-weight:800;display:block}.landing-tagline{color:var(--muted);margin:0 0 16px;font-weight:700;line-height:1.4}.landing-price{text-align:center;color:var(--muted);margin:0 0 12px;font-weight:700}.landing-price strong{color:var(--text);font-size:1.25rem}.lang-picker{justify-content:center;gap:6px;margin:8px 0 0;display:flex}.lang-option{border:1.5px solid var(--line,#eadfd6);color:var(--muted);font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:2px 10px;font-size:.78rem;font-weight:800}.lang-option[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}@media (width<=640px){.landing{padding:12px 12px calc(12px + env(safe-area-inset-bottom));align-items:flex-end}.landing-card{padding:20px 18px 16px}.landing-tagline{font-size:.92rem}}.paywall-itch-verify{width:100%;margin-top:8px}.paywall-note{text-align:center;margin:14px 0 0;font-size:.8rem}.link-button{color:var(--muted);background:0 0;margin:10px auto 0;padding:4px 8px;font-weight:700;text-decoration:underline;display:block}.splash{z-index:60;text-align:center;background:#cfe7f2;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:24px;display:flex;position:fixed;inset:0}.splash-hamster{font-size:3.4rem;animation:1.1s ease-in-out infinite splash-hop}.splash-title{color:var(--accent);margin:0;font-size:2.4rem;font-weight:900}.splash-text{color:var(--muted);margin:0;font-weight:700}.splash-slow{max-width:300px;color:var(--muted);opacity:0;margin:8px 0 0;font-size:.85rem;animation:.4s ease-out 5s forwards splash-late}button.splash-retry,button.splash-enter{width:auto;margin-top:14px;padding:12px 28px}.splash-enter{outline:none;font-size:1.1rem;animation:1.4s ease-in-out infinite splash-pulse}.splash-enter[hidden]{display:none}@keyframes splash-pulse{50%{transform:scale(1.06)}}@keyframes splash-hop{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes splash-late{to{opacity:1}}@media (prefers-reduced-motion:reduce){.splash-hamster,.splash-enter{animation:none}}.landing-side{pointer-events:auto;align-self:stretch;align-items:flex-start;gap:16px;max-height:100%;margin-left:auto;display:flex}.landing-panel{border:1px solid var(--card-border);width:320px;max-height:100%;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);touch-action:pan-y;-webkit-user-select:text;user-select:text;background:#ffffffe0;border-radius:24px;padding:20px 20px 12px;overflow-y:auto}.landing-panel h2{margin:0 0 12px;font-size:1.2rem}.changelog,.release-changes{margin:0;padding:0;list-style:none}.release{border-bottom:1px solid #eadfd6;margin-bottom:14px;padding-bottom:14px}.release:last-child{border-bottom:none;margin-bottom:0}.release-head{flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-bottom:8px;display:flex}.release-version{color:var(--accent)}.release-title{font-weight:800}.release-date{color:var(--muted);margin-left:auto;font-size:.8rem}.release-change{margin-bottom:6px;font-size:.88rem;line-height:1.35}.change-kind{vertical-align:1px;border-radius:999px;margin-right:6px;padding:1px 7px;font-size:.7rem;font-weight:800;display:inline-block}.change-new{color:#2f7a3e;background:#dff3e3}.change-improved{color:#3b5f9e;background:#e3ecfb}.change-fixed{color:#9a6116;background:#fdebd3}.about h3{margin:14px 0 4px;font-size:1rem}.about h3:first-child{margin-top:0}.about p{color:var(--text);margin:0 0 8px;font-size:.9rem;line-height:1.45}.landing-side-bar{display:none}.version-badge{pointer-events:auto;right:calc(12px + env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));min-height:40px;color:var(--text);background:#ffffffd9;border-radius:999px;padding:8px 14px;font-size:.88rem;font-weight:800;position:fixed}.version-news{display:none}.app-version{color:var(--muted);text-align:right;margin:8px 0 0;font-size:.75rem}@media (width<=1280px){.landing-side{flex-flow:column;overflow-y:auto}.landing-panel{max-height:none;overflow:visible}}@media (width<=900px){.landing-side{z-index:60;padding:0 18px calc(28px + env(safe-area-inset-bottom));background:#fff;flex-direction:column;gap:8px;margin:0;display:none;position:fixed;inset:0;overflow-y:auto}.landing-side.open{display:flex}.landing-panel{width:100%;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:none;border-radius:0;padding:0 0 12px}.landing-panel h2{font-size:1.35rem}.landing-side-bar{z-index:1;padding:calc(10px + env(safe-area-inset-top)) 0 8px;background:#fff;flex:none;justify-content:flex-end;align-self:stretch;display:flex;position:sticky;top:0}.landing-side-close{background:#f6ece2;border-radius:50%;flex:none;width:44px;height:44px;font-size:1.1rem;font-weight:800}.version-news{display:inline}.version-badge{top:calc(10px + env(safe-area-inset-top));bottom:auto}}.faq{gap:6px;display:grid}.faq-item{background:#fbf6f0;border-radius:14px}.faq-item summary{cursor:pointer;padding:10px 12px;font-size:.92rem;font-weight:800;list-style-position:inside}.faq-item summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.faq-item p{color:var(--muted);margin:0;padding:0 12px 12px;font-size:.88rem;line-height:1.45}.consent{left:50%;bottom:calc(14px + env(safe-area-inset-bottom));z-index:80;width:min(520px,100vw - 24px);box-shadow:var(--shadow);background:#fff;border-radius:18px;gap:10px;padding:14px 16px;animation:.25s ease-out pop;display:grid;position:fixed;transform:translate(-50%)}.consent p{margin:0;font-size:.9rem;font-weight:700;line-height:1.4}.consent-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.consent-button{background:#f6ece2;border-radius:12px;padding:10px;font-weight:800}.consent-button:focus-visible,.cookies-link:focus-visible,.cookies-inline:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.cookies-link{pointer-events:auto;left:calc(12px + env(safe-area-inset-left));bottom:calc(10px + env(safe-area-inset-bottom));min-height:40px;color:var(--text);background:#ffffffd9;border-radius:999px;padding:8px 16px;font-size:.88rem;font-weight:800;position:fixed}.cookies-inline{color:inherit;font:inherit;background:0 0;padding:0;text-decoration:underline}@media (width<=900px){.cookies-link{top:calc(10px + env(safe-area-inset-top));bottom:auto}}.invite-result{gap:8px;margin-top:12px;display:grid}.invite-link{width:100%;font:inherit;color:var(--text);-webkit-user-select:all;user-select:all;border:2px solid #eadfd6;border-radius:12px;padding:10px 12px;font-size:.85rem}.forgot-message{margin:0 0 12px;font-weight:700;line-height:1.45}.auth-check{color:var(--muted);align-items:flex-start;gap:10px;margin:2px 0 10px;font-size:.82rem;line-height:1.4;display:flex}.auth-check input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:1px 0 0}.auth-check a,.landing-legal a,.consent a,.app-version a{color:inherit;font-weight:700}.landing-legal{color:var(--muted);text-align:center;margin:14px 0 0;font-size:.78rem}.bubble[data-kind=thought]{--thought-ink:#4a3a3a;--thought-cut:#fff;--thought-fill:#fff;box-shadow:none;background:0 0;align-items:center;gap:4px;padding:14px 22px;display:flex}.bubble[data-kind=thought][data-tone=bad]{--thought-ink:#fff;--thought-cut:#d9472f;--thought-fill:#d9472f;padding:18px 26px}.thought-shape{width:100%;height:100%;fill:var(--thought-fill);filter:drop-shadow(0 4px 6px #2d243347);position:absolute;inset:0;overflow:visible}.bubble[data-tone=bad] .thought-shape{stroke:#f5a05a;stroke-width:3px;stroke-linejoin:round;vector-effect:non-scaling-stroke}.bubble[data-kind=thought]:before,.bubble[data-kind=thought]:after{content:"";background:var(--thought-fill);box-shadow:var(--shadow);border-radius:50%;position:absolute;left:50%;transform:none}.bubble[data-kind=thought]:after{width:11px;height:11px;margin-left:-8px;bottom:-10px}.bubble[data-kind=thought]:before{width:6px;height:6px;margin-left:-2px;bottom:-19px}.thought-icon{fill:none;width:40px;height:40px;stroke:var(--thought-ink);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;position:relative;overflow:visible}.thought-icon .solid{fill:var(--thought-ink);stroke:none}.thought-icon .cut{fill:var(--thought-cut);stroke:none}.thought-icon .face-outline{fill:#4a3a3a;stroke:#4a3a3a;stroke-width:3.2px}.thought-icon .fur{fill:#dfa262;stroke:none}.thought-icon .rage{fill:#ec9670;stroke:none}.thought-icon .eye-white{fill:#fff;stroke:#3a2c2c;stroke-width:1px}.thought-icon .tear{fill:#8cc8f0;stroke:#3a2c2c;stroke-width:.8px}.thought-icon .blush{fill:#f5959f;stroke:none}.thought-icon .thermo{fill:none;stroke:#3a2c2c;stroke-width:1.6px}.thought-icon .thermo-bulb{fill:#e04a3a;stroke:#3a2c2c;stroke-width:.8px}.thought-icon .seed-dark{fill:#3a3434;stroke:#3a2c2c;stroke-width:1px}.thought-icon .seed-stripe{fill:none;stroke:#f3eee6;stroke-width:1px}.thought-icon .food-gold{fill:#e8b95a;stroke:#3a2c2c;stroke-width:1px}.thought-icon .food-brown{fill:#c98f5c;stroke:#3a2c2c;stroke-width:1px}.thought-name{color:var(--thought-ink);white-space:nowrap;padding:0 2px;font-size:1rem;font-weight:900;position:relative}.thought-icon .nausea{fill:#a9d68a;stroke:none}.thought-icon .nose{fill:#f29aa3;stroke:none}.thought-icon .tongue-out{fill:#f07f8c;stroke:#3a2c2c;stroke-width:1.1px}.thought-icon .ink{fill:#3a2c2c;stroke:none}.thought-icon .ink-line{fill:none;stroke:#3a2c2c;stroke-width:1.6px}.thought-icon .ink-line.thin-line{stroke-width:1px}.thought-icon .nausea-line{fill:none;stroke:#2f5a24;stroke-width:1.6px}.thought-icon .shine{fill:#fff;stroke:none}.thought-icon .horn{fill:#c9382a;stroke:#4a3a3a;stroke-width:1px}.thought-icon .thin{stroke-width:1.3px}.thought-icon .cut-line{fill:none;stroke:var(--thought-cut);stroke-width:1.3px}.thought-icon .fill-heart{fill:#ef7d6d}.bubble[data-tone=bad] .thought-icon .fill-heart{fill:#e0303a}.thought-icon .fill-water{fill:#cfe7f2}.thought-icon .fill-ink{fill:var(--thought-ink)}.hud-actions{container-type:inline-size}@container (width<=16em){.hud-actions .label{display:none}}.shop-top{align-items:center;gap:8px;margin-bottom:8px;display:flex}.shop-top h2{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;margin:0;font-size:1.15rem;overflow:hidden}.shop-coins{white-space:nowrap;background:#fff3cf;border-radius:999px;padding:5px 10px;font-weight:900}button.shop-x{width:34px;height:34px;color:var(--text);background:#f1e7da;border-radius:999px;flex:none;margin:0;padding:0;font-weight:900}.adopt .shop-restock{color:#3d6a8a;text-align:center;background:#eef5fb;border-radius:12px;margin:0 0 10px;padding:6px 10px;font-size:.8rem;font-weight:800}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.shop-card{background:#f8f3ee;border-radius:16px;flex-direction:column;display:flex;position:relative;overflow:hidden}.shop-card img{aspect-ratio:1;object-fit:cover;width:100%;height:auto;display:block}.shop-empty{color:var(--muted);text-align:center;background:#f8f3ee;border-radius:14px;grid-column:1/-1;margin:6px 0;padding:14px;font-weight:800}.shop-row{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;grid-column:1/-1;margin:10px 0 2px;font-size:.8rem}.shop-owned{color:var(--muted);font-weight:700;display:block}.shop-card-owned img{opacity:.7}.shop-star{background:#ffd23f;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:900;position:absolute;top:6px;left:6px}.shop-card-name{min-height:2.4em;padding:4px 8px 0;font-size:.8rem;font-weight:800;line-height:1.2}button.shop-buy{background:var(--accent);min-height:34px;color:var(--accent-text);border-radius:999px;margin:6px 8px 8px;padding:0 10px;font-size:.85rem;font-weight:900}.shop-buy s{opacity:.7;font-weight:700}button.shop-buy:disabled{color:#a89c8f;background:#eee6dc}.shop-card-owned button.shop-buy{color:var(--good);background:#e3f3e6}.decor-looks{scrollbar-width:none;align-items:center;gap:6px;padding:2px 0 6px;display:flex;overflow-x:auto}.decor-looks[hidden]{display:none}button.decor-look{color:var(--text);background:#f8f3ee;border-radius:14px;flex:none;justify-items:center;gap:2px;margin:0;padding:3px 3px 4px;font-size:.72rem;font-weight:800;display:grid;box-shadow:inset 0 0 0 2px #0000}.decor-look img{border-radius:10px;width:56px;height:56px}button.decor-look[aria-pressed=true]{box-shadow:inset 0 0 0 3px #7b6cd9}.decor-looks-hint{max-width:9em;color:var(--muted);flex:none;font-size:.75rem;line-height:1.25}.wardrobe{width:min(480px,100vw);height:45dvh;padding:14px 14px calc(10px + env(safe-area-inset-bottom));box-shadow:var(--shadow);color:var(--text);z-index:8;background:#fffffff5;border:none;border-radius:24px 24px 0 0;margin:0 auto;position:fixed;inset:auto 0 0}.wardrobe[open]{flex-direction:column;gap:8px;display:flex}.wardrobe-head{align-items:center;gap:12px;display:flex}.wardrobe h2{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:1.1rem;overflow:hidden}button.wardrobe-done{background:var(--accent);color:var(--accent-text);border-radius:999px;flex:none;margin:0;padding:8px 18px;font-weight:900}.wardrobe-tabs{scrollbar-width:none;flex:none;gap:4px;display:flex;overflow-x:auto}button.wardrobe-tab{color:var(--text);background:#f1e7da;border-radius:999px;flex:none;margin:0;padding:7px 12px;font-size:.8rem;font-weight:800}button.wardrobe-tab[aria-pressed=true]{color:#fff;background:#7b6cd9}.wardrobe-tiles{flex:1;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));align-content:start;gap:6px;min-height:0;padding:2px;display:grid;overflow-y:auto}button.wardrobe-tile{color:var(--text);text-align:center;background:#f8f3ee;border-radius:14px;align-content:start;justify-items:center;gap:2px;margin:0;padding:4px 4px 6px;font-size:.72rem;font-weight:800;line-height:1.15;display:grid;box-shadow:inset 0 0 0 2px #0000}.wardrobe-tile img{aspect-ratio:1;border-radius:10px;width:100%;height:auto;display:block}.wardrobe-tile small{color:var(--muted);font-size:.64rem;font-weight:700}button.wardrobe-tile[aria-pressed=true]{box-shadow:inset 0 0 0 3px #7b6cd9}button.wardrobe-to-shop{color:#3d6a8a;background:#eef5fb;align-content:center;min-height:88px}.wardrobe-empty{color:var(--muted);margin:4px 0}.missions-open{color:var(--text);background:0 0;border:0;justify-items:center;gap:2px;margin:0;padding:0;font-size:.78rem;font-weight:900;display:grid;position:absolute;top:calc(100% + 10px);right:0}.missions-badge{background:#fff;border-radius:50%;place-items:center;width:56px;height:56px;display:grid;position:relative;box-shadow:0 6px 14px -6px #2d243380}.missions-ring{position:absolute;inset:0;transform:rotate(-90deg)}.missions-ring circle{fill:none;stroke-width:4px}.missions-track{stroke:#f1e7da}.missions-fill{stroke:var(--warn);stroke-linecap:round;transition:stroke-dasharray .4s}.missions-icon{width:26px;height:26px;color:var(--warn)}.missions-tag{background:#ffffffeb;border-radius:999px;padding:3px 12px}.photo-open{color:var(--text);background:0 0;border:0;justify-items:center;gap:2px;margin:0;padding:0;font-size:.78rem;font-weight:900;display:grid;position:absolute;top:calc(100% + 10px);left:0}@media (width>=641px){.missions-open{top:50%;left:calc(100% + 10px);right:auto;transform:translateY(-50%)}.photo-open{top:50%;left:calc(100% + 100px);transform:translateY(-50%)}}@media (width>=900px){.hud-float{width:max-content;top:0;left:auto;right:calc(392px - 100vw)}.missions-open,.photo-open{top:calc(100% + 10px);left:auto;transform:none}.missions-open{right:0}.photo-open{right:100px}}.missions-dot{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:.72rem;display:grid;position:absolute;top:-2px;right:-2px;box-shadow:0 0 0 2px #fff}.missions-dot[hidden]{display:none}.missions-open:has(.missions-dot:not([hidden])) .missions-badge{animation:1.4s ease-in-out infinite missions-nudge}@keyframes missions-nudge{50%{transform:scale(1.08)}}.mission-note{z-index:40;background:#fff;border-radius:999px;align-items:center;gap:10px;width:max-content;max-width:calc(100vw - 24px);padding:10px 16px 10px 10px;font-size:.86rem;animation:.25s ease-out pop;display:flex;position:fixed;top:14px;left:50%;transform:translate(-50%);box-shadow:0 10px 24px -10px #2d24338c}.mission-note[hidden]{display:none}.mission-note small{color:var(--muted);font-size:.74rem;font-weight:700;display:block}.mission-note-tick{background:var(--good);color:#fff;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.missions-list{gap:8px;display:grid}.mission,.missions-chest{background:#f8f3ee;border-radius:18px;align-items:center;gap:10px;padding:10px;display:flex}.missions-chest{background:linear-gradient(135deg,#fff3cf,#ffe2b8);margin-top:10px;padding:12px 10px}.mission-pic{color:#fff;border-radius:14px;flex:none;place-items:center;width:44px;height:44px;display:grid}.mission-pic svg{width:24px;height:24px}.missions-chest-pic{flex:none;width:44px;height:44px}.mission-body{flex:1;min-width:0}.mission-what{font-size:.9rem;font-weight:800;line-height:1.2}.mission-taken .mission-what{color:var(--muted)}.mission-bar{background:#eadfd2;border-radius:999px;height:10px;margin-top:6px;position:relative;overflow:hidden}.mission-bar i{background:var(--warn);border-radius:999px;position:absolute;inset:0 auto 0 0}.mission-taken .mission-bar i{background:var(--good)}.mission-count{color:var(--muted);margin-top:3px;font-size:.74rem;font-weight:800}.missions-pips{gap:5px;margin-top:5px;display:flex}.missions-pips span{background:#fff;border-radius:50%;width:14px;height:14px;box-shadow:inset 0 0 0 2px #f0c987}.missions-pips span.on{background:var(--warn);box-shadow:none}button.mission-claim{white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:6px;height:40px;margin:0;padding:0 16px;font-size:.88rem;font-weight:900;display:inline-flex}button.mission-claim:disabled{opacity:1}.mission-claim-waiting{color:#8a5a00;background:#fff;box-shadow:inset 0 0 0 2px #f5dfb0}.mission-claim-ready{background:var(--accent);color:var(--accent-text);box-shadow:0 4px 10px -4px #ef7d6dcc}.mission-claim-taken{color:var(--good);background:#e3f3e6}.mission-coin{flex:none;width:16px;height:16px}.mission-gain{color:#c98a00;pointer-events:none;font-weight:900;animation:.9s ease-out forwards mission-rise;position:absolute;transform:translate(-50%)}@keyframes mission-rise{to{opacity:0;translate:0 -46px}}.decor-tab{gap:4px;padding:0 12px;font-size:14px}@media (width<=380px){.decor-tab svg{display:none}}#decor-tab-details{color:#d4708d;background:#fff;box-shadow:inset 0 0 0 2px}#decor-tab-details[aria-pressed=true]{color:#fff;background:#e0879f;box-shadow:0 4px 10px -4px #e0879fcc}.detail-panel[hidden]{display:none}.detail-where{background:#f1e7da;border-radius:999px;gap:4px;padding:4px;display:flex}.detail-where button{height:34px;color:var(--muted);background:0 0;border-radius:999px;flex:1;margin:0;padding:0 12px;font-size:.86rem;font-weight:900}.detail-where button[aria-pressed=true]{color:var(--text);background:#fff;box-shadow:0 2px 6px -3px #2d243380}.detail-tray{scrollbar-width:none;gap:8px;padding:8px 2px;display:flex;overflow-x:auto}.strip-wrap{align-items:center;gap:4px;display:flex}.strip-wrap>:not(.strip-arrow){flex:1;min-width:0}button.strip-arrow{width:32px;height:32px;color:var(--text);background:#f1e7da;border-radius:999px;flex:none;place-items:center;margin:0;padding:0;font-size:1.2rem;font-weight:900;line-height:1;display:none}@media (hover:hover) and (pointer:fine){.strip-arrow{display:grid}}.strip-wrap:has(>[hidden]){display:none}.detail-families{scrollbar-width:none;gap:4px;padding-top:4px;display:flex;overflow-x:auto}.detail-families[hidden]{display:none}button.detail-family{color:var(--text);background:#f1e7da;border-radius:999px;flex:none;margin:0;padding:5px 12px;font-size:.74rem;font-weight:800}button.detail-family[aria-pressed=true]{color:#fff;background:#7b6cd9}button.detail-slot{width:74px;color:var(--text);touch-action:pan-x;background:#f8f3ee;border-radius:16px;flex:none;justify-items:center;gap:2px;margin:0;padding:6px 4px 5px;font-size:.7rem;font-weight:800;display:grid;position:relative;box-shadow:inset 0 0 0 2px #0000}.detail-slot img{border-radius:10px;width:46px;height:46px}button.detail-slot:disabled{opacity:.4}button.detail-slot[aria-pressed=true]{box-shadow:inset 0 0 0 3px #7b6cd9}.detail-name{text-align:center;line-height:1.1}.detail-n{background:#fff;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:.72rem;display:grid;position:absolute;top:3px;right:5px;box-shadow:0 1px 3px #00000026}.detail-empty{color:var(--muted);margin:6px 0;font-size:.85rem;font-weight:700}.adopt .detail-count,.detail-count{color:var(--muted);text-align:center;margin:0 0 6px;font-size:.74rem;font-weight:800}.detail-walls{z-index:25;align-items:center;gap:6px;display:flex;position:fixed;top:14px;left:50%;transform:translate(-50%)}.detail-walls[hidden]{display:none}.detail-walls button{width:42px;height:42px;color:var(--text);background:#fff;border-radius:50%;margin:0;padding:0;font-size:1.1rem;font-weight:900;box-shadow:0 4px 10px -6px #2d243399}.detail-walls span{white-space:nowrap;background:#fff;border-radius:999px;padding:9px 14px;font-size:.88rem;font-weight:900;box-shadow:0 4px 10px -6px #2d243399}.detail-tools{z-index:25;gap:6px;display:flex;position:fixed;transform:translate(-50%,-100%)}.detail-tools[hidden]{display:none}.detail-tools button{white-space:nowrap;border-radius:999px;align-items:center;gap:5px;height:40px;margin:0;padding:0 14px;font-size:.85rem;font-weight:900;display:inline-flex;box-shadow:0 4px 10px -4px #2d243399}.detail-tools button[hidden]{display:none}.detail-tools svg{width:16px;height:16px}.detail-turn{color:#fff;background:#7b6cd9}.detail-store{color:var(--text);background:#fff}.shop-grow{background:linear-gradient(135deg,#e3f4f1,#cfeee8);border-radius:18px;grid-column:1/-1;align-items:center;gap:12px;padding:12px;display:flex}.shop-grow svg{flex:none;width:70px;height:56px}.shop-grow-body{flex:1;min-width:0}.shop-grow-body strong{font-size:.98rem;display:block}.shop-grow-body small{color:#3d6d66;margin-top:2px;font-size:.78rem;font-weight:700;line-height:1.3;display:block}button.shop-grow-buy{white-space:nowrap;flex:none;min-height:40px;margin:0;padding:0 16px}.shop-ask{z-index:2;border-radius:inherit;background:#2d243366;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0}.shop-ask-box{text-align:center;background:#fff;border-radius:22px;padding:18px;box-shadow:0 20px 40px -10px #0006}.shop-ask-box h3{margin:0 0 6px;font-size:1.1rem}.adopt .shop-ask-box p{color:#5d5263;margin:0 0 14px;font-size:.88rem;line-height:1.4}.shop-ask-actions{gap:8px;display:flex}.shop-ask-actions button{white-space:nowrap;border-radius:999px;flex:1;height:42px;margin:0;padding:0 14px;font-weight:900}.shop-ask-no{color:var(--text);background:#f1e7da}.shop-ask-yes{background:var(--accent);color:var(--accent-text)}.photo-icon{width:26px;height:26px;color:var(--accent)}body.photo-mode>:not(#scene):not(#photo):not(dialog){visibility:hidden}.photo{z-index:40;pointer-events:none;color:#fff;position:fixed;inset:0;overflow:hidden}.photo[hidden],.photo-note[hidden],.photo-shot[hidden]{display:none}.photo-crop{border-radius:6px;position:absolute;box-shadow:0 0 0 2px #ffffffe6,0 0 0 9999px #1d1820b3}.photo-frame{border-radius:6px;position:absolute}.photo-top{pointer-events:auto;align-items:center;gap:8px;display:flex;position:absolute;top:12px;left:12px;right:12px}.photo-icon-btn{color:#fff;background:#ffffff24;border:0;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;margin:0;padding:0;display:grid}.photo-icon-btn svg{width:18px;height:18px}.photo-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-weight:900;overflow:hidden}.photo-seg{background:#ffffff24;border-radius:999px;gap:2px;padding:3px;display:flex}.photo-seg button{color:#fff;white-space:nowrap;background:0 0;border:0;border-radius:999px;margin:0;padding:6px 14px;font-size:.8rem;font-weight:900}.photo-seg button[aria-pressed=true]{color:var(--text);background:#fff}.photo-chips{scrollbar-width:none;pointer-events:auto;gap:6px;padding:0 12px;display:flex;position:absolute;top:62px;left:0;right:0;overflow-x:auto}.photo-chip{color:#fff;white-space:nowrap;background:#ffffff24;border:0;border-radius:999px;flex:none;align-items:center;gap:7px;height:34px;margin:0;padding:0 14px 0 6px;font-size:.82rem;font-weight:800;display:inline-flex}.photo-chip i{border-radius:50%;width:22px;height:22px;box-shadow:inset 0 0 0 2px #ffffff80}.photo-chip[aria-pressed=true]{color:var(--text);background:#fff}.photo-note{white-space:nowrap;background:#1d1820b3;border-radius:999px;padding:6px 14px;font-size:.76rem;font-weight:800;position:absolute;left:50%;transform:translate(-50%)}.photo-frozen{background:#4a9ad8}.photo-zoom{pointer-events:auto;background:#1d182099;border-radius:999px;flex-direction:column;gap:4px;padding:3px;display:flex;position:absolute;transform:translateY(-50%)}.photo-zoom button{color:#fff;background:0 0;border:0;border-radius:999px;width:36px;height:30px;margin:0;padding:0;font-size:.76rem;font-weight:900}.photo-zoom button.on{color:var(--text);background:#ffffffe6}.photo-panel{padding:10px 12px calc(14px + env(safe-area-inset-bottom));pointer-events:auto;background:#1d1820;position:absolute;bottom:0;left:0;right:0}.photo-turn{align-items:center;gap:10px;height:32px;margin-bottom:10px;padding:0 4px;font-size:.8rem;font-weight:900;display:flex}.photo-turn svg{flex:none;width:20px;height:20px}.photo-turn input{accent-color:#fff;touch-action:none;flex:1;min-width:0;height:28px;margin:0}.photo-turn output{text-align:right;font-variant-numeric:tabular-nums;flex:none;width:44px}.photo-tabs{width:max-content;margin:0 auto 10px}.photo-thumbs{scrollbar-width:none;gap:10px;height:82px;padding-bottom:4px;display:flex;overflow-x:auto}.photo-thumb{color:#ffffffbf;white-space:nowrap;background:0 0;border:0;flex:none;align-content:start;justify-items:center;gap:4px;width:64px;margin:0;padding:2px 0 0;font-size:.72rem;font-weight:800;display:grid}.photo-pic{background:#2a2330 50%/cover;border-radius:14px;place-items:center;width:56px;height:56px;display:grid;overflow:hidden}.photo-pic canvas{display:block}.photo-thumb[aria-pressed=true]{color:#fff}.photo-thumb[aria-pressed=true] .photo-pic{box-shadow:0 0 0 3px #fff}.photo-shoot{grid-template-columns:1fr auto 1fr;align-items:center;margin-top:6px;display:grid}.photo-side{color:#fff;background:0 0;border:0;justify-self:center;justify-items:center;gap:3px;margin:0;padding:0;font-size:.72rem;font-weight:800;display:grid}.photo-side-icon{background:#ffffff24;border-radius:50%;place-items:center;width:46px;height:46px;display:grid}.photo-side svg{width:20px;height:20px}.photo-side[aria-pressed=true] .photo-side-icon{background:#4a9ad8}.photo-last .photo-side-icon{background:50%/cover;border-radius:12px;box-shadow:inset 0 0 0 2px #ffffff59}.photo-last:disabled{opacity:.45}.photo-shutter{background:#fff;border:0;border-radius:50%;width:74px;height:74px;margin:0;padding:0;transition:transform .1s;box-shadow:0 0 0 4px #1d1820,0 0 0 7px #fff}.photo-shutter:active{transform:scale(.92)}.photo-flash{opacity:0;background:#fff;position:absolute;inset:0}.photo-flash.go{animation:.45s ease-out photo-flash}@keyframes photo-flash{0%{opacity:.95}to{opacity:0}}.photo-shot{pointer-events:auto;background:#1d1820f0;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex;position:absolute;inset:0}.photo-shot img{border-radius:10px;max-width:100%;min-height:0;max-height:calc(100% - 190px);display:block;box-shadow:0 18px 40px -12px #000000b3}.photo-shot-file{color:#fff9;font-size:.74rem;font-weight:700}.photo-actions{grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:340px;display:grid}.photo-btn{color:#fff;white-space:nowrap;background:#ffffff24;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;height:46px;margin:0;padding:0 18px;font-size:.92rem;font-weight:900;display:inline-flex}.photo-btn svg{flex:none;width:18px;height:18px}.photo-btn-main{background:var(--accent);grid-column:1/-1}.photo-toast{opacity:0;max-width:calc(100% - 32px);color:var(--text);background:#fff;border-radius:999px;padding:10px 16px;font-size:.82rem;font-weight:800;transition:all .3s;position:absolute;bottom:24px;left:50%;transform:translate(-50%,40px)}.photo-toast.show{opacity:1;transform:translate(-50%)}@media (orientation:landscape) and (height<=640px){.photo-panel{width:300px;top:0;left:auto;overflow-y:auto}.photo-top,.photo-chips{right:300px}}
