/* Profile-only styles. The server plans page still uses profile.css. */
.account-page {
  --account-accent: #f5c518;
  --account-accent-dim: #f5c51812;
  --account-bg: #0d1015;
  --account-surface: #15191f;
  --account-line: #ffffff12;
  --account-text: #edf0f5;
  --account-muted: #a0a8b7;
  --account-pad: 22px;
  --account-gap: 18px;
  background: var(--account-bg);
  color: var(--account-text);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.account-page[data-accent="blue"] { --account-accent: #8abaff; --account-accent-dim: #8abaff12; }
.account-page[data-accent="violet"] { --account-accent: #c0a1ff; --account-accent-dim: #c0a1ff12; }
.account-page[data-density="comfortable"] { --account-pad: 30px; --account-gap: 24px; }
.account-page [hidden] { display: none !important; }
.account-page :is(button, input, select) { font: inherit; }
.account-page button { cursor: pointer; }
.account-page :is(button, a, input, select):focus-visible { outline: 2px solid var(--account-accent); outline-offset: 4px; }
.account-page button:disabled { opacity: .45; cursor: not-allowed; }
.account-page .bh-nav { background: #0d1015f5; padding-inline: max(24px, calc((100% - 1200px) / 2)); }
.account-page .bh-nav__brand { font-size: 16px; padding-right: 20px; }
.account-page .bh-nav__links li a { font-size: 13px; padding-inline: 10px; }
.account-page .bh-nav__links li a:hover { min-width: 0; padding-top: 0; border-radius: 0; box-shadow: none; color: var(--account-text); background: #ffffff06; }
.account-page .profile-toggle { font-size: 13px; }
.account-page .profile-menu:not(.open) .profile-dropdown { display: none; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 10px 16px; background: var(--account-accent); color: #0d1015; z-index: 200; border-radius: 6px; }
.skip-link:focus { top: 10px; }
.account-shell { width: min(1120px, 100% - 64px); margin: 0 auto; padding: 30px 0 42px; flex: 1; }
.account-shell:focus { outline: none; }
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.account-back { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--account-muted); margin-bottom: 9px; }
.account-back:hover { color: var(--account-accent); }
.account-heading h1 { font-size: clamp(27px, 3.5vw, 34px); font-weight: 600; line-height: 1.3; letter-spacing: -1.2px; margin-bottom: 6px; }
.heading-dot { color: var(--account-accent); }
.account-heading p, .card-heading p, .card-help, .plans-copy > p { color: var(--account-muted); }
.account-heading > .account-button { align-self: flex-end; margin-bottom: 3px; }
.account-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 38px; padding: 8px 14px; border: 1px solid #ffffff24; border-radius: 8px; background: #ffffff04; color: var(--account-text); font-size: 12px; font-weight: 500; line-height: 1.5; text-decoration: none; transition: background .15s, border-color .15s; }
.account-button svg { width: 16px; height: 16px; }
.account-button:hover:enabled, a.account-button:hover { background: #ffffff0b; border-color: #ffffff45; }
.account-button--primary { background: var(--account-accent); color: #10131a; border-color: transparent; font-weight: 600; }
.account-button--primary:hover:enabled, a.account-button--primary:hover { background: var(--account-accent); border-color: transparent; filter: brightness(1.08); }
.text-button { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 34px; padding: 4px 0; border: 0; background: none; color: var(--account-accent); font-size: 12px; font-weight: 500; text-align: left; line-height: 1.5; }
.text-button:hover:enabled, a.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-button--danger { color: #f7a2a6; }
.profile-grid, .account-primary, .account-secondary { display: grid; gap: var(--account-gap); align-content: start; min-width: 0; }
.account-card, .appearance-panel { min-width: 0; background: var(--account-surface); border: 1px solid var(--account-line); border-radius: 12px; padding: var(--account-pad); }
.identity-card { padding-block: 20px 0; }
.identity-main { display: flex; align-items: center; gap: 16px; }
.avatar-frame { width: 64px; height: 64px; position: relative; flex-shrink: 0; }
.avatar-frame img { display: block; width: 64px; height: 64px; border-radius: 18px; object-fit: cover; background: #222935; }
.avatar-indicator { width: 14px; height: 14px; position: absolute; right: -2px; bottom: 1px; background: #8993a4; border: 3px solid var(--account-surface); border-radius: 50%; }
.identity-card[data-linked="true"] .avatar-indicator { background: #75d6ac; }
.identity-copy { min-width: 0; }
.eyebrow { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--account-muted); margin-bottom: 4px; }
.identity-copy h2 { font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -.5px; overflow-wrap: anywhere; }
.account-muted { font-size: 12px; color: var(--account-muted); overflow-wrap: anywhere; }
.identity-main > .account-badge { margin-left: auto; }
.account-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; background: #ffffff08; color: var(--account-muted); font-size: 11px; font-weight: 500; line-height: 1.5; flex-shrink: 0; }
.account-badge[data-state="success"] { background: #73d5aa12; color: #88e1bb; }
.account-badge[data-state="success"]::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.account-badge[data-state="error"] { background: #f7a2a612; color: #f7a2a6; }
.identity-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; border-top: 1px solid var(--account-line); padding: 10px 0; color: var(--account-muted); font-size: 11px; }
.discord-label { display: inline-flex; align-items: center; gap: 7px; color: #c8cdfb; }
.discord-label svg { width: 17px; height: 17px; }
.identity-id { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.identity-meta > a { margin-left: auto; }
.account-columns { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: var(--account-gap); align-items: start; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.card-heading h2 { font-size: 14px; font-weight: 600; letter-spacing: -.15px; }
.card-heading p { font-size: 12px; margin-top: 1px; }
.card-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #ffffff12; border-radius: 9px; background: #ffffff04; color: var(--account-muted); flex-shrink: 0; }
.card-icon svg { width: 20px; height: 20px; }
.credentials { margin-top: 2px; }
.credentials > div { display: grid; grid-template-columns: 145px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 45px; border-bottom: 1px solid var(--account-line); padding-block: 8px; }
.credentials > div:last-child { border-bottom: 0; }
.credentials dt { font-size: 12px; color: var(--account-muted); }
.credentials dd { display: flex; align-items: center; gap: 8px; min-width: 0; }
.credentials code, #panel-password { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; color: var(--account-text); overflow-wrap: anywhere; }
.credentials code { flex: 1; min-width: 0; }
.copy-button { flex-shrink: 0; min-height: 30px; padding: 3px 7px; border: 1px solid transparent; border-radius: 5px; color: var(--account-muted); background: none; font-size: 11px !important; }
.copy-button:hover:enabled { background: #ffffff08; color: var(--account-text); border-color: var(--account-line); }
#panel-password { width: 100%; min-width: 0; padding: 0; border: none; background: transparent; text-overflow: ellipsis; }
#panel-password:disabled { opacity: 1; }
.panel-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; border-top: 1px solid var(--account-line); padding-top: 15px; margin-top: 12px; }
#panel-delete { margin-left: auto; }
.panel-status { font-size: 12px; color: var(--account-muted); overflow-wrap: anywhere; }
.panel-status:empty { display: none; }
.panel-status:not(:empty) { margin-bottom: 12px; }
.panel-status[data-state="error"] { color: #f7a2a6; }
.plans-card { position: relative; overflow: hidden; display: flex; gap: 18px; align-items: center; background: linear-gradient(110deg, var(--account-surface) 45%, var(--account-accent-dim)); }
.plans-copy { position: relative; z-index: 1; flex: 1; min-width: 0; }
.plans-copy .eyebrow { color: var(--account-accent); font-size: 9px; }
.plans-copy h2 { font-size: 19px; font-weight: 500; letter-spacing: -.5px; line-height: 1.4; margin: 7px 0; }
.plans-copy > p { font-size: 12px; max-width: 330px; margin-bottom: 18px; }
.server-art { width: 105px; flex-shrink: 0; position: relative; padding-bottom: 10px; transform: rotate(-7deg); margin-right: 10px; }
.server-art__top { width: 105px; height: 17px; border: 1px solid #67715c; background: #303a30; transform: skewX(-35deg); margin-left: 6px; border-radius: 3px 5px 0 0; }
.server-art__unit { height: 29px; background: #222a2c; border: 1px solid #5c6657; border-radius: 3px; box-shadow: 6px -3px 0 #344036; display: flex; align-items: center; gap: 8px; padding: 0 12px; margin-bottom: 3px; }
.server-art__unit i { width: 5px; height: 5px; border-radius: 50%; background: var(--account-accent); box-shadow: 0 0 8px var(--account-accent-dim); }
.server-art__unit span { display: block; width: 46px; height: 3px; background: #74806d; border-radius: 2px; }
.server-art__floor { position: absolute; inset: auto -25px -12px; height: 25px; background: var(--account-accent); filter: blur(35px); opacity: .1; }
.timezone-row { display: grid; gap: 5px; }
.account-label { font-size: 11px; color: var(--account-muted); }
#pref-timezone { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.card-help { font-size: 12px; line-height: 1.7; margin: 11px 0 10px; }
.shortcuts-card { padding-bottom: 5px; }
.shortcuts-card .card-heading { margin-bottom: 6px; }
.shortcut { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--account-line); }
.shortcut:last-child { border-bottom: none; }
.shortcut strong { display: block; font-size: 12px; font-weight: 500; }
.shortcut small { display: block; font-size: 11px; color: var(--account-muted); margin-top: 1px; }
.shortcut > span:last-child { color: var(--account-muted); transition: color .15s; }
.shortcut:hover strong, .shortcut:hover > span:last-child { color: var(--account-accent); }
.account-note { text-align: center; font-size: 11px; color: var(--account-muted); }
.account-note span { color: var(--account-accent); margin-right: 5px; }
.account-footer { padding: 20px 32px; background: var(--account-bg); }
.account-footer .footer-inner { max-width: 1120px; }
.account-footer .footer-brand { font-size: 12px; gap: 3px; }
.account-footer .footer-copy { font-size: 10px; margin-top: 3px; }
.account-footer .footer-links { gap: 20px; }
.account-footer .footer-links a { font-size: 11px; }
.appearance-panel { margin-bottom: var(--account-gap); border-color: #ffffff24; }
.appearance-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }
.appearance-heading h2 { font-size: 14px; font-weight: 600; }
.appearance-heading p { font-size: 11px; color: var(--account-muted); }
.appearance-controls { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.appearance-controls fieldset { border: 0; min-width: 0; }
.appearance-controls legend, .density-control > label { font-size: 11px; color: var(--account-muted); display: block; margin-bottom: 7px; }
.accent-options { display: flex; gap: 12px; flex-wrap: wrap; }
.accent-option { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; cursor: pointer; }
.accent-option input { accent-color: var(--account-accent); }
.accent-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.accent-dot--gold { background: #f5c518; }
.accent-dot--blue { background: #8abaff; }
.accent-dot--violet { background: #c0a1ff; }
.density-control select { background: #0d1015; color: var(--account-text); border: 1px solid #ffffff24; border-radius: 6px; padding: 6px 30px 6px 10px; font-size: 12px; }
.extras-control { display: flex; gap: 9px; align-items: center; font-size: 12px; cursor: pointer; }
.extras-control input { accent-color: var(--account-accent); width: 15px; height: 15px; }
.extras-control small { display: block; color: var(--account-muted); font-size: 11px; }
.profile-decor { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 16px; border-top: 1px solid var(--account-line); padding-block: 15px; }
.decor-item { min-width: 0; font-size: 11px; color: var(--account-muted); }
.decor-item > span { display: block; margin-bottom: 7px; }
.banner-preview, .decoration-preview, .collectible-preview, .accent-preview { min-height: 58px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: #ffffff04; overflow: hidden; overflow-wrap: anywhere; }
.banner-preview img { width: 100%; height: 58px; object-fit: cover; }
.decoration-preview img { width: 58px; height: 58px; object-fit: contain; }
.accent-preview { gap: 8px; flex-wrap: wrap; }
.discord-accent { width: 18px; height: 18px; border: 1px solid #ffffff24; border-radius: 5px; }
.collectible-preview { padding: 6px 10px; flex-direction: column; color: var(--account-text); text-align: center; }
.collectible-preview small { color: var(--account-muted); }
.collectible-preview img { width: 100%; height: 30px; object-fit: cover; border-radius: 3px; margin-bottom: 4px; }
.profile-loading { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 220px; color: var(--account-muted); }
.profile-loading__spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #ffffff24; border-top-color: var(--account-accent); border-radius: 50%; animation: account-spin .8s linear infinite; }
.profile-load-error { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 14px 18px; margin-bottom: 18px; border: 1px solid #f7a2a630; border-radius: 8px; background: #f7a2a608; color: #f7b8bb; font-size: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes account-spin { to { transform: rotate(360deg); } }
@media (min-width: 901px) and (max-width: 1100px) { .account-page .bh-nav { padding-inline: 20px; } .account-page .bh-nav__brand { font-size: 14px; padding-right: 12px; } .account-page .bh-nav__links li a { font-size: 12px; padding-inline: 6px; } }
@media (max-width: 900px) { .account-page .bh-nav { padding-inline: 20px; } .account-columns { grid-template-columns: minmax(0, 1fr) 265px; } .credentials > div { grid-template-columns: 1fr; gap: 3px; } .account-shell { width: calc(100% - 40px); } }
@media (max-width: 680px) { .account-page { --account-pad: 18px; --account-gap: 14px; } .account-page[data-density="comfortable"] { --account-pad: 24px; --account-gap: 20px; } .account-shell { padding-top: 22px; } .account-heading { align-items: flex-start; margin-bottom: 20px; gap: 12px; } .account-heading > .account-button { align-self: auto; margin-top: 30px; font-size: 11px; padding-inline: 10px; } .account-heading p { font-size: 12px; max-width: 260px; } .account-columns { grid-template-columns: 1fr; } .credentials > div { grid-template-columns: 125px minmax(0, 1fr); gap: 8px; } .account-secondary { grid-template-columns: 1fr 1fr; } .account-note { grid-column: 1 / -1; } .identity-main { flex-wrap: wrap; gap: 12px; } .identity-copy { flex: 1; } .identity-copy h2 { font-size: 19px; } .identity-main > .account-badge { font-size: 10px; } .identity-meta { column-gap: 10px; } .identity-meta > a { margin-left: 0; } .profile-decor { grid-template-columns: 1fr 1fr; } .appearance-heading { align-items: flex-start; } .account-footer { padding-inline: 20px; } }
@media (max-width: 440px) { .account-shell { width: calc(100% - 28px); } .account-page .bh-nav { padding-inline: 14px; } .account-page .bh-nav__brand { font-size: 14px; } .account-secondary { grid-template-columns: 1fr; } .credentials > div { grid-template-columns: 1fr; gap: 3px; } .card-heading { align-items: flex-start; } .card-heading p { font-size: 11px; } .card-title { gap: 9px; } .card-icon { width: 31px; height: 31px; } .identity-main > .account-badge { margin-left: 76px; margin-top: -5px; } .server-art { width: 65px; transform: scale(.7) rotate(-7deg); transform-origin: right center; margin-left: -15px; margin-right: 0; } .plans-copy .account-button { font-size: 11px; padding-inline: 10px; } .account-heading > .account-button { gap: 5px; } .account-heading > .account-button svg { width: 14px; } .account-footer .footer-links { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .account-page *, .account-page *::before, .account-page *::after { animation: none !important; transition: none !important; } }
