/* Trance Tools — launchpad look (design concept 8). Deliberately single-theme dark:
   the lit-pad colours only read against a near-black ground. */
:root {
  --bg: #0c0c0e;
  --panel: #1a1a1f;
  --panel-2: #26262c;
  --line: #2a2a31;
  --line-2: #3a3a42;
  --fg: #f4f4f6;
  --muted: #c3c3cb;
  --dim: #9a9aa3;
  --ink: #0c0c0e;

  /* Pad colours, one per tool */
  --pink: #ff4fa3;
  --amber: #ffb020;
  --cyan: #2fd3ff;
  --lime: #9be564;
  --orange: #ff7a2f;
  --violet: #a98bff;
  --red: #ff5a5a;
  --teal: #2fe0b5;

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; }
a { color: var(--fg); }
a:hover { color: var(--pink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }

.wrap {
  max-width: 1240px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--fg); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* Header */
.nav { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-block: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; color: var(--fg); }
.logo-mark { width: 26px; height: 26px; flex: none; }
.logo-text span { color: var(--pink); }
.logo:hover { color: var(--fg); }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; padding-block: 6px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--pink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; padding: 14px 22px; border-radius: 12px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; min-height: 48px;
}
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn-primary { background: var(--pink); color: var(--ink); }
.btn-primary:hover { color: var(--ink); filter: brightness(1.08); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--dim); color: var(--fg); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { color: var(--ink); filter: brightness(1.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 40px 72px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: grid; gap: 22px; }
.hero h1 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 5.4vw, 70px); line-height: 1.04; letter-spacing: -0.03em; }
.lede { margin: 0; font-size: 19px; color: var(--muted); max-width: 32em; }
.padgrid-wrap { flex: 1 1 420px; min-width: 0; background: var(--panel); border-radius: 22px; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.padgrid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.padgrid span { aspect-ratio: 1 / 1; border-radius: 7px; background: var(--panel-2); transition: background-color .12s, box-shadow .12s; }
.padgrid span.lit { background: var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 55%, transparent); }
.padgrid span { cursor: pointer; touch-action: manipulation; }
.padgrid span.now { background-color: #34343c; }
.padgrid span.lit.now { background-color: var(--c); filter: brightness(1.25); }
.padgrid span.hit, .padgrid span.lit.hit, .padgrid span.lit.now.hit { background-color: var(--fg); box-shadow: 0 0 22px rgba(255,255,255,0.6); filter: none; }

/* Sections */
.section { padding-block: 0 72px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 22px; }
.section-head h2, .h2 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
.note { font-size: 13px; color: var(--dim); }

/* Tool pads */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tool-pad {
  background: var(--c); color: var(--ink); border-radius: 20px; padding: 22px; min-height: 200px;
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .12s, box-shadow .12s;
}
.tool-pad:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 40px color-mix(in srgb, var(--c) 45%, transparent); }
.tool-pad.soon { opacity: 0.78; }
.tool-pad .chip { align-self: flex-start; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(12,12,14,0.16); }
.tool-pad strong { font-family: var(--f-display); font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -0.01em; }
.tool-pad span:last-child { font-size: 15px; font-weight: 500; }

