/* Account utility layout. Shared navigation and handbook styles stay in style.css. */
.account-redesign { --account-surface: #111713; --account-border: #2c352e; --account-muted: #adb9ae; background: #080c09; }
.account-redesign::before, .account-redesign::after { content: none; }
.account-redesign [hidden] { display: none !important; }
.account-redesign .account-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 128px 0 52px; min-height: 68vh; }
.account-redesign .account-shell h1, .account-redesign .account-shell h2, .account-redesign .account-shell h3 { margin: 0; color: var(--bone, #eeeee5); text-shadow: none; }
.account-redesign .account-shell h1 { font-family: Anton, sans-serif; font-size: clamp(32px, 4vw, 48px); font-weight: 400; line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.account-redesign .account-shell h2 { font: 700 24px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .015em; }
.account-redesign .account-shell h3 { font: 600 20px/1.25 "Barlow Condensed", sans-serif; }
.account-redesign .account-shell p { font: 400 14px/1.65 Inter, sans-serif; color: var(--account-muted); margin: 8px 0; }
.account-redesign .account-kicker { display: block; font: 700 12px/1.5 "Barlow Condensed", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--account-muted); margin-bottom: 8px; }
.account-redesign .account-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--account-border); border-radius: 6px; background: #151d17; color: #ecf0e8; font: 600 13px/1.4 Inter, sans-serif; text-decoration: none; text-align: center; cursor: pointer; }
.account-redesign .account-button:hover { border-color: #7e917c; background: #1e2a20; }
.account-redesign .account-button--primary { background: var(--green, #9dff2b); border-color: var(--green, #9dff2b); color: #112007; }
.account-redesign .account-button--primary:hover { background: #b4ff60; border-color: #b4ff60; }
.account-redesign .account-button:disabled { opacity: .55; cursor: wait; }
.account-redesign .account-shell :focus-visible { outline: 2px solid var(--green, #9dff2b); outline-offset: 4px; }
.account-redesign .account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.account-redesign .account-text-link { display: inline-block; padding: 10px 0; color: #bedb9a; font: 500 13px/1.4 Inter, sans-serif; text-decoration: none; }
.account-redesign .account-text-link:hover { color: var(--green, #9dff2b); text-decoration: underline; }
.account-redesign .account-welcome { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding: 36px 0 40px; align-items: center; }
.account-redesign .account-welcome h1 { font-size: clamp(40px, 5vw, 66px); max-width: 12ch; }
.account-redesign .account-welcome h1 em { color: var(--green, #9dff2b); font-style: normal; }
.account-redesign .account-welcome__copy > p { max-width: 48ch; font-size: 16px; }
.account-redesign .account-welcome .account-fineprint { font-size: 12px; margin-top: 18px; }
.account-redesign .account-welcome__benefits { border-left: 1px solid var(--account-border); padding-left: 30px; }
.account-redesign .account-welcome__benefits > div + div { margin-top: 24px; }
.account-redesign .account-welcome__benefits span { color: #98b082; font: 600 11px "Barlow Condensed", sans-serif; letter-spacing: .1em; }
.account-redesign .account-welcome__benefits h2 { margin-top: 6px; }
.account-redesign .account-identity { display: flex; align-items: center; gap: 20px; padding: 14px 0 26px; }
.account-redesign .account-identity > img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #1b271c; border: 1px solid var(--account-border); }
.account-redesign .account-identity__copy { min-width: 0; flex: 1 1 200px; }
.account-redesign .account-identity__settings { flex-shrink: 0; }
.account-redesign .account-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.account-redesign .account-chips span, .account-redesign .account-status { font: 500 12px/1.4 Inter, sans-serif; padding: 5px 9px; border: 1px solid var(--account-border); border-radius: 4px; color: #bbc7bb; }
.account-redesign .account-chips .is-good, .account-redesign .account-status.is-good { color: #c4eab0; background: #1c2a18; }
.account-redesign .account-chips .is-waiting, .account-redesign .account-status.is-waiting { color: #e8cc92; background: #282218; }
.account-redesign .account-chips .profile-chip { text-transform: none; letter-spacing: 0; }
.account-redesign .account-sections { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--account-border); }
.account-redesign .account-sections a { padding: 12px 18px; color: var(--account-muted); border-radius: 6px; font: 600 14px/1.4 Inter, sans-serif; text-decoration: none; }
.account-redesign .account-sections a[aria-current="page"] { color: var(--green, #9dff2b); background: #202e18; }
.account-redesign .account-sections a:hover { color: #e2ebdc; background: #18221a; }
.account-redesign .account-panel { display: block; width: 100%; max-width: none; min-height: 0; justify-self: stretch; padding: 24px; border: 1px solid var(--account-border); border-radius: 10px; background: var(--account-surface); box-shadow: none; }
body.account-redesign .account-panel { display: block; }
.account-redesign .account-panel + .account-panel { margin-top: 20px; }
.account-redesign .account-panel__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.account-redesign .account-panel__head .account-kicker { margin-bottom: 4px; }
.account-redesign .account-panel__head .account-text-link { padding: 3px 0; }
.account-redesign .account-overview { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.account-redesign .account-overview__main { min-width: 0; }
.account-redesign .account-next { border-left: 3px solid #8fce46; }
.account-redesign .account-next h2 { margin-bottom: 10px; font-size: 26px; }
.account-redesign .account-next .account-kicker { color: #b8d69e; }
.account-redesign .account-next .account-text-link { margin-top: 10px; }
.account-redesign #accountNote.is-good { color: var(--account-muted) !important; }
.account-redesign .account-games { display: flex; flex-wrap: wrap; gap: 4px; }
.account-redesign .account-games button { min-height: 40px; padding: 8px 12px; border: 1px solid var(--account-border); border-radius: 5px; background: transparent; color: #aebbaf; font: 600 12px Inter, sans-serif; cursor: pointer; }
.account-redesign .account-games button[aria-pressed="true"], .account-redesign .account-games button.is-active { color: var(--green, #9dff2b); border-color: #617546; background: #202b19; }
.account-redesign .account-metrics, .account-redesign .profile-stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 4px 0; border: 0; background: none; }
.account-redesign .profile-stat-tile { min-width: 0; padding: 6px 0; border: 0; background: none; }
.account-redesign .profile-stat-tile span { display: block; color: var(--account-muted); font: 500 12px/1.5 Inter, sans-serif; letter-spacing: 0; text-transform: none; }
.account-redesign .profile-stat-tile strong { display: block; color: #f0f0e6; font: 500 clamp(23px, 2.5vw, 32px)/1.5 Inter, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.04em; text-transform: none; overflow-wrap: anywhere; }
.account-redesign .account-meta { font-size: 12px !important; color: #95a798 !important; margin: 14px 0 0 !important; }
.account-redesign .profile-list { display: grid; gap: 0; min-width: 0; }
.account-redesign .profile-empty { color: var(--account-muted); padding: 12px 0; line-height: 1.6; }
.account-redesign .account-metrics > .profile-empty { grid-column: 1 / -1; }
.account-redesign .profile-row { padding: 14px 0; border-bottom: 1px solid var(--account-border); background: none; align-items: center; }
.account-redesign .profile-row:last-child { border-bottom: 0; }
.account-redesign .profile-row strong { color: #e4eadf; font: 600 15px/1.4 Inter, sans-serif; text-transform: none; letter-spacing: 0; }
.account-redesign .profile-row small { color: var(--account-muted); font-size: 12px; }
.account-redesign .profile-row b { color: #c5dea9; font: 500 13px/1.4 Inter, sans-serif; text-transform: none; letter-spacing: 0; }
.account-redesign .profile-row span { color: #9faf9f; font-size: 11px; letter-spacing: .05em; }
.account-redesign .profile-server-stats__head { align-items: center; padding-bottom: 16px; }
.account-redesign .profile-server-stats__head h4 { font: 700 22px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .01em; }
.account-redesign .profile-server-stats__head span { display: none; }
.account-redesign .profile-server-stats__head b { font: 500 13px Inter, sans-serif; letter-spacing: 0; text-transform: none; }
.account-redesign .profile-server-stats__side { max-width: 50%; }
.account-redesign .profile-stat-group__head h4 { font: 700 18px "Barlow Condensed", sans-serif; }
.account-redesign details { margin-top: 16px; }
.account-redesign summary { padding: 12px 0; color: #c6dda8; cursor: pointer; font: 500 14px/1.5 Inter, sans-serif; }
.account-redesign .account-disclosure { border-top: 1px solid var(--account-border); margin-top: 22px; }
.account-redesign code { overflow-wrap: anywhere; font-size: 12px; color: #e2eadc; }
.account-redesign .account-connection { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 22px 0; border-top: 1px solid var(--account-border); }
.account-redesign .account-connection > div:first-child { flex: 1 1 250px; }
.account-redesign .account-connection__action { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.account-redesign .account-settings { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.account-redesign #profileMeta { overflow-wrap: anywhere; }
.account-redesign .account-kit-inventory { padding: 12px 0; background: none; border: 0; }
.account-redesign .account-kit-inventory::before, .account-redesign .account-kit-inventory::after { content: none; }
.account-redesign .account-kit-inventory .starter-kit__group h3 { font-size: 20px; }
.account-redesign .account-kit-inventory .starter-kit__actions .btn { font-size: 13px; min-height: 44px; }
.account-redesign .account-perks { scroll-margin-top: 110px; }
.account-redesign [data-account-panel] { scroll-margin-top: 110px; }
.account-redesign .account-perks .account-actions { margin: 12px 0; }
.account-redesign .account-message:empty { display: none; }
.account-redesign .account-message { color: #edce95 !important; }
.account-redesign .account-loading { min-height: 150px; padding: 40px 0; }
.account-redesign .staff-procedures-section { padding: 32px 0 0; background: none; }
.account-redesign .staff-procedures-section > .wrap { width: 100%; }
.account-redesign .staff-procedures-head { gap: 20px; margin-bottom: 16px; }
.account-redesign .staff-procedures-head h2 { font-size: 26px; }
.account-redesign footer { border-top: 1px solid var(--account-border); padding-top: 28px; }
.account-redesign footer .foot { gap: 24px; padding-bottom: 20px; }
.account-redesign footer .foot > div:first-child p { max-width: 34ch; }
@media(max-width:800px) {
  .account-redesign .account-shell { width: calc(100% - 32px); padding-top: 108px; }
  .account-redesign .account-overview { grid-template-columns: 1fr; }
  .account-redesign .account-next { grid-row: 1; }
  .account-redesign .account-welcome { grid-template-columns: 1fr; gap: 28px; padding-top: 15px; }
  .account-redesign .account-welcome__benefits { display: none; }
  .account-redesign .account-identity { flex-wrap: wrap; gap: 14px; }
  .account-redesign .account-identity__settings { margin-left: 86px; }
  .account-redesign .account-panel { padding: 20px; }
  .account-redesign .account-metrics, .account-redesign .profile-stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .account-redesign .profile-stat-tile strong { font-size: 28px; }
}
@media(max-width:480px) {
  .account-redesign .account-identity > img { width: 56px; height: 56px; }
  .account-redesign .account-identity__settings { margin-left: 70px; min-height: 36px; padding: 6px 10px; font-size: 12px; }
  .account-redesign .account-identity h1 { font-size: 30px; }
  .account-redesign .account-chips { gap: 5px; }
  .account-redesign .account-chips span { font-size: 11px; padding: 4px 6px; }
  .account-redesign .account-sections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .account-redesign .account-sections a { padding: 12px 3px; font-size: 11px; text-align: center; }
  .account-redesign .account-panel__head { gap: 12px; }
  .account-redesign .account-panel { padding: 18px; }
  .account-redesign .account-games button { min-height: 44px; }
  .account-redesign .account-shell h2 { font-size: 22px; }
  .account-redesign .profile-server-stats__head { gap: 12px; }
  .account-redesign .profile-server-stats__head h4 { font-size: 20px; }
  .account-redesign .account-actions .account-button { flex: 1 1 auto; }
  .account-redesign .leaderboard-controls { flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) {
  .account-redesign { scroll-behavior: auto; }
  .account-redesign .account-shell { animation: none; }
}
