/* The game's look, taken from its Garage screen: blue-black glass, one amber-orange for whatever is selected,
   slanted bars, condensed italic capitals, amber for the number that matters. */
:root {
  --bg: #07080c;
  --panel: rgba(255, 255, 255, 0.012);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --glass: linear-gradient(160deg, var(--panel-2), var(--panel) 55%), rgba(6, 8, 13, 0.5);
  --glass-blur: blur(22px) saturate(1.5);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 50px -24px rgba(0, 0, 0, 0.8);
  --ink: #f2f4f8;
  --dim: #9aa3b2;
  --faint: #636b7b;
  --accent: #ff7a1f;
  --hot: #ffa63d;
  --on: linear-gradient(90deg, #ff6c1a, #ffab4a);
  --on-ink: #180c02;
  --cyan: #4cc9ff;
  --green: #4be07e;
  --amber: #ffb43a;
  --red: #ff4a44;
  --gold: #ffcf57;
  --head: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: Roboto, 'Segoe UI', Arial, sans-serif;
  --mono: 'Roboto Mono', Consolas, monospace;
  --lean: -10deg;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font: 16px/1.5 var(--body);
}

/* Big soft lights behind everything. They sit still until the page is scrolled, then drift (app.js), and the glass cards blur them. */
.orbs { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.orb { position: absolute; left: 0; top: 0; border-radius: 50%; filter: blur(80px); will-change: transform; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-style: italic; font-weight: 800; letter-spacing: 0.02em; margin: 0; text-transform: uppercase; text-wrap: balance; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dim { color: var(--dim); }
.faint { color: var(--faint); }
.good { color: var(--green); }
.bad { color: var(--red); }
.gold { color: var(--gold); }
.amber { color: var(--amber); }

/* A screen's title carries the game's orange slash beside it. */
main h1 { position: relative; padding-left: 0.4em; }
/* The font's italic leans 10 degrees, so everything slanted leans 10 degrees. The slash stands beside the first line only. */
main h1::before { content: ''; position: absolute; left: 0.07em; top: calc((1lh - 0.74em) / 2); height: 0.74em; width: 0.13em; background: var(--accent); transform: skewX(var(--lean)); }
main h1 em { color: var(--accent); font-style: inherit; }

/* ---- Top bar */
.top {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.8);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 5;
}
.brand img { display: block; height: 30px; width: auto; }
.mark { display: block; height: 40px; width: auto; margin-bottom: 14px; }
.closing .mark { height: 52px; margin: 0 auto 18px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { height: 16px; width: auto; }
.top nav { display: flex; gap: 8px; }
.top nav a, .tabs button {
  font: italic 800 16px var(--head); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  padding: 8px 20px; border: 0; color: var(--dim); background: none;
}
/* The slanted bar is drawn behind the words and leaned over whole, so its edges lean with the lettering. */
.top nav a, .tabs button, .gmenu button { position: relative; isolation: isolate; }
.top nav a::before, .tabs button::before, .gmenu button::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--lean)); background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); transition: background 0.18s, border-color 0.18s; }
.top nav a:hover, .tabs button:hover { color: var(--ink); }
.top nav a:hover::before, .tabs button:hover::before, .gmenu button:hover::before { background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05) 55%), rgba(6, 8, 13, 0.5); border-color: rgba(255, 255, 255, 0.22); }
.top nav a.on, .tabs button.on { color: var(--on-ink); }
.top nav a.on::before, .tabs button.on::before { background: var(--on); border-color: transparent; box-shadow: none; }
.search { display: flex; margin-left: auto; }
.search input {
  width: 210px; padding: 9px 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-right: 0;
  border-radius: 4px 0 0 4px; outline: none;
}
.search input:focus { border-color: var(--accent); }
.search button, .btn {
  font: italic 800 15px var(--head); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  padding: 9px 16px; border: 0; background: var(--on); color: var(--on-ink); border-radius: 0 4px 4px 0;
}
.btn { border-radius: 4px; display: inline-block; text-align: center; }
.btn:hover, .search button:hover { filter: brightness(1.12); }
.btn.ghost { background: rgba(255, 255, 255, 0.09); color: var(--ink); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.17); filter: none; }
.btn.lg { font-size: 19px; padding: 13px 26px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; filter: none; }
/* How many players are in the game right now: a lamp (green when anybody is), the number, and the words, which give way first when the bar is short of room. */
.online { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font: 700 12px var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.online[hidden] { display: none; }
.online i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.online.live i { background: var(--green); box-shadow: 0 0 8px var(--green); }
.online b { font: 700 15px var(--mono); letter-spacing: 0; color: var(--ink); }
@media (max-width: 1500px) { .online .extra { display: none; } }
@media (min-width: 901px) and (max-width: 1360px) { .online .words { display: none; } }
.who { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.who .tag { font: italic 800 17px var(--head); letter-spacing: 0.06em; }
body:not(.is-signed-in) .signed-in { display: none; }

main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 30px 28px 60px; }
footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

/* ---- Pieces */
.panel, .stat, .shot, .hero .totals { background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge); }
.panel { border-radius: 14px; padding: 20px 22px; }
.panel + .panel { margin-top: 18px; }
.grid > .panel { margin-top: 0; }
.grid > * { min-width: 0; }
.label { font: 700 12px var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: 1.6fr 1fr; }
/* "Nothing here yet": inside a card it sits on the card's own padding; when it is the card, it gets a card's padding. */
.empty { color: var(--dim); padding: 14px 0 4px; }
.panel.empty { padding: 24px 22px; }
.panel > .empty:only-child { padding: 4px 0; }
.empty a, .panel p a { color: var(--hot); text-decoration: underline; text-underline-offset: 3px; }
.empty a:hover { color: #fff; }
.empty h2 { color: var(--ink); margin-bottom: 8px; }
.empty .btn { color: var(--on-ink); text-decoration: none; margin-top: 6px; }

.totals { display: flex; gap: 30px; }
.totals div { text-align: right; }
.totals b { display: block; font: 700 34px/1.1 var(--mono); }
.totals .rec b { color: var(--amber); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; padding-left: 5px; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font: 700 11px var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
td.num, th.num { text-align: right; white-space: nowrap; }
.rank { font: italic 800 22px var(--head); color: var(--faint); width: 78px; }
.rank > span { display: inline-flex; align-items: center; gap: 8px; }
.trophy { width: 22px; height: 22px; flex: none; filter: drop-shadow(0 0 6px color-mix(in srgb, currentColor 45%, transparent)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
tr.r1 .rank { color: var(--gold); } tr.r2 .rank { color: #cfd6e0; } tr.r3 .rank { color: #d08a52; }
.big { font: 700 20px var(--mono); }
tr.r1 .big { color: var(--amber); }
.tag-link { font: italic 800 19px var(--head); letter-spacing: 0.04em; text-transform: none; }
.tag-link:hover { color: var(--hot); }
.sub { display: block; font-size: 13px; color: var(--dim); }
.pill { display: inline-block; font: 700 11px var(--body); letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); color: var(--dim); }
.pill.win { background: rgba(75, 224, 126, 0.14); color: var(--green); }
.pill.loss { background: rgba(255, 74, 68, 0.14); color: var(--red); }
.pill.hot { background: rgba(255, 122, 31, 0.18); color: var(--hot); }

/* ---- The game's page */
body.is-landing main { max-width: none; padding: 0 0 70px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.hero-art { position: relative; overflow: hidden; background: #05060a; }
.hero-art::after { content: ''; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
/* The key art runs edge to edge at its own shape (about 3.6 to 1). On a phone that would be a sliver, and on a very wide
   screen a wall, so its height is held between the two and the sides or top and bottom are cropped instead; the cars are in the middle. */
.hero-art img { display: block; width: 100%; height: clamp(230px, 27.87vw, 600px); object-fit: cover; object-position: 50% 60%; }
.hero-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; margin-top: -34px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: 0.94; }
.hero p { color: var(--dim); font-size: 18px; max-width: 560px; margin: 16px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .totals { padding: 14px 28px; border-left: 5px solid var(--accent); border-radius: 0 12px 12px 0; }
.compact .hide-s { display: none; }

.band { margin-top: 76px; }
.band > h2, .band-head h2 { font-size: 34px; }
.band > h2 { margin-bottom: 20px; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.more { font: italic 800 15px var(--head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hot); }
.more::after { content: ' ›'; }
.more:hover { color: #fff; }
.lead { margin: -6px 0 16px; }
.lead .tag-link { color: var(--ink); }

/* The loop, laid out as the Garage screen lays out its menu. */
.loop { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 34px; align-items: start; }
.gmenu { display: grid; gap: 6px; }
.gmenu button {
  display: block; width: 100%; text-align: left; cursor: pointer; border: 0; padding: 9px 30px;
  font: italic 800 30px/1.15 var(--head); letter-spacing: 0.02em; text-transform: uppercase;
  color: #c9cfda; background: none; margin-left: 8px; width: calc(100% - 16px);
  transition: padding 0.12s;
}
.gmenu button.on { color: #fff; padding-left: 38px; text-shadow: 0 1px 0 rgba(120, 50, 0, 0.55); }
.gmenu button.on::before { background: var(--on); border-color: transparent; box-shadow: none; }
.gmenu button:focus-visible { outline: 0; box-shadow: none; }
.gmenu:has(:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 4px; }
.loop-panel { display: none; margin-top: 22px; min-height: 212px; }
.loop-panel.on { display: block; animation: panel-in 0.26s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateX(-10px); } }
.loop-label { display: none; }
.loop-panel h3 { font-size: 24px; line-height: 1.1; }
.loop-panel p { color: var(--dim); margin: 10px 0 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.keys { margin-top: 18px; color: var(--dim); font-size: 14px; }
kbd { font: 700 12px var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); padding: 4px 8px; margin-right: 8px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.shot { margin: 0; padding: 6px; border-radius: 14px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 6px; }
.shot figcaption { padding: 8px 8px 3px; font: 700 12px var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }

.passes { list-style: none; margin: 6px 0 0; padding: 0; }
.passes li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.passes li:last-child { border-bottom: 0; padding-bottom: 0; }
.passes .num { text-align: right; white-space: nowrap; }
.closing { text-align: center; padding-top: 56px; border-top: 1px solid var(--line); }
.closing .cta { justify-content: center; }

/* ---- Player */
.player-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.player-head h1 { font-size: 64px; line-height: 0.95; }
.player-head .meta { color: var(--dim); margin: 10px 0 0; max-width: 560px; }
.slip { text-align: right; }
.slip b { display: block; font: 700 54px/1 var(--mono); color: var(--amber); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { border-radius: 10px; padding: 12px 14px; }
.stat b { display: block; font: 700 24px/1.2 var(--mono); }
.section { margin-top: 30px; }
.section > h2, .section > div > h2 { font-size: 26px; margin-bottom: 12px; }
.ratio { display: grid; grid-template-columns: 150px 1fr 150px; align-items: center; gap: 14px; padding: 8px 0; }
.meter { height: 8px; background: rgba(255, 255, 255, 0.09); border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--on); }
.meter.cond i { background: var(--green); } .meter.cond.mid i { background: var(--amber); } .meter.cond.low i { background: var(--red); }

.car { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.car + .car { margin-top: 18px; }
.car h3 { font-size: 28px; line-height: 1.05; }
.swatch { height: 86px; border-radius: 8px; margin-bottom: 14px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.swatch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.34), transparent 38%, rgba(0, 0, 0, 0.38)); }
.swatch span { position: absolute; left: 12px; bottom: 8px; z-index: 1; font: italic 800 20px var(--head); letter-spacing: 0.08em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; font-size: 14px; margin-top: 12px; }
.kv span { color: var(--dim); } .kv b { font-family: var(--mono); font-weight: 500; text-align: right; }
.parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 8px; }
.part { border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 8px; padding: 8px 10px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.part .t { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; color: var(--dim); }
.part .n { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0 6px; }
.tier0 { color: var(--faint); } .tier1 { color: var(--cyan); } .tier2 { color: var(--hot); } .tier3 { color: var(--gold); }
.part.tier-0 .n { color: var(--dim); }
details { margin-top: 12px; }
summary { cursor: pointer; color: var(--dim); font-size: 14px; }
ul.plain { margin: 8px 0 0; padding-left: 18px; color: var(--dim); font-size: 14px; }

/* ---- Forms */
.form { max-width: 440px; margin: 30px auto; }
.form h1 { font-size: 40px; margin-bottom: 6px; padding-left: 0; }
.form h1::before { display: none; }
.field { margin-top: 16px; }
.field label { display: block; margin-bottom: 6px; }
.field input { width: 100%; padding: 12px 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 4px; outline: none; font-size: 17px; }
.field input:focus { border-color: var(--accent); }
.field small { color: var(--dim); }
.error { color: var(--red); min-height: 24px; margin-top: 12px; }
.form .btn { width: 100%; padding: 13px; font-size: 18px; margin-top: 6px; }
.settings { align-items: start; grid-template-columns: 1fr 1fr; }
.panel.empty + .stats, .panel.empty + .section { margin-top: 18px; }
.settings .panel h2 { font-size: 24px; margin-bottom: 6px; }
.settings .field input[readonly] { color: var(--dim); background: rgba(255, 255, 255, 0.025); cursor: default; }
.settings .field small a, .settings .panel p a { color: var(--hot); }
.settings .btn { margin-top: 4px; }
.settings .kv { font-size: 15px; gap: 9px 14px; margin: 14px 0 18px; }
.settings .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.panel.danger { border-color: rgba(255, 90, 90, 0.32); }
.panel.danger h2 { color: var(--red); }
.swap { margin-top: 16px; text-align: center; color: var(--dim); }
.swap a { color: var(--hot); }

.wallet { font: 700 30px var(--mono); color: var(--green); }
.listing { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.listing:last-child { border-bottom: 0; }
.listing h3 { font-size: 24px; }
.price { font: 700 24px var(--mono); text-align: right; margin-bottom: 8px; }

#toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(30px); opacity: 0; pointer-events: none;
  background: rgba(22, 26, 36, 0.78); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 12px 20px; border-radius: 6px; transition: 0.25s; z-index: 9; max-width: 90vw;
}
#toast.on { opacity: 1; transform: translateX(-50%); }

@media (max-width: 900px) {
  .cols-2, .car, .loop { grid-template-columns: 1fr; }
  .section.grid { grid-template-columns: 1fr !important; }
  .player-head h1 { font-size: 42px; }
  .search { margin-left: 0; width: 100%; } .search input { flex: 1; }
  main { padding: 20px 16px 50px; } .top { padding: 12px 16px; gap: 12px; }
  .wrap { padding: 0 16px; }
  .band { margin-top: 54px; }
  .band > h2, .band-head h2 { font-size: 28px; }
  .hide-s { display: none; }
  .ratio { grid-template-columns: 110px 1fr 110px; }
  .table-wrap, .panel { overflow-x: auto; }
  .totals { gap: 20px; } .totals b { font-size: 26px; }
  .hero .totals { width: 100%; justify-content: space-between; }
  .hero .totals div { text-align: left; }
  /* No menu to drive on a phone: the four parts of the loop are simply all there, one under the other. */
  .gmenu, .keys { display: none; }
  .loop { gap: 22px; }
  .loop-panel { display: block; min-height: 0; margin-top: 0; padding-left: 16px; border-left: 4px solid var(--accent); }
  .loop-panel + .loop-panel { margin-top: 22px; }
  .loop-label { display: block; font: italic 800 30px/1 var(--head); text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
  .loop-panel h3 { font-size: 20px; }
}

/* ---- Moving between pages and tabs (app.js puts these classes on main) */
main.out { opacity: 0; transform: translateY(-6px); transition: opacity 0.12s ease-in, transform 0.12s ease-in; }
main.in { animation: page-in 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.board-body.out { opacity: 0; transition: opacity 0.11s ease-in; }
.board-body.in { animation: page-in 0.26s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---- Cars drawn in 3D (car3d.js). Until one is drawn its marker is invisible and the swatch shows. */
canvas.car3d { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.35s; }
canvas.car3d.drawn { opacity: 1; }
.swatch.has-car { height: 190px; }
.swatch.has-car canvas.car3d { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 50% 100%, #2a2e38 0%, #12141a 60%, #0b0c10 100%); }
.swatch.has-car::after { display: none; }
.swatch.has-car span { z-index: 2; }
.with-car { display: flex; align-items: center; gap: 12px; }
.car-thumb { flex: none; width: 104px; height: 52px; border-radius: 6px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, #262a33 0%, #101217 70%); border: 1px solid var(--line); }
@media (max-width: 700px) { .car-thumb { width: 72px; height: 40px; } }

/* ---- Naming a car: a button on the car, and a small window over the page. */
.rename-open { margin-top: 16px; }
dialog.modal { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #12141a; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
dialog.modal::backdrop { background: rgba(4, 5, 8, 0.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-form { padding: 26px 26px 22px; }
.modal-form h2 { margin: 0 0 6px; }
.modal-form p { margin: 0; }
.modal-form input { color: inherit; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
