@import url('./tokens.css');
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#edf2f7;color:var(--ink);font-family:"Malgun Gothic",system-ui,-apple-system,sans-serif}button,input{font:inherit}button{cursor:pointer;border:0;color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #4484b7;outline-offset:3px}main{max-width:480px;min-height:100dvh;margin:auto;padding:28px 20px 110px;background:linear-gradient(#dceffc 0,#e7f3f6 32%,#f5f4fa 73%);overflow:hidden}.app-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.brand{display:flex;align-items:center;gap:9px;font-size:25px;letter-spacing:-1px;font-weight:800;color:var(--ink);text-decoration:none}.brand>span:first-child{font-size:32px}.brand small{font-size:11px;font-weight:500;letter-spacing:0;color:#748392;margin-top:4px}.icon-button{border:1px solid #fff9;background:#fff8;border-radius:50%;font-size:24px;width:42px;height:42px;flex-shrink:0}#notice{font-size:12px;line-height:1.6;color:#477255;border-radius:12px;margin:10px 0}#notice:empty{display:none}#notice:not(:empty){padding:11px 14px;background:#ffffffe0}#notice[data-error="true"]{color:#ad4848}.pet-stage{height:286px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:23px;isolation:isolate;margin:0 -20px;background:radial-gradient(ellipse at 50% 112%,#c9dcae 0,#e2edce 42%,transparent 43%)}.cloud{position:absolute;background:#fffc;height:24px;width:62px;border-radius:100px;filter:blur(.3px);z-index:-1}.cloud:before,.cloud:after{content:"";position:absolute;border-radius:50%;background:inherit;width:29px;height:29px;top:-12px;left:10px}.cloud:after{left:31px;top:-6px}.cloud-one{top:27px;left:32px;transform:scale(1.15)}.cloud-two{right:35px;top:59px;transform:scale(.7)}.speech{position:absolute;right:24px;top:43px;padding:13px 19px;background:#fffdf7;border-radius:20px 20px 20px 3px;transform:rotate(-6deg);font-size:14px;line-height:1.5;box-shadow:0 5px 18px #adc3ca22}.speech span{color:#ec92ad;font-size:20px}.pet-card{position:relative;background:#ffffffeb;border:1px solid white;border-radius:35px;padding:0 17px 8px;box-shadow:0 13px 35px #83829812}.pet-heading{display:flex;justify-content:flex-start;align-items:baseline;padding:12px 4px 10px}.pet-heading h2{font-size:19px;letter-spacing:-.7px;line-height:1.2;margin:0}.pet-heading #level{color:#417db8;font-size:17px;margin-left:5px}.stats{background:#f5f3f6;border-radius:20px;padding:14px 17px;display:grid;gap:13px}.stat-row{display:grid;grid-template-columns:24px 52px 39px 1fr;align-items:center;gap:7px}.stat-row>span{font-size:25px;line-height:1}.stat-row label,.stat-row strong{font-size:14px;white-space:nowrap}.stat-row strong{font-size:14px;font-variant-numeric:tabular-nums}.friendship>span{color:#f08eaf}.growth>span{color:#f3c970}progress{appearance:none;width:100%;height:11px;border:0;border-radius:20px;overflow:hidden;background:#e8e7ea}progress::-webkit-progress-bar{background:#e8e7ea;border-radius:20px}progress::-webkit-progress-value{background:#a7c991;border-radius:20px}progress::-moz-progress-bar{background:#a7c991;border-radius:20px}#friendship::-webkit-progress-value{background:#f498b8}#friendship::-moz-progress-bar{background:#f498b8}#satiety::-webkit-progress-value{background:#f6cd7c}#satiety::-moz-progress-bar{background:#f6cd7c}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.actions button{border-radius:20px;min-height:79px;padding:12px;display:flex;align-items:center;gap:9px;text-align:left;background:#fbdfc9;box-shadow:inset 0 1px 0 #fff8}.actions button:nth-child(2){background:#f9d4e3}.actions button:nth-child(3){background:#d6ebfa}.actions button:nth-child(4){background:#e6dcf8}.action-icon{font-size:30px;color:#ec7da3}.actions button:nth-child(3) .action-icon{color:#7ea9cc}.actions strong{font-size:17px;white-space:nowrap;letter-spacing:-.8px}.actions small{font-size:10px;margin-top:3px;color:#6f6b76}.chevron{font-size:24px;margin-left:auto;opacity:.55}.actions button:not(:disabled):active{transform:translateY(2px)}.wallet{display:flex;justify-content:center;border-top:1px dashed #e6e4eb;margin-top:17px;padding:17px 0 7px}.wallet>span{display:grid;grid-template-columns:33px auto;column-gap:9px;align-items:center;justify-content:center;width:50%}.wallet>span+span{border-left:1px solid #e7e5ed}.wallet strong{font-size:22px;font-variant-numeric:tabular-nums}.wallet small{grid-column:2;font-size:9px;color:#94929e}.coin{display:grid;place-items:center;border-radius:50%;border:3px solid #f7ce72;color:#cb8b30;background:#ffe1a0;width:32px;height:32px;font-size:22px;font-weight:800}.heart{font-size:36px;line-height:1;color:#f28ead}.form-card{background:#fffc;border:1px solid white;border-radius:28px;padding:25px;margin-top:24px;box-shadow:0 12px 36px #848aa30d}.form-card h1{font-size:24px;letter-spacing:-1px;line-height:1.5;margin:10px 0}.form-card>p{font-size:14px;line-height:1.7;color:#737685}.welcome-symbol{font-size:45px;text-align:center;margin:14px auto 23px;opacity:.7}#welcome{text-align:center}.primary{background:#588bbc;color:white;padding:14px 20px;border-radius:14px;font-weight:700;min-height:48px}.form-card .primary{width:100%;margin:14px 0 6px}.subtle{background:transparent;color:#7b8192;padding:9px 6px;font-size:12px;min-height:32px}small{display:block}form{margin-top:18px}form label{display:block;font-size:12px;font-weight:700;margin:15px 0 8px}input{width:100%;border:1px solid #e0e2e9;border-radius:12px;padding:13px 12px;color:var(--ink);background:#fff;min-height:46px;font-size:14px}input::placeholder{color:#969aab;font-size:12px}.form-card small,.form-note{font-size:11px;color:#8b8e9c;line-height:1.7}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#8e9fb5}.account-tabs{display:flex;background:#eff1f6;border-radius:12px;padding:4px;margin-top:18px;gap:5px}.account-tabs button{width:50%;border-radius:9px;background:transparent;padding:10px;font-size:13px}.account-tabs button.selected{background:#fff;box-shadow:0 2px 5px #afb6c522}#retry-action{margin:15px 0;width:100%}footer{display:flex;justify-content:center;align-items:center;font-size:10px;color:#9a9caf;margin:16px 6px}.bottom-nav{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);max-width:456px;width:calc(100% - 24px);display:grid;grid-template-columns:repeat(4,1fr);border-radius:28px 28px 0 0;background:#ffffffed;border:1px solid #fff;box-shadow:0 -6px 24px #9799bc12;padding:12px 7px max(10px,env(safe-area-inset-bottom));backdrop-filter:blur(14px)}.bottom-nav button{background:transparent;display:flex;flex-direction:column;align-items:center;gap:3px;color:#9694a4;font-size:11px;font-weight:700;min-height:56px}.bottom-nav button>span{font-size:28px;height:32px;line-height:1}.bottom-nav small{font-size:8px;font-weight:400}.bottom-nav button.active{color:#407fb7}.bottom-nav button:disabled{opacity:.65}@media(min-width:600px){body{padding:30px 0}main{border-radius:36px;box-shadow:0 20px 70px #aeb8cc30}.bottom-nav{bottom:12px;border-radius:26px}}@media(max-width:360px){main{padding:22px 13px 108px}.pet-card{padding:0 12px 8px}.stats{padding:14px 12px}.stat-row{grid-template-columns:21px 46px 35px 1fr;gap:5px}.stat-row label{font-size:13px}.actions button{padding:10px;gap:7px}.actions strong{font-size:15px}.action-icon{font-size:25px}.brand{font-size:22px}}@media(prefers-reduced-motion:reduce){:root:not([data-preview-motion="full"]) *{animation:none!important;transition:none!important}}

.password-field{position:relative}.password-field input{padding-right:56px}.password-field .password-toggle{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:48px;height:44px;margin:0;padding:10px;border:0;background:transparent;color:#666b80;display:grid;place-items:center}.password-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.password-toggle .eye-slash{display:none}.password-toggle[aria-pressed="true"] .eye-slash{display:block}.password-toggle:focus-visible{outline:2px solid #508ac6;outline-offset:-4px;border-radius:10px}
