*{box-sizing:border-box}html{min-height:100%;background:#dceee3}body{margin:0;min-height:100vh;min-height:100svh;color:#154b59;font:16px/1.5 system-ui,-apple-system,"Microsoft YaHei",sans-serif;isolation:isolate}body:before{content:"";position:fixed;inset:0;z-index:-1;background:#c5eafa url('/endless/account/account-garden.png') center bottom/cover no-repeat;pointer-events:none}.home{position:absolute;top:max(24px,env(safe-area-inset-top));left:max(26px,env(safe-area-inset-left));color:#144b5c;text-decoration:none;font-size:18px;font-weight:800;z-index:2}main{width:min(760px,46vw);margin:0 auto;padding:20px 0 28px}header{text-align:center;margin:0 0 18px}.wordmark{display:flex;justify-content:center;gap:1px;font-size:clamp(36px,3.5vw,60px);font-weight:950;line-height:1.1;letter-spacing:-.055em;filter:drop-shadow(0 3px 0 #fff8)}.wordmark span:nth-child(1),.wordmark span:nth-child(5){color:#ed4638}.wordmark span:nth-child(2){color:#f7b72a}.wordmark span:nth-child(3){color:#289cc9}.wordmark span:nth-child(4){color:#21a57b}.wordmark span:nth-child(6){color:#e63189}.wordmark span:nth-child(7){color:#794ad7}header small{display:block;font-size:15px;font-weight:700;letter-spacing:.14em;margin-top:4px}h1{font-size:clamp(32px,3vw,50px);line-height:1.2;margin:8px 0 0;font-weight:850;letter-spacing:.04em;text-shadow:0 2px 0 #fff9}.account-card{background:linear-gradient(140deg,#fffdf4f7,#fff7e9f5);border:3px solid #fff9ed;border-radius:32px;padding:18px 22px 22px;box-shadow:0 7px 0 #e0c6a55c,0 18px 32px #3e6d6c20,inset 0 0 0 1px #eadac7}.tabs{display:flex;gap:3px;border-radius:21px;background:#e3f1e2;padding:3px}.tabs button{flex:1;min-height:48px;padding:8px 4px;border:0;background:transparent;border-radius:18px;color:#144c59;font:800 clamp(14px,1.1vw,19px) system-ui;cursor:pointer}.tabs button.selected{background:linear-gradient(#169b91,#00766f);color:#fff;box-shadow:0 2px 3px #075c4825,inset 0 1px 1px #8adbd3}.tabs button:hover:not(.selected){background:#ffffff70}#status{margin:0;min-height:12px;color:#1b7564;font-size:14px}#status:not(:empty){padding:10px 4px}section{padding:10px 7px 0;min-height:280px}h2{margin:0 0 16px;font-size:clamp(24px,2vw,32px);text-align:center;line-height:1.3}form,label{display:grid;gap:8px}form{gap:14px;margin:0 0 18px}label{font-weight:650}input{min-height:48px;width:100%;padding:11px 14px;border:2px solid #c6d7ce;border-radius:15px;background:#fffffff2;box-shadow:inset 0 2px 4px #38554b07;color:#214e56;font:16px system-ui}input::placeholder{color:#81948d}button.primary,button.secondary{min-height:46px;padding:10px 18px;border-radius:16px;font:750 16px system-ui;cursor:pointer}.primary{background:linear-gradient(#10988b,#00786e);color:#fff;border:1px solid #08746b;box-shadow:0 3px 0 #d9c5a8,inset 0 1px 0 #6bc7bb}.secondary{background:#eef5e8;color:#245e60;border:1px solid #cedfc9;margin-top:12px}button.primary:hover{filter:brightness(1.05)}button:active{transform:translateY(1px)}.grant{display:flex;align-items:center;gap:10px;min-height:62px;margin:9px 0;padding:5px 13px 5px 7px;background:linear-gradient(100deg,#e9f4dfd9,#e0efdaaf);border:1px solid #dcebd4;border-radius:18px}.grant strong{flex:1;font-size:clamp(13px,1.05vw,17px);line-height:1.3}.grant small{font-size:12px;max-width:38%;color:#54796b;text-align:right}.grant.owned{background:#e3f2d9}.mascot{flex:0 0 48px;width:48px;height:50px;display:block;overflow:hidden;border-radius:13px;background:#deefe5}.mascot svg{width:100%;height:100%;display:block;overflow:hidden}.device{border:1px solid #d9e6d3;border-radius:15px;padding:13px;margin:10px 0;background:#f4f8ed}.device small{display:block;color:#648576}.error{color:#b43f3f!important}footer{text-align:center;font-size:12px;color:#315f60;margin-top:15px;text-shadow:0 1px #fff9}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #edb94f;outline-offset:3px}@media(max-width:1100px){main{width:min(650px,62vw)}.home{font-size:15px;top:18px;left:18px}.account-card{padding:15px 16px 20px}.grant strong{font-size:15px}}@media(max-width:740px){body:before{background-position:center bottom;background-size:auto 100%;opacity:.55}main{width:min(560px,calc(100% - 28px));padding-top:68px}header{margin-bottom:14px}.wordmark{font-size:42px}header small{font-size:13px}h1{font-size:32px}.account-card{border-radius:25px;background:#fffaf0f5;padding:12px 12px 18px}.tabs button{font-size:14px;min-height:45px}section{padding:12px 2px 0}.grant{gap:8px;padding-right:10px;min-height:60px}.grant strong{font-size:14px}.grant small{font-size:11px;max-width:34%}.mascot{flex-basis:42px;width:42px;height:45px}footer{background:#f5f8ecb0;border-radius:10px;padding:5px 8px;width:max-content;max-width:100%;margin:15px auto 0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Complete homepage characters, with no square avatar background. */
.grant{position:relative;display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:15px;row-gap:0;min-height:112px;margin:15px 0;padding:10px 18px 10px 6px;border-radius:20px;background:linear-gradient(100deg,#eaf4e3cf,#e5f1df9e)}
.grant .mascot{grid-column:1;grid-row:1/3;align-self:center;display:block;width:100px;height:112px;margin:-10px 0;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none}
.grant .mascot svg{width:100%;height:100%;display:block;overflow:hidden;border-radius:0}
.grant strong{grid-column:2;grid-row:1;align-self:end;font-size:16px;line-height:1.45;min-width:0}
.grant small{grid-column:2;grid-row:2;align-self:start;max-width:none;text-align:left;font-size:12px;line-height:1.5;margin-top:4px;color:#64836b}
.grant.owned{background:linear-gradient(100deg,#e4f2dbd9,#edf6e6c9)}
@media(max-width:740px){
.grant{grid-template-columns:84px minmax(0,1fr);column-gap:10px;min-height:100px;margin:14px 0;padding:9px 12px 9px 3px;border-radius:18px}
.grant .mascot{width:84px;height:96px;margin:-7px 0}
.grant strong{font-size:14px}
.grant small{font-size:11px;max-width:none}
}
