/* BombSol — pixel-art game with a chunky, readable UI (the Claude Design "Hero
   Inventory" system): cream panels with a dark 3px outline, solid drop shadows,
   Lilita One titles, Inter for everything else, the "Night arena" background. */
:root {
  --night: #1a2780;
  --night-shadow: #121c5c;
  --panel: #fbf3e4;
  --panel-2: #f4e6cc;
  --card: #fffaf0;
  --line: #e2cfab;
  --line-2: #efe4d0;
  --dash: #d3bc92;
  --track: #eadbc0;
  --ink: #2b1d12;
  --ink-2: #6b4e37;
  --ink-3: #5c4330;
  --brand: #7c3aed;
  --brand-2: #5b21b6;
  --ok: #15803d;
  --ok-dark: #0f5d2c;
  --ok-bg: #dcfce7;
  --warn: #b45309;
  --warn-bg: #fef3c7;
  --bad: #b91c1c;
  --bad-dark: #7f1d1d;
  --bad-bg: #fee2e2;
  --info-bg: #eef2ff;
  --gold: #f5b942;
  --focus: #2f47c9;
  --radius: 16px;
  --radius-sm: 12px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --hud-h: 66px;
  --tb-h: 92px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --title: "Lilita One", var(--font);
  --shadow: 0 8px 0 var(--night-shadow);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden;
  font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink);
  background: var(--night) url("../Assets/night_arena.svg") center bottom / cover no-repeat;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font-family: var(--font); font-size: 14px; }
