:root { color-scheme: dark; --ink: #f3f7f2; --muted: #b9cbd0; --gold: #f4c35b; --green: #39d98a; }
* { box-sizing: border-box; }
body { margin: 0; background: #050a0d; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
a { color: var(--gold); }
.page { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; position: relative; isolation: isolate; overflow: hidden; }
.page::before { position: absolute; z-index: -2; inset: 0; background: url("zero-day-duel-command-room.png") center / cover no-repeat; content: ""; }
.page::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(1, 5, 8, .85), rgba(1, 5, 8, .72) 55%, rgba(1, 5, 8, .54)), linear-gradient(0deg, rgba(1, 5, 8, .75), transparent 40%); content: ""; }
.topbar, .site-footer { width: min(1440px, calc(100% - 72px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar { min-height: 76px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 15px; font-weight: 850; text-decoration: none; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 14px; font-weight: 950; }
.back-link { color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: none; }
.back-link:hover, .back-link:focus-visible { color: var(--gold); text-decoration: underline; }
.auth-main { width: min(1440px, calc(100% - 72px)); margin-inline: auto; display: flex; align-items: center; padding-block: 48px 72px; }
.auth-panel { width: min(460px, 100%); padding: 30px; border: 1px solid rgba(101, 213, 255, .26); border-radius: 6px; background: rgba(8, 17, 22, .94); box-shadow: 0 25px 70px rgba(0, 0, 0, .44); }
.eyebrow { margin: 0 0 12px; color: var(--green); font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 39px); line-height: 1.1; }
.subheading { margin: 11px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.5; }
form { display: grid; }
label { margin: 0 0 7px; color: #dfebea; font-size: 12px; font-weight: 800; }
input { width: 100%; min-height: 43px; margin: 0 0 17px; padding: 10px 12px; border: 1px solid #43545a; border-radius: 4px; outline: none; background: #071015; color: var(--ink); }
input:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(244, 195, 91, .22); }
.field-hint { margin: -11px 0 15px; color: var(--muted); font-size: 11px; }
.primary-button, .secondary-button { min-height: 44px; padding: 10px 17px; border-radius: 4px; font-weight: 850; cursor: pointer; }
.primary-button { margin-top: 7px; border: 1px solid var(--gold); background: var(--gold); color: #171206; }
.primary-button:hover, .primary-button:focus-visible { background: #ffda85; outline: 2px solid #fff; outline-offset: 2px; }
.secondary-button { border: 1px solid #627479; background: #172329; color: var(--ink); }
.secondary-button:hover, .secondary-button:focus-visible { border-color: var(--gold); }
.form-error { padding: 10px 12px; border-left: 3px solid #ff806c; background: rgba(255, 128, 108, .1); color: #ffd0c7; font-size: 13px; line-height: 1.4; }
.form-success { padding: 10px 12px; border-left: 3px solid var(--green); background: rgba(57, 217, 138, .1); color: #aaf4ce; font-size: 13px; line-height: 1.4; }
.switch-link { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.switch-link a { font-weight: 800; }
.password-link { margin: 12px 0 0; font-size: 12px; text-align: right; }
.action-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 10px 17px; border: 1px solid var(--gold); border-radius: 4px; background: var(--gold); color: #171206; font-weight: 850; text-decoration: none; }
.action-link:hover, .action-link:focus-visible { background: #ffda85; outline: 2px solid #fff; outline-offset: 2px; }
.verified-status { color: var(--green); }
.account-details { display: grid; gap: 0; margin: 0 0 20px; border-block: 1px solid #34464b; }
.account-details div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.account-details div + div { border-top: 1px solid #293a40; }
.account-details dt { color: var(--muted); font-size: 12px; }
.account-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 700; }
.account-note { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.account-page .page::after { background: linear-gradient(90deg, rgba(1, 5, 8, .9), rgba(1, 5, 8, .66) 52%, rgba(1, 5, 8, .68)); }
.account-page .auth-main { justify-content: center; padding-block: 30px 44px; }
.profile-panel { width: min(1060px, 100%); padding: 28px 32px 32px; border-color: rgba(101, 213, 255, .34); background: rgba(5, 13, 17, .96); box-shadow: 0 28px 90px rgba(0, 0, 0, .62); }
.profile-panel > h1 { font-size: clamp(28px, 4vw, 36px); }
.profile-hero { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: 20px 0 16px; padding: 17px 0; border-block: 1px solid #30434a; }
.profile-avatar { width: 72px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--gold); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #27363c, #0b1418 70%); box-shadow: inset 0 0 0 5px #0b1418, 0 0 26px rgba(244, 195, 91, .12); color: var(--gold); font-size: 21px; font-weight: 950; }
.profile-label { margin: 0 0 5px; color: var(--green); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.profile-hero h2, .section-heading h3 { margin: 0; }
.profile-hero h2 { font-size: 24px; }
.profile-hero p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.status-chip, .prelaunch-chip { padding: 6px 9px; border: 1px solid rgba(57, 217, 138, .38); border-radius: 4px; background: rgba(57, 217, 138, .08); color: var(--green); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.prelaunch-chip { border-color: rgba(244, 195, 91, .45); color: var(--gold); }
.career-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; border: 1px solid #30434a; background: rgba(9, 19, 24, .86); }
.career-grid div { min-width: 0; padding: 15px 18px; }
.career-grid div + div { border-left: 1px solid #30434a; }
.career-grid span { display: block; min-height: 15px; color: #8fa8ad; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.career-grid strong { display: block; margin-top: 7px; color: var(--gold); font-size: 22px; line-height: 1; overflow-wrap: anywhere; }
.profile-columns { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; }
.profile-section { min-width: 0; }
.profile-section + .profile-section { padding-left: 32px; border-left: 1px solid #30434a; }
.section-heading { min-height: 42px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-heading h3 { font-size: 18px; }
.career-record { margin: 0 0 16px; }
.career-record div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #293a40; }
.career-record dt { color: var(--muted); font-size: 12px; }
.career-record dd { margin: 0; font-size: 12px; font-weight: 800; text-align: right; }
input[readonly] { color: var(--muted); cursor: not-allowed; }
.profile-section .primary-button, .profile-section .action-link { min-height: 42px; }
.security-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #293a40; font-size: 12px; }
.security-actions a, .security-actions button { color: var(--muted); font: inherit; font-weight: 800; }
.security-actions form { display: block; }
.security-actions button { padding: 0; border: 0; background: transparent; cursor: pointer; text-decoration: underline; }
.security-actions a:hover, .security-actions a:focus-visible, .security-actions button:hover, .security-actions button:focus-visible { color: var(--gold); }
.site-footer { min-height: 58px; border-top: 1px solid rgba(255, 255, 255, .16); color: #aac1c5; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
@media (max-width: 700px) { .topbar, .site-footer, .auth-main { width: calc(100% - 36px); } .auth-main, .account-page .auth-main { align-items: flex-start; padding-block: 30px 44px; } .auth-panel, .profile-panel { padding: 23px 19px; } .profile-hero { grid-template-columns: 56px minmax(0, 1fr); } .profile-avatar { width: 56px; } .status-chip { grid-column: 1 / -1; justify-self: start; } .career-grid { grid-template-columns: 1fr 1fr; } .career-grid div + div { border-left: 0; } .career-grid div:nth-child(even) { border-left: 1px solid #30434a; } .career-grid div:nth-child(n+3) { border-top: 1px solid #30434a; } .profile-columns { grid-template-columns: 1fr; gap: 28px; } .profile-section + .profile-section { padding: 26px 0 0; border-top: 1px solid #30434a; border-left: 0; } }
