:root {
  --bg: #05060d;
  --panel: rgba(16, 20, 38, 0.82);
  --panel-solid: #10142a;
  --line: rgba(120, 140, 220, 0.18);
  --text: #dfe4f7;
  --muted: #8a93b8;
  --accent: #7aa2ff;
  --accent-2: #b48cff;
  --ok: #4fd1a5;
  --warn: #f2c14e;
  --err: #ff6b7a;
  --gpa: #5aa9ff;
  --sra: #c06bff;
  --sat: #3fe0c5;
  --radius: 14px;
  --font-title: "Orbitron", "Segoe UI", sans-serif;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 42% 68%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 78%, #fff5 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 88%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 38%, #fff4 50%, transparent 51%),
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(122, 90, 255, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(60, 140, 255, 0.14), transparent);
  background-size: 400px 400px, 500px 500px, 600px 600px, 450px 450px, 350px 350px, 550px 550px, 100% 100%, 100% 100%;
  background-attachment: fixed;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-title); letter-spacing: 0.04em; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; }

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- layout ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  padding: 0.8rem clamp(16px, 4vw, 40px);
  background: rgba(5, 6, 13, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--font-title); font-weight: 700; letter-spacing: 0.2em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 0.1rem; flex-wrap: wrap; flex: 1; }
.nav a { color: var(--muted); padding: 0.35rem 0.6rem; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--text); background: rgba(122, 162, 255, 0.1); text-decoration: none; }
.who { display: flex; align-items: center; gap: 0.6rem; }
.who form { margin: 0; }
.credits { font-family: var(--font-title); font-size: 0.85rem; color: var(--warn); }
.bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; margin: 0.25rem 0 0.6rem; }
.bar i { display: block; height: 100%; }
.bar .shield { background: var(--sat); }
.bar .hull { background: var(--warn); }
.bar .garrison { background: var(--err); }
.recruit { display: grid; grid-template-columns: minmax(0, 2fr) minmax(70px, 1fr) auto; gap: 0.4rem; margin-top: 0.8rem; }
.recruit select, .recruit input { padding: 0.45rem 0.5rem; font-size: 0.88rem; }
.recruit button { padding: 0.45rem 0.8rem; font-size: 0.88rem; }

main { max-width: 1100px; margin: 0 auto; padding: clamp(16px, 4vw, 40px); }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.grid-2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  backdrop-filter: blur(4px);
}
.panel + .panel, .section + .section { margin-top: 1rem; }
.grid > .panel + .panel, .grid-2 > .panel + .panel { margin-top: 0; }
.span-all { grid-column: 1 / -1; }
.section { margin-bottom: 2rem; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.panel-head h2, .panel-head h3 { margin: 0; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 3rem 0 2rem; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 4rem); letter-spacing: 0.25em; margin-bottom: 0.3em; }
.hero p { max-width: 640px; margin: 0 auto 1.6rem; color: var(--muted); font-size: 1.05rem; }
.hero .actions { justify-content: center; }

