.account-section-title,.settings-view svg,.profile-hero svg,.profile-shortcuts svg,.profile-tabs svg,.profile-stat svg,.friend-share svg,.person-actions svg,.sidebar-account-footer svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.sidebar-account-footer{margin-top:auto;padding-top:18px;border-top:1px solid var(--border);display:grid;gap:6px}
.sidebar-account-footer .nav-button{font-size:12px;padding:11px 14px}
.sidebar-account-footer .nav-button:last-child{color:var(--muted)}
.sidebar-account-footer .nav-button.current:last-child{color:var(--amber)}
.account-section-title{display:flex;align-items:center;gap:10px}
.account-section-title svg{width:21px;height:21px;flex-shrink:0;color:var(--amber)}
.account-section-copy,.settings-private-note{font-size:12px;color:var(--muted);line-height:1.75}
.profile-hero{position:relative;isolation:isolate;overflow:hidden;min-height:250px;border-radius:20px;border:1px solid #65756066;padding:38px;margin:0 0 18px;align-items:center;gap:26px;background:#202926}
.profile-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;z-index:-2;opacity:.42;filter:saturate(.8)}
.profile-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,#111917e6,#16201add 47%,#17211a55),linear-gradient(0deg,#0b140ab5,transparent)}
.profile-hero #profile-avatar{width:108px;height:108px;font-size:38px;border-radius:28px;box-shadow:0 8px 40px #0006}
.profile-hero>.profile-identity{min-width:0;flex:1}
.profile-kicker{color:#d7bd83!important;font-size:9px!important;letter-spacing:.18em;margin:0 0 12px!important}
.profile-hero #profile-handle{font-size:11px;color:#d4d4b6}
.profile-hero #profile-name{font-size:clamp(30px,3vw,45px);line-height:1.15;letter-spacing:-1.1px;max-width:none;overflow-wrap:anywhere;margin:5px 0 12px}
.profile-hero #profile-bio{max-width:450px;margin:0 0 13px;color:#d6ddd0;font-size:12px;overflow-wrap:anywhere}
.profile-hero-actions{max-width:260px;width:100%;display:flex;flex-direction:column;gap:8px}
.profile-hero-actions .button,.settings-heading .button,.settings-card .button,.friend-share .button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.profile-hero-actions svg,.settings-heading svg,.settings-card .button svg,.friend-share svg,.person-actions svg{width:17px;height:17px;flex-shrink:0}
.profile-admin-link{position:absolute;right:15px;top:12px;font-size:10px;padding:5px 8px;min-height:28px}
.account-state{display:inline-flex;align-items:center;gap:7px;font-size:10px;border:1px solid #abc58244;color:#bddb9e;background:#344b261a;border-radius:30px;padding:5px 9px}
.account-state:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.account-state[data-pending=true]{color:var(--amber);border-color:#e9b35944;background:#7b62271a}
.profile-title{margin:8px 0;font-size:11px;color:var(--amber)}
.profile-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.profile-shortcut{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);text-align:left;gap:5px 12px;border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:12px;padding:18px;cursor:pointer}
.profile-shortcut>svg{width:22px;height:22px;grid-row:1/3;color:var(--amber);align-self:center}
.profile-shortcut>span{font-size:13px;font-weight:600}
.profile-shortcut>small{font-size:10px;color:var(--muted);line-height:1.5}
.profile-shortcut:hover{border-color:#8b795255;background:#eeb97108}
.profile-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:24px}
.profile-stat{position:relative;min-width:0;border-radius:11px;background:transparent;border:1px solid var(--border);padding:16px 12px;text-align:left}
.profile-stat svg{width:16px;height:16px;color:var(--muted);display:block;margin-bottom:12px}
.profile-stat strong{font-size:24px;font-weight:600;line-height:1.2;display:block;color:var(--text)}
.profile-stat>span{display:block;margin-top:7px;font-size:10px;line-height:1.5;color:var(--muted)}
#profile-view>.profile-tabs{display:flex;gap:7px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:26px}
.profile-tabs [data-profile]{display:flex;align-items:center;gap:8px;min-height:42px;flex-shrink:0;padding:10px 14px;border-radius:9px}
.profile-tabs [data-profile]>svg{width:17px;height:17px}
.friends-header{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:22px}
.friends-header h2{margin:0 0 12px;font-size:23px}
.friends-header .account-section-copy{max-width:510px;margin:0}
.friend-share{display:flex;gap:8px;align-items:center;flex-wrap:wrap;max-width:330px}
.friend-share input{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:10px;color:var(--text);width:100%;font-size:12px;min-width:0}
.friends-columns{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px;align-items:start}
.friends-card{border:1px solid var(--border);background:var(--panel);border-radius:14px;padding:24px;min-width:0}
.friends-card h2{font-size:18px;margin-top:0;margin-bottom:18px}
.friends-card h2:not(:first-child){border-top:1px solid var(--border);padding-top:24px;margin-top:25px}
.friends-card .person-row{background:transparent;padding:14px 0;gap:12px;flex-wrap:wrap;align-items:center}
.person-row>div:not(.person-actions){flex:1;min-width:110px;overflow-wrap:anywhere}
.person-row .person-avatar{width:40px;height:40px;font-size:14px;border-radius:12px}
.person-actions{display:flex;gap:6px;flex-wrap:wrap}
.person-actions .button{display:flex;gap:6px;align-items:center;justify-content:center}
.friend-verification-note{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px;border:1px solid #e5b67255;border-radius:10px;background:#e5b67209;color:#e3c58c;font-size:12px;line-height:1.6;margin-bottom:20px}
.settings-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 28px}
.settings-heading h1{font-size:36px;letter-spacing:-1px;margin:7px 0 10px}
.settings-heading p:not(.eyebrow){font-size:13px;color:var(--muted);line-height:1.65;margin:0}
.account-settings-layout{display:grid;grid-template-columns:220px minmax(0,780px);gap:28px;align-items:start}
.settings-navigation{position:sticky;top:100px;display:grid;gap:6px}
.settings-nav-button{display:flex;align-items:center;gap:10px;min-height:46px;padding:12px 14px;border:1px solid transparent;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer;text-align:left;border-radius:9px}
.settings-nav-button>svg{width:19px;height:19px;flex-shrink:0}
.settings-nav-button[aria-current=page]{color:var(--amber);border-color:#d5b16c33;background:#c5a5640b}
.settings-panel{display:grid;gap:20px;min-width:0}
.settings-card{padding:27px;background:var(--panel);border:1px solid var(--border);border-radius:14px;min-width:0}
.settings-card h2{margin:0 0 18px;font-size:20px}
.settings-card>label{margin:16px 0}
.settings-card .private-email{display:block;font-size:14px;overflow-wrap:anywhere;margin:16px 0 12px}
.settings-email .account-state{margin:0 0 8px}
.settings-card .small-copy{font-size:11px;line-height:1.7;color:var(--muted)}
.settings-private-note{padding:10px 12px;background:#d3b17a08;border-radius:8px;font-size:11px}
.settings-card .form-message{font-size:12px;margin-bottom:0;line-height:1.6}
.preference-toggle{display:grid;grid-template-columns:22px minmax(0,1fr) 40px;gap:15px;align-items:center;border-top:1px solid var(--border);padding:19px 0;cursor:pointer}
.preference-toggle>svg{width:21px;height:21px;color:var(--muted)}
.preference-toggle strong{display:block;font-size:13px;color:var(--text)}
.preference-toggle small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:5px}
.preference-toggle input{appearance:none;background:#424844;border:1px solid #626961;border-radius:20px;width:38px;height:23px;margin:0;cursor:pointer;position:relative}
.preference-toggle input:before{content:'';position:absolute;width:15px;height:15px;border-radius:50%;background:#c9d0c1;top:3px;left:3px;transition:transform .15s}
.preference-toggle input:checked{background:var(--amber);border-color:var(--amber)}
.preference-toggle input:checked:before{transform:translateX(15px);background:#24251c}
html[data-contrast=high]{--muted:#cad2c6;--border:#87947d;--text:#fbfff6;--panel:#0d130f;--panel-light:#1f2d23;--amber:#ffcf80;--lime:#d7f59e}
html[data-contrast=high] :is(.small-copy,.empty-state,.profile-stat>span,.puzzle-card p,.person-row small,.sidebar-caption){color:var(--muted)!important}
html[data-contrast=high] :is(button,input,select,textarea){border-color:#7d8b73}
html[data-motion=reduced] *,html[data-motion=reduced] *:before,html[data-motion=reduced] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:1150px){.profile-hero{padding:26px;gap:20px}.profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.account-settings-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}}
@media(max-width:760px){.profile-hero{padding:27px 22px;display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px;margin-bottom:14px;min-height:0}.profile-hero #profile-avatar{width:76px;height:76px;font-size:27px;border-radius:21px}.profile-hero>.profile-identity{grid-column:2}.profile-hero #profile-name{font-size:29px;letter-spacing:-.5px}.profile-kicker{font-size:8px!important;letter-spacing:.12em}.profile-hero #profile-bio{font-size:11px}.profile-hero-actions{max-width:none;grid-column:1/-1;flex-direction:row}.profile-hero-actions .button{flex:1;font-size:11px;min-height:44px;padding:10px 8px}.profile-shortcuts{gap:8px}.profile-shortcut{padding:14px 11px;grid-template-columns:1fr;gap:6px}.profile-shortcut>svg{grid-row:auto;width:20px;height:20px}.profile-shortcut>span{font-size:11px}.profile-shortcut>small{font-size:9px}.profile-stat{padding:13px}.profile-stat strong{font-size:23px}.profile-tabs [data-profile]{font-size:11px;padding:10px 11px}.friends-header{display:block}.friends-header h2{font-size:21px}.friend-share{max-width:none;margin-top:18px}.friend-share input{flex:1;width:120px}.friend-share .button{min-height:43px}.friends-columns{grid-template-columns:1fr;gap:16px}.friends-card{padding:20px}.friend-verification-note{flex-wrap:wrap}.settings-heading{align-items:flex-start}.settings-heading h1{font-size:30px}.settings-heading>.button{font-size:10px;padding:9px;min-height:42px}.settings-heading>.button svg{display:none}.account-settings-layout{grid-template-columns:1fr;gap:20px}.settings-navigation{position:static;display:flex;overflow-x:auto;gap:6px;scrollbar-width:none;padding-bottom:5px}.settings-nav-button{flex:0 0 auto;font-size:11px;min-height:44px;padding:10px}.settings-card{padding:22px}.settings-card h2{font-size:19px}.preference-toggle{gap:11px}.settings-panels{min-width:0}.person-actions .button{min-height:42px}.sidebar-account-footer{padding-bottom:env(safe-area-inset-bottom)}}
@media(max-width:360px){.profile-hero{padding:22px 17px;grid-template-columns:58px minmax(0,1fr);gap:12px}.profile-hero #profile-avatar{width:58px;height:58px;font-size:21px;border-radius:17px}.profile-hero #profile-name{font-size:26px}.profile-shortcuts{gap:5px}.profile-shortcut{padding:12px 8px}.profile-stat{padding:11px 9px}.profile-stat>span{font-size:9px}.settings-card{padding:18px}.preference-toggle{grid-template-columns:18px minmax(0,1fr) 38px;gap:9px}.profile-hero-actions .button{font-size:10px}.friend-share .button{font-size:10px}}

.app-layout>.page-footer{margin-left:var(--navigation-width);width:calc(100% - var(--navigation-width));z-index:0}
.sidebar-language{display:grid;gap:8px;padding:4px 10px 12px;font-size:11px;color:var(--muted)}
.sidebar-language select{width:100%;min-height:42px;min-width:0;border-radius:8px;padding:8px 10px;background:var(--panel);color:var(--text);border:1px solid var(--border)}
.sidebar-language .sr-only{position:static;width:auto;height:auto;clip:auto;overflow:visible}
.header-credits{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:6px 10px;border:1px solid #a78a4f55;border-radius:20px;background:#e9bf6510;color:var(--amber);font:600 12px var(--font);cursor:pointer}
.header-credits svg{width:20px;height:20px}.header-credits small{font-size:13px}
@media(max-width:900px){.header-credits{min-height:38px;padding:6px 9px}.sidebar-account-footer{margin-top:auto}}
