/* Match the OSRS account overview while retaining Warframe account controls. */
.site-frame main.account-overview { width: 100%; max-width: calc(var(--content) + 2 * var(--page-pad)); margin-inline: auto; padding: 40px var(--page-pad); font-family: Lato, Arial, Helvetica, sans-serif; }
.account-overview [hidden] { display: none !important; }
.account-overview .account-heading { margin: 0 0 32px; }
.account-overview .account-overview-eyebrow { margin: 0; color: var(--accent-strong); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.account-overview .account-heading h1 { margin: 8px 0 0; font-size: clamp(26px, 2.5vw, 32px); font-weight: 900; line-height: 1.15; letter-spacing: -.025em; }
.account-overview .account-heading > p:last-child { margin: 12px 0 0; max-width: 672px; font-size: 16px; line-height: 28px; color: #bebdca; }
.account-overview-stack { display: grid; gap: 20px; }
.site-frame .account-overview .account-panel { margin: 0; padding: 20px; border: 1px solid var(--frame-edge); border-radius: 10px; background: var(--panel-gradient); box-shadow: var(--panel-shadow); scroll-margin-top: 96px; }
.site-frame .account-overview .account-panel h2 { margin: 0; color: #e6e6ee; font-size: 20px; font-weight: 900; line-height: 28px; letter-spacing: 0; }
.site-frame .account-overview .account-panel p { color: #bebdca; font-size: 14px; line-height: 24px; }
.account-overview-section-heading { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #41434f; }
.account-overview-section-title { display: flex; align-items: start; gap: 12px; min-width: 0; }
.account-overview-section-title > div { min-width: 0; }
.account-overview-section-title p { margin: 8px 0 0; }
.account-overview-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid rgb(var(--accent-rgb) / 0.251); border-radius: 8px; background: rgb(var(--accent-rgb) / 0.122); color: var(--accent-strong); }
.account-overview svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.site-frame .account-overview .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; width: fit-content; padding: 8px 16px; border-radius: 8px; font: 700 14px/20px Lato, Arial, Helvetica, sans-serif; letter-spacing: 0; text-transform: none; }
.site-frame .account-overview .button--primary { border-radius: 5px; }
.account-overview .button svg { width: 17px; height: 17px; }
.account-overview-section-heading > .button { flex-shrink: 0; }
.account-overview-facts { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; margin: 20px 0 0; }
.account-overview-facts > div { min-width: 0; padding: 12px; border: 1px solid var(--frame-edge); border-radius: 8px; background: var(--inset-gradient); box-shadow: var(--inset-shadow); }
.account-overview-facts dt, .site-frame .account-overview .account-overview-label { margin: 0; color: #aaa9ba; font-size: 12px; font-weight: 900; line-height: 16px; letter-spacing: .025em; text-transform: uppercase; }
.account-overview-facts dd { margin: 4px 0 0; color: #f3f3f3; font-size: 14px; font-weight: 700; line-height: 20px; overflow-wrap: anywhere; }
.account-overview-trust { display: grid; gap: 12px; margin-top: 20px; }
.account-overview-trust > div { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 12px; border: 1px solid #41434f; border-radius: 8px; background: #22232c; }
.account-overview-trust > .is-verified { border-color: rgb(var(--accent-rgb) / 0.251); background: rgb(var(--accent-rgb) / 0.122); }
.account-overview-trust .account-overview-icon { flex-basis: 32px; width: 32px; height: 32px; border-color: #41434f; background: #22232c; color: #aaa9ba; }
.account-overview-trust .is-verified .account-overview-icon { border-color: rgb(var(--accent-rgb) / 0.251); color: var(--accent-strong); }
.account-overview-trust .account-overview-icon svg { width: 17px; height: 17px; }
.account-overview-trust > div > div { min-width: 0; }
.site-frame .account-overview .account-overview-trust h3 { margin: 0; color: #e6e6ee; font-size: 14px; font-weight: 900; line-height: 20px; }
.site-frame .account-overview .account-overview-trust p { margin: 0; font-size: 12px; font-weight: 600; line-height: 16px; overflow-wrap: anywhere; }
.site-frame .account-overview #account-created { margin: 20px 0 0; font-size: 12px; }
.account-overview .account-portrait { margin: 0; border: 1px solid #41434f; background: #1b1c25; color: var(--accent-strong); font-size: 20px; font-weight: 900; }
.account-overview-split { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 20px; }
.account-overview-inset { min-width: 0; padding: 16px; border: 1px solid var(--frame-edge); border-radius: 8px; background: var(--inset-gradient); box-shadow: var(--inset-shadow); }
.site-frame .account-overview .account-overview-value { margin: 8px 0 0; color: #f3f3f3; font-size: 16px; font-weight: 900; line-height: 24px; overflow-wrap: anywhere; }
.account-overview-inset > p:last-child { margin: 12px 0 0; }
.account-overview-side { display: flex; flex-direction: column; justify-content: start; align-items: start; min-width: 0; gap: 12px; }
.account-overview-side > p { margin: 0; }
.account-overview-facts--identity { margin-top: 8px; }
.account-overview-connection-name { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 12px; }
#account-discord-verified { margin-top: 4px; padding: 4px 10px; border: 1px solid #5865f2; border-radius: 8px; background: #5865f2; color: #fff; font-size: 12px; font-weight: 900; line-height: 16px; text-transform: uppercase; }
.account-overview-community { margin-top: 16px; padding: 12px; border: 1px solid #41434f; border-radius: 8px; background: #22232c; }
.account-overview-community h3 { font-size: 14px; font-weight: 900; }
.account-overview-section-body { margin-top: 20px; }
.account-overview #account-discord-form { margin: 0; width: 100%; }
.account-overview #account-discord-refresh { width: 100%; }
.site-frame .account-overview .account-muted { color: #aaa9ba; font-size: 12px; line-height: 20px; }
.account-overview-recruit { margin: 24px 0; }
.account-overview-recruit .account-page-card { margin: 0; padding: 16px 20px; border: 1px solid rgb(var(--accent-rgb) / 0.349); border-radius: 8px; background: rgb(var(--accent-rgb) / 0.122); }
.account-overview-recruit h3 { margin: 0; font-size: 16px; font-weight: 900; }
.account-overview .account-page-actions { gap: 12px; }
.account-overview .account-page-card h3 { color: #e6e6ee; font-size: 16px; }
.account-overview .account-panel a:not(.button) { color: var(--accent-strong); font-size: 14px; }
.account-edit-dialog { width: min(512px,calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: auto; border: 1px solid #41434f; border-radius: 10px; background: #292b35; color: #e6e6ee; box-shadow: var(--panel-shadow), 0 24px 64px #0008; }
.account-edit-dialog::backdrop { background: #000b; backdrop-filter: blur(4px); }
.account-edit-dialog > header { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #41434f; }
.account-edit-dialog h2 { margin: 4px 0 0; font-size: 20px; font-weight: 900; line-height: 28px; }
.account-edit-dialog .account-overview-eyebrow { margin: 0; font-size: 12px; line-height: 16px; }
.account-edit-dialog > header .button { min-width: 36px; min-height: 36px; padding: 4px; font-size: 22px; }
.account-edit-body { padding: 20px; }
.account-edit-body > p { margin: 0; color: #bebdca; font-size: 14px; line-height: 24px; }
.site-frame .account-overview .account-form { gap: 16px; margin-bottom: 0; }
.site-frame .account-overview .account-form label { font-size: 14px; font-weight: 600; }
.account-edit-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 12px; border-top: 1px solid #41434f; padding-top: 16px; }
#account-edit-error { margin: 0; padding: 12px; border: 1px solid #805a4d; border-radius: 8px; color: #ffb5aa; font-size: 14px; line-height: 24px; }
body:has(#account-edit-dialog[open]) { overflow: hidden; }
@media (min-width:640px) {
 .account-overview-section-heading { flex-direction: row; justify-content: space-between; align-items: start; }
 .account-overview-facts, .account-overview-trust { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width:1024px) {
 .account-overview-split { grid-template-columns: minmax(0,1fr) minmax(280px,360px); }
 .account-overview-split--connection { grid-template-columns: minmax(0,1fr) 224px; align-items: center; }
}

.site-frame .account-overview .account-heading .account-overview-eyebrow { margin: 0; color: var(--accent-strong); font-size: 14px; line-height: 20px; }
.account-overview .account-portrait { border-radius: 8px; box-shadow: var(--inset-shadow); }
.account-overview-split:not(.account-overview-split--connection) > .account-overview-side { padding: 16px; border: 1px solid var(--frame-edge); border-radius: 10px; background: var(--panel-gradient); box-shadow: var(--panel-shadow); }
.account-overview-side h3 { margin: 0; font-size: 14px; font-weight: 700; line-height: 20px; }
.account-overview-split:not(.account-overview-split--connection) > .account-overview-side .button { width: 100%; }
.account-overview-trust > div:not(.is-verified) { border-color: var(--frame-edge); background: var(--control-gradient); box-shadow: var(--control-shadow); }
