/* Odin Console: één stijl voor de publieke site en het portal.
   Het accent is violet. De publieke site (body.site) is altijd licht; het portal volgt het thema van het apparaat. */
:root {
  --bg: #f7f6fc; --bg2: #eeebf8; --panel: #ffffff; --panel2: #faf9fe; --line: #e2dff0; --text: #14102b; --muted: #625d7e;
  --accent: #7c3aed; --accent-ink: #ffffff; --accent-soft: rgba(124, 58, 237, .12); --ok: #1a8f58; --bad: #c83a3a;
  --shadow: 0 1px 2px rgba(20, 16, 43, .06), 0 8px 24px rgba(20, 16, 43, .07);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0d1a; --bg2: #141124; --panel: #1a1630; --panel2: #201b3a; --line: #2e2850; --text: #f1effa; --muted: #a9a3c4;
    --accent: #a78bfa; --accent-ink: #140c2e; --accent-soft: rgba(167, 139, 250, .16); --ok: #36c37f; --bad: #ff6b6b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
  }
}
body.site {
  --bg: #ffffff; --bg2: #f5f3ff; --panel: #ffffff; --panel2: #faf9ff; --line: #e7e3f7; --text: #14102b; --muted: #625d7e;
  --accent: #7c3aed; --accent-ink: #ffffff; --accent-soft: rgba(124, 58, 237, .11); --ok: #1a8f58; --bad: #c83a3a;
  --shadow: 0 1px 2px rgba(20, 16, 43, .06), 0 18px 50px rgba(60, 30, 140, .14);
  --dark: #14102b; --dark-ink: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 460px; margin: 56px auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* ---------- knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); border: 1px solid transparent; border-radius: 12px; padding: 10px 18px; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; transition: transform .12s, filter .12s, background .12s; }
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--panel2); filter: none; }
.btn.lg { padding: 14px 26px; font-size: 17px; border-radius: 14px; }
.btn.small { padding: 6px 13px; font-size: 14px; border-radius: 9px; }
.btn.danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- navigatie van de publieke site: zwevende pil ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 16px 0; background: transparent; pointer-events: none; }
.nav .container { pointer-events: auto; display: flex; align-items: center; gap: 22px; min-height: 60px; padding: 0 12px 0 22px; max-width: 1120px; background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 8px 30px rgba(20, 16, 43, .08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 8px 13px; border-radius: 99px; font-weight: 600; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); background: var(--accent-soft); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 99px; padding: 7px 14px; font: inherit; cursor: pointer; }
@media (max-width: 900px) {
  .nav .container { flex-wrap: wrap; gap: 8px 16px; padding: 8px 14px; border-radius: 26px; }
  .nav-toggle { display: block; }
  .nav-links, .nav-actions { display: none; width: 100%; flex-direction: column; margin: 0; align-items: stretch; }
  .nav.open .nav-links, .nav.open .nav-actions { display: flex; }
  .nav-actions .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -74px; padding: 150px 0 56px; background:
  radial-gradient(760px 400px at 18% 0, rgba(124, 58, 237, .16), transparent 60%),
  radial-gradient(760px 400px at 86% 8%, rgba(236, 72, 153, .15), transparent 60%), var(--bg); }