/* Signup */
.signup { background: var(--panel); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; justify-content: space-between; }
.signup-copy { flex: 1 1 400px; min-width: 0; display: grid; gap: 6px; }
.signup-copy h2 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }
.signup-copy p { margin: 0; color: var(--muted); }
.signup-form { flex: 1 1 360px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form input[type="email"] { flex: 1 1 220px; min-width: 0; background: var(--bg); border: 2px solid var(--line-2); border-radius: 12px; padding: 12px 16px; min-height: 48px; }
.signup-form input::placeholder { color: #77777f; }
.signup-status { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* Gear cards */
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.gear-card { border: 2px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.gear-card:hover { border-color: var(--line-2); color: var(--fg); }
.gear-card .eyebrow { color: var(--dim); }
.gear-card strong { font-size: 18px; }
.gear-card p { margin: 0; font-size: 15px; color: var(--muted); }
.gear-card .go { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--pink); }

/* Page header for inner pages */
.page-head { padding-block: 32px 36px; display: grid; gap: 14px; max-width: 820px; }
.page-head h1 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }

/* Long-form text */
.prose { max-width: 68ch; padding-bottom: 72px; }
.prose h2 { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--fg); text-decoration-color: var(--pink); text-underline-offset: 3px; }
.prose strong { color: var(--fg); }

/* Generic panel + tables */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.data th, table.data td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
table.data td { font-family: var(--f-mono); font-size: 15px; }
table.data tr.hl td, table.data tr.hl td button { color: var(--c, var(--pink)); }
table.data button.copy { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; color: inherit; line-height: 1.35; }
table.data button.copy:hover { color: var(--cyan); }
table.data td.in-key { color: var(--c, var(--red)); font-weight: 500; }
table.data td.root { background: color-mix(in srgb, var(--c, var(--red)) 18%, transparent); }

.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label, .field .label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.field select, .field input[type="number"] { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
input[type="range"] { accent-color: var(--pink); width: 100%; }
input[type="checkbox"] { accent-color: var(--pink); width: 18px; height: 18px; }

.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.seg button { background: transparent; border: 0; padding: 9px 13px; cursor: pointer; font-size: 14px; min-height: 40px; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button[aria-pressed="true"] { background: var(--pink); color: var(--ink); font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid #222227; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; padding-block: 36px 20px; }
.footer-brand { flex: 1 1 260px; display: grid; gap: 8px; align-content: start; }
.footer-brand p { margin: 0; color: var(--dim); font-size: 14px; max-width: 30ch; }
.footer-links { flex: 1 1 260px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; font-size: 14px; align-content: start; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--fg); }
.footer-sister { flex: 1 1 240px; display: grid; gap: 6px; align-content: start; font-size: 14px; }
.footer-sister a { color: var(--fg); font-weight: 700; text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-block: 16px 36px; font-size: 13px; color: var(--dim); }
.footer-legal p { margin: 0; max-width: 70ch; }

/* ---------- Tool pages ---------- */
.tool-head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: stretch; justify-content: space-between; padding-block: 24px 20px; }
.tool-head .page-head { padding: 0; flex: 1 1 460px; }
.tool-app { display: grid; gap: 14px; padding-bottom: 56px; }
.led {
  background: #050507; border-radius: 10px; padding: 12px 18px; min-width: min(100%, 320px);
  font-family: var(--f-mono); color: var(--led, var(--pink));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 2px 12px rgba(0,0,0,0.7);
  display: grid; gap: 4px; align-content: center;
}
.led-meta { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--led, var(--pink)) 45%, #050507); font-variant-numeric: tabular-nums; }
.led-chords { display: flex; gap: 16px; font-size: 22px; font-weight: 500; flex-wrap: wrap; }
.led-chords span { color: color-mix(in srgb, var(--led, var(--pink)) 45%, #050507); transition: color .08s; }
.led-chords span.on, .led.idle .led-chords span { color: var(--led, var(--pink)); text-shadow: 0 0 10px color-mix(in srgb, var(--led, var(--pink)) 60%, transparent); }

.transport { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.transport .btn { padding: 10px 16px; min-height: 44px; font-size: 15px; }
.btn-play { min-width: 112px; background: var(--panel-2); color: var(--fg); border-color: var(--line-2); }
.btn-play[aria-pressed="true"] { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.btn-play:hover { color: inherit; }
.status { color: var(--muted); font-size: 14px; flex: 1 1 200px; text-align: right; user-select: text; margin: 0; }
.status:empty { display: none; }

.settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px 20px; }
.row { display: flex; align-items: center; gap: 10px; }
.val { font-family: var(--f-mono); font-variant-numeric: tabular-nums; min-width: 3ch; }

.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.preset-chip { border: 1px solid var(--line-2); background: var(--panel); border-radius: 999px; padding: 6px 13px; cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; font-size: 14px; }
.preset-chip small { font-family: var(--f-mono); color: var(--dim); font-size: 11px; }
.preset-chip[aria-pressed="true"] { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }

.chords { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.card { background: var(--panel); border: 2px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 2px; min-width: 0; transition: border-color .08s, box-shadow .08s; }
.card.on { border-color: var(--pink); box-shadow: 0 0 24px color-mix(in srgb, var(--pink) 35%, transparent); }
.roman { font-family: var(--f-display); font-weight: 800; font-size: 32px; line-height: 1.15; }
.card.on .roman { color: var(--pink); }
.cname { font-family: var(--f-mono); font-size: 17px; font-weight: 500; }
.cnotes { font-family: var(--f-mono); font-size: 12px; color: var(--dim); overflow-wrap: anywhere; }
.card select { margin-top: 8px; width: 100%; font-size: 14px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px; }

.rollhead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 10px; align-items: center; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.rollbox canvas { display: block; width: 100%; border-radius: 8px; }

.layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.layer { display: grid; gap: 10px; align-content: start; }
.layer h2 { margin: 0; font-family: var(--f-display); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; display: flex; align-items: center; gap: 8px; }
.layer h2 i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.layer p { margin: 0; color: var(--dim); font-size: 14px; }
.gatewrap { grid-column: 1 / -1; }
.gaterow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gaterow select { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; }
.gate { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 5px; }
.gate button { height: 40px; border: 0; background: var(--panel-2); border-radius: 6px; cursor: pointer; padding: 0; font-family: var(--f-mono); font-size: 10px; color: var(--dim); }
.gate button:nth-child(4n+1) { box-shadow: inset 0 0 0 1px var(--line-2); }
.gate button[aria-pressed="true"] { background: var(--amber); color: var(--ink); box-shadow: 0 0 12px color-mix(in srgb, var(--amber) 45%, transparent); }
.gate button.now { outline: 2px solid var(--fg); outline-offset: 1px; }
.gate.disabled { opacity: 0.4; }

/* Per-tool accent colour (set --accent on .tool-app) */
.tool-app .seg button[aria-pressed="true"] { background: var(--accent, var(--pink)); }
.tool-app input[type="range"], .tool-app input[type="checkbox"] { accent-color: var(--accent, var(--pink)); }
.tool-app .preset-chip[aria-pressed="true"] { border-color: var(--accent, var(--pink)); box-shadow: inset 0 0 0 1px var(--accent, var(--pink)); }
.tool-app .card.on { border-color: var(--accent, var(--pink)); box-shadow: 0 0 24px color-mix(in srgb, var(--accent, var(--pink)) 35%, transparent); }
.tool-app .card.on .roman { color: var(--accent, var(--pink)); }
.tool-app .btn-play[aria-pressed="true"] { background: var(--accent, var(--pink)); border-color: var(--accent, var(--pink)); }
.tool-app .btn-primary { background: var(--accent, var(--pink)); }
.row.check { font-size: 15px; font-weight: 500; color: var(--fg); text-transform: none; letter-spacing: 0; }
.prose code, .layer code { font-family: var(--f-mono); font-size: 0.92em; color: var(--fg); }

/* Gate Builder steps: full, half, tie */
.gate-steps button[data-v="1"], .gate-key i[data-v="1"] { background: var(--amber); color: var(--ink); }
.gate-steps button[data-v="2"], .gate-key i[data-v="2"] { background: linear-gradient(90deg, var(--amber) 50%, var(--panel-2) 50%); color: var(--ink); }
.gate-steps button[data-v="3"], .gate-key i[data-v="3"] { background: var(--amber); color: var(--ink); box-shadow: 5px 0 0 var(--amber); }
.gate-steps button[data-v="1"], .gate-steps button[data-v="3"] { box-shadow: 0 0 12px color-mix(in srgb, var(--amber) 45%, transparent); }
.gate-steps button[data-v="3"] { box-shadow: 6px 0 0 -1px var(--amber), 0 0 12px color-mix(in srgb, var(--amber) 45%, transparent); }
.gate-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--dim); }
.gate-key i { display: inline-block; width: 18px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--panel-2); }
.gate.two-bars { row-gap: 10px; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border-radius: var(--r-sm); padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

@media (max-width: 640px) {
  .chords { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roman { font-size: 26px; }
  .gate { gap: 3px; }
  .gate button { height: 34px; font-size: 0; }
  .status { text-align: left; }
}

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

/* Arp, bassline and other tool control rows */
.arp-controls { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: end; }
table.data.settings-table th { width: 30%; white-space: normal; vertical-align: top; }
table.data.settings-table td { font-family: var(--f-body); font-size: 15px; white-space: normal; color: var(--fg); }

/* Key Finder */
.btn.mini { min-height: 36px; padding: 6px 12px; font-size: 13px; border-width: 1px; }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--fg); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; cursor: pointer; }
.key-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.key-card { align-content: start; gap: 4px; position: relative; }
.key-card p { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.key-card .fav { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--teal); padding: 2px 8px; border-radius: 999px; margin-bottom: 4px; }
.key-card-actions { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.tray { display: grid; gap: 12px; }
.tray-chords { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tray-slot { border: 1px dashed var(--line-2); border-radius: 10px; padding: 10px; text-align: center; color: var(--dim); font-family: var(--f-mono); font-size: 14px; min-height: 44px; }
.tray-slot.on { border: 1px solid var(--teal); color: var(--teal); }
.tray-slot b { color: var(--fg); font-weight: 500; }
.notes-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.notes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; flex: 1 1 520px; }
.note-key { min-height: 64px; border: 1px solid var(--line-2); border-radius: 8px; background: #e9e9ee; color: var(--ink); font-family: var(--f-mono); font-size: 11px; cursor: pointer; padding: 4px 2px; display: flex; align-items: flex-end; justify-content: center; text-align: center; line-height: 1.2; }
.note-key.black { background: #121216; color: var(--muted); }
.note-key[aria-pressed="true"] { background: var(--teal); color: var(--ink); border-color: var(--teal); box-shadow: 0 0 14px color-mix(in srgb, var(--teal) 50%, transparent); }
.match-list { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) {
  .notes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tray-chords { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Analytics consent banner */
.consent {
  position: fixed; z-index: 50; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px)); margin: 0 auto; max-width: 760px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px 18px;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.consent p { margin: 0; flex: 1 1 380px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent p strong { color: var(--fg); }
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.footer-cookie { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-align: left; }
.footer-cookie:hover { color: var(--fg); }
