/* Account sections are separate destinations; drafts and live channels retain their DOM. */
body.wt-account-center::before{background:linear-gradient(180deg,#07152155,#071521b8),url('/assets/refresh/generated/cartoon-world-v3.webp') center top/cover no-repeat}
body.wt-account-center::after{background:linear-gradient(90deg,#06142099,#06142055)}
.wt-account-center .wrap{width:min(1440px,calc(100% - 48px))}
.wt-account-center .wt-account-welcome{padding:24px 28px;margin:20px 0 16px;gap:20px}
.wt-account-center .wt-account-welcome h1{font-size:clamp(28px,3vw,40px);margin:5px 0 8px}
.wt-account-center .wt-account-welcome p{margin:0;font-size:14px}
.wt-account-center .account-dashboard{gap:10px;margin:0}
.wt-account-center .dashboard-card{min-height:72px;padding:13px 16px;gap:12px;display:flex;align-items:center}
.wt-account-center .dashboard-card b{font-size:25px;line-height:1.1}
.wt-account-center .dashboard-card>span{display:grid;gap:4px;text-align:left}
.wt-account-center .dashboard-card>svg{flex-shrink:0;color:#e7c98c}
.wt-account-center .dashboard-card span span{font-size:12px;line-height:1.35}
.wt-account-center .presence-definition{font-size:11px;margin:9px 2px 22px;color:#adbec6}
.account-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}
.account-tabs{display:grid;gap:7px;padding:12px;background:linear-gradient(150deg,#12313be8,#0b1c2beb);border:1px solid #d5bf7d38;border-radius:20px;position:sticky;top:18px;box-shadow:0 18px 45px #0003}
body.wt-refresh .account-tab{position:relative;display:flex;align-items:center;gap:11px;padding:14px 12px;min-height:64px;text-decoration:none;border:1px solid transparent;border-radius:12px;color:#c6d5da;background:transparent;transition:background .16s,border-color .16s}
.account-tab>svg{flex-shrink:0;width:21px;height:21px;color:#9dcbbd}
.account-tab>span:not(.account-tab-count){display:grid;gap:4px;min-width:0}
.account-tab strong{font-size:13px;line-height:1.35}
.account-tab small{font-size:10px;line-height:1.4;color:#aec0c7;font-weight:500}
body.wt-refresh .account-tab:hover{background:#28474f99;border-color:#d5bf7d44}
body.wt-refresh .account-tab[aria-selected=true]{color:#fff0c5;background:linear-gradient(110deg,#d7b66a2e,#65b9a31a);border-color:#ecd08b80;box-shadow:inset 3px 0 #eacb85}
.account-tab[aria-selected=true]>svg{color:#eed08b}
.account-tab-count{position:absolute;right:7px;top:7px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#b44059;color:#fff;font-size:10px;font-weight:800;border:1px solid #f99b9b88}
.account-public-link{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;padding:15px 0 4px;text-decoration:none;border-top:1px solid #b3c5bf26;margin-top:6px}
.account-tab-content,.account-tab-panel{min-width:0}
.account-tab-panel{display:grid;gap:18px;scroll-margin-top:20px;outline:none}
.account-tab-panel[hidden],.account-tab-count[hidden]{display:none!important}
.wt-account-center .account-tab-panel>.panel{margin:0;padding:24px;border-radius:20px;background:linear-gradient(145deg,#102633f5,#0a1b29f5);border:1px solid #d9c38a35;min-width:0}
.account-section-heading{margin:0 0 22px;border-bottom:1px solid #aec0c726;padding-bottom:18px}
.account-section-heading h2{font-size:28px;margin:0 0 7px}
.account-section-heading p{font-size:13px;color:#b9cbd1;line-height:1.6;margin:0;max-width:65ch}
.account-profile-layout{grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);align-items:start}
.wt-account-center .account-profile-summary{position:sticky;top:18px}
.wt-account-center .account-profile-summary .profile-panel-nick{font-size:28px;overflow-wrap:anywhere}
.wt-account-center .account-profile-summary .avatar-trigger{margin:18px auto 8px}
.wt-account-center .account-profile-summary .profile-avatar-frame{width:126px;height:126px}
.wt-account-center .account-profile-summary .stats-grid{grid-template-columns:1fr;gap:8px}
.wt-account-center .account-profile-summary .stat-card{padding:12px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;font-size:12px}
.wt-account-center .account-profile-summary .stat-card b{font-size:22px}
.wt-account-center .account-profile-summary .stat-card small{grid-column:1/-1}
.wt-account-center .account-profile-summary .muted{font-size:12px;line-height:1.6}
.account-profile-editor .settings-group+.settings-group{margin-top:24px;padding-top:24px;border-top:1px solid #aec0c733}
.wt-account-center .mailbox{grid-template-columns:minmax(210px,.8fr) minmax(0,1.6fr);gap:20px;align-items:start}
.wt-account-center .mailbox .chat-shell{min-width:0}
.wt-account-center .mailbox .chat-messages{min-height:300px}
.account-style-intro p{max-width:60ch;line-height:1.7;color:#bfced1}
.account-style-art{height:200px;margin:22px 0;border-radius:14px;background:linear-gradient(90deg,#081a2a33,#081a2a11),url('/assets/refresh/generated/cartoon-world-v3.webp') center 40%/cover}
.wt-account-center .wt-settings-nav{margin:0 0 22px}
.wt-account-center .wt-settings-nav button{flex:1}
.wt-account-center #account-panel-progress .achievements-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
@media(max-width:1100px){.account-workspace{grid-template-columns:190px minmax(0,1fr);gap:16px}.account-profile-layout{grid-template-columns:1fr}.wt-account-center .account-profile-summary{position:static}.wt-account-center .account-profile-summary .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wt-account-center .account-profile-summary .stat-card{display:grid;grid-template-columns:1fr}.wt-account-center .account-profile-summary .stat-card small{grid-column:auto}}
@media(max-width:800px){.wt-account-center .wrap{width:calc(100% - 28px)}.account-workspace{grid-template-columns:1fr;gap:14px}.account-tabs{position:static;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;border-radius:16px}.account-tabs[aria-orientation]{scroll-margin-top:12px}body.wt-refresh .account-tab{display:flex;flex-direction:column;justify-content:center;text-align:center;gap:7px;padding:11px 6px;min-height:77px}.account-tab strong{font-size:11px}.account-tab small{display:none}.account-public-link{grid-column:1/-1;font-size:12px;padding:10px 0 3px}.wt-account-center .account-tab-panel>.panel{padding:19px}.wt-account-center .wt-account-welcome{padding:20px;margin-top:12px}.wt-account-center .account-dashboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wt-account-center .dashboard-card{min-height:64px;padding:12px;gap:9px}.wt-account-center .dashboard-card>svg{width:18px;height:18px}.wt-account-center .dashboard-card span span{font-size:10px}.wt-account-center .presence-definition{line-height:1.55;margin-bottom:16px}.wt-account-center .mailbox{grid-template-columns:1fr}.account-section-heading h2{font-size:25px}}
@media(max-width:390px){.wt-account-center .wrap{width:calc(100% - 20px)}.wt-account-center .dashboard-card{padding:10px 8px}.wt-account-center .account-profile-summary .stats-grid{grid-template-columns:1fr}.wt-account-center .account-tab-panel>.panel{padding:16px}.account-tab strong{font-size:10px}.wt-account-center .wt-account-welcome{padding:17px}}
@media(prefers-reduced-motion:reduce){.account-tab{transition:none}}
