:root{font-family:'Atkinson Hyperlegible',sans-serif;color:#233c49;background:#e8f4f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a,summary{-webkit-tap-highlight-color:transparent}button{font:700 16px 'Atkinson Hyperlegible',sans-serif;cursor:pointer;color:#233c49;border:2px solid #233c49;background:#fff;border-radius:12px;padding:12px 17px;box-shadow:0 4px 0 #233c49}button:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px 0 #233c49}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:4px solid #df4a91;outline-offset:4px}[hidden]{display:none!important}main{max-width:1500px;margin:auto;padding:24px 32px}header{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:28px}header a{color:inherit;text-decoration:none;font-weight:bold}h1,h2,h3{font-family:'Pixelify Sans',sans-serif;margin:0}h1{font-size:clamp(24px,3vw,40px)}h2{font-size:28px}h3{font-size:24px}.wallet{display:flex;flex-direction:column;text-align:right}.wallet b{font-size:24px}.wallet span,.saved{font-size:13px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.play-area{min-width:0}.scene-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 0 15px}.scene-heading span{font-size:14px}.scene-heading h2{font-size:32px;margin-top:5px}#arena{width:100%;display:block;border:3px solid #233c49;border-radius:20px;background:#c9eeff;aspect-ratio:2;box-shadow:0 7px 0 #bcced2}.yard-controls{display:flex;gap:15px;margin-top:24px}.yard-controls button{flex:1}.yard-controls small{display:block;font-weight:400;font-size:13px;margin-top:5px}.pink{background:#ffb2cf}.green{background:#b7df74}#message{min-height:24px;font-weight:bold;line-height:1.5}#battleInfo{background:#233c49;color:white;padding:12px;border-radius:10px;margin-top:12px}.collection{margin-top:28px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading span{font-size:14px}.collection>p{margin:8px 0 16px}#pets{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}.pet-card{background:#fff;border:2px solid #b9d1d4;border-radius:14px;overflow:hidden;padding:9px}.pet-card.selected{border:3px solid #437b50;padding:8px;background:#f3ffe8}.pet-select{padding:0;width:100%;border:0;box-shadow:none;background:none;border-radius:6px}.pet-select canvas{width:100%;height:95px;object-fit:contain}.pet-select strong{display:block}.pet-card p{margin:6px 0;text-align:center;font-size:14px}.team-toggle{width:100%;padding:7px;font-size:13px;box-shadow:none;border-width:1px}.team-toggle[aria-pressed=true]{background:#b7df74}.shop{background:#fff;border:2px solid #c0d6d9;border-radius:20px;padding:21px;align-self:start}.shop>p{margin:6px 0 18px}.starter-note{background:#fff2cc;border-radius:8px;padding:12px;font-size:14px;line-height:1.4}.egg-offer{display:grid;grid-template-columns:60px 1fr;align-items:center;gap:10px;padding:22px 0;border-bottom:2px dashed #dce7e9}.egg-offer button{grid-column:1/-1}.egg-offer p{font-size:13px;margin:5px 0;line-height:1.4}.mini-egg{width:52px;height:67px;border:3px solid #233c49;border-radius:50% 50% 42% 42%;display:grid;place-items:center;font-size:28px;background:#ffe9ab;box-shadow:inset -8px -6px 0 #0001}.cool .mini-egg{background:#b6a1f4}.ultra .mini-egg{background:#ffbe75}.shop details{margin-top:20px;font-size:14px;line-height:1.5}summary{font-weight:bold;cursor:pointer}#dex p{border-bottom:1px solid #ddd;padding-bottom:8px}dialog{border:3px solid #233c49;border-radius:24px;max-width:min(440px,92vw);width:440px;background:#f7fcf5;color:#233c49;padding:24px;box-shadow:0 12px 0 #233c49}dialog::backdrop{background:#1b3848b3;backdrop-filter:blur(5px)}.hatch-inner{text-align:center}.hatch-inner>p{line-height:1.5}.hatch-inner h2{font-size:36px}.hatch-inner>button.green{width:100%}#egg{border:0;background:none;box-shadow:none;width:240px;height:240px;max-width:100%}.egg-shape{display:block;position:relative;margin:auto;width:150px;height:185px;border:5px solid #233c49;border-radius:50% 50% 43% 43%;background:#ffe9ab;box-shadow:inset -18px -14px 0 #eacb7d,0 12px 0 #233c4922;transform:rotate(-6deg)}.egg-shape b{font-size:60px;display:block;padding-top:50px;color:#c78b43}.egg-shape i{display:none;position:absolute;left:45%;top:10%;width:20px;height:130px;background:#233c49;clip-path:polygon(20% 0,80% 30%,40% 50%,100% 75%,20% 100%,55% 74%,0 50%,50% 30%)}#egg[data-taps="1"] .egg-shape{transform:rotate(8deg)}#egg[data-taps="1"] i,#egg[data-taps="2"] i{display:block}#egg[data-taps="2"] .egg-shape{transform:rotate(-12deg)}#egg[data-taps="2"] i{width:35px}#portrait{max-width:100%}@media(max-width:1000px){main{padding:18px}.game-layout{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.scene-heading{display:block}.saved{display:none}.shop{padding:15px}}@media(max-width:760px){header{flex-wrap:wrap;gap:10px;margin-bottom:24px}h1{order:3;width:100%;font-size:32px}.game-layout{grid-template-columns:1fr}.scene-heading h2{font-size:26px}.shop{margin-top:10px}.yard-controls{gap:10px}.yard-controls button{padding:10px;font-size:14px}#pets{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{align-items:start}.section-heading h2{font-size:24px}}@media(prefers-reduced-motion:reduce){button{transform:none!important}}

.walk-hint{font-size:14px;line-height:1.5}.walk-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.walk-controls button{touch-action:none;user-select:none;min-width:90px}.walk-controls span{text-align:center;font-size:14px}#arena{touch-action:pan-y;cursor:crosshair}

.yard-controls{flex-wrap:wrap}.yard-controls button{min-width:145px}#shopHeading{scroll-margin-top:20px}

.rebirth-panel{margin-top:24px;border:2px solid #b9d1d4;border-radius:12px;padding:15px;background:#fff}.rebirth-panel p{font-size:14px;line-height:1.5;margin:8px 0 14px}.rebirth-panel button{max-width:100%;background:#ffe9ab}

.phone-launch{background:#dfd5ff}.supply-shop{display:grid;gap:12px;margin:20px 0}.supply-shop p{font-size:13px}.wild-hud{background:#fff;border:2px solid #9bbf9a;border-radius:14px;padding:14px;margin-top:15px;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.wild-hud progress{width:100%;accent-color:#69a75a}.wild-hud p{width:100%;margin:0;font-weight:bold}#phoneDialog{width:370px;max-width:94vw;border:8px solid #263448;border-radius:38px;padding:0;background:#ddd5f4;box-shadow:0 12px 0 #152338;max-height:92dvh;overflow:auto}.phone-shell{padding:18px 20px 22px;background:linear-gradient(150deg,#d9c6ef,#c2e0ed);min-height:550px}.phone-status{display:flex;justify-content:space-between;font-size:13px;margin-bottom:20px}.phone-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.phone-top h2{font-size:30px}.phone-top button{border:0;box-shadow:none;background:#ffffff77;padding:7px 11px}.phone-widget{background:#ffffff88;border-radius:18px;display:flex;flex-direction:column;gap:8px;padding:20px;margin:24px 0}.phone-widget strong{font-size:22px}.app-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.app-grid button{display:flex;flex-direction:column;align-items:center;gap:8px;background:none;border:0;box-shadow:none;padding:0}.app-grid b{display:grid;place-items:center;font-size:36px;width:74px;height:74px;border-radius:20px;background:#fff7c4;box-shadow:0 5px 0 #26344825}.app-grid button:nth-child(2) b{background:#ffcee2}.app-grid button:nth-child(3) b{background:#b8e7a8}.app-grid button:nth-child(4) b{background:#add7f5}.phone-home{display:block;margin:30px auto 0;background:#ffffffaa;border:0;box-shadow:none;min-width:90px}.phone-app h3{font-size:28px;margin-top:20px}.phone-app p{font-size:14px;line-height:1.5}.phone-app button{width:100%;margin:7px 0}.phone-app small{display:block;font-size:12px;font-weight:400;margin-top:6px}#phoneMap p{border-left:4px solid #839eb0;padding:8px 12px;margin:6px 0;background:#ffffff66;border-radius:0 8px 8px 0}@media(max-width:760px){header .phone-launch{padding:8px 12px}.wild-hud{font-size:13px}.wild-hud strong{font-size:18px}}