.hero .center { text-align: center; max-width: 840px; margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(95deg, #7c3aed, #c026d3 55%, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.cta-note { color: var(--muted); font-size: 14px; margin-top: 16px; }
.cta-note b { color: var(--text); }
.hero .shot-big { margin-top: 52px; }
@media (max-width: 920px) { .hero { padding: 120px 0 36px; } .hero p.lead { font-size: 18px; } }

/* beeldkader voor schermafbeeldingen */
.frame { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.frame .bar { display: flex; align-items: center; gap: 7px; padding: 0 0 0 14px; min-height: 34px; background: var(--panel2); border-bottom: 1px solid var(--line); }
.frame .bar span { font-size: 12px; color: var(--muted); }
/* vensterknoppen zoals in Windows: minimaliseren, maximaliseren, sluiten */
.frame .bar .wc { margin-left: auto; align-self: stretch; display: flex; }
.frame .bar .wc i { position: relative; width: 44px; }
.frame .bar .wc i::before, .frame .bar .wc i::after { content: ""; position: absolute; left: 50%; top: 50%; color: var(--muted); }
.frame .bar .min::before { width: 10px; height: 0; border-top: 1px solid currentColor; transform: translate(-50%, 0); }
.frame .bar .max::before { width: 9px; height: 9px; border: 1px solid currentColor; transform: translate(-50%, -50%); }
.frame .bar .cls::before, .frame .bar .cls::after { width: 12px; height: 0; border-top: 1px solid currentColor; }
.frame .bar .cls::before { transform: translate(-50%, 0) rotate(45deg); }
.frame .bar .cls::after { transform: translate(-50%, 0) rotate(-45deg); }
.frame img { width: 100%; height: auto; }
.glow { position: relative; }
.glow .frame { box-shadow: 0 30px 90px rgba(124, 58, 237, .28), 0 10px 40px rgba(20, 16, 43, .25); }

/* ---------- secties ---------- */
section.block { padding: 88px 0; }
section.block.alt { background: var(--bg2); }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.chips span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.chips svg { width: 18px; height: 18px; color: var(--accent); }

/* de belangrijkste functies: genummerde kaarten met een schermafbeelding */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fcard { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 18px; transition: transform .15s, border-color .15s, box-shadow .15s; }
.fcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: var(--shadow); }
.fcard a.pic { display: block; text-decoration: none; }
.fcard .pic img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 16px; cursor: zoom-in; }
.fcard .num { position: absolute; right: 24px; top: 24px; font-weight: 800; font-size: 12px; color: var(--accent); background: var(--panel); padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line); }
.fcard .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.fcard h3 { font-size: 19px; margin-bottom: 6px; }
.fcard p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }

