:root {
  --bg: #070a0d;
  --bg-soft: #0a0f13;
  --panel: #10161b;
  --panel-2: #131b21;
  --panel-3: #182229;
  --line: #253038;
  --line-soft: #1b252c;
  --text: #f4f7f8;
  --muted: #8d9aa4;
  --muted-2: #65727b;
  --green: #20d67b;
  --green-2: #15b968;
  --green-soft: rgba(32, 214, 123, .11);
  --red: #ff5364;
  --red-soft: rgba(255, 83, 100, .11);
  --amber: #ffb547;
  --amber-soft: rgba(255, 181, 71, .12);
  --blue: #4ca7ff;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 18px 55px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100%; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: radial-gradient(circle at 80% -10%, rgba(32,214,123,.08), transparent 28%), var(--bg); }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); }
button { color: inherit; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.app-layout { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; z-index: 30; display: flex; flex-direction: column; padding: 22px 16px 16px; border-right: 1px solid var(--line-soft); background: rgba(8, 12, 15, .97); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 5px 8px 19px; border-bottom: 1px solid var(--line-soft); }
.brand-logo { position: relative; display: inline-flex; align-items: flex-end; gap: 0; width: 46px; height: 38px; font-size: 24px; font-weight: 850; letter-spacing: -5px; transform: skew(-8deg); }
.brand-logo span:first-child { color: var(--green); }
.brand-logo span:nth-child(2) { color: #fff; }
.brand-logo i { position: absolute; left: 4px; bottom: -2px; width: 36px; height: 3px; border-radius: 10px; background: linear-gradient(90deg, var(--green), transparent); transform: skew(8deg); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 17px; letter-spacing: .2px; }
.brand-copy small { color: var(--muted); font-size: 11px; }
.side-nav { padding-top: 20px; }
.nav-label { margin: 0 10px 9px; color: #52606a; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.nav-label-spaced { margin-top: 26px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 47px; margin-bottom: 5px; padding: 0 13px; border: 1px solid transparent; border-radius: 12px; color: #aab4bb; font-weight: 650; font-size: 14px; transition: .18s ease; }
.nav-link:hover { color: #fff; background: #11181d; border-color: #1b252b; }
.nav-link.active { color: var(--green); background: linear-gradient(90deg, rgba(32,214,123,.13), rgba(32,214,123,.035)); border-color: rgba(32,214,123,.15); }
.nav-link.active::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 4px 4px 0; background: var(--green); box-shadow: 0 0 15px rgba(32,214,123,.55); }
.sidebar-health { margin-top: auto; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #10171c, #0b1014); }
.health-title { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.sidebar-health > small { display: block; margin: 6px 0 14px 19px; color: var(--muted-2); font-size: 10px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(32,214,123,.08), 0 0 12px rgba(32,214,123,.45); }
.health-row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 11px; }
.health-row b { color: #dbe2e6; font-weight: 650; }
.logout-link { margin-top: 10px; border: 1px solid var(--line); }

.app-main { grid-column: 2; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 66px; display: flex; align-items: center; gap: 22px; padding: 0 28px; border-bottom: 1px solid var(--line-soft); background: rgba(7,10,13,.92); backdrop-filter: blur(20px); }
.market-strip { flex: 1; display: flex; justify-content: center; align-items: center; gap: 0; min-width: 0; }
.market-strip > span { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 19px; border-right: 1px solid var(--line-soft); white-space: nowrap; }
.market-strip > span:last-child { border-right: 0; }
.market-strip b { font-size: 11px; letter-spacing: .05em; }
.market-strip em { color: var(--muted); font-size: 11px; font-style: normal; }
.market-strip i { font-size: 9px; font-style: normal; font-weight: 800; }
.market-strip .up { color: var(--green); }
.profile-chip { display: flex; align-items: center; gap: 10px; min-width: 150px; justify-content: flex-end; }
.profile-chip > span:last-child { display: grid; gap: 2px; }
.profile-chip strong { font-size: 12px; }
.profile-chip small { color: var(--muted); font-size: 10px; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); border: 1px solid rgba(32,214,123,.18); }
.avatar .icon { width: 18px; height: 18px; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.mobile-menu { display: none; }
.content-shell { width: min(1600px, 100%); margin: 0 auto; padding: 30px 30px 20px; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-title { margin: 0; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.035em; }
.page-subtitle { max-width: 720px; margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.eyebrow { margin-bottom: 7px; color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px; color: #dbe3e7; background: #12191e; font-weight: 750; font-size: 12px; cursor: pointer; transition: .18s ease; }
.button:hover { transform: translateY(-1px); border-color: #39464f; background: #172027; }
.button .icon { width: 17px; height: 17px; }
.button.primary { color: #03130b; border-color: var(--green); background: var(--green); box-shadow: 0 10px 24px rgba(32,214,123,.16); }
.button.primary:hover { background: #38e38e; }
.button.danger { color: var(--red); border-color: rgba(255,83,100,.35); background: var(--red-soft); }
.button.warning { color: var(--amber); border-color: rgba(255,181,71,.3); background: var(--amber-soft); }
.button.ghost { background: transparent; }
.button.compact { min-height: 32px; padding: 0 10px; border-radius: 8px; }
.button.full { width: 100%; }

.alert { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; color: #dce4e7; background: var(--panel); font-size: 13px; }
.alert.success { border-color: rgba(32,214,123,.28); background: var(--green-soft); }
.alert.error { border-color: rgba(255,83,100,.28); background: var(--red-soft); }
.alert.warning { border-color: rgba(255,181,71,.28); background: var(--amber-soft); }
.alert button { border: 0; color: inherit; background: transparent; cursor: pointer; font-size: 20px; }

.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card { position: relative; min-height: 145px; overflow: hidden; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(145deg, #11181d, #0e1418); box-shadow: var(--shadow); }
.stat-card::after { content: ""; position: absolute; right: -22px; bottom: -42px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(32,214,123,.13), transparent 68%); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-label { color: var(--muted); font-size: 12px; }
.stat-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--green); background: var(--green-soft); }
.stat-icon.red { color: var(--red); background: var(--red-soft); }
.stat-icon.amber { color: var(--amber); background: var(--amber-soft); }
.stat-icon.blue { color: var(--blue); background: rgba(76,167,255,.11); }
.stat-value { display: block; margin-top: 15px; font-size: 28px; letter-spacing: -.04em; }
.stat-meta { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: var(--muted-2); font-size: 10px; }
.stat-meta.good { color: var(--green); }
.spark { position: absolute; left: 18px; right: 18px; bottom: 15px; height: 28px; opacity: .78; }
.spark svg { width: 100%; height: 100%; overflow: visible; }
.spark path { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark.red path { stroke: var(--red); }
.spark.amber path { stroke: var(--amber); }
.spark.blue path { stroke: var(--blue); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(330px, .75fr); gap: 18px; }
.panel { border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17,24,29,.98), rgba(12,17,21,.98)); box-shadow: var(--shadow); }
.panel + .panel { margin-top: 18px; }
.panel-head { min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.panel-head h2 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.panel-body { padding: 18px; }

.activity-chart { height: 230px; display: flex; align-items: flex-end; gap: 10px; padding: 26px 12px 8px; border-bottom: 1px solid var(--line-soft); background-image: linear-gradient(var(--line-soft) 1px, transparent 1px); background-size: 100% 46px; }
.chart-bar-wrap { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.chart-bar { width: min(30px, 66%); min-height: 4px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #42e895, var(--green-2)); box-shadow: 0 0 16px rgba(32,214,123,.12); }
.chart-bar-wrap span { color: var(--muted-2); font-size: 9px; }
.chart-summary { display: flex; justify-content: space-between; align-items: end; padding: 16px 18px; }
.chart-summary strong { font-size: 24px; }
.chart-summary small { display: block; color: var(--muted); font-size: 10px; }

.table-tools { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.search-box { position: relative; min-width: 270px; }
.search-box .icon { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; color: var(--muted-2); transform: translateY(-50%); }
.search-box input { width: 100%; min-height: 40px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); outline: 0; background: #0b1014; }
.search-box input:focus { border-color: rgba(32,214,123,.55); box-shadow: 0 0 0 3px rgba(32,214,123,.07); }
.table-wrap { width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 12px 14px; color: #74818a; background: #0d1317; font-size: 10px; font-weight: 800; letter-spacing: .055em; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { padding: 13px 14px; border-top: 1px solid var(--line-soft); color: #d5dde1; font-size: 12px; vertical-align: middle; }
tbody tr { transition: .16s ease; }
tbody tr:hover { background: rgba(255,255,255,.018); }
td strong { color: #f3f7f8; }
td small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 10px; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: .025em; }
.license-key-cell { min-width: 240px; }
.license-key-line { display: flex; align-items: center; gap: 8px; }
.key-text { color: #f1f6f4; font-size: 11px; white-space: nowrap; }
.copy-mini { width: 29px; height: 29px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #0b1014; cursor: pointer; }
.copy-mini:hover { color: var(--green); border-color: rgba(32,214,123,.25); }
.copy-mini .icon { width: 14px; height: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 25px; padding: 0 9px; border: 1px solid transparent; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: capitalize; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.badge.active, .badge.valid { color: var(--green); border-color: rgba(32,214,123,.17); background: var(--green-soft); }
.badge.suspended, .badge.account_limit, .badge.rate_limited { color: var(--amber); border-color: rgba(255,181,71,.18); background: var(--amber-soft); }
.badge.revoked, .badge.expired, .badge.invalid, .badge.auth_failed, .badge.activation_disabled { color: var(--red); border-color: rgba(255,83,100,.18); background: var(--red-soft); }
.badge.disabled, .badge.server_error { color: #9ca8af; border-color: var(--line); background: #151d22; }
.row-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.action-icon { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #0d1317; cursor: pointer; }
.action-icon:hover { color: #fff; border-color: #40505a; }
.action-icon.danger:hover { color: var(--red); border-color: rgba(255,83,100,.35); background: var(--red-soft); }
.action-icon .icon { width: 15px; height: 15px; }
.empty-state { padding: 55px 20px; text-align: center; color: var(--muted); }
.empty-state .icon { width: 38px; height: 38px; margin-bottom: 10px; color: var(--green); }
.table-footer { display: flex; justify-content: space-between; align-items: center; padding: 13px 17px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 10px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-grid .full { grid-column: 1 / -1; }
label.field { display: grid; gap: 7px; color: #a9b4ba; font-size: 11px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; color: var(--text); outline: 0; background: #0a0f13; }
input, select { min-height: 43px; padding: 0 12px; }
textarea { min-height: 95px; padding: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(32,214,123,.5); box-shadow: 0 0 0 3px rgba(32,214,123,.06); }
.field-help { color: var(--muted-2); font-size: 10px; font-weight: 500; }

.modal { position: fixed; inset: 0; z-index: 70; display: none; place-items: center; padding: 22px; background: rgba(0,0,0,.7); backdrop-filter: blur(7px); }
.modal.open { display: grid; }
.modal-card { width: min(640px, 100%); max-height: calc(100vh - 44px); overflow: auto; border: 1px solid #2d3941; border-radius: 18px; background: #10171c; box-shadow: 0 35px 100px rgba(0,0,0,.55); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.modal-head h2 { margin: 0; font-size: 18px; }
.modal-close { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: #0b1014; cursor: pointer; }
.modal-close .icon { width: 17px; height: 17px; }
.modal-body { padding: 20px; }

.key-reveal { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; margin-bottom: 18px; padding: 16px 18px; border: 1px solid rgba(32,214,123,.25); border-radius: var(--radius); background: linear-gradient(110deg, rgba(32,214,123,.12), rgba(32,214,123,.025)); }
.key-reveal strong { display: block; margin-bottom: 5px; }
.key-reveal code { display: block; margin-top: 8px; color: #c9ffe1; font-size: 15px; overflow-wrap: anywhere; }
.key-reveal p { margin: 0; color: var(--muted); font-size: 11px; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr); gap: 18px; align-items: start; }
.detail-stack { display: grid; gap: 18px; }
.license-hero { padding: 21px; }
.license-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.key-large { margin-top: 18px; padding: 15px; border: 1px dashed rgba(32,214,123,.3); border-radius: 12px; color: #d9ffea; background: rgba(32,214,123,.055); font-size: clamp(13px, 2vw, 18px); overflow-wrap: anywhere; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line-soft); }
.detail-item { min-height: 84px; padding: 16px 18px; background: #10161b; }
.detail-item span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.detail-item strong { display: block; margin-top: 8px; font-size: 13px; overflow-wrap: anywhere; }
.danger-zone { border-color: rgba(255,83,100,.2); }
.danger-zone .panel-head { background: rgba(255,83,100,.025); }
.action-stack { display: grid; gap: 10px; }

.info-list { display: grid; }
.info-row { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; }
.info-row:last-child { border-bottom: 0; }
.info-row span { color: var(--muted); }
.info-row strong, .info-row code { text-align: right; overflow-wrap: anywhere; }

.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 15% 10%, rgba(32,214,123,.09), transparent 24%), radial-gradient(circle at 90% 85%, rgba(76,167,255,.05), transparent 25%), #070a0d; }
.login-shell { width: min(1040px, 100%); display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #0d1317; box-shadow: 0 35px 100px rgba(0,0,0,.45); }
.login-showcase { position: relative; min-height: 590px; overflow: hidden; padding: 50px; background: linear-gradient(145deg, #0c1417, #06100b); }
.login-showcase::before { content: ""; position: absolute; inset: 0; opacity: .38; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.login-brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 13px; }
.login-title { position: relative; z-index: 2; max-width: 500px; margin-top: 100px; }
.login-title h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); letter-spacing: -.055em; line-height: .98; }
.login-title h1 span { color: var(--green); }
.login-title p { max-width: 470px; margin: 22px 0 0; color: #9ba8af; line-height: 1.65; }
.login-candles { position: absolute; left: 45px; right: 35px; bottom: 45px; height: 130px; display: flex; align-items: flex-end; gap: 14px; opacity: .82; }
.candle { position: relative; flex: 1; max-width: 14px; min-width: 7px; border-radius: 2px; background: var(--green); }
.candle.red { background: var(--red); }
.candle::before { content: ""; position: absolute; left: 50%; top: -23px; bottom: -18px; width: 1px; background: currentColor; transform: translateX(-50%); }
.login-card { display: flex; flex-direction: column; justify-content: center; padding: 54px; background: #10161b; }
.login-card h2 { margin: 0; font-size: 29px; letter-spacing: -.03em; }
.login-card > p { margin: 9px 0 28px; color: var(--muted); font-size: 13px; }
.login-form { display: grid; gap: 15px; }
.login-meta { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--muted-2); font-size: 10px; }
.login-meta .icon { width: 15px; color: var(--green); }

.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.code-box { position: relative; padding: 15px 46px 15px 15px; border: 1px solid var(--line); border-radius: 11px; background: #090e11; color: #ccebdd; font: 12px/1.55 "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
.code-box .copy-mini { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); }
.system-checks { display: grid; gap: 10px; }
.check-item { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; }
.check-item span { color: var(--muted); }
.check-item b.ok { color: var(--green); }
.check-item b.warn { color: var(--amber); }

.app-footer { display: flex; justify-content: space-between; gap: 18px; padding: 25px 4px 5px; color: #4e5b64; font-size: 10px; }
.sidebar-overlay { display: none; }

@media (max-width: 1250px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .dashboard-grid, .detail-layout { grid-template-columns: 1fr; }
  .market-strip > span:nth-child(3) { display: none; }
}

@media (max-width: 900px) {
  .app-layout { display: block; }
  .sidebar { transform: translateX(-105%); transition: transform .22s ease; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 25; background: rgba(0,0,0,.56); }
  .sidebar-overlay.open { display: block; }
  .app-main { min-width: 0; }
  .mobile-menu { display: inline-grid; }
  .topbar { padding: 0 16px; }
  .market-strip { justify-content: flex-start; overflow: hidden; }
  .market-strip > span { padding: 0 12px; }
  .market-strip em { display: none; }
  .profile-chip { min-width: auto; }
  .profile-chip > span:last-child { display: none; }
  .content-shell { padding: 22px 16px 16px; }
  .login-shell { grid-template-columns: 1fr; }
  .login-showcase { display: none; }
}

@media (max-width: 700px) {
  .page-head { align-items: stretch; flex-direction: column; }
  .head-actions, .head-actions .button { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-card { min-height: 132px; }
  .table-tools, .search-box { width: 100%; }
  .search-box { min-width: 0; }
  .form-grid, .settings-grid, .detail-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .login-card { padding: 34px 24px; }
  .key-reveal { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 5px; }
  .info-row strong, .info-row code { text-align: left; }
  .app-footer { flex-direction: column; }
}

@media (max-width: 440px) {
  .stats-grid { grid-template-columns: 1fr; }
  .market-strip > span:nth-child(2) { display: none; }
  .profile-chip { display: none; }
}