canvas, img.pix, .tb-btn img, .portrait img, .attr-row img { image-rendering: pixelated; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0; }
a { color: var(--brand-2); font-weight: 600; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.hidden { display: none !important; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.5px; overflow-wrap: anywhere; }
.msg { color: var(--bad); min-height: 20px; font-weight: 600; }
.msg:empty { display: none; }
.title-font { font-family: var(--title); font-weight: 400; letter-spacing: .5px; }

/* ------------------------------------------------------------- layout */
.stack { display: flex; flex-direction: column; gap: var(--s3); }
.stack.tight { gap: var(--s2); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.row.space { justify-content: space-between; }
.row.center { justify-content: center; }
.row.nowrap { flex-wrap: nowrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: var(--s3); }
.grid.c2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.section { display: flex; flex-direction: column; gap: var(--s3); }
.section-title { font-size: 18px; font-weight: 800; color: var(--ink); }
.lead { font-size: 16px; color: var(--ink-2); }
.big-num { font-size: 30px; font-weight: 800; line-height: 1.1; }

/* -------------------------------------------------------------- HUD */
#hud {
  position: fixed; top: 0; left: 0; right: 0; height: var(--hud-h); z-index: 50;
  display: flex; align-items: center; gap: 10px 16px; padding: 0 16px;
  padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right));
  background: var(--panel); border-bottom: 3px solid var(--ink);
}
.hud-brand { display: flex; align-items: center; gap: 8px; margin-right: 8px; color: var(--ink); flex: 0 0 auto; }
.hud-brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.hud-brand span { font-family: var(--title); font-size: 26px; letter-spacing: .5px; line-height: 1; }
.hud-chips { display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.hud-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; min-height: 44px;
  padding: 4px 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--ink);
  cursor: pointer; text-align: left; line-height: 1.2;
}
.chip:hover { border-color: var(--ink); }
.chip-label { font-size: 11px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.chip-value { font-size: 15px; font-weight: 800; white-space: nowrap; }
.ok { color: #166534; } .warn { color: var(--warn); } .bad { color: var(--bad); }
#hud-account {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px;
  border: 2px solid var(--ink); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 700;
  box-shadow: 0 3px 0 var(--ink); cursor: pointer; white-space: nowrap;
}
#hud-account::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #22c55e; flex: none; }
#hud-account:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

#game-root { position: fixed; --gap: clamp(8px, 2vw, 24px); top: calc(var(--hud-h) + var(--gap)); bottom: calc(var(--tb-h) + var(--gap)); left: var(--gap); right: var(--gap); }
#game-root canvas { outline: 3px solid var(--ink); border-radius: 8px; box-shadow: 0 6px 0 rgba(28, 45, 133, .6); }

/* ----------------------------------------------------------- toolbar */
#toolbar {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--tb-h); z-index: 50;
  display: flex; align-items: center; gap: 4px; padding: 8px 12px 10px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  overflow-x: auto; scrollbar-width: thin;
  background: var(--panel); border-top: 3px solid var(--ink);
}
#toolbar::before, #toolbar::after { content: ""; flex: 1 0 0; }
.tb-btn {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 86px; min-height: 70px; padding: 6px 4px; border-radius: 12px; border: 0; background: transparent; color: var(--ink); cursor: pointer;
}
.tb-btn span { font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center; white-space: nowrap; }
.tb-btn img { width: 34px; height: 34px; object-fit: contain; }
.tb-btn:hover { background: var(--panel-2); }

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 44px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--ink);
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 800; line-height: 1.15; cursor: pointer; white-space: nowrap;
  text-decoration: none; box-shadow: 0 3px 0 var(--ink); transition: background .15s;
}
.btn:hover:not(:disabled) { background: var(--brand-2); color: #fff; }
.btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { background: #efe4d0; border-color: var(--line); color: var(--ink-3); box-shadow: none; cursor: not-allowed; }
.btn.small { min-height: 38px; padding: 0 12px; font-size: 13px; font-weight: 700; border-radius: 10px; }
.btn.big { min-height: 56px; padding: 0 24px; font-size: 18px; border-radius: 14px; box-shadow: 0 4px 0 var(--ink); }
.btn.block { width: 100%; }
.btn.green { background: var(--ok); border-color: var(--ok-dark); box-shadow: 0 3px 0 var(--ok-dark); }
.btn.green:hover:not(:disabled) { background: #166534; }
.btn.big.green { box-shadow: 0 4px 0 var(--ok-dark); }
.btn.red { background: var(--bad); border-color: var(--bad-dark); box-shadow: 0 3px 0 var(--bad-dark); }
.btn.red:hover:not(:disabled) { background: #991b1b; }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover:not(:disabled) { background: #eaa92a; color: var(--ink); }
.btn.ghost { background: var(--card); color: var(--ink); }
.btn.ghost:hover:not(:disabled) { background: var(--panel-2); color: var(--ink); }
.btn:disabled:is(.green, .red, .gold, .ghost) { background: #efe4d0; border-color: var(--line); color: var(--ink-3); box-shadow: none; }

/* ------------------------------------------------------------ panels */
.panel { background: var(--panel); border-radius: 20px; box-shadow: var(--shadow); border: 3px solid var(--ink); }
.overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 14, 50, .55); padding: var(--s4);
}
#modal-root .overlay { z-index: 150; }
#connect-screen { z-index: 120; }
.modal { position: relative; width: min(1100px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.modal.narrow { width: min(600px, 100%); }
.modal.mid { width: min(780px, 100%); }
.modal.wide { width: min(1240px, 100%); }
.modal-head {
  display: flex; align-items: center; gap: 14px; flex: 0 0 auto; flex-wrap: wrap;
  padding: 20px 24px; background: var(--panel-2); border-bottom: 2px solid var(--line);
}
.modal-back {
  flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0;
  border-radius: 12px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); box-shadow: 0 3px 0 var(--ink); cursor: pointer;
}
.modal-back:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.modal-back svg { display: block; }
.modal-icon { flex: none; width: 36px; height: 36px; object-fit: contain; image-rendering: pixelated; }
.modal-titles { flex: 1 1 260px; min-width: 0; }
.modal-head h2 { font-family: var(--title); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: .5px; }
.modal-sub { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.modal-aside { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.modal-aside:empty { display: none; }
.modal-body { overflow-y: auto; padding: var(--s5); display: flex; flex-direction: column; gap: 20px; }
.head-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
  background: var(--card); border: 2px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none;
}
.head-pill.live { height: 32px; padding: 0 12px; background: var(--ok-bg); border-color: var(--ok-bg); color: #166534; font-weight: 800; }
.head-pill.live::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #22c55e; }
.head-pill.vip { background: #fde68a; border-color: var(--warn); color: #78350f; font-weight: 800; }

.tabs { display: flex; gap: var(--s2); flex-wrap: wrap; }
.tab {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--card);
  color: var(--ink-3); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.tab:hover:not(:disabled) { border-color: #cdb48a; }
.tab.active { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.tab:disabled { opacity: .45; cursor: not-allowed; }

.card { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.card.sel { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124, 58, 237, .25), 0 3px 0 var(--brand); }
.card.dim { opacity: .6; }
.card.bold { border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--line); padding: 18px; }
.card-title { font-weight: 800; font-size: 16px; }

.note { border-radius: 14px; padding: 14px 16px; background: var(--info-bg); border: 2px solid #c7d2fe; color: var(--ink); display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; }
.note > b:first-child { color: #312e81; font-size: 15px; font-weight: 800; }
.note.warn { background: var(--warn-bg); border-color: #f2d27a; }
.note.warn > b:first-child { color: #92400e; }
.note.bad { background: var(--bad-bg); border-color: #fca5a5; color: #7f1d1d; }
.note.ok { background: var(--ok-bg); border-color: #86efac; color: #14532d; }
.note b { font-weight: 800; }
ul.list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: var(--s3); }
.kpi { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi.good { background: #f0fdf4; border-color: #86efac; }
.kpi.good .v { color: #166534; }
.kpi .k { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.kpi .v { font-size: 22px; font-weight: 800; overflow-wrap: anywhere; line-height: 1.25; }
.kpi .d { font-size: 12px; color: var(--ink-2); }

.stat { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); font-size: 14px; }
.stat > span { color: var(--ink-2); }
.stat b { font-weight: 700; text-align: right; }

.table-wrap { overflow-x: auto; border: 2px solid var(--line); border-radius: 14px; background: var(--card); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .4px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; background: var(--panel-2); }
table.t td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.hl td { background: #ede9fe; }

label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); min-width: 0; }
input.inp, select.inp {
  width: 100%; min-height: 48px; padding: 0 12px; color: var(--ink); background: var(--card); font-size: 15px; font-weight: 600;
  border: 2px solid var(--line); border-radius: 12px;
}
input.inp:focus, select.inp:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--line); }
.inline-input { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.inline-input input.inp, .inline-input select.inp { width: 220px; max-width: 100%; flex: 0 1 auto; }
label.chk {
  display: flex; gap: var(--s3); align-items: flex-start; cursor: pointer; padding: 12px 14px; min-height: 44px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--card); font-size: 14px; line-height: 1.45; font-weight: 600;
}
label.chk:has(input:checked) { background: var(--ok-bg); border-color: #86efac; }
label.chk input { margin: 0; width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--ok); }

details.more { border: 2px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 16px; }
details.more summary { cursor: pointer; font-weight: 800; font-size: 14px; padding: 12px 0; min-height: 44px; display: flex; align-items: center; }
details.more[open] { padding-bottom: 14px; }
details.more > *:not(summary) + *:not(summary) { margin-top: var(--s3); }

.bar { height: 8px; background: var(--track); border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: #22c55e; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--line-2); color: var(--ink-3); white-space: nowrap; }
.pill.work { background: var(--ok-bg); color: #166534; } .pill.rest { background: var(--warn-bg); color: #92400e; }
.pill.ready { background: #dbeafe; color: #1e40af; } .pill.bad { background: var(--bad-bg); color: #991b1b; }
.pill.sale { background: #ede9fe; color: var(--brand-2); }
.rar {
  display: inline-block; padding: 3px 9px; border-radius: 999px; background: #6b6b6b; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; line-height: 1.4;
}

.hero-card { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: var(--s3); align-items: center; cursor: pointer; box-shadow: 0 3px 0 var(--line); }
.hero-card:hover { border-color: #cdb48a; }
.portrait { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--panel-2); border-radius: 12px; flex: 0 0 auto; }
.portrait.lg { width: 112px; height: 112px; border-radius: 14px; }
.portrait img { width: 85%; height: 85%; object-fit: contain; }
.hero-card .meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

/* Compact stat strip on cards, and the full stats popover (market hover). */
.attr-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.attr-strip span { display: flex; align-items: center; justify-content: center; gap: 3px; padding: 4px 0; border-radius: 8px; background: var(--panel-2); }
.attr-strip img { width: 16px; height: 16px; image-rendering: pixelated; }
.hero-pop {
  position: fixed; z-index: 400; width: min(320px, calc(100vw - 16px)); pointer-events: none;
  background: var(--card); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink);
  padding: var(--s3) var(--s4);
}
.hero-pop-body { display: flex; flex-direction: column; gap: var(--s2); }
.hp-attrs { display: flex; flex-direction: column; gap: 4px; padding: 6px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hp-attr { display: grid; grid-template-columns: 18px 76px minmax(0, 1fr) 24px 40px; gap: 8px; align-items: center; font-size: 13px; }
.hp-attr img { width: 18px; height: 18px; image-rendering: pixelated; }
.hp-attr b { text-align: right; font-variant-numeric: tabular-nums; }
.hp-attr small { color: var(--ink-2); font-size: 11.5px; text-align: right; font-variant-numeric: tabular-nums; }
.hp-bar { height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.hp-bar i { display: block; height: 100%; border-radius: 3px; background: var(--ink); }
.hp-grid { display: flex; flex-direction: column; gap: 2px; }
.hp-row { display: flex; justify-content: space-between; gap: var(--s3); font-size: 12.5px; }
.hp-row span { color: var(--ink-2); }
.hp-row b { font-weight: 700; text-align: right; }
.nft-links { gap: 8px; }
.nft-links .btn { min-height: 40px; }
.ext-row { gap: 8px; }
.attr-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: var(--s3); align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.attr-row.compact { grid-template-columns: 24px minmax(0, 1fr) auto; padding: 4px 0; }
.attr-row:last-child { border-bottom: 0; }
.attr-row img { width: 26px; height: 26px; }
.attr-row .val { font-weight: 800; min-width: 28px; text-align: right; }

/* Mint reveal */
.reveal { display: flex; flex-direction: column; align-items: center; gap: var(--s4); padding: var(--s3) 0; width: 100%; }
.reveal .incub { width: 200px; height: 200px; image-rendering: pixelated; }
.reel { position: relative; width: min(420px, 100%); height: 96px; overflow: hidden; border: 3px solid var(--ink); border-radius: 14px; background: var(--card); }
.reel-strip { position: absolute; top: 8px; left: 0; display: flex; will-change: transform; }
.reel-strip img { width: 84px; height: 80px; object-fit: contain; image-rendering: pixelated; }
.reel-mark { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--bad); z-index: 2; }

/* Toasts */
#toast-root { position: fixed; right: var(--s3); bottom: calc(var(--tb-h) + var(--s3)); z-index: 300; display: flex; flex-direction: column; gap: var(--s2); max-width: min(400px, calc(100vw - 24px)); }
.toast { padding: 12px 16px; border-radius: 14px; background: var(--card); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); font-weight: 600; }
.toast.err { border-left: 8px solid var(--bad); }
.toast.ok { border-left: 8px solid var(--ok); }

.walletwait { display: flex; flex-direction: column; align-items: center; gap: var(--s3); text-align: center; padding: var(--s4); }
.spinner { width: 38px; height: 38px; border: 4px solid #c7d2fe; border-top-color: #4338ca; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Arena touch pad */
#arena-pad { position: fixed; bottom: var(--s4); left: var(--s3); right: var(--s3); z-index: 60; display: none; justify-content: space-between; align-items: flex-end; pointer-events: none; }
#arena-pad .dpad { display: grid; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(3, 56px); gap: 6px; pointer-events: auto; }
#arena-pad button { font-size: 18px; background: var(--card); border: 2px solid var(--ink); border-radius: 12px; color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
#arena-pad .bombbtn { width: 88px; height: 88px; border-radius: 50%; pointer-events: auto; font-size: 14px; font-weight: 800; }
@media (pointer: coarse) { #arena-pad.on { display: flex; } }

svg.chart { width: 100%; height: 180px; background: var(--card); border: 2px solid var(--line); border-radius: 14px; }

@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

@media (max-width: 720px) {
  :root { --hud-h: 60px; --tb-h: 80px; }
  html, body { font-size: 14px; }
  .hud-brand span, .hide-sm { display: none !important; }
  .hud-brand { margin-right: 0; }
  #hud { gap: 8px; padding: 0 10px; }
  .chip { min-height: 40px; padding: 3px 10px; }
  .chip-value { font-size: 13px; }
  #hud-account { height: 40px; padding: 0 10px; font-size: 13px; }
  #game-root { --gap: 6px; }
  .tb-btn { width: 72px; min-height: 60px; }
  .tb-btn img { width: 28px; height: 28px; }
  .tb-btn span { font-size: 11px; }
  .overlay { padding: 0; align-items: stretch; }
  .modal, .modal.narrow, .modal.mid, .modal.wide { width: 100%; max-height: 100vh; max-height: 100dvh; border-radius: 0; border: 0; box-shadow: none; }
  .modal-head { padding: 12px 16px; gap: 10px; }
  .modal-head h2 { font-size: 26px; }
  .modal-sub { font-size: 13px; }
  .modal-icon { width: 30px; height: 30px; }
  .modal-body { padding: var(--s4); gap: var(--s4); }
  .kpi .v { font-size: 18px; }
  .big-num { font-size: 24px; }
  .inline-input input.inp, .inline-input select.inp { width: 100%; }
}
