:root {
  color-scheme: light;
  --public-bg: #f2f0eb;
  --public-panel: #fbfaf7;
  --public-ink: #171717;
  --public-muted: #716f69;
  --public-subtle: #a19e96;
  --public-line: #dfddd7;
  --public-accent: #f05a24;
  --public-accent-hover: #d94b17;
  --public-accent-soft: #fff0e8;
  --public-green: #15845c;
  --public-red: #c83c43;
  --public-shadow: 0 32px 90px rgb(23 23 23 / 10%);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--public-bg); }
body { margin: 0; color: var(--public-ink); font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--public-accent); outline-offset: 3px; }
.public-shell { display: grid; min-height: 100svh; grid-template-columns: minmax(410px, 43%) minmax(0, 1fr); background: var(--public-bg); }

/* Brand showcase */
.public-showcase { position: relative; isolation: isolate; display: flex; min-height: 100svh; overflow: hidden; flex-direction: column; padding: clamp(28px, 4vw, 58px); background: #151515; color: #fff; }
.public-showcase::before { position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 76% 30%, rgb(240 90 36 / 28%), transparent 28%), radial-gradient(circle at 18% 84%, rgb(240 90 36 / 14%), transparent 31%), linear-gradient(135deg, transparent 0 47%, rgb(255 255 255 / 2%) 47% 48%, transparent 48% 100%); content: ""; }
.public-showcase::after { position: absolute; z-index: -1; top: 16%; right: -28%; width: 78%; aspect-ratio: 1; border: 1px solid rgb(255 255 255 / 9%); border-radius: 50%; box-shadow: 0 0 0 70px rgb(255 255 255 / 2%), 0 0 0 140px rgb(255 255 255 / 1.5%); content: ""; }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: -.2px; }
.brand-mark { display: grid; width: 44px; height: 44px; overflow: hidden; place-items: center; border-radius: 13px; background: var(--public-accent); box-shadow: 0 10px 28px rgb(240 90 36 / 24%); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.showcase-brand > span:last-child { display: flex; flex-direction: column; }
.showcase-brand b, .mobile-brand b { font-size: 16px; font-weight: 850; letter-spacing: 1.7px; }
.showcase-brand small { color: rgb(255 255 255 / 45%); font-size: 10px; font-weight: 650; }
.showcase-copy { width: min(590px, 92%); margin: auto 0 40px; }
.showcase-kicker, .auth-kicker { color: var(--public-accent); font-size: 10px; font-weight: 850; letter-spacing: 1.7px; }
.showcase-copy h1 { margin: 18px 0 22px; font-size: clamp(44px, 5.3vw, 78px); font-weight: 760; line-height: .98; letter-spacing: clamp(-3.8px, -.25vw, -2px); }
.showcase-copy h1 em { color: var(--public-accent); font-style: normal; }
.showcase-copy p { max-width: 480px; margin: 0; color: rgb(255 255 255 / 54%); font-size: clamp(14px, 1.2vw, 17px); }
.showcase-system { width: min(590px, 100%); margin-bottom: auto; overflow: hidden; border: 1px solid rgb(255 255 255 / 10%); border-radius: 18px; background: rgb(255 255 255 / 4%); box-shadow: inset 0 1px rgb(255 255 255 / 5%); backdrop-filter: blur(16px); }
.system-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid rgb(255 255 255 / 8%); color: rgb(255 255 255 / 46%); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.system-head span { display: flex; align-items: center; gap: 8px; }
.system-head i, .public-showcase footer i { width: 7px; height: 7px; border-radius: 50%; background: #41cf91; box-shadow: 0 0 0 4px rgb(65 207 145 / 12%); }
.system-head b { color: #63dfa7; font-size: 9px; }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.system-grid > span { display: flex; min-height: 72px; flex-direction: column; justify-content: center; padding: 13px 18px; border-right: 1px solid rgb(255 255 255 / 8%); }
.system-grid > span:last-child { border-right: 0; }
.system-grid small { color: rgb(255 255 255 / 31%); font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.system-grid b { margin-top: 5px; color: rgb(255 255 255 / 78%); font-size: 11px; letter-spacing: .5px; }
.system-line { display: flex; height: 42px; align-items: flex-end; gap: 6px; padding: 8px 18px 0; border-top: 1px solid rgb(255 255 255 / 6%); }
.system-line i { display: block; height: 18%; flex: 1; border-radius: 3px 3px 0 0; background: var(--public-accent); opacity: .65; }
.system-line i:nth-child(2n) { height: 42%; }
.system-line i:nth-child(3n) { height: 73%; }
.system-line i:nth-child(5n) { height: 96%; }
.public-showcase > footer { display: flex; align-items: center; justify-content: space-between; margin-top: 46px; color: rgb(255 255 255 / 29%); font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.public-showcase > footer span { display: flex; align-items: center; gap: 9px; }

/* Public content */
.public-main { display: flex; min-width: 0; min-height: 100svh; flex-direction: column; }
.public-topbar { display: flex; min-height: 88px; align-items: center; justify-content: flex-end; padding: 22px clamp(24px, 5vw, 72px); }
.mobile-brand { display: none; }
.language-picker { position: relative; z-index: 5; }
.language-picker summary { display: flex; min-width: 142px; height: 42px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 14px; border: 1px solid var(--public-line); border-radius: 12px; background: rgb(251 250 247 / 68%); color: var(--public-muted); font-size: 11px; font-weight: 700; cursor: pointer; list-style: none; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker[open] summary { border-color: #c9c5bc; background: var(--public-panel); }
.language-picker nav { position: absolute; top: 49px; right: 0; display: grid; width: 190px; padding: 7px; border: 1px solid var(--public-line); border-radius: 14px; background: var(--public-panel); box-shadow: 0 18px 45px rgb(23 23 23 / 14%); }
.language-picker nav a { padding: 9px 11px; border-radius: 8px; color: var(--public-muted); font-size: 11px; font-weight: 650; }
.language-picker nav a:hover { background: #f0eee8; color: var(--public-ink); }
.language-picker nav a[aria-current=page] { background: var(--public-accent-soft); color: var(--public-accent); }
.public-content { display: grid; width: min(620px, calc(100% - 48px)); flex: 1; align-items: center; margin: 0 auto; padding: 34px 0 64px; }
.card { width: 100%; }
.auth-card, .welcome-card { padding: clamp(28px, 5vw, 56px); border: 1px solid rgb(23 23 23 / 7%); border-radius: 24px; background: var(--public-panel); box-shadow: var(--public-shadow); }
.card-heading { margin-bottom: 34px; }
.card-heading h1, .account-profile h1 { margin: 8px 0 10px; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -2px; }
.card-heading p, .account-profile p { margin: 0; color: var(--public-muted); }
.form-stack { display: flex; flex-direction: column; gap: 19px; }
.field { display: block; }
.field > span { display: block; margin-bottom: 8px; color: #3e3d39; font-size: 11px; font-weight: 800; letter-spacing: .2px; }
.field input, .field select { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #d5d2cb; border-radius: 12px; outline: 0; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.field input:hover, .field select:hover { border-color: #bbb7ad; }
.field input:focus, .field select:focus { border-color: var(--public-accent); box-shadow: 0 0 0 4px rgb(240 90 36 / 11%); }
.field small { display: block; margin-top: 7px; color: var(--public-subtle); font-size: 9px; }
.primary-submit, .public-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 12px; font-weight: 800; transition: transform .15s, background .15s, box-shadow .15s; }
.primary-submit { width: 100%; margin-top: 4px; padding: 0 18px; background: var(--public-accent); color: #fff; box-shadow: 0 12px 28px rgb(240 90 36 / 23%); }
.primary-submit i, .public-button i { font-size: 17px; font-style: normal; }
.primary-submit:hover, .public-button.primary:hover { background: var(--public-accent-hover); box-shadow: 0 15px 34px rgb(240 90 36 / 30%); transform: translateY(-1px); }
.primary-submit:active, .public-button:active { transform: translateY(1px); }
.auth-switch { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--public-line); color: var(--public-muted); font-size: 11px; }
.auth-switch a { color: var(--public-ink); font-weight: 800; }
.auth-switch a span { margin-left: 5px; color: var(--public-accent); }
.form-notice { display: flex; align-items: center; gap: 9px; margin: -12px 0 24px; padding: 12px 14px; border-radius: 11px; font-size: 11px; font-weight: 700; }
.form-notice.ok { background: #e7f5ef; color: var(--public-green); }
.form-notice i { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: currentColor; color: #fff; font-style: normal; }
.error { color: var(--public-red); }
.ok { color: var(--public-green); }
.welcome-card .card-heading { margin-bottom: 30px; }
.welcome-actions { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; }
.public-button { min-height: 52px; padding: 0 18px; }
.public-button.primary { background: var(--public-accent); color: #fff; box-shadow: 0 12px 28px rgb(240 90 36 / 20%); }
.public-button.secondary { border: 1px solid var(--public-line); background: #fff; color: var(--public-ink); }
.public-button.secondary:hover { border-color: #bbb7ad; background: #f7f5f0; }
.trust-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--public-line); color: var(--public-subtle); font-size: 8px; font-weight: 850; letter-spacing: 1px; }
.trust-row span { display: flex; align-items: center; gap: 5px; }
.trust-row i { color: var(--public-green); font-style: normal; }
.public-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(24px, 5vw, 72px); color: var(--public-subtle); font-size: 9px; font-weight: 700; letter-spacing: .4px; }

/* Account */
.public-content:has(.account-card) { width: min(820px, calc(100% - 48px)); align-items: start; padding-top: 28px; }
.account-card { overflow: hidden; border: 1px solid rgb(23 23 23 / 7%); border-radius: 24px; background: var(--public-panel); box-shadow: var(--public-shadow); }
.account-profile { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 28px 30px; border-bottom: 1px solid var(--public-line); }
.account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.launcher-download { white-space: nowrap; }
.account-avatar { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; background: #171717; color: #fff; font-size: 15px; font-weight: 850; }
.account-profile h1 { margin: 3px 0; font-size: 28px; letter-spacing: -1px; }
.account-profile p { font-size: 11px; }
.operator-link { min-height: 42px; font-size: 11px; }
.operator-link span { color: var(--public-accent); }
.account-section { padding: 28px 30px; border-bottom: 1px solid var(--public-line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.section-heading h2 { margin: 3px 0 0; font-size: 20px; letter-spacing: -.6px; }
.section-heading > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--public-accent-soft); color: var(--public-accent); font-size: 10px; font-weight: 850; }
.license-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.license-card { display: grid; min-height: 124px; grid-template-columns: 1fr auto; gap: 15px; padding: 17px; border: 1px solid var(--public-line); border-radius: 15px; background: #fff; }
.license-card > div { display: flex; flex-direction: column; }
.license-card > div span { font-size: 13px; font-weight: 800; }
.license-card > div small { color: var(--public-subtle); font-size: 9px; text-transform: uppercase; }
.license-card > b { display: flex; align-items: center; align-self: start; gap: 5px; padding: 5px 8px; border-radius: 999px; font-size: 8px; }
.license-card > b i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.license-card.active > b { background: #e7f5ef; color: var(--public-green); }
.license-card.inactive > b { background: #f7e9ea; color: var(--public-red); }
.license-card time { display: flex; grid-column: 1 / -1; flex-direction: column; color: var(--public-subtle); font-size: 8px; text-transform: uppercase; }
.license-card time strong { margin-top: 2px; color: var(--public-muted); font-size: 10px; font-weight: 650; text-transform: none; }
.empty-license { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--public-line); border-radius: 14px; color: var(--public-subtle); text-align: center; }
.discord-section { background: #f7f5f0; }
.discord-description { max-width: 620px; margin: 0 0 18px; color: var(--public-muted); font-size: 11px; }
.discord-link-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--public-line); border-radius: 14px; background: #fff; }
.discord-link-row > div { display: flex; min-width: 0; flex-direction: column; }
.discord-link-row small { color: var(--public-subtle); font-size: 9px; text-transform: uppercase; }
.discord-link-row b { overflow: hidden; margin-top: 2px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.discord-section > .inline-form .primary-submit, .discord-link-row .primary-submit { width: auto; min-height: 42px; margin: 0; box-shadow: none; font-size: 11px; }
.buy-section { background: #f4f6fb; }
.buy-description { max-width: 620px; margin: 0 0 18px; color: var(--public-muted); font-size: 11px; }
.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.buy-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--public-line); border-radius: 15px; background: #fff; }
.buy-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.buy-meta b { font-size: 13px; font-weight: 800; }
.buy-stock { padding: 3px 7px; border-radius: 999px; font-size: 8px; text-transform: uppercase; }
.buy-stock.low { background: #fdf1e3; color: #9a5b12; }
.buy-stock.out { background: #f7e9ea; color: var(--public-red); }
.buy-price { margin: 0; font-size: 22px; font-weight: 800; line-height: 1; }
.buy-price small { margin-left: 4px; color: var(--public-subtle); font-size: 9px; font-weight: 650; }
.buy-card .public-button { width: 100%; margin-top: auto; min-height: 40px; font-size: 11px; }
.buy-card .public-button.is-disabled { background: #f1f1f1; box-shadow: none; color: var(--public-subtle); cursor: not-allowed; pointer-events: none; }
.buy-card.sold-out .buy-price { color: var(--public-subtle); }
.buy-all { display: inline-block; margin-top: 14px; color: var(--public-muted); font-size: 10px; font-weight: 650; text-transform: uppercase; }
.installer-section { background: #171717; color: #fff; }
.installer-section .section-heading > span { background: rgb(240 90 36 / 16%); }
.installer-description { max-width: 650px; margin: -5px 0 18px; color: rgb(255 255 255 / 55%); font-size: 11px; }
.installer-list { display: grid; gap: 10px; }
.installer-option { overflow: hidden; border: 1px solid rgb(255 255 255 / 10%); border-radius: 14px; background: rgb(255 255 255 / 4%); }
.installer-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-bottom: 1px solid rgb(255 255 255 / 8%); }
.installer-meta b { font-size: 10px; }
.installer-meta small { color: rgb(255 255 255 / 38%); font-size: 8px; }
.installer-command { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
.installer-command code { overflow-x: auto; padding: 14px; color: #e9e5de; font: 10px/1.55 "Cascadia Code", "SFMono-Regular", Consolas, monospace; white-space: nowrap; }
.installer-command button { min-width: 82px; border: 0; border-left: 1px solid rgb(255 255 255 / 9%); background: rgb(255 255 255 / 5%); color: var(--public-accent); font-size: 9px; font-weight: 850; }
.installer-command button:hover { background: rgb(240 90 36 / 12%); }
.redeem-form { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 14px; }
.redeem-form .primary-submit { grid-column: 1 / -1; }
.account-footer { padding: 18px 30px; }
.logout-form { display: flex; justify-content: flex-end; }
.logout-form .primary-submit { width: auto; min-height: 40px; margin: 0; border: 1px solid #efc9c9; background: #fff; color: var(--public-red); box-shadow: none; font-size: 11px; }
.logout-form .primary-submit i { display: none; }
.logout-form .primary-submit:hover { background: #fff2f2; transform: none; }
.impersonation { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-bottom: 14px; padding: 15px; border: 1px solid #f0c8aa; border-radius: 16px; background: #fff3e9; color: #7c3b18; }
.impersonation-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: #fff; font-size: 20px; }
.impersonation > div { display: flex; flex-direction: column; }
.impersonation > div b { font-size: 11px; }
.impersonation > div span { opacity: .75; font-size: 9px; }
.inline-form .primary-submit { width: auto; min-height: 40px; margin: 0; box-shadow: none; font-size: 10px; }

@media (max-width: 980px) {
  .public-shell { grid-template-columns: minmax(330px, 38%) minmax(0, 1fr); }
  .public-showcase { padding: 30px; }
  .showcase-copy h1 { font-size: clamp(42px, 6vw, 60px); }
  .showcase-system { display: none; }
}
@media (max-width: 760px) {
  .public-shell { display: block; }
  .public-showcase { display: none; }
  .public-main { min-height: 100svh; background: radial-gradient(circle at 100% 0, #ffe5d5, transparent 30%), var(--public-bg); }
  .public-topbar { min-height: 76px; justify-content: space-between; padding: 16px 20px; }
  .mobile-brand { display: inline-flex; }
  .mobile-brand .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .mobile-brand b { font-size: 13px; }
  .language-picker summary { min-width: 120px; }
  .public-content { width: min(560px, calc(100% - 28px)); padding: 22px 0 40px; }
  .public-content:has(.account-card) { width: min(620px, calc(100% - 28px)); }
  .auth-card, .welcome-card { padding: 28px 22px; border-radius: 20px; }
  .public-footer { padding: 18px 20px; }
  .account-profile { grid-template-columns: 52px 1fr; padding: 22px 20px; }
  .account-actions { grid-column: 1 / -1; width: 100%; justify-content: stretch; }
  .account-actions .public-button { flex: 1 1 220px; }
  .account-avatar { width: 52px; height: 52px; border-radius: 14px; }
  .operator-link { grid-column: 1 / -1; width: 100%; }
  .account-section { padding: 23px 20px; }
  .discord-link-row { align-items: stretch; flex-direction: column; }
  .discord-link-row .primary-submit, .discord-section > .inline-form .primary-submit { width: 100%; }
  .installer-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
  .installer-command { grid-template-columns: 1fr; }
  .installer-command button { min-height: 42px; border-top: 1px solid rgb(255 255 255 / 9%); border-left: 0; }
  .account-footer { padding: 16px 20px; }
  .impersonation { grid-template-columns: 36px 1fr; }
  .impersonation .inline-form { grid-column: 1 / -1; }
  .impersonation .primary-submit { width: 100%; }
}
@media (max-width: 480px) {
  .public-topbar { padding-inline: 14px; }
  .language-picker summary { min-width: 108px; padding-inline: 11px; }
  .card-heading { margin-bottom: 26px; }
  .card-heading h1 { font-size: 34px; }
  .welcome-actions, .license-grid, .redeem-form { grid-template-columns: 1fr; }
  .redeem-form .primary-submit { grid-column: auto; }
  .trust-row { flex-wrap: wrap; }
  .auth-switch { align-items: flex-start; flex-direction: column; gap: 8px; }
  .account-profile h1 { font-size: 24px; }
  .logout-form .primary-submit { width: 100%; }
  .public-footer { display: none; }
}

/* Centered account dashboard */
.account-page { background: #f4f1ec; }
.account-page .public-shell { display: block; background: radial-gradient(circle at 12% 0, rgb(240 90 36 / 10%), transparent 27rem), radial-gradient(circle at 92% 18%, rgb(23 23 23 / 5%), transparent 25rem), #f4f1ec; }
.account-page .public-showcase { display: none; }
.account-page .public-main { min-height: 100svh; background: transparent; }
.account-page .public-topbar { width: min(1080px, calc(100% - 48px)); min-height: 92px; justify-content: space-between; margin: 0 auto; padding: 24px 0 18px; }
.account-page .mobile-brand { display: inline-flex; }
.account-page .mobile-brand .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
.account-page .mobile-brand b { font-size: 14px; }
.account-page .public-content,
.account-page .public-content:has(.account-card) { display: block; width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 16px 0 46px; }
.account-page .account-card { display: grid; overflow: visible; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.account-page .account-profile { display: flex; grid-column: 1 / -1; flex-direction: column; align-items: center; gap: 13px; padding: 38px 34px 34px; border: 1px solid rgb(23 23 23 / 7%); border-radius: 24px; background: linear-gradient(145deg, rgb(255 255 255 / 98%), rgb(250 248 243 / 96%)); box-shadow: 0 18px 55px rgb(23 23 23 / 7%); text-align: center; }
.account-page .account-profile::before { display: block; width: 44px; height: 3px; margin: -38px auto 9px; border-radius: 0 0 999px 999px; background: var(--public-accent); content: ""; }
.account-page .account-avatar { width: 68px; height: 68px; border-radius: 21px; background: linear-gradient(145deg, #252525, #111); box-shadow: 0 12px 28px rgb(23 23 23 / 18%); font-size: 17px; }
.account-page .account-profile h1 { margin: 4px 0; font-size: clamp(28px, 4vw, 36px); letter-spacing: -1.5px; }
.account-page .account-profile p { font-size: 12px; }
.account-page .account-actions { width: min(760px, 100%); justify-content: center; margin-top: 9px; }
.account-page .account-actions .public-button { min-height: 46px; }
.account-page .account-section { grid-column: 1 / -1; padding: 28px; border: 1px solid rgb(23 23 23 / 7%); border-radius: 20px; background: rgb(251 250 247 / 96%); box-shadow: 0 12px 34px rgb(23 23 23 / 5%); }
.account-page .section-heading { margin-bottom: 20px; }
.account-page .section-heading h2 { font-size: 22px; }
.account-page .discord-section { grid-column: span 5; background: rgb(251 250 247 / 96%); }
.account-page .installer-section { grid-column: span 7; border-color: rgb(255 255 255 / 7%); background: linear-gradient(145deg, #1d1d1d, #121212); box-shadow: 0 18px 44px rgb(23 23 23 / 14%); }
.account-page .account-card:not(:has(.discord-section)) .installer-section,
.account-page .account-card:not(:has(.installer-section)) .discord-section { grid-column: 1 / -1; }
.account-page .licenses-section { grid-column: span 7; }
.account-page .redeem-section { grid-column: span 5; }
.account-page .license-grid { grid-template-columns: 1fr; }
.account-page .license-card { min-height: 112px; border-color: rgb(23 23 23 / 8%); box-shadow: 0 5px 16px rgb(23 23 23 / 3%); }
.account-page .discord-description { font-size: 12px; line-height: 1.65; }
.account-page .discord-section > .inline-form .primary-submit { width: 100%; }
.account-page .installer-option { background: rgb(255 255 255 / 5%); }
.account-page .installer-command code { min-width: 0; padding: 16px; font-size: 10px; scrollbar-width: thin; }
.account-page .installer-command button { min-width: 94px; transition: background .15s, color .15s; }
.account-page .installer-command button.is-copied { background: rgb(21 132 92 / 18%); color: #63dfa7; }
.account-page .redeem-form { grid-template-columns: 1fr; }
.account-page .redeem-form .primary-submit { grid-column: auto; }
.account-page .account-footer { grid-column: 1 / -1; padding: 2px 0 0; }
.account-page .logout-form { justify-content: center; }
.account-page .public-footer { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0 28px; border-top: 1px solid rgb(23 23 23 / 7%); }
.account-page .impersonation { width: min(1040px, 100%); margin: 0 auto 18px; }

@media (max-width: 880px) {
  .account-page .discord-section,
  .account-page .installer-section,
  .account-page .licenses-section,
  .account-page .redeem-section { grid-column: 1 / -1; }
  .account-page .license-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .account-page .public-topbar,
  .account-page .public-content,
  .account-page .public-content:has(.account-card),
  .account-page .public-footer { width: min(calc(100% - 28px), 1040px); }
  .account-page .public-topbar { min-height: 76px; padding-block: 16px 10px; }
  .account-page .public-content,
  .account-page .public-content:has(.account-card) { padding-top: 12px; }
  .account-page .account-card { gap: 13px; }
  .account-page .account-profile { padding: 32px 20px 24px; border-radius: 20px; }
  .account-page .account-profile::before { margin-top: -32px; }
  .account-page .account-actions { align-items: stretch; flex-direction: column; }
  .account-page .account-actions .public-button { width: 100%; flex: none; }
  .account-page .account-section { padding: 23px 20px; border-radius: 18px; }
  .account-page .license-grid { grid-template-columns: 1fr; }
  .account-page .installer-command { grid-template-columns: 1fr; }
  .account-page .installer-command button { min-height: 46px; border-top: 1px solid rgb(255 255 255 / 9%); border-left: 0; }
  .account-page .logout-form .primary-submit { width: 100%; }
  .account-page .public-footer { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
