body:has(.account-page){--bg:#f0f8ef;--panel:#fffefa;--ink:#244b38;--muted:#62786b;--line:#d7e6d7;--accent:#2d774c;--soft:#e6f2df;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:linear-gradient(145deg,#e8f7ef 0%,#f9f8eb 75%,#f3f7e8 100%)}body:has(.account-page) .container{padding-top:38px;padding-bottom:64px}.account-page{color:#244b38;max-width:940px;margin:auto}.account-narrow{max-width:460px}.account-page h1{letter-spacing:-1.2px;margin:8px 0 14px;font-size:clamp(30px,4vw,40px);font-weight:750}.account-narrow>h1,.account-narrow>.account-eyebrow,.account-intro,.account-footer{text-align:center}.account-eyebrow{letter-spacing:2px;color:#60856b;margin:0;font-size:11px;font-weight:700}.account-intro{color:#607669;margin-bottom:24px;font-size:15px;line-height:1.6}.account-emblem{background:linear-gradient(135deg,#dff2db,#fff9db);border:1px solid #fff;border-radius:20px;place-items:center;width:58px;height:58px;margin:0 auto 16px;font-size:28px;display:grid;box-shadow:0 6px 16px #47684c10}.account-card{background:linear-gradient(145deg,#fffffff0,#fbfcefef);border:1px solid #fff;border-radius:25px;padding:28px;box-shadow:0 10px 28px #365f4810}.account-card h2{margin-bottom:20px;font-size:21px;font-weight:700}.account-form{gap:16px;display:grid}.account-form label{gap:7px;font-size:14px;font-weight:600;display:grid}.account-form input:not([type=radio]):not([type=hidden]){color:#244b38;background:#ffffffde;border:1px solid #dbe7d8;border-radius:12px;width:100%;min-height:48px}.account-form small{color:#617b68;margin-top:-10px;font-size:12px;line-height:1.5}.account-page .button{color:#fff;text-align:center;background:linear-gradient(135deg,#388e5b,#28734c);border:1px solid #ffffffb0;border-radius:14px;justify-content:center;align-items:center;min-height:48px;padding:11px 18px;font-weight:650;display:flex;box-shadow:0 5px 12px #266d4320}.account-page .notice{color:#2d6540;overflow-wrap:anywhere;background:#e7f5e3;border-radius:12px;margin:0;padding:13px;font-size:14px}.account-page .notice.error{color:#913c2d;background:#fff1e8}.account-text-link{text-align:center;color:#31774d;margin-top:18px;font-size:14px;font-weight:600;display:block}.account-footer{color:#607669;margin:22px 0 0;font-size:14px}.account-footer a{color:#2b7549;font-weight:700}.profile-grid{grid-template-columns:.9fr 1.1fr;gap:22px;margin-top:24px;display:grid}.profile-summary{text-align:center;flex-direction:column;align-items:center;display:flex}.profile-summary h2{overflow-wrap:anywhere;max-width:100%;margin:14px 0 4px}.profile-avatar{background:linear-gradient(145deg,#e0f0d6,#fcf4d9);border:2px solid #fff;border-radius:29px;place-items:center;width:88px;height:88px;font-size:44px;display:grid;box-shadow:0 5px 15px #386f4212}.profile-email{color:#69806d;overflow-wrap:anywhere;max-width:100%;margin-bottom:20px;font-size:14px}.profile-progress{background:linear-gradient(120deg,#e5f4de,#f7f5dd);border:1px solid #fff;border-radius:18px;justify-content:center;align-items:center;gap:14px;width:100%;margin-bottom:16px;padding:15px 10px;display:flex}.profile-progress strong{font-size:36px;line-height:1}.profile-progress span{font-size:14px}.account-muted{color:#647c69;font-size:14px;line-height:1.6}.profile-summary>.button{width:100%;margin-top:auto}.avatar-picker{border:0;min-width:0;margin:0 0 4px;padding:0}.avatar-picker legend{margin-bottom:12px;font-size:14px;font-weight:600}.avatar-picker>div{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.avatar-picker label{cursor:pointer;min-width:0;position:relative}.avatar-picker input{opacity:0;width:1px;height:1px;position:absolute}.avatar-picker label>span{background:#edf4e9;border:2px solid #0000;border-radius:15px;justify-items:center;gap:4px;padding:10px 3px;font-size:26px;display:grid}.avatar-picker .avatar-label{color:#4e6d57;font-size:10px;font-weight:600}.avatar-picker input:checked+span{background:#e1f1d8;border-color:#4b9562}.avatar-picker input:focus-visible+span{outline-offset:3px;outline:3px solid #528b61}.profile-settings{grid-column:1/-1;justify-content:space-between;align-items:center;gap:24px;display:flex}.profile-settings h2{margin-bottom:8px}.profile-settings p{margin-bottom:0}.profile-settings-actions{align-items:center;gap:18px;font-size:14px;font-weight:600;display:flex}.profile-settings-actions a{color:#33774d}.account-logout{color:#496950;background:#f8f9f1;border:1px solid #d6e3ce;border-radius:12px;min-height:44px;padding:10px 14px}@media (max-width:767px){body:has(.account-page) .container{padding:24px 18px 100px}.account-card{border-radius:22px;padding:22px}.account-intro{margin-bottom:20px;font-size:14px}.account-emblem{margin-bottom:12px}.profile-grid{grid-template-columns:1fr;gap:16px;margin-top:20px}.profile-settings{display:block}.profile-settings-actions{justify-content:space-between;gap:10px;margin-top:18px}.account-form{gap:15px}}.profile-xp{text-align:left;background:linear-gradient(120deg,#e4f4dc,#fff6df);border:1px solid #fff;border-radius:18px;width:100%;margin:18px 0;padding:16px;box-shadow:0 4px 14px #406b3710}.profile-xp>div{color:#335c30;justify-content:space-between;gap:12px;display:flex}.profile-xp progress{accent-color:#679451;background:#dce8d5;border:0;border-radius:99px;width:100%;height:12px;margin:10px 0;overflow:hidden}.profile-xp progress::-webkit-progress-bar{background:#dce8d5}.profile-xp progress::-webkit-progress-value{background:linear-gradient(90deg,#87ad65,#527d42);border-radius:99px}.profile-xp progress::-moz-progress-bar{background:#679451}.profile-xp small{color:#496244}.profile-streak{text-align:left;background:linear-gradient(120deg,#eff7e8,#fff7e3);border:1px solid #fff;border-radius:18px;width:100%;padding:16px;box-shadow:0 4px 14px #406b3710}.profile-streak h3{color:#335c30;margin:0 0 14px}.streak-counts{grid-template-columns:1fr 1fr;gap:12px;display:grid}.streak-counts div{flex-direction:column;gap:4px;display:flex}.streak-counts strong{color:#335c30;font-size:1.7rem}.streak-counts span,.profile-streak small{color:#496244;font-size:.78rem}.streak-calendar{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:18px 0;padding:0;list-style:none;display:grid}.streak-calendar li{color:#496244;flex-direction:column;align-items:center;gap:6px;font-size:.75rem;display:flex}.streak-calendar strong{aspect-ratio:1;background:#fff9;border:1px solid #fff;border-radius:50%;place-items:center;width:100%;display:grid}.streak-calendar [data-active=true] strong{color:#fff;background:#528447}.streak-calendar [aria-current=date] strong{outline-offset:2px;outline:2px solid #80a66d}