/* ---------- forms ---------- */
form.stack { display: grid; gap: 0.8rem; }
label { display: grid; gap: 0.3rem; font-size: 0.9rem; color: var(--muted); }
input, select {
  font: inherit; color: var(--text);
  background: rgba(5, 8, 20, 0.8);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.6rem 0.75rem;
  width: 100%;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.inline { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: end; }
.inline > * { flex: 1 1 140px; }
.inline > button { flex: 0 0 auto; }

.btn, button {
  font: inherit; font-weight: 600; cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 0; border-radius: 9px;
  padding: 0.6rem 1.1rem;
  display: inline-block;
}
.btn:hover, button:hover { filter: brightness(1.12); text-decoration: none; }
button:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.btn.ghost, button.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
button.danger { background: linear-gradient(135deg, #ff6b7a, #c4405a); }
.actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.auth { max-width: 420px; margin: 2rem auto; }

/* ---------- flash ---------- */
.flashes { display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
.flash { padding: 0.7rem 1rem; border-radius: 10px; border: 1px solid; }
.flash.success { border-color: rgba(79, 209, 165, 0.4); background: rgba(79, 209, 165, 0.1); color: var(--ok); }
.flash.error { border-color: rgba(255, 107, 122, 0.4); background: rgba(255, 107, 122, 0.1); color: var(--err); }
.flash.warning { border-color: rgba(242, 193, 78, 0.4); background: rgba(242, 193, 78, 0.1); color: var(--warn); }

/* ---------- data ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; }
.stat .v { font-family: var(--font-title); font-size: 1.6rem; }
.stat .l { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.units { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.3rem; margin-top: 0.6rem; }
.units div { text-align: center; background: rgba(5, 8, 20, 0.6); border-radius: 8px; padding: 0.35rem 0.2rem; min-width: 0; }
.units div.empty { opacity: 0.4; }
.units b { display: block; font-family: var(--font-title); font-size: 1rem; }
.units span { display: block; font-size: 0.68rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.power { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; margin-top: 0.6rem; font-size: 0.72rem; color: var(--muted); text-align: center; }
.power b { display: block; font-family: var(--font-title); font-size: 0.9rem; color: var(--text); }

/* ---------- glossary ---------- */
.ship { display: grid; gap: 0.4rem; align-content: start; color: inherit; transition: border-color 0.15s, transform 0.15s; }
a.ship:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.ship-thumb { margin: -1.2rem -1.3rem 0.4rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #0b0e1c; border-bottom: 1px solid var(--line); }
.ship-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ship-detail { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr); align-items: start; }
.ship-gallery { display: grid; gap: 0.8rem; }
.ship-gallery img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; background: #0b0e1c; }
.ship-gallery.multi { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ship-nav { display: flex; justify-content: space-between; gap: 0.6rem; margin-top: 1.5rem; flex-wrap: wrap; }
@media (max-width: 760px) { .ship-detail { grid-template-columns: minmax(0, 1fr); } }
.ship-detail > * { min-width: 0; }
.ship .tier { font-family: var(--font-title); color: var(--accent); font-size: 0.85rem; letter-spacing: 0.1em; }
.ship h3 { margin: 0; }
.ship .stats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; text-align: center; margin: 0.3rem 0; }
.ship .stats4 div { background: rgba(5, 8, 20, 0.6); border-radius: 8px; padding: 0.3rem 0; }
.ship .stats4 b { display: block; font-family: var(--font-title); font-size: 0.95rem; }
.ship .stats4 span { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.dmg { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,0.06); }
.dmg i { display: block; }
.dmg .kinetic, .dot.kinetic { background: #f2c14e; }
.dmg .energy, .dot.energy { background: #5ad1ff; }
.dmg .explosive, .dot.explosive { background: #ff7a59; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.3rem; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }

.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 0.15rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.badge.GPA { color: var(--gpa); border-color: currentColor; }
.badge.SRA { color: var(--sra); border-color: currentColor; }
.badge.SAT { color: var(--sat); border-color: currentColor; }
.badge.ok { color: var(--ok); border-color: currentColor; }
.badge.warn { color: var(--warn); border-color: currentColor; }

/* ---------- factions ---------- */
.faction-card { position: relative; overflow: hidden; display: grid; gap: 0.5rem; align-content: start; }
.faction-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--fc, var(--accent)); }
.faction-card.GPA { --fc: var(--gpa); }
.faction-card.SRA { --fc: var(--sra); }
.faction-card.SAT { --fc: var(--sat); }
.faction-card .code { font-family: var(--font-title); font-size: 1.8rem; color: var(--fc, var(--accent)); }
.faction-card form { margin-top: 0.5rem; }

/* ---------- planets ---------- */
.planet-orb {
  width: 54px; height: 54px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 32% 30%, hsl(var(--h, 220) 70% 70%), hsl(var(--h, 220) 60% 30%) 60%, #050610 100%);
  box-shadow: 0 0 22px hsl(var(--h, 220) 80% 50% / 0.35);
}
.planet-orb.big { width: 110px; height: 110px; }
.planet-row { display: flex; gap: 1rem; align-items: center; }
.planet-row h3 { margin: 0 0 0.15rem; }

/* ---------- campaigns ---------- */
.log { list-style: none; padding: 0; margin: 0.8rem 0; display: grid; gap: 0.35rem; }
.log li { padding-left: 1rem; border-left: 2px solid var(--line); color: var(--muted); }
.log li:last-child { border-color: var(--accent); color: var(--text); }

.lore p { font-size: 1.05rem; }

footer { text-align: center; color: var(--muted); font-size: 0.8rem; padding: 2rem 16px; }

@media (max-width: 600px) {
  .topbar { gap: 0.6rem; }
  .nav { order: 3; flex-basis: 100%; }
  .units { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================================ v5 : carte, minage, alliances */
textarea { font: inherit; color: var(--text); background: rgba(5, 8, 20, 0.8); border: 1px solid var(--line); border-radius: 9px; padding: 0.6rem 0.75rem; width: 100%; resize: vertical; }
textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.discord { color: #8ea1ff; font-weight: 600; }
.note { border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; background: rgba(122, 162, 255, 0.06); }
.choices { display: flex; gap: 1rem; flex-wrap: wrap; }
label.choice { display: flex; align-items: center; gap: 0.45rem; color: var(--text); cursor: pointer; }
label.choice input { width: auto; }
label.choice.disabled { opacity: 0.4; cursor: not-allowed; }
.danger-zone { border-color: rgba(255, 107, 122, 0.35); }
ul.plain { list-style: none; padding: 0; margin: 0.6rem 0; display: grid; gap: 0.2rem; }
ul.routes { padding-left: 1.1rem; margin: 0.3rem 0; display: grid; gap: 0.3rem; }
tr.me { background: rgba(122, 162, 255, 0.08); }
.txt-GPA { color: var(--gpa); } .txt-SRA { color: var(--sra); } .txt-SAT { color: var(--sat); }

/* barres de répartition par faction */
.sharebar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,0.06); }
.sharebar i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 0.72rem; font-weight: 600; color: #05060d; white-space: nowrap; overflow: hidden; }
.sharebar.thin { height: 5px; margin-top: 0.25rem; }
.sharebar .GPA { background: var(--gpa); } .sharebar .SRA { background: var(--sra); } .sharebar .SAT { background: var(--sat); }

/* onglets */
.tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs a { padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.tabs a:hover { text-decoration: none; color: var(--text); }
.tabs a.active { color: #05060d; background: var(--accent); border-color: var(--accent); }
.tabs a.tab-GPA.active { background: var(--gpa); border-color: var(--gpa); }
.tabs a.tab-SRA.active { background: var(--sra); border-color: var(--sra); }
.tabs a.tab-SAT.active { background: var(--sat); border-color: var(--sat); }

/* carte galactique */
.map-layout { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.map-layout > .panel + .panel { margin-top: 0; }
@media (max-width: 900px) { .map-layout { grid-template-columns: minmax(0, 1fr); } }
.map-wrap { position: relative; padding: 0.6rem; }
.map-tools { position: absolute; top: 0.9rem; right: 0.9rem; display: flex; gap: 0.3rem; z-index: 2; }
.map-tools button { padding: 0.25rem 0.65rem; font-size: 1rem; background: rgba(5, 6, 13, 0.8); }
svg.galaxy { width: 100%; height: min(72vh, 760px); display: block; cursor: grab; touch-action: none; background: radial-gradient(circle at 50% 50%, rgba(122, 90, 255, 0.07), transparent 70%); border-radius: 10px; }
svg.galaxy:active { cursor: grabbing; }
.sector-disc { fill: rgba(122, 162, 255, 0.035); stroke: rgba(122, 162, 255, 0.25); stroke-width: 1.5; stroke-dasharray: 6 6; }
.sector-disc.own-GPA { fill: rgba(90, 169, 255, 0.08); stroke: var(--gpa); stroke-dasharray: none; }
.sector-disc.own-SRA { fill: rgba(192, 107, 255, 0.08); stroke: var(--sra); stroke-dasharray: none; }
.sector-disc.own-SAT { fill: rgba(63, 224, 197, 0.08); stroke: var(--sat); stroke-dasharray: none; }
.sector-label { fill: var(--muted); font-family: var(--font-title); font-size: 15px; letter-spacing: 0.08em; }
.route { stroke: rgba(180, 195, 255, 0.35); stroke-width: 2; }
.route.cross { stroke: var(--warn); stroke-width: 2.5; stroke-dasharray: 8 6; opacity: 0.8; }
.planet .dot { stroke: rgba(5, 6, 13, 0.9); stroke-width: 2; }
.planet:hover .dot { stroke: #fff; }
.dot.f-GPA, .dot-legend.f-GPA { fill: var(--gpa); background: var(--gpa); }
.dot.f-SRA, .dot-legend.f-SRA { fill: var(--sra); background: var(--sra); }
.dot.f-SAT, .dot-legend.f-SAT { fill: var(--sat); background: var(--sat); }
.dot.f-none, .dot-legend.f-none { fill: #6b7392; background: #6b7392; }
.dot-legend { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.3rem; }
.bridge-ring { fill: none; stroke: var(--warn); stroke-width: 2; stroke-dasharray: 3 3; }
.bridge-ring.open { stroke-dasharray: none; }
.mine-ring { fill: none; stroke: #fff; stroke-width: 2; }
.planet-label { fill: var(--text); font-size: 11px; pointer-events: none; paint-order: stroke; stroke: rgba(5, 6, 13, 0.85); stroke-width: 3px; }
.planet.dim { opacity: 0.18; }
.map-wrap .legend { margin-top: 0.6rem; }
.map-side h2 { font-size: 1.05rem; }

/* alliances */
.alliance-row { display: flex; gap: 0.8rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--line); color: inherit; }
.alliance-row:hover { text-decoration: none; background: rgba(122, 162, 255, 0.05); }
.logo { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; border: 2px solid var(--line); background: #0b0e1c; flex: 0 0 auto; }
.logo.sm { width: 44px; height: 44px; border-radius: 10px; }
.logo.placeholder { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-title); color: var(--accent); font-size: 1.1rem; }
.logo.sm.placeholder { font-size: 0.7rem; }
.alliance-hero { padding: 0; overflow: hidden; }
.banner { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; display: block; }
.banner.placeholder { background: linear-gradient(120deg, rgba(122, 162, 255, 0.25), rgba(180, 140, 255, 0.15), rgba(5, 6, 13, 0.6)); }
.alliance-id { display: flex; gap: 1rem; align-items: center; padding: 0 1.3rem; margin-top: -48px; flex-wrap: wrap; }
.alliance-id h1 { margin: 2.6rem 0 0.3rem; }
.alliance-hero .description { padding: 0 1.3rem 1.2rem; white-space: pre-line; }
.vote { border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; margin-bottom: 0.6rem; }
.vote.open { border-color: rgba(242, 193, 78, 0.45); }
.vote .panel-head { margin-bottom: 0.2rem; }
.credits { white-space: nowrap; }
@media (max-width: 600px) {
  svg.galaxy { height: 58vh; }
  .map-wrap .legend { gap: 0.5rem; }
}

/* ================================================================ v6 : guide, admin, pages légales */
.announcement { background: linear-gradient(90deg, rgba(242, 193, 78, 0.18), rgba(242, 193, 78, 0.06)); border-bottom: 1px solid rgba(242, 193, 78, 0.35); color: var(--warn); text-align: center; padding: 0.55rem 16px; font-weight: 500; }
.admin-link { color: var(--warn) !important; }
.badge.danger { color: var(--err); border-color: currentColor; }
.progress { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; margin: 0.2rem 0 0.8rem; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.onboarding { border-color: rgba(122, 162, 255, 0.45); }
ol.checklist { padding-left: 1.4rem; display: grid; gap: 0.45rem; margin: 0; }
ol.checklist li.done { opacity: 0.55; }
ol.checklist li.done b::before { content: "✓ "; color: var(--ok); }
.toc a { margin: 0 0.15rem; }
.guide section { scroll-margin-top: 80px; }
.guide ul, .guide ol { padding-left: 1.3rem; display: grid; gap: 0.35rem; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 1.4rem; }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.admin-row form { margin: 0; }
.army-edit { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.units-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 0.4rem; margin: 0.5rem 0; }
.units-edit label { font-size: 0.75rem; }
.units-edit input { padding: 0.35rem 0.4rem; }
.admin-planet { display: grid; grid-template-columns: minmax(120px, 1.2fr) minmax(80px, 0.8fr) minmax(140px, 1.2fr) minmax(120px, 1fr) auto; gap: 0.4rem; align-items: center; }
.admin-planet input, .admin-planet select { padding: 0.4rem 0.5rem; font-size: 0.88rem; }
@media (max-width: 760px) { .admin-planet { grid-template-columns: 1fr 1fr; } }
form.disband { margin-top: 0.6rem; text-align: right; }
.admin-log td { white-space: normal; word-break: break-word; }

/* ================================================================ v7 : marché de l'armement */
.maker h4 { margin: 0.9rem 0 0.3rem; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.quote { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; margin: 0.6rem 0; }
.quote-value { font-family: var(--font-title); font-size: 1.6rem; color: var(--text); font-variant-numeric: tabular-nums; }
.spark { display: block; max-width: 100%; height: auto; overflow: visible; }
.spark-base { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.5; }
.spark-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark-end { fill: var(--accent); stroke: var(--panel-solid); stroke-width: 2; }
.spark-hit { fill: transparent; cursor: default; }
.spark-hit:hover { fill: rgba(122, 162, 255, 0.25); }
.influence { list-style: none; padding: 0; margin: 0 0 0.6rem; display: grid; gap: 0.25rem; }
.maker form { margin-top: 0.5rem; }