/* alle onderdelen in het kort */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.feature { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .15s, transform .15s; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-2px); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* stappen */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* "Deze functies zijn er binnenkort" */
.soon-band { position: relative; overflow: hidden; background: var(--dark); color: var(--dark-ink); }
.soon-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 88% 0, rgba(124, 58, 237, .45), transparent 70%), radial-gradient(520px 280px at 0 100%, rgba(236, 72, 153, .22), transparent 70%); pointer-events: none; }
.soon-band .container { position: relative; }
.soon-band .sec-head p { color: rgba(255, 255, 255, .72); }
.soon-band .eyebrow { color: #c4b5fd; }
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scard { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); border-radius: 18px; padding: 24px; backdrop-filter: blur(4px); }
.scard .stop { display: flex; align-items: center; justify-content: space-between; color: #c4b5fd; }
.scard .stop svg { width: 26px; height: 26px; }
.scard h3 { font-size: 20px; margin: 14px 0 6px; }
.scard p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }
.chip { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.chip.test { background: rgba(47, 191, 122, .2); color: #6fe0a8; }
.chip.dev { background: rgba(251, 191, 36, .2); color: #fcd34d; }
.chip.on { background: rgba(124, 58, 237, .35); color: #ddd6fe; }
.soonfoot { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; color: rgba(255, 255, 255, .85); }
@media (max-width: 900px) { .scards { grid-template-columns: 1fr; } }

/* feiten */
.facts { background: var(--bg2); border-block: 1px solid var(--line); }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 34px; text-align: center; }
.facts b { display: block; font-size: 34px; color: var(--accent); letter-spacing: -.02em; }
.facts span { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .facts .container { grid-template-columns: repeat(2, 1fr); } }

/* twee kolommen met uitleg (andere pagina's) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 52px; align-items: center; }
.split.rev .split-media { order: -1; }
.split h2 { font-size: clamp(26px, 3.2vw, 38px); }
.split p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%237c3aed' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev .split-media { order: 0; } }

/* prijzen */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; max-width: 880px; margin: 0 auto; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.price-card .badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 99px; padding: 4px 12px; }
.price-card h3 { font-size: 20px; margin: 0; }
.price { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 8px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .sub { color: var(--muted); margin-bottom: 14px; }
.price-card .btn { margin-top: auto; }
.price-table { width: 100%; max-width: 880px; margin: 36px auto 0; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td, .price-table tr:last-child th { border-bottom: 0; }
.price-table th { color: var(--muted); font-weight: 600; font-size: 14px; background: var(--panel2); }

/* veelgestelde vragen */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.cta-band { text-align: center; padding: 84px 0; background: var(--dark, #14102b); color: var(--dark-ink, #fff); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0, rgba(124, 58, 237, .4), transparent 70%), radial-gradient(600px 300px at 85% 100%, rgba(236, 72, 153, .25), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta-band p { color: rgba(255, 255, 255, .78); font-size: 18px; margin: 0 0 26px; }

/* ---------- voet ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 48px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer a { display: block; color: var(--text); text-decoration: none; padding: 3px 0; opacity: .85; }
.footer a:hover { opacity: 1; color: var(--accent); }
.footer p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer .copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- formulieren ---------- */
form.stack { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: inherit; width: 100%; }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { padding: 11px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.msg.err { border-color: var(--bad); color: var(--bad); }
.msg.ok { border-color: var(--ok); color: var(--ok); }
.hint { color: var(--muted); font-size: 14px; font-weight: 400; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-grid .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.page-head { padding: 64px 20px 24px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 48px); }
.page-head p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
.legal { max-width: 780px; margin: 0 auto; padding: 8px 20px 80px; }
.legal h2 { margin-top: 1.8em; font-size: 24px; }
.legal h3 { margin-top: 1.4em; font-size: 18px; }
.legal p { color: var(--text); opacity: .9; }

/* ---------- inloggen en registreren ---------- */
.auth-wrap { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 40px 20px; background: radial-gradient(700px 360px at 50% -10%, var(--accent-soft), transparent 70%), var(--bg); }
.auth-card { width: 100%; max-width: 440px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 34px 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin: 0 0 22px; }
.auth-card .alt { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- portal ---------- */
.topbar { background: var(--panel); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.topbar .who { margin-left: auto; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.dash-head { padding: 34px 0 6px; }
.dash-head h1 { font-size: 30px; margin: 0; }
.tabs { display: flex; gap: 4px; margin: 20px 0 22px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); padding: 11px 16px; font: inherit; font-weight: 650; cursor: pointer; margin-bottom: -1px; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected=true] { color: var(--text); border-bottom-color: var(--accent); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.list { display: grid; gap: 14px; }
.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.row .grow { flex: 1; min-width: 180px; }
.row label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.row label.checks { display: flex; align-items: center; gap: 6px; align-self: end; }
.row input[type=text], .row input[type=number], .row select { width: auto; padding: 8px 10px; }
.pill { font-size: 12px; font-weight: 650; padding: 3px 11px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.pill.bad { color: var(--bad); border-color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.checks { display: grid; gap: 8px; margin: 10px 0; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; }
details.dev summary { cursor: pointer; font-weight: 650; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
.mt-sm { margin-top: 14px; }
.mt-md { margin-top: 26px; }
.m-0 { margin: 0; }
.bad-text { color: var(--bad); }
.code-out { margin-top: 14px; }
.code { font: 700 36px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .14em; color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.tile .big { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.foot-note { color: var(--muted); font-size: 14px; padding: 36px 0 44px; }
.copy-box { display: flex; gap: 8px; align-items: stretch; }
.copy-box code, pre.snippet { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; font: 13px/1.5 ui-monospace, Consolas, monospace; overflow-x: auto; white-space: pre; color: var(--text); margin: 0; }

/* portal: website-koppeling, berichten, teksten */
.code-block { margin: 6px 0 0; padding: 12px 14px; border: 1px solid var(--line, rgba(128,128,128,.3)); border-radius: 10px; background: rgba(128,128,128,.08); overflow-x: auto; white-space: pre-wrap; word-break: break-all; font: 13px/1.5 ui-monospace, Consolas, monospace; user-select: all; }
.pre-wrap { white-space: pre-wrap; }
.legal-edit { width: 100%; box-sizing: border-box; font: 14px/1.5 ui-monospace, Consolas, monospace; }

/* schermafbeelding vergroot bekijken */
.fcard a.pic img, .hero .frame img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 56px 20px 20px; background: rgba(20, 14, 6, .82); backdrop-filter: blur(4px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 70px rgba(0, 0, 0, .55); background: #fff; cursor: default; }
.lightbox .lb-close { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox .lb-close:hover, .lightbox .lb-close:focus-visible { background: rgba(255, 255, 255, .32); }

/* label voor onderdelen die nog niet open zijn */
.soon { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }

/* spel-editor in het portal */
.ed-top { align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 12px; }
.ed-top h2 { margin: 0; font-size: 20px; }
.ed-status { font-size: 13px; color: var(--muted); }
.ed-status.dirty { color: var(--accent); font-weight: 650; }
.ed-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.ed-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 9px 14px; color: var(--muted); font: inherit; font-weight: 650; cursor: pointer; }
.ed-tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.ed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ed-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.ed-field > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.ed-field input[type=text], .ed-field input[type=number], .ed-field textarea, .ed-field select, .ed-item input[type=text], .ed-item textarea, .ed-item select, .ed-line input[type=text] { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.ed-field textarea, .ed-item textarea { resize: vertical; }
.ed-item { border: 1px solid var(--line); border-radius: 12px; background: var(--panel2); padding: 12px; margin-top: 10px; }
.ed-item .row, .ed-line.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ed-item .row select { width: auto; max-width: 220px; }
.ed-line { margin-bottom: 8px; }
.ed-n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.ed-req { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.chip { border: 1px solid var(--line); background: var(--bg); color: var(--muted); border-radius: 99px; padding: 3px 11px; font: inherit; font-size: 13px; cursor: pointer; }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.ed-bg { max-width: 360px; width: 100%; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 8px; }
.ed-block { margin-bottom: 14px; }
.ed-block > strong { display: block; margin-bottom: 6px; }
.ed-conflict { border-color: var(--bad); margin-bottom: 14px; }
.ed-item audio { height: 34px; max-width: 280px; }
.ed-field textarea, .ed-item textarea { min-height: 0; height: 66px; }

/* menu Beheer in de tabbladen van het portal */
.tab-menu { position: relative; }
.tabs .tab-menu-list { position: absolute; top: 100%; left: 0; z-index: 30; min-width: 190px; margin-top: 2px; padding: 6px; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.tabs .tab-menu-list button { margin: 0; border: 0; border-radius: 8px; text-align: left; padding: 9px 12px; color: var(--text); }
.tabs .tab-menu-list button:hover, .tabs .tab-menu-list button.on { background: var(--accent-soft); }
.ed-phase { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 14px; margin-top: 12px; background: var(--panel2); }
.ed-sublines { margin: 8px 0 0 36px; padding-left: 14px; border-left: 2px solid var(--line); }
.ed-sublines .ed-line { margin-bottom: 6px; }
.ed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.ed-phase-title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 26px 0 0; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.ed-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: 14px; user-select: none; }
.ed-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ed-switch .ed-sw { width: 38px; height: 22px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: background .15s; }
.ed-switch .ed-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.ed-switch input:checked + .ed-sw { background: var(--accent); }
.ed-switch input:checked + .ed-sw::after { left: 19px; }
.ed-switch input:focus-visible + .ed-sw { outline: 2px solid var(--accent); outline-offset: 2px; }
