/* Neutral controls and a compact personal collection. */
:root body *{scrollbar-color:#eae8e3 transparent}
:root body *::-webkit-scrollbar-thumb{background:#eae8e3;border-radius:8px}
:root body *::-webkit-scrollbar-track{background:transparent}
.home-toolbar{justify-content:flex-end}
.home-toolbar #search-form{width:min(620px,100%)}
#content>.library-toolbar:first-child{margin-top:24px}
:root body .app-header .header-account{gap:12px;padding:7px 12px;border-radius:14px}
:root body .app-header .header-profile-orbit{flex:0 0 40px;width:40px;height:40px;padding:2px;box-shadow:none}
:root body .app-header .header-account .avatar{width:36px;height:36px;min-width:36px;border-width:2px;font-size:21px}
:root body .app-header .header-profile-copy{gap:5px;line-height:1.25}
:root body .header-profile-name{font-size:15px;font-weight:650;letter-spacing:0}
:root body .header-profile-detail{display:block;font-size:12px;color:#c7c7c2;line-height:1.3}
:root body .header-profile-arrow{border:0;background:none;flex-basis:18px}
:root body .library-grid{align-items:stretch;gap:24px 18px}
:root body .library-card{display:flex;flex-direction:column;min-width:0;padding:0 0 8px;border:0;border-radius:14px;background:transparent;box-shadow:none;gap:0;transform:none}
:root body .library-card:hover{background:transparent;border:0;transform:none}
:root body .library-poster .poster-button{border:1px solid #ffffff16;border-radius:14px;overflow:hidden;box-shadow:0 5px 18px #0003}
:root body .library-poster .poster-button:hover{border-color:#ffffff60}
:root body .library-poster .poster-button .art{aspect-ratio:2/3}
:root body .library-card .card-title{font-family:inherit;font-size:17px!important;font-weight:600;line-height:1.4;min-height:2.8em;max-height:2.8em;margin:12px 0 7px;padding:0;letter-spacing:0;width:100%;color:var(--text)}
.library-card-meta{display:flex;align-items:center;gap:6px;margin-top:auto;min-width:0}
:root body .library-card .library-card-status{flex:1;min-width:0;margin:0;min-height:40px}
:root body .library-card .library-card-footer{display:flex;align-items:center;flex-wrap:nowrap;flex:0 0 auto;gap:5px;margin:0;min-height:40px;padding:0}
:root body .library-card .personal-rating:empty{display:none}
:root body .library-card .personal-rating{font-size:12px;padding:0;color:var(--muted)}
:root body .library-card .library-status-badge{font-family:inherit;font-size:12px;font-weight:500;line-height:1.35;padding:5px 8px 5px 10px;border-radius:7px;background:#202121;color:var(--text)}
:root body .library-card .library-status-badge.status-actual{background:linear-gradient(120deg,#212724,#222528) padding-box,linear-gradient(110deg,#a7c6bb,#e4e2d8 45%,#a3b8c6 70%,#a7c6bb) border-box;box-shadow:0 0 8px #cbd9cd12}
:root body .library-card .library-manage-button{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:9px;border:1px solid transparent;border-radius:10px;color:#c2c2bc;background:transparent}
:root body .library-card .library-manage-button:hover{background:#ffffff09;border-color:#ffffff20;color:var(--text)}
:root body .library-card .library-manage-button svg{width:20px;height:20px}
:root body .library-card .favorite-button{width:40px;height:40px;right:9px;top:9px;background:#141515d9;border-color:#ffffff35;box-shadow:0 3px 10px #0003}
:root body .library-card .favorite-button svg{width:19px;height:19px}
:root body .library-card .favorite-button.is-favorite{background:#eae8e3;color:#171817}
@media(min-width:621px){.room-rating{margin-inline-end:18px}}
@media(min-width:901px){.home-toolbar #search-form{width:min(620px,100%)}}
@media(max-width:620px),(max-width:900px) and (max-height:500px) and (pointer:coarse){
 :root body .app-header .header-account{max-width:176px;min-height:46px;height:46px;padding:4px 7px;gap:8px}
 :root body .app-header .header-profile-orbit{flex-basis:32px;width:32px;height:32px}
 :root body .app-header .header-account .avatar{width:28px;height:28px;min-width:28px;font-size:18px}
 :root body .app-header .header-profile-copy{gap:2px;max-width:116px}
 :root body .header-profile-name{font-size:13px}
 :root body .header-profile-detail{font-size:11px}
 :root body .header-profile-arrow{display:none}
 :root body .library-grid{gap:20px 12px}
 :root body .library-card .card-title{font-size:15px!important;margin-top:10px}
 :root body .library-card .library-status-badge{font-size:11px;padding:4px 6px 4px 8px}
 :root body .library-card .favorite-button{width:36px;height:36px;top:7px;right:7px}
 :root body .library-card .library-card-footer{gap:0}
 :root body .library-card .personal-rating{display:none}
 :root body .library-card .library-manage-button{width:36px;height:40px;padding:8px}
 .library-card-meta{gap:2px}
}

/* Keep card surfaces flat even when earlier theme selectors include element names. */
:root body .library-grid .library-card,:root body .library-grid .library-card:hover{background:transparent}
:root body :is(.home-rail,.library-tabs,.chat-thread,.detail-photo-strip,.episode-scroll){scrollbar-color:#eae8e3 transparent}
:root body .app-header .header-profile-arrow{display:none}
@media(min-width:901px) and (max-width:1150px){
 .app-header-inner{grid-template-columns:150px minmax(0,1fr) 200px}
 :root body .app-header .header-account{width:200px}
}

/* Larger profile portrait, aligned with the compact account panel. */
:root body .app-header .header-account{width:250px;height:56px;min-height:56px;padding:0 14px 0 0;gap:10px;border-radius:17px;overflow:visible}
:root body .app-header .header-profile-orbit{flex:0 0 68px;width:68px;height:68px;padding:4px;transform:translateX(-5px);margin-right:-3px;box-shadow:0 0 0 4px var(--bg)}
:root body .app-header .header-account .avatar{width:60px;height:60px;min-width:60px;border-width:4px;font-size:33px}
:root body .app-header .header-profile-copy{gap:4px;max-width:none}
:root body .header-profile-name{font-size:17px;font-weight:650}
:root body .header-profile-detail{font-size:13px}
@media(min-width:901px) and (max-width:1150px){
 .app-header-inner{grid-template-columns:150px minmax(0,1fr) 225px}
 :root body .app-header .header-account{width:225px}
 :root body .header-profile-name{font-size:16px}
 :root body .header-profile-detail{font-size:12px}
}
@media(min-width:621px) and (max-width:900px){
 :root body .app-header .header-account{width:238px;height:52px;min-height:52px}
 :root body .app-header .header-profile-orbit{flex-basis:60px;width:60px;height:60px;padding:3px}
 :root body .app-header .header-account .avatar{width:54px;height:54px;min-width:54px;font-size:30px}
}
@media(max-width:620px),(max-width:900px) and (max-height:500px) and (pointer:coarse){
 :root body .app-header .header-account{width:182px;max-width:182px;height:44px;min-height:44px;padding:0 8px 0 0;gap:7px;border-radius:13px}
 :root body .app-header .header-profile-orbit{flex-basis:48px;width:48px;height:48px;padding:3px;transform:translateX(-3px);margin-right:-2px;box-shadow:0 0 0 2px var(--bg)}
 :root body .app-header .header-account .avatar{width:42px;height:42px;min-width:42px;font-size:25px;border-width:3px}
 :root body .app-header .header-profile-copy{gap:2px}
 :root body .header-profile-name{font-size:13px}
 :root body .header-profile-detail{font-size:11px}
}
@media(max-width:360px){
 :root body .app-header .header-account{width:168px;max-width:168px}
 :root body .app-header .header-profile-orbit{flex-basis:44px;width:44px;height:44px}
 :root body .app-header .header-account .avatar{width:38px;height:38px;min-width:38px;font-size:23px}
}

:root body :is(.avatar,.viewer-avatar,.profile-portrait) .profile-avatar-art{display:block;width:78%;height:78%;flex-shrink:0}
:root body .avatar-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;max-width:520px}
:root body .avatar-option>span{width:100%;height:auto;aspect-ratio:1;min-height:56px;border-radius:16px}
:root body .avatar-option .profile-avatar-art{width:72%;height:72%;display:block}
@media(max-width:620px){:root body .avatar-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:300px}:root body .avatar-option>span{min-height:64px}}

/* Avatar and account panel share one silhouette and interaction state. */
:root body .app-header .header-account{
 --profile-edge:#ffffff32;--profile-surface:linear-gradient(120deg,#252627,#191a1b);
 background:transparent;border-color:transparent;box-shadow:none;
 filter:drop-shadow(0 0 .65px var(--profile-edge));
 transition:filter .16s ease;
}
:root body .app-header .header-account::before{
 content:"";position:absolute;inset:0;z-index:0;border-radius:inherit;
 background:var(--profile-surface);pointer-events:none;
}
:root body .app-header .header-profile-orbit{
 position:relative;z-index:2;box-shadow:none;
 background:conic-gradient(from -90deg,var(--accent) var(--profile-progress),#303131 0);
}
:root body .app-header .header-profile-copy{position:relative;z-index:1}
:root body .app-header .header-account:is(:hover,[aria-current=page]){
 --profile-edge:#eeece2;--profile-surface:linear-gradient(120deg,#303131,#222323);
 background:transparent;border-color:transparent;box-shadow:none;
}
:root body .app-header .header-account:active{
 --profile-edge:#ffffff;--profile-surface:linear-gradient(120deg,#3c3d3c,#2e302e);
 background:transparent;border-color:transparent;box-shadow:none;
 filter:drop-shadow(0 0 1px var(--profile-edge));
}
:root body .app-header .header-account:is(:hover,:active,[aria-current=page]) .avatar{
 background:#41423e;border-color:#292b28;
}
@media(prefers-reduced-motion:reduce){:root body .app-header .header-account{transition:none}}
:root[data-motion=reduced] body .app-header .header-account{transition:none}

/* Profile: a single graphite space for identity, collection and preferences. */
:root body .profile-tabs{display:flex;gap:6px;border-bottom:1px solid #ffffff14;padding:0 0 12px;margin:0}
:root body .profile-tabs button{border:1px solid transparent;border-radius:12px;background:transparent;padding:12px 20px;font-size:15px;color:#aaa9a4;min-height:46px}
:root body .profile-tabs button:hover{background:#ffffff08;color:#eeece5}
:root body .profile-tabs button[aria-current=page]{background:#272827;border-color:#ffffff24;color:#f1eee6}
:root body .profile-tabs button:after{display:none}
:root body .profile-redesign{padding-top:24px}
:root body .profile-redesign .viewer-hero{min-height:270px;padding:40px;grid-template-columns:minmax(0,1fr) 270px;align-items:center;border-radius:24px;gap:32px;background:radial-gradient(ellipse at 75% -30%,#ffffff0f,transparent 65%),linear-gradient(115deg,#252725,#181a19);border-color:#ffffff20}
:root body .profile-redesign .cover-nebula{background:radial-gradient(ellipse at 80% -15%,#a399b527,transparent 70%),linear-gradient(115deg,#28272c,#1b1b1e)}
:root body .profile-redesign .cover-ember{background:radial-gradient(ellipse at 80% -15%,#bda17b25,transparent 70%),linear-gradient(115deg,#2a2824,#1c1b19)}
:root body .profile-redesign .viewer-cover-art{opacity:.65}
:root body .profile-redesign .viewer-cover-art i{border-color:#ece7d812}
:root body .profile-redesign .viewer-identity{gap:28px}
:root body .profile-redesign .viewer-avatar{width:120px;height:120px;border-radius:50%;background:linear-gradient(145deg,#3b3d37,#282a27);color:#ebe6d9;border:1px solid #ffffff30;box-shadow:0 0 0 7px #ffffff04;margin:0;transition:box-shadow .18s ease}
:root body .profile-redesign .viewer-avatar:hover{box-shadow:0 0 0 7px #ffffff0d;border-color:#ede9dc}
:root body .profile-redesign .viewer-kicker{font-size:11px;letter-spacing:1.6px;color:#aaa99f}
:root body .profile-redesign .viewer-identity h1{font-size:clamp(28px,3.2vw,46px);letter-spacing:-1.2px;margin:10px 0 14px;line-height:1.15;color:#f0ede5}
:root body .profile-redesign .viewer-identity p{color:#bcbab3;font-size:15px;max-width:440px;margin-bottom:20px}
:root body .profile-redesign .viewer-identity .button{background:#ffffff06;color:#e9e5dc;border-color:#ffffff25;border-radius:11px;font-size:13px;padding:11px 16px}
:root body .profile-redesign .viewer-level{background:#10121150;border-color:#ffffff16;padding:23px;border-radius:17px;backdrop-filter:none;max-width:none}
:root body .profile-redesign .viewer-level-number{font-size:54px;font-weight:500;color:#eee9dd;letter-spacing:-2px}
:root body .profile-redesign .viewer-level-heading b{font-size:15px;color:#dedbd2}
:root body .profile-redesign .viewer-level-heading div>span,:root body .profile-redesign .viewer-xp-label{color:#b1afa6;font-size:12px}
:root body .profile-redesign progress::-webkit-progress-value{background:#ded9ca}
:root body .profile-redesign progress::-moz-progress-bar{background:#ded9ca}
:root body .profile-redesign .viewer-level progress{height:5px;margin-top:22px}
:root body .profile-xp-help{font-size:12px;color:#a5a49b;margin-top:19px;text-decoration:underline;text-decoration-color:#ffffff28;text-underline-offset:4px}
:root body .profile-xp-help:hover{color:#eeece5}
:root body .profile-redesign .viewer-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;padding:0;margin:20px 0 32px;border:1px solid #ffffff16;background:#ffffff12;border-radius:17px;overflow:hidden}
:root body .profile-redesign .viewer-summary>div{display:flex;flex-direction:column;gap:9px;background:#1b1d1c;padding:23px 26px;min-width:0}
:root body .profile-redesign .viewer-summary b{font-size:27px;font-weight:550;letter-spacing:-.6px;line-height:1.2;margin:0;color:#eeebe2}
:root body .profile-redesign .viewer-summary b small{font-size:17px;font-weight:400;color:#a5a59b}
:root body .profile-redesign .viewer-summary span{font-size:13px;color:#aaa99f}
:root body .profile-feature-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;margin-bottom:32px}
:root body .profile-redesign .section-heading{margin-bottom:22px;gap:14px}
:root body .profile-redesign .section-heading h2{font-size:22px;letter-spacing:-.4px}
:root body .profile-redesign .text-button{font-size:13px;color:#bdbbb2}
:root body .profile-redesign .viewer-showcase{margin:0;min-width:0}
:root body .profile-redesign .viewer-showcase-grid{gap:14px}
:root body .profile-redesign .viewer-title{background:#1c1e1c;border:1px solid #ffffff14;padding:8px 8px 13px;border-radius:14px;overflow:hidden;transition:border-color .15s,background .15s}
:root body .profile-redesign .viewer-title:hover{background:#252723;border-color:#ffffff45}
:root body .profile-redesign .viewer-title .art{border:0;border-radius:9px;aspect-ratio:2/3}
:root body .profile-redesign .viewer-title b{font-size:15px;line-height:1.4;margin:12px 4px 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
:root body .profile-redesign .viewer-title>span{font-size:11px;color:#aaa89f;margin:0 4px;display:block}
:root body .profile-highlights{background:#1b1d1b;border:1px solid #ffffff14;border-radius:18px;padding:21px;align-self:start;min-width:0}
:root body .profile-highlights .section-heading h2{font-size:18px}
:root body .profile-highlights .section-heading{margin-bottom:18px}
:root body .profile-highlights .viewer-pins{display:grid;grid-template-columns:1fr;gap:10px;margin:0}
:root body .profile-highlights .viewer-pins>button{padding:10px;background:#ffffff03;border-color:#ffffff13;gap:10px}
:root body .profile-highlights .viewer-pins>button:hover{background:#ffffff08;border-color:#ffffff35}
:root body .profile-highlights .viewer-pins .viewer-badge{width:39px;height:44px}
:root body .profile-highlights .viewer-pins>button>span:nth-child(2){font-size:13px}
:root body .profile-badges-empty{display:flex;align-items:center;gap:16px;padding:10px 0;color:#a6a69d}
:root body .profile-badges-empty p{font-size:14px;line-height:1.6;margin:0}
:root body .profile-next-badge{display:block;text-align:left;width:100%;padding-top:20px;margin-top:20px;border-top:1px solid #ffffff14}
:root body .profile-next-badge>span{font-size:12px;color:#a8a69c}
:root body .profile-next-badge>b{display:block;font-size:15px;font-weight:550;margin:8px 0 14px}
:root body .profile-next-badge progress{width:100%;height:4px;display:block}
:root body .profile-next-badge small{display:block;margin-top:10px;color:#aaa89e;font-size:12px}
:root body .profile-redesign .viewer-empty{min-height:215px;border:1px dashed #ffffff22;background:#ffffff02;flex-wrap:wrap}
:root body .profile-redesign .viewer-empty h3{font-size:19px}
:root body .profile-redesign .viewer-empty p{font-size:14px;color:#a8a89f}
:root body .profile-redesign .viewer-empty>span>svg{color:#ccc8bc}
:root body .profile-redesign .viewer-badge-grid{gap:12px}
:root body .profile-redesign .viewer-achievement{padding:20px 16px;background:#1b1d1c;border-color:#ffffff14;gap:15px}
:root body .profile-redesign .viewer-achievement.earned{background:linear-gradient(120deg,#2d2e28,#20221e);border-color:#d6ccb82e}
:root body .profile-redesign .viewer-achievement:hover{border-color:#d8d4c666;background:#292b26}
:root body .profile-redesign .viewer-achievement-info b{font-size:15px}
:root body .profile-redesign .viewer-achievement-info>span{font-size:12px;color:#aaa99f}
:root body .viewer-badge{background:#34362f;color:#aaa99e}
:root body .viewer-badge:before{background:#20221d}
:root body .viewer-badge.unlocked{background:linear-gradient(145deg,#e9e0c9,#8b856d);color:#f2e9ce;filter:none}
:root body .profile-redesign .viewer-rules{padding:19px 22px;border:1px solid #ffffff14;background:#ffffff02;border-radius:14px}
:root body .profile-redesign .viewer-rules summary{font-size:14px;color:#bab8ae}
:root body .profile-redesign .viewer-rules p{font-size:14px}
:root body .profile-redesign .profile-signin{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:17px 20px;margin-top:18px;background:#ffffff03;border:1px solid #ffffff16;border-radius:14px}
:root body .profile-redesign .profile-signin>span{flex:1;min-width:180px;font-size:14px;color:#bbb9af}
:root body .profile-redesign .profile-signin .button{font-size:13px;padding:10px 14px}
:root body #viewer-form{max-width:100%}
:root body .modal:has(#viewer-form){width:620px;max-width:calc(100vw - 28px);background:#1b1d1b;border:1px solid #ffffff26;border-radius:22px;padding:28px}
:root body #viewer-form .viewer-cover-picker span{height:86px;border-radius:12px;color:#e7e2d6;font-size:13px}
:root body #viewer-form .cover-midnight{background:linear-gradient(130deg,#343933,#161a16)}
:root body #viewer-form .cover-nebula{background:linear-gradient(130deg,#3c3946,#1d1c23)}
:root body #viewer-form .cover-ember{background:linear-gradient(130deg,#453e30,#211d18)}
:root body #viewer-form .viewer-cover-picker input:checked+span{border-color:#e4ded0}
:root body #viewer-form legend{font-size:15px;color:#dedbd0}
:root body #viewer-form .viewer-choice-list{border:1px solid #ffffff18;border-radius:12px;padding:5px;background:#121412;max-height:220px}
:root body #viewer-form .viewer-choice-list label{padding:11px 10px;border-radius:8px}
:root body #viewer-form .viewer-choice-list label:has(input:checked){background:#ffffff0b}
:root body #viewer-form .viewer-choice-list label:hover{background:#ffffff06}
:root body #viewer-form input{accent-color:#ded9cc}
:root body #viewer-form .choice-unavailable{opacity:.45}
:root body #viewer-form input[type=search]{width:100%;background:#121412;border:1px solid #ffffff22;border-radius:10px;padding:12px 14px;min-height:44px;font-size:14px}
:root body #viewer-form>button[type=submit]{position:sticky;bottom:0;background:#e7e2d6;color:#20211c;border-color:#e7e2d6;min-height:46px;box-shadow:0 -8px 20px #1b1d1b}
:root body .profile-settings-page .page-intro,:root body .profile-statistics-page .page-intro{padding:25px 0 0;margin:0}
:root body .profile-settings-page .page-intro h1,:root body .profile-statistics-page .page-intro h1{font-size:30px;letter-spacing:-.6px;margin:0}
:root body .profile-settings-page .settings-card,:root body .profile-statistics-page .settings-card{background:#1b1d1b;border-color:#ffffff18;border-radius:18px}
:root body .profile-settings-page .account-layout{grid-template-columns:minmax(0,1fr) 275px;gap:24px}
:root body .profile-settings-page .settings-heading h2{font-size:22px}
:root body .profile-settings-page .setting-label{font-size:14px;color:#d5d1c6}
:root body .profile-settings-page .setting-field>small{font-size:12px;color:#aaa89e}
:root body .profile-settings-page .setting-toggle b{font-size:14px;line-height:1.5}
:root body .profile-settings-page .setting-toggle small{font-size:12px}
:root body .profile-settings-page .setting-toggle input{appearance:none;width:42px;height:24px;background:#41443b;border:1px solid #ffffff20;border-radius:20px;position:relative;transition:background .15s}
:root body .profile-settings-page .setting-toggle input:before{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#b8b8af;transition:transform .15s}
:root body .profile-settings-page .setting-toggle input:checked{background:#dedacd}
:root body .profile-settings-page .setting-toggle input:checked:before{transform:translateX(18px);background:#35382e}
:root body .profile-setting-group{border-top:1px solid #ffffff15;margin:0;padding:0}
:root body .profile-setting-group>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:16px;font-weight:550;padding:23px 0;cursor:pointer;color:#e1ded3}
:root body .profile-setting-group>summary::-webkit-details-marker{display:none}
:root body .profile-setting-group>summary:after{content:"";width:8px;height:8px;border-right:1.5px solid #b2b0a6;border-bottom:1.5px solid #b2b0a6;transform:rotate(45deg);margin-right:5px;transition:transform .18s;flex-shrink:0}
:root body .profile-setting-group[open]>summary:after{transform:rotate(225deg)}
:root body .profile-setting-body{padding:0 0 8px}
:root body .profile-security{border:0}
:root body .profile-security>summary{padding:0}
:root body .profile-security[open]>summary{padding-bottom:22px}
:root body .profile-settings-page .account-aside .profile-setting-group{border:0}
:root body .profile-settings-page .account-aside .profile-setting-group>summary{padding:0;font-size:15px}
:root body .profile-settings-page .account-aside .profile-setting-group[open] .profile-setting-body{padding-top:18px}
:root body .profile-settings-page .profile-portrait{width:88px;height:88px;border-radius:50%;background:#32352d;border-color:#ffffff24;color:#e5e0d3}
:root body .profile-settings-page .profile-summary h2{font-size:22px}
:root body .profile-settings-page .profile-summary>p{font-size:13px}
:root body .profile-settings-page .settings-save{position:sticky;bottom:0;background:#1b1d1b;padding:20px 0 4px;z-index:1;flex-direction:row;align-items:center}
:root body .profile-settings-page .settings-save p{font-size:12px}
:root body .profile-settings-page .account-aside p{font-size:13px;color:#aaa89f;line-height:1.7}
:root body .profile-statistics-page .account-stats{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:24px}
:root body .profile-statistics-page .account-stats>div{background:#1b1d1b;border:1px solid #ffffff18;border-radius:16px;padding:20px}
:root body .profile-statistics-page .account-stats span{font-size:13px;line-height:1.5}
:root body .profile-statistics-page .account-stats strong{font-size:36px;color:#e6e0d2}
:root body .profile-statistics-page .account-stats small{font-size:11px}
@media(max-width:1150px){
 :root body .profile-redesign .viewer-hero{padding:28px;grid-template-columns:minmax(0,1fr) 225px;gap:24px}
 :root body .profile-redesign .viewer-avatar{width:94px;height:94px}
 :root body .profile-redesign .viewer-identity{gap:20px}
 :root body .profile-feature-grid{grid-template-columns:minmax(0,1fr) 230px;gap:22px}
 :root body .profile-redesign .viewer-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 :root body .profile-settings-page .account-layout{grid-template-columns:minmax(0,1fr) 240px}
 :root body .profile-statistics-page .account-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 :root body .profile-redesign .viewer-hero{grid-template-columns:1fr;gap:26px;padding:25px}
 :root body .profile-redesign .viewer-level{max-width:none;display:block}
 :root body .profile-redesign .viewer-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 :root body .profile-feature-grid{grid-template-columns:1fr}
 :root body .profile-highlights{padding:20px}
 :root body .profile-settings-page .account-layout{grid-template-columns:1fr}
 :root body .profile-settings-page .account-aside{grid-template-columns:1fr}
 :root body .profile-settings-page .profile-summary{display:none}
 :root body .profile-statistics-page .account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 :root body .profile-tabs{gap:3px}
 :root body .profile-tabs button{padding:10px 13px;font-size:14px}
 :root body .profile-redesign{padding-top:18px}
 :root body .profile-redesign .viewer-hero{padding:23px 20px;border-radius:19px}
 :root body .profile-redesign .viewer-identity{display:flex;gap:18px;align-items:center}
 :root body .profile-redesign .viewer-avatar{width:76px;height:76px;box-shadow:0 0 0 5px #ffffff04}
 :root body .profile-redesign .viewer-identity h1{font-size:27px;letter-spacing:-.7px}
 :root body .profile-redesign .viewer-kicker{font-size:9px;letter-spacing:1px}
 :root body .profile-redesign .viewer-identity p{font-size:13px}
 :root body .profile-redesign .viewer-identity .button{padding:9px 10px;font-size:12px}
 :root body .profile-redesign .viewer-level{padding:18px}
 :root body .profile-redesign .viewer-level-number{font-size:44px}
 :root body .profile-redesign .viewer-summary>div{padding:20px}
 :root body .profile-redesign .viewer-summary b{font-size:24px}
 :root body .profile-redesign .viewer-summary span{font-size:12px}
 :root body .profile-redesign .section-heading h2{font-size:21px}
 :root body .profile-redesign .viewer-badge-grid{grid-template-columns:1fr}
 :root body .profile-redesign .viewer-empty{padding:23px;min-height:220px}
 :root body .profile-settings-page .settings-save{flex-direction:column;align-items:stretch;gap:12px}
 :root body .profile-settings-page .settings-save .button{width:100%}
 :root body .modal:has(#viewer-form){padding:22px 18px;border-radius:18px}
}

:root body .profile-redesign .filters,:root body .profile-statistics-page .filters{background:#22241f;border:1px solid #ffffff18}
:root body .profile-redesign .filters button,:root body .profile-statistics-page .filters button{color:#b7b4aa}
:root body .profile-redesign .filters button.selected,:root body .profile-statistics-page .filters button.selected{background:#e1dccf;color:#25261f}
:root body .profile-statistics-page .distribution-legend>span{white-space:normal;line-height:1.5;align-items:baseline}
:root body .profile-statistics-page .distribution-legend b{padding-left:5px}
:root body .profile-statistics-page .distribution-body{gap:18px;max-width:none}
:root body .profile-redesign .section-heading{margin-top:0}
:root body .profile-settings-page #profile-form>.settings-heading .quiet-details{border:0;padding:0;margin:10px 0 0}
:root body .profile-settings-page #profile-form>.settings-heading .quiet-details summary{font-size:12px;color:#aaa79c}
@media(max-width:420px){
 :root body .profile-statistics-page .distribution-body{flex-direction:column;align-items:stretch;gap:22px}
 :root body .profile-statistics-page .collection-ring{align-self:center;width:108px;height:108px}
 :root body .profile-statistics-page .distribution-legend>span{font-size:12px}
}
