.account-banner.profile-banner{display:grid;grid-template-columns:240px minmax(0,1fr);gap:40px;padding:32px;background:#111c16;border:1px solid #28392d;align-items:center;overflow:visible}
.profile-person{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}.profile-person .profile-avatar{width:132px;height:132px;border-radius:20px;background:#253529;font-size:56px;overflow:hidden;display:grid;place-items:center;flex:none}.profile-avatar img,.profile-dot img{width:100%;height:100%;object-fit:cover}.profile-person h1{font-size:30px!important;margin:8px 0 0;overflow-wrap:anywhere}.profile-person p{font-size:11px;margin:6px 0;color:#91a18f}.profile-person #edit-profile{font-size:11px;padding:10px 14px}.profile-person .text-button{font-size:11px;cursor:pointer}.profile-identity{min-width:0}
.activity-panel{min-width:0}.activity-panel .section-heading{margin:0 0 24px;gap:15px;align-items:center}.activity-panel h2{font-size:25px!important}.activity-panel #activity-total{font-size:12px;color:#b5c6a7;white-space:nowrap}.activity-scroll{overflow:auto;padding:6px 2px 12px;scrollbar-color:#415331 transparent}.activity-board{display:grid;grid-template-rows:20px repeat(7,11px);grid-auto-flow:column;grid-auto-columns:11px;gap:4px;min-width:max-content}.activity-board .activity-month{font-size:10px;color:#aab6a6;white-space:nowrap;height:16px}.activity-cell{border:0;background:#223025;padding:0;border-radius:2px;width:11px;height:11px;cursor:pointer}.activity-cell[data-level="1"]{background:#385838}.activity-cell[data-level="2"]{background:#60883f}.activity-cell[data-level="3"]{background:#99bf58}.activity-cell[data-level="4"]{background:#d6f777}.activity-cell:focus-visible,.activity-cell[aria-pressed="true"]{outline:2px solid #f6f6e4;outline-offset:2px}.activity-cell:disabled{visibility:hidden}.activity-footer{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-top:12px}.activity-footer p{margin:0;font-size:11px;color:#aab6a6}.activity-legend{display:flex;gap:4px;align-items:center;font-size:10px;color:#aab6a6;white-space:nowrap}.activity-legend i{width:10px;height:10px;border-radius:2px;background:#223025}.activity-legend i:nth-child(2){background:#385838}.activity-legend i:nth-child(3){background:#60883f}.activity-legend i:nth-child(4){background:#99bf58}.activity-legend i:nth-child(5){background:#d6f777}.activity-panel .data-note{margin:15px 0 0;font-size:10px}
.account-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0 0}.account-bar>div{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.account-bar .profile-local{margin:0;max-width:620px}.account-bar .button{font-size:12px;padding:10px 16px}.account-sync-row{display:flex;gap:14px;align-items:center;min-height:28px;font-size:11px;color:#9bac93;margin:8px 0 24px}.account-sync-row .text-button{font-size:11px}.account-sync-row:has(#account-sync:empty){display:none}
#profile-page .profile-columns{grid-template-columns:minmax(0,1fr) 220px}#profile-page .profile-lists{display:flex;gap:6px;overflow:auto;border:0;padding-bottom:12px}#profile-page .profile-lists button{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:10px 13px;background:#17221a;border:1px solid #29372b;border-radius:8px;font-size:11px}#profile-page .profile-lists button.active{background:#d6f777;color:#14200d;border-color:#d6f777}#profile-page .profile-lists b{font-size:10px;opacity:.65}.profile-search-label{display:block;margin:0 0 12px}.profile-search-label input{width:100%;padding:11px 14px;border:1px solid #2a392d;border-radius:8px;background:#0f1912;color:#f2f3e8;font:inherit;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#profile-page .recent-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #253328;padding:12px 0;color:inherit;border-radius:0}#profile-page .recent-row img{width:44px;height:62px;border-radius:5px;object-fit:cover}#profile-page .recent-row strong{font-size:13px;line-height:1.45;font-weight:600;display:block}#profile-page .recent-row small{font-size:10px;margin-top:5px;display:block;color:#8fa18f}#profile-page .recent-row em{font-style:normal;font-size:11px;color:#d6f777;text-align:right;max-width:190px}#profile-page .recent-row:hover{background:#18251a}.recent-progress{height:3px;background:#26382a;max-width:170px;margin-top:8px;border-radius:4px;overflow:hidden}.recent-progress i{display:block;height:100%;background:#d6f777}
#auth-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:26px;background:#101b14;color:#f0f3e5;border:1px solid #344533;border-radius:20px;overflow:auto}#auth-dialog::backdrop{background:#020a06cb;backdrop-filter:blur(6px)}.auth-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}#auth-dialog h2{font-family:Lora,Georgia,serif;font-size:29px;font-weight:500;margin:0 0 22px}#auth-form{display:grid;gap:16px}#auth-form label{display:grid;gap:8px;font-size:12px;color:#c3cbbd}#auth-form label[hidden]{display:none}#auth-form input{width:100%;padding:13px 14px;border:1px solid #364732;background:#0a130d;color:#f4f6ed;border-radius:9px;font:inherit;font-size:15px}#auth-form input:focus{outline:2px solid #bcd778;outline-offset:2px}#auth-form small{font-size:10px;color:#93a78b}#auth-form .button{justify-content:center}#auth-status{font-size:12px;line-height:1.6;margin:0;color:#e1cc9d}#auth-status:empty{display:none}.auth-links{display:flex;justify-content:space-between;gap:10px;margin:22px 0}.auth-links .text-button{font-size:11px}.auth-note{font-size:11px;line-height:1.6;color:#8fa18b;margin:0}#auth-resend{font-size:12px;margin-top:16px}button:disabled{cursor:default}
@media(max-width:1000px){.account-banner.profile-banner{grid-template-columns:190px minmax(0,1fr);gap:24px;padding:24px}.activity-footer{flex-direction:column;align-items:flex-start}#profile-page .profile-columns{grid-template-columns:minmax(0,1fr)}#profile-page .level-panel{display:none}}
@media(max-width:650px){.account-banner.profile-banner{grid-template-columns:1fr;padding:20px;gap:24px}.profile-person{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px 18px}.profile-person .profile-avatar{grid-column:1;grid-row:1/3;width:86px;height:86px;border-radius:14px;font-size:38px}.profile-person .profile-identity{grid-column:2;grid-row:1/3}.profile-person h1{font-size:26px!important;margin-top:0}.profile-person #avatar-upload-label{grid-column:1;grid-row:3;text-align:center;font-size:10px}.profile-person #edit-profile{grid-column:2;grid-row:3;justify-self:start}.activity-panel h2{font-size:21px!important}.activity-panel .section-heading{margin-bottom:16px}.activity-panel #activity-total{font-size:11px}.account-bar{flex-direction:column;align-items:flex-start}.account-sync-row{flex-wrap:wrap}#profile-page .profile-panel{padding:16px}#profile-page .recent-row{grid-template-columns:36px minmax(0,1fr);gap:9px}#profile-page .recent-row img{width:36px;height:52px;grid-row:1/3}#profile-page .recent-row em{grid-column:2;text-align:left;max-width:none}#profile-page .recent-row strong{font-size:12px}#profile-page .profile-stats{gap:8px}#profile-page .stat-card{padding:12px}.activity-scroll{margin-right:-3px}}
