.community-icon{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.mobile-menu-toggle{display:none}
header.nav nav a{display:inline-flex;align-items:center;gap:6px}header.nav nav a .community-icon{width:17px;height:17px}
header.nav .wrap{width:min(1480px,100% - 2.5rem);gap:16px}header.nav nav{min-width:0}header.nav ul{gap:4px}header.nav .brand{white-space:nowrap;font-size:1rem}header.nav .discord-link{font-size:.8rem;padding:.7rem 1rem;white-space:nowrap}
header.nav ul #account-open{display:inline-flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;max-width:195px}#account-open[aria-current=page]{box-shadow:0 0 0 1px var(--mint)}
.nav-profile-name{overflow:hidden;text-overflow:ellipsis;max-width:120px}.nav-avatar{width:30px;height:30px;border:1px solid var(--mint);border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--bg-2);flex:none}.nav-avatar img,.profile-avatar-preview img{width:100%;height:100%;object-fit:cover}
.community-profile-page{background:radial-gradient(ellipse at 50% 5%,color-mix(in srgb,var(--mint) 7%,transparent),transparent 65%),var(--bg)}
.profile-shell{max-width:1180px;padding-block:32px 64px}.profile-heading{text-align:center;margin-bottom:24px}.profile-heading>.community-icon{width:42px;height:42px;padding:8px;color:var(--mint);border:1px solid var(--mint);border-radius:12px}.profile-heading h1{font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.25;margin:12px 0 6px}.profile-heading p{color:var(--muted);margin:0}
.account-dialog.profile-inline{position:static;inset:auto;width:100%;max-width:none;max-height:none;margin:0;padding:0;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none;animation:none;color:var(--text)}
.profile-inline [hidden],.profile-inline #account-close,.profile-inline #account-title{display:none!important}
.profile-inline #account-entry,.profile-inline #account-code-form{max-width:600px;margin:0 auto;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--bg-2)}
.community-card{min-width:0;border:1px solid color-mix(in srgb,var(--mint) 35%,transparent);border-radius:12px;background:linear-gradient(120deg,color-mix(in srgb,var(--bg-2) 60%,transparent),color-mix(in srgb,var(--bg) 90%,transparent));padding:22px 26px;margin-bottom:14px}
.community-card-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}.community-card-heading>.community-icon{color:var(--mint);width:36px;height:36px;border:1px solid var(--mint);padding:6px;border-radius:9px}.community-card-heading h2,.profile-uid-panel h3{font-size:1.1rem;line-height:1.3;margin:0;font-weight:700}.community-card-heading p{margin:3px 0 0;font-size:.82rem;color:var(--muted)}
.profile-inline .community-card p{margin-block:6px;font-size:.82rem}.profile-inline .btn{margin-top:6px;font-size:.8rem;padding:8px 18px;min-height:40px;gap:8px;display:inline-flex;justify-content:center;align-items:center;white-space:normal}.profile-inline input{border-radius:8px;padding:10px 12px;min-width:0}.profile-inline label{font-size:.82rem;font-weight:600;margin:0 0 5px}
.profile-avatar-editor{display:flex;align-items:center;gap:20px;padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid var(--line)}.profile-avatar-editor>div{min-width:0;flex:1}.profile-avatar-preview{width:80px;height:80px;flex:none;border-radius:50%;border:2px solid var(--mint);overflow:hidden;display:grid;place-items:center;background:var(--bg-2)}.profile-avatar-preview>.community-icon{width:40px;height:40px;color:var(--mint)}.profile-inline input[type=file]{width:100%;max-width:400px;padding:8px;font-size:.8rem;margin-right:10px}.profile-inline input[type=file]::file-selector-button{background:var(--mint);color:var(--bg);border:0;border-radius:5px;padding:8px;cursor:pointer;margin-right:12px}
#account-username-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 24px;align-items:center}#account-username-form label{grid-column:1/-1}#account-username-form input{grid-column:1}#account-username-form .btn{grid-column:2;grid-row:2;margin:0}#account-username-form #username-hint{grid-column:1/-1;margin:0;font-size:.72rem}
.profile-connections{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-connections .community-card{height:auto}.profile-uid-panel{margin-top:0}.profile-uid-panel h3{display:flex;gap:12px;align-items:center;color:var(--text)}.profile-uid-panel h3 .community-icon{color:var(--mint)}.profile-inline #profile-uid-current{border:1px solid var(--line);border-radius:7px;background:color-mix(in srgb,var(--mint) 6%,transparent);padding:8px 12px;color:var(--mint);font-weight:600;overflow-wrap:anywhere;margin-block:14px}.profile-inline #profile-uid-form{margin-top:12px}.profile-inline #profile-uid-form .btn{margin-right:10px}.profile-inline #profile-uid-status:empty,.profile-inline #profile-avatar-status:empty{display:none}
.profile-action-row{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px}.profile-action-row>div{border-left:1px solid var(--line);padding-left:24px}.profile-inline #account-delete-note{font-size:.72rem;color:var(--muted)}.profile-inline #profile-session{padding:10px 14px;border:1px solid var(--line);border-radius:8px;margin-top:6px}.profile-inline #account-status{margin:12px 0;max-width:100%}.profile-inline #account-delete{border-color:var(--danger);color:var(--danger)}.profile-inline #account-email-display{color:var(--mint)}.profile-inline button:focus-visible,.profile-inline input:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
@media(min-width:1120px){header.nav .wrap{display:grid;grid-template-columns:auto minmax(0,1fr) auto}header.nav .brand{overflow:visible;text-overflow:clip}header.nav nav ul{flex-wrap:wrap;align-items:center;justify-content:center;row-gap:8px}header.nav nav ul li{flex:0 0 auto}}
@media(min-width:1120px) and (max-width:1380px){header.nav ul a{font-size:.75rem;padding:.35rem .45rem}}
@media(max-width:1119px){header.nav .wrap>nav ul{flex-wrap:wrap!important;overflow-x:visible!important;justify-content:center;row-gap:5px!important}header.nav ul a{font-size:.75rem!important;padding:.4rem .5rem!important}header.nav nav a .community-icon{width:16px;height:16px}header.nav .wrap{padding-inline:10px}.profile-shell{padding-top:24px}}
@media(max-width:680px){.profile-shell{padding:22px 14px 40px;width:100%}.profile-heading{margin-bottom:20px}.profile-heading p{font-size:.85rem}.community-card{padding:18px 16px;border-radius:12px}.community-card-heading{gap:12px}.profile-connections{grid-template-columns:1fr;gap:0}.profile-avatar-editor{align-items:flex-start;gap:14px}.profile-avatar-preview{width:60px;height:60px}#account-username-form{grid-template-columns:1fr;gap:6px}#account-username-form .btn{grid-column:1;grid-row:4;justify-self:stretch;margin-top:8px}#account-username-form #username-hint{grid-row:3}.profile-action-row{grid-template-columns:1fr;gap:14px}.profile-action-row>div{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.profile-action-row>#account-logout{justify-self:start}.profile-inline .btn{min-height:44px}.profile-inline #account-entry,.profile-inline #account-code-form{padding:20px 16px}header.nav ul #account-open{font-size:.75rem}.nav-profile-name{max-width:100px}}
@media(max-width:680px){
  header.nav .mobile-menu-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:6px 8px;border:0;background:transparent;color:var(--text);font:600 .9rem var(--font);text-align:left;cursor:pointer}
  .mobile-menu-current{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mint);font-size:.8rem;font-weight:500}
  .mobile-menu-arrow{width:22px;height:22px;flex:none;fill:none;stroke:var(--mint);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .45s cubic-bezier(.4,0,.2,1)}
  .mobile-menu-expanded .mobile-menu-arrow{transform:rotate(180deg)}
  .mobile-menu-ready .mobile-menu-panel{display:grid;grid-template-rows:0fr;visibility:hidden;pointer-events:none;transition:grid-template-rows .45s cubic-bezier(.4,0,.2,1),visibility 0s .45s}
  .mobile-menu-ready.mobile-menu-expanded .mobile-menu-panel{grid-template-rows:1fr;visibility:visible;pointer-events:auto;transition:grid-template-rows .45s cubic-bezier(.4,0,.2,1),visibility 0s}
  .mobile-menu-clip{min-height:0;overflow:hidden}
  header.nav .wrap>nav.mobile-menu-ready ul{display:flex!important;max-height:calc(100dvh - 80px);overflow-y:auto!important;padding-block:8px!important;border-top:1px solid var(--line)}
}
@media(max-width:680px) and (prefers-reduced-motion:reduce){.mobile-menu-ready .mobile-menu-panel,.mobile-menu-ready.mobile-menu-expanded .mobile-menu-panel,.mobile-menu-arrow{transition:none}}
