:root {
  --bg: #050505;
  --surface: rgba(255, 255, 255, .055);
  --surface-strong: rgba(255, 255, 255, .085);
  --text: #f7f7f2;
  --secondary: rgba(247, 247, 242, .76);
  --muted: rgba(247, 247, 242, .5);
  --line: rgba(247, 247, 242, .12);
  --line-strong: rgba(247, 247, 242, .2);
  --accent: #9eff4d;
  --accent-soft: rgba(158, 255, 77, .14);
  --danger: #ff6b6b;
  --font: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  font-family: var(--font);
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; background: var(--bg); }
body { min-height: 100svh; overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }

.ambient {
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 12%, rgba(158, 255, 77, .09), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(158, 255, 77, .055), transparent 24%);
  filter: blur(20px);
  pointer-events: none;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 850; }
.brand img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(158, 255, 77, .16)); }
.button { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .55; transform: none; }
.button.primary { background: var(--text); color: #080907; border-color: rgba(255,255,255,.65); }
.button.secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.button.danger { background: rgba(255, 107, 107, .14); color: #ffaaaa; border-color: rgba(255, 107, 107, .28); }
.button.compact { min-height: 40px; padding: 0 16px; font-size: 13px; }

.login-view { width: min(1120px, calc(100% - 40px)); min-height: 100svh; margin: auto; display: grid; grid-template-rows: 1fr 60px; position: relative; }
.login-logo { margin: 0 auto 24px; display: grid; justify-items: center; gap: 12px; color: var(--text); font-size: 18px; font-weight: 900; }
.login-logo img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 0 26px rgba(158, 255, 77, .2)); }
.login-panel { width: min(440px, 100%); margin: auto; padding: 34px; border: 1px solid var(--line-strong); border-radius: 10px; background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)); box-shadow: 0 34px 90px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.08); }
.login-copy { text-align: center; }
.login-copy h1 { font-size: 32px; line-height: 1.12; font-weight: 900; }
.login-copy p { margin-top: 12px; color: var(--secondary); font-size: 14px; line-height: 1.65; }
.form-stack { display: grid; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 9px; color: var(--secondary); font-size: 13px; font-weight: 700; }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 7px; outline: none; background: rgba(0,0,0,.22); color: var(--text); font-size: 15px; font-weight: 600; transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus { border-color: rgba(158,255,77,.48); box-shadow: 0 0 0 3px rgba(158,255,77,.08); }
.code-field { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.agreement-check { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.agreement-check input { width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--accent); }
.agreement-check button { padding: 0; border: 0; background: transparent; color: var(--accent); font-size: inherit; font-weight: 800; }
.form-message { min-height: 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-message.error { color: #ffaaaa; }
.form-message.success { color: var(--accent); }
.login-footer { align-self: center; color: var(--muted); font-size: 12px; }

.console-view { min-height: 100svh; position: relative; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { height: 100svh; padding: 25px 20px 20px; border-right: 1px solid var(--line); background: rgba(5,5,5,.78); backdrop-filter: blur(18px); display: flex; flex-direction: column; position: sticky; top: 0; }
.nav { display: grid; gap: 6px; margin-top: 44px; }
.nav-item { min-height: 42px; padding: 0 14px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); text-align: left; font-size: 13px; font-weight: 750; }
.nav-item:hover, .nav-item.active { background: var(--surface); color: var(--text); border-color: var(--line); }
.nav-item.active { box-shadow: inset 2px 0 var(--accent); }
.sidebar-footer { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.sidebar-footer a, .sidebar-footer button { padding: 6px 2px; border: 0; background: transparent; color: var(--muted); text-align: left; font-size: 12px; font-weight: 650; }
.sidebar-footer a:hover, .sidebar-footer button:hover { color: var(--text); }

.workspace { width: 100%; max-width: 1500px; margin: 0 auto; padding: 28px clamp(22px, 4vw, 58px) 60px; }
.workspace-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-size: 11px; line-height: 1; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.workspace-header h1 { margin-top: 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 900; }
.account-chip { display: flex; align-items: center; gap: 11px; }
.account-chip > span { width: 38px; height: 38px; border: 1px solid rgba(158,255,77,.32); border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.account-chip div { display: grid; gap: 3px; }
.account-chip strong { font-size: 13px; }
.account-chip small { color: var(--muted); font-size: 11px; }
.mobile-menu-button { display: none; }
.global-message { margin-top: 18px; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--secondary); font-size: 13px; line-height: 1.5; }
.global-message.success { border-color: rgba(158,255,77,.28); background: rgba(158,255,77,.1); color: var(--accent); }
.global-message.error { border-color: rgba(255,107,107,.28); background: rgba(255,107,107,.1); color: #ffb4b4; }
.content-section { display: none; padding-top: 28px; }
.content-section.active { display: block; animation: reveal .2s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card, .panel { border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.063), rgba(255,255,255,.03)); box-shadow: inset 0 1px rgba(255,255,255,.06); }
.stat-card { min-height: 158px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.stat-card.balance-card { border-color: rgba(158,255,77,.22); background: linear-gradient(150deg, rgba(158,255,77,.14), rgba(255,255,255,.035) 64%); }
.stat-label { color: var(--muted); font-size: 12px; font-weight: 750; }
.stat-card strong { margin-top: 16px; font-size: clamp(24px, 3vw, 34px); line-height: 1; font-weight: 900; }
.stat-card small { margin-top: auto; color: var(--muted); font-size: 11px; }
.text-action { margin-top: auto; padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 12px; font-weight: 800; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 14px; margin-top: 14px; }
.panel { padding: 26px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.panel-heading h2 { font-size: 19px; line-height: 1.25; font-weight: 850; }
.panel-heading p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.steps { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li > span { width: 30px; height: 30px; border: 1px solid rgba(158,255,77,.28); border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.steps strong { font-size: 13px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.status-list { margin-top: 22px; }
.status-list > div { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.status-list dt { color: var(--muted); font-size: 12px; }
.status-list dd { color: var(--secondary); font-size: 12px; font-weight: 750; text-align: right; }
.status-dot { width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 10px rgba(158,255,77,.5); }

.table-wrap { margin-top: 24px; overflow-x: auto; }
table { width: 100%; min-width: 860px; border-collapse: collapse; }
th, td { padding: 15px 12px; border-top: 1px solid var(--line); text-align: left; font-size: 12px; }
th { color: var(--muted); font-weight: 700; }
td { color: var(--secondary); font-weight: 600; }
.key-name { display: grid; gap: 5px; color: var(--text); font-weight: 800; }
.key-name code { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.status-pill { padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 850; }
.status-pill.disabled { background: rgba(255,255,255,.07); color: var(--muted); }
.row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.row-action { padding: 5px 7px; border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; }
.row-action:hover { color: var(--text); }
.row-action.danger:hover { color: #ffaaaa; }
.ledger-table { min-width: 620px; }
.ledger-type { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 800; }
.ledger-type::before { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); content: ""; }
.ledger-type.recharge::before, .ledger-type.refund::before { background: var(--accent); box-shadow: 0 0 10px rgba(158,255,77,.35); }
.ledger-amount { font-weight: 850; }
.ledger-amount.positive { color: var(--accent); }
.ledger-amount.negative { color: #ffaaaa; }
.ledger-footer { min-height: 52px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ledger-footer span { color: var(--muted); font-size: 11px; }
.empty-state { padding: 64px 20px; text-align: center; border-top: 1px solid var(--line); margin-top: 24px; }
.empty-state h3 { font-size: 18px; }
.empty-state p { max-width: 460px; margin: 10px auto 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.usage-analysis-panel { margin-top: 14px; padding: 0; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.026)); }
.usage-selector-panel { padding: 18px 20px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.usage-heading { align-items: center; }
.usage-heading h2 { font-size: 16px; }
.usage-heading p { margin-top: 5px; font-size: 11px; }
.period-switcher { padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: rgba(0,0,0,.18); display: flex; gap: 2px; }
.period-switcher button { min-width: 54px; min-height: 32px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; }
.period-switcher button:hover, .period-switcher button.selected { background: var(--surface-strong); color: var(--accent); }
.usage-key-row { margin-top: 14px; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: center; }
.usage-key-row > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.usage-key-selector { display: flex; gap: 7px; padding-bottom: 3px; overflow-x: auto; }
.usage-key-selector button { min-width: 132px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(0,0,0,.13); color: var(--secondary); display: grid; gap: 3px; text-align: left; }
.usage-key-selector button:hover, .usage-key-selector button.selected { border-color: rgba(158,255,77,.38); background: var(--accent-soft); color: var(--text); }
.usage-key-selector strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.usage-key-selector span { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; }
.usage-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.chart-panel { min-width: 0; padding: 22px 20px 20px; background: transparent; }
.chart-panel .panel-heading h2 { font-size: 17px; }
.chart-panel .panel-heading p { font-size: 11px; }
.chart-panel + .chart-panel { border-left: 1px solid var(--line); }
.timeline-scroll { margin-top: 24px; overflow-x: auto; }
.timeline-chart { min-width: max(100%, calc(var(--bucket-count) * 42px)); height: 230px; padding-top: 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(var(--bucket-count), minmax(32px, 1fr)); gap: 7px; align-items: end; }
.timeline-column { height: 100%; min-width: 0; display: grid; grid-template-rows: 1fr 25px; gap: 8px; align-items: end; }
.timeline-bar-wrap { width: 100%; height: 100%; position: relative; display: flex; align-items: flex-end; }
.timeline-value { position: absolute; bottom: calc(var(--bar-height) + 4px); left: 50%; transform: translateX(-50%); color: var(--secondary); font-size: 8px; font-weight: 750; white-space: nowrap; }
.timeline-bar { width: 100%; min-height: 1px; border: 1px solid rgba(158,255,77,.28); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(158,255,77,.86), rgba(158,255,77,.25)); display: block; transition: height .25s ease, filter .18s ease; }
.timeline-column:hover .timeline-bar { filter: brightness(1.25); }
.timeline-label { overflow: hidden; color: var(--muted); font-size: 8px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

.recharge-layout { margin-top: 0; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.amount-grid button { min-height: 66px; border: 1px solid var(--line); border-radius: 7px; background: rgba(0,0,0,.18); color: var(--secondary); font-size: 18px; font-weight: 850; }
.amount-grid button:hover, .amount-grid button.selected { border-color: rgba(158,255,77,.42); background: var(--accent-soft); color: var(--accent); }
.custom-amount { margin: 22px 0; }
.money-field { position: relative; }
.money-field b { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.money-field input { padding-left: 34px; }
.payment-note { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.payment-dialog-content { padding: 24px; display: grid; justify-items: center; }
.payment-dialog-content .dialog-heading { width: 100%; }
.payment-qr-frame { width: 220px; height: 220px; margin-top: 24px; padding: 12px; border-radius: 10px; background: #fff; }
.payment-qr-frame img { width: 100%; height: 100%; object-fit: contain; }
#payment-amount { margin-top: 18px; font-size: 28px; font-weight: 900; }
.payment-status { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.payment-status.success { color: var(--accent); }
.payment-status.error { color: #ffaaaa; }
.agreement-dialog { width: min(720px, calc(100% - 32px)); }
.agreement-dialog-content { padding: 24px; }
.agreement-body { max-height: min(58vh, 520px); margin: 22px 0; padding-right: 8px; overflow: auto; color: var(--secondary); font-size: 13px; line-height: 1.75; }
.agreement-body h3 { margin: 18px 0 7px; color: var(--text); font-size: 14px; }
.agreement-body p + p { margin-top: 10px; }
#mock-pay-button { margin-top: 16px; }

.dialog { width: min(520px, calc(100% - 30px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: #111310; color: var(--text); box-shadow: 0 34px 100px rgba(0,0,0,.65); }
.dialog::backdrop { background: rgba(0,0,0,.68); backdrop-filter: blur(5px); }
.dialog form { padding: 24px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-heading h2 { font-size: 20px; }
.dialog-heading p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.dialog-close { border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; }
.dialog .field, .new-key-result { margin-top: 24px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.new-key-result { padding: 15px; border: 1px solid rgba(158,255,77,.25); border-radius: 7px; background: var(--accent-soft); display: grid; gap: 12px; }
.new-key-result span { color: var(--accent); font-size: 11px; font-weight: 850; }
.new-key-result code { overflow-wrap: anywhere; color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.6; }
.small-dialog { width: min(430px, calc(100% - 30px)); }

.key-limit-dialog {
  width: min(450px, calc(100% - 30px));
  overflow: hidden;
  border-color: rgba(158, 255, 77, .28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% -12%, rgba(158, 255, 77, .17), transparent 38%),
    linear-gradient(180deg, #151913 0%, #0d0f0c 100%);
  box-shadow: 0 36px 110px rgba(0, 0, 0, .72), inset 0 1px rgba(255, 255, 255, .08);
}
.key-limit-dialog form { padding: 34px; }
.key-limit-visual { display: grid; justify-items: center; gap: 15px; margin-bottom: 22px; }
.key-limit-orb {
  width: 78px;
  height: 78px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(158, 255, 77, .42);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(158, 255, 77, .22), rgba(158, 255, 77, .06));
  color: var(--accent);
  box-shadow: 0 18px 48px rgba(90, 170, 35, .16), inset 0 1px rgba(255, 255, 255, .12);
  transform: rotate(8deg);
}
.key-limit-orb::before, .key-limit-orb::after {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(158, 255, 77, .72);
}
.key-limit-orb::before { top: -5px; right: 14px; }
.key-limit-orb::after { bottom: 9px; left: -5px; opacity: .55; }
.key-limit-orb span { font-size: 34px; line-height: 1; font-weight: 900; transform: rotate(-8deg); }
.key-limit-kicker {
  padding: 6px 11px;
  border: 1px solid rgba(158, 255, 77, .22);
  border-radius: 999px;
  background: rgba(158, 255, 77, .08);
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
}
.key-limit-dialog .dialog-heading { position: relative; display: block; text-align: center; }
.key-limit-dialog .dialog-heading h2 { font-size: 24px; line-height: 1.25; font-weight: 900; }
.key-limit-dialog .dialog-heading p { max-width: 340px; margin: 12px auto 0; color: var(--secondary); font-size: 14px; line-height: 1.75; }
.key-limit-dialog .dialog-close {
  width: 30px;
  height: 30px;
  padding: 0;
  position: absolute;
  top: -2px;
  right: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  font-size: 0;
}
.key-limit-dialog .dialog-close::before { content: "×"; color: var(--muted); font-size: 18px; line-height: 1; }
.key-limit-dialog .dialog-close:focus { outline: none; }
.key-limit-dialog .dialog-close:focus-visible { outline: 2px solid rgba(158, 255, 77, .7); outline-offset: 2px; }
.key-limit-dialog .dialog-actions { margin-top: 28px; }
.key-limit-dialog #key-dialog-cancel {
  width: 100%;
  min-height: 46px;
  border-color: rgba(158, 255, 77, .64);
  background: var(--accent);
  color: #0a0d08;
  box-shadow: 0 12px 34px rgba(101, 190, 41, .16);
}
.key-limit-dialog #key-dialog-cancel:hover { background: #b2ff73; }
.key-limit-dialog #key-dialog-cancel:focus-visible { outline: 2px solid rgba(158, 255, 77, .72); outline-offset: 3px; }

@media (max-width: 1080px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-layout { grid-template-columns: 1fr; }
  .compact-panel { min-height: 0; }
}

@media (max-width: 760px) {
  .console-view { display: block; }
  .sidebar { width: min(280px, 82vw); position: fixed; z-index: 10; transform: translateX(-105%); transition: transform .2s ease; }
  .console-view.menu-open .sidebar { transform: translateX(0); }
  .workspace { padding: 18px 16px 44px; }
  .workspace-header { align-items: flex-start; }
  .mobile-menu-button { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--secondary); display: block; font-size: 11px; font-weight: 750; }
  .account-chip div { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { min-height: 138px; padding: 17px; }
  .panel { padding: 20px; }
  .key-heading { display: grid; }
  .usage-heading { display: grid; }
  .usage-key-row { grid-template-columns: 1fr; gap: 8px; }
  .ledger-heading { display: grid; }
  .period-switcher { width: max-content; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .usage-chart-grid { grid-template-columns: 1fr; }
  .chart-panel + .chart-panel { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 460px) {
  .login-view { width: min(100% - 28px, 1120px); grid-template-rows: 1fr 48px; }
  .login-panel { padding: 25px 20px; }
  .login-logo img { width: 62px; height: 62px; }
  .code-field { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 130px; }
  .account-chip { display: none; }
  .dialog-actions .button { flex: 1; }
  .key-limit-dialog form { padding: 28px 22px 22px; }
  .key-limit-orb { width: 70px; height: 70px; border-radius: 21px; }
  .key-limit-dialog .dialog-heading h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
