:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:#190724;color:#fff3ff}
*{box-sizing:border-box}
body{margin:0;min-width:280px;min-height:100dvh;background:radial-gradient(ellipse at 50% 0,#54216d 0,transparent 55%),#190724}
button,input{font:inherit}
a{color:inherit}
[hidden]{display:none!important}
.shell{width:min(100%,560px);margin:auto;padding:18px 16px max(20px,env(safe-area-inset-bottom))}
.pet-app-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 4px 18px}
.pet-app-brand{text-decoration:none;font-size:20px;font-weight:850;letter-spacing:4px;line-height:1.3}
.pet-app-brand span{display:block;font-size:10px;letter-spacing:3px;color:#e4a9ee;margin-top:4px}
.pet-app-wallet{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;padding:9px 14px;border:1px solid #a76abb;border-radius:24px;background:#52246988;font-size:14px}
.pet-app-wallet>span{color:#ffe77c}.pet-app-wallet small{font-size:10px;color:#e0b7ed}
.screen{display:none}.screen.active{display:block}
.pet-heading{margin-top:0}.pet-heading h2{font-size:clamp(21px,5vw,28px)}
.pet-app-links{max-width:560px;margin:0 auto;padding:0 20px max(22px,env(safe-area-inset-bottom));text-align:center}
.pet-app-links a{display:inline-block;padding:10px 18px;color:#e0b1ed;text-decoration:none;font-size:13px}
.pet-launch{padding:32px 10px;text-align:center}.pet-launch h1{font-size:27px}.pet-launch p{color:#e2bcf0;line-height:1.6}.pet-launch a{margin-top:24px;text-decoration:none}
#toast{position:fixed;z-index:2000;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translate(-50%,12px);opacity:0;pointer-events:none;max-width:min(90vw,460px);width:max-content;padding:12px 18px;border:1px solid #bb82cf;border-radius:16px;background:#422052;box-shadow:0 10px 30px #0006;font-size:14px;transition:opacity .2s,transform .2s}
#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:360px){.shell{padding-left:10px;padding-right:10px}.pet-app-wallet{padding:8px 10px}.pet-heading{gap:7px}.pet-rank-button{padding:7px;font-size:12px!important}}
@media(prefers-reduced-motion:reduce){#toast{transition:none}}
