:root {
  --lv-bg: #070b14;
  --lv-bg-soft: #0c1220;
  --lv-surface: #101827;
  --lv-ink: #f3f6fb;
  --lv-muted: #9aa6b5;
  --lv-line: rgba(255, 255, 255, 0.09);
  --lv-orange: #f97316;
  --lv-orange-deep: #ea580c;
  --lv-teal: #2dd4bf;
  --lv-green: #34d399;
  --lv-danger: #f87171;
  --lv-radius: 14px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 1px 0 rgba(255,255,255,0.03), 0 18px 40px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--lv-ink);
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(249, 115, 22, 0.14), transparent 60%),
    radial-gradient(720px 460px at 96% 4%, rgba(45, 212, 191, 0.06), transparent 55%),
    var(--lv-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--lv-teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

.shell { max-width: 900px; margin: 0 auto; padding: clamp(4.5rem, 11vh, 7.5rem) 20px 72px; }
.shell-wide { max-width: 1180px; }

.editor-layout { display: block; }
.editor-main { min-width: 0; display: grid; gap: 0; }
.editor-main .panel { margin-bottom: 1rem; }
.type-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.type-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.editor-side {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(460px, calc(100vw - 24px));
  z-index: 40;
  background: rgba(16, 24, 39, 0.97);
  border: 1px solid var(--lv-line);
  border-radius: calc(var(--lv-radius) + 4px);
  padding: 1rem 1rem 1.15rem;
  box-shadow: var(--shadow);
  overflow: auto;
  transform: translateX(calc(100% + 28px));
  transition: transform 0.22s ease;
  pointer-events: none;
}
.editor-side.is-open {
  transform: none;
  pointer-events: auto;
}
.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.drawer-lead { margin: 0 0 12px; }
.side-q-label {
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
}
.side-heading {
  margin: 14px 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lv-muted);
}
.side-block { margin-top: 12px; display: grid; gap: 10px; }
.type-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.type-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 1px;
  align-items: center;
  text-align: left;
  width: 100%;
  border: 1px solid var(--lv-line);
  background: var(--lv-bg-soft);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--lv-ink);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
}
.type-ico {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--lv-orange);
}
.type-ico svg { width: 22px; height: 22px; display: block; }
.type-row small {
  color: var(--lv-muted);
  font-weight: 500;
  font-size: 0.72rem;
}
.type-row:hover { border-color: rgba(249,115,22,.45); }
.type-row.active {
  border-color: rgba(249,115,22,.7);
  background: rgba(249, 115, 22, 0.14);
  color: #fdba74;
}
.logic-side { border-top: 1px solid var(--lv-line); padding-top: 12px; margin-top: 16px; }
.q-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lv-muted);
  border: 1px solid var(--lv-line);
  background: rgba(255,255,255,.03);
}
.q-type-pill svg { width: 14px; height: 14px; display: block; }
.q-card.is-selected {
  border-color: rgba(249,115,22,.55);
  box-shadow: 0 0 0 1px rgba(249,115,22,.25);
  background: rgba(249, 115, 22, 0.06);
}
.q-card { cursor: pointer; }
.q-card .opts-field { margin-top: 12px; }
.q-card .opts-field textarea {
  min-height: 110px;
  font-weight: 500;
}
.q-card .q-extra { margin-top: 12px; }
.q-card-title {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.q-card-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.drag-handle {
  cursor: grab;
  border: 1px solid var(--lv-line);
  background: var(--lv-bg-soft);
  color: var(--lv-muted);
  border-radius: 8px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  letter-spacing: -2px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0;
  flex-shrink: 0;
}
.drag-handle:active { cursor: grabbing; }
.q-card.is-dragging {
  opacity: 0.45;
  border-style: dashed;
}
.drop-slot {
  height: 10px;
  margin: 2px 0;
  border-radius: 6px;
  transition: height .12s ease, background .12s ease, margin .12s ease;
}
.is-dnd .drop-slot { height: 22px; background: rgba(255,255,255,.03); }
.drop-slot.drop-hover {
  height: 36px;
  margin: 6px 0;
  background: rgba(249, 115, 22, 0.28);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.55);
}
.section-drop-banner {
  display: none;
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px dashed rgba(249, 115, 22, 0.45);
  border-radius: 12px;
  color: #fdba74;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  background: rgba(249, 115, 22, 0.06);
}
.is-dnd .section-drop-banner { display: block; }
.section-drop-banner.section-drop-hover,
.section-questions.section-drop-hover {
  background: rgba(249, 115, 22, 0.16);
  border-color: rgba(249, 115, 22, 0.7);
  outline: none;
}
.section-questions.section-drop-hover {
  outline: 1px dashed rgba(249, 115, 22, 0.5);
  border-radius: 10px;
}
.drop-empty { padding: 16px; text-align: center; }
.move-sec-wrap { display: inline-flex; align-items: center; }
.move-sec {
  width: auto;
  min-width: 7.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--lv-bg-soft);
  border: 1px solid var(--lv-line);
  border-radius: 8px;
  color: var(--lv-muted);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.back-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1.25rem;
  margin: 0 0 0.9rem;
}
.login .back-row { margin: 0 0 1.1rem; }
.brand {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--lv-ink);
}
.brand span { color: var(--lv-muted); font-weight: 500; }
.crumb, .kicker {
  margin: 0 0 4px;
  color: var(--lv-orange);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }
h1 { margin: 0 0 8px; font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h2 { margin: 0 0 10px; font-size: 1.15rem; }
.section-live-title { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 0 0 8px; }
.lead { color: var(--lv-muted); margin: 0 0 1.25rem; max-width: 38rem; font-size: 1.02rem; }

.panel, .hero-panel {
  background: rgba(16, 24, 39, 0.88);
  border: 1px solid var(--lv-line);
  border-radius: calc(var(--lv-radius) + 4px);
  padding: 1.4rem 1.45rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 10px; border: 1px solid transparent;
  padding: 0.7rem 1.05rem; font-weight: 700; text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lv-orange); color: #1a0a00; }
.btn-primary:hover { background: var(--lv-orange-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--lv-line);
  color: var(--lv-ink);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.btn-soft {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.35);
  color: #fdba74;
}
.btn-sm { padding: 0.42rem 0.75rem; font-size: 0.88rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.check-row {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
}
.check-row input { width: auto; }
input, select, textarea {
  width: 100%;
  background: var(--lv-bg-soft);
  border: 1px solid var(--lv-line);
  border-radius: 10px;
  padding: 0.72rem 0.9rem;
  color: var(--lv-ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(249, 115, 22, .35);
  outline-offset: 1px;
  border-color: rgba(249, 115, 22, .55);
}
textarea { min-height: 88px; resize: vertical; }
.form-grid { display: grid; gap: 1rem; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .form-grid.two { grid-template-columns: 1fr; } }
.error { color: var(--lv-danger); margin: 0; font-size: 0.9rem; }
.hint { color: var(--lv-muted); font-size: 0.88rem; margin: 0; }
.maker-link {
  opacity: 0.72;
  font-weight: 500 !important;
}
.maker-link:hover { opacity: 1; }
.host-credit {
  margin: 2rem 0 0;
  font-size: 0.82rem;
  color: var(--lv-muted);
  opacity: 0.85;
}
.host-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.host-credit a:hover { opacity: 1; }
.item-public h3 { margin: 0.2rem 0 0.35rem; font-size: 1.05rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.84rem; }
.type-label { margin: 10px 0 6px; }

.list { display: grid; gap: 10px; }
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--lv-line);
  border-radius: 12px;
  background: rgba(12, 18, 32, 0.65);
}
.item h3 { margin: 0; font-size: 1.05rem; letter-spacing: -0.02em; }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--lv-line); color: var(--lv-muted); background: rgba(255,255,255,.03);
}
.badge.open { color: var(--lv-green); border-color: rgba(52,211,153,.3); background: rgba(52,211,153,.08); }
.badge.draft, .badge.closed { color: #fbbf24; border-color: rgba(251,191,36,.3); background: rgba(251,191,36,.08); }

.section-card {
  border: 1px solid var(--lv-line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(7, 11, 20, 0.55);
  margin-bottom: 16px;
}
.section-head {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  margin-bottom: 12px;
}
.section-title-label { margin-top: 4px; }
.section-questions { display: grid; gap: 12px; margin: 14px 0; }

.q-card {
  border: 1px solid var(--lv-line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(16, 24, 39, 0.7);
}
.q-card-head {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  margin-bottom: 10px;
}
.q-card-head strong { letter-spacing: -0.02em; }

.logic-box {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.05);
}
.logic-title {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--lv-teal);
  font-size: 0.9rem;
}
.logic-rules { display: grid; gap: 8px; margin-top: 10px; }
.logic-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) 1.3fr;
  gap: 8px;
  align-items: center;
}
.logic-when { color: var(--lv-muted); font-size: 0.9rem; }
@media (max-width: 640px) {
  .logic-row { grid-template-columns: 1fr; }
}

.q { margin: 0 0 1.2rem; border: 0; padding: 0; }
.q legend { font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; font-size: 1.08rem; }
.opts { display: grid; gap: 8px; }
.opt {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border: 1px solid var(--lv-line); border-radius: 12px;
  background: var(--lv-bg-soft); cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.opt:hover { border-color: rgba(255,255,255,.18); }
.opt:has(input:checked) {
  border-color: rgba(249,115,22,.55);
  background: rgba(249, 115, 22, 0.12);
}
.opt input { width: auto; margin-top: 3px; accent-color: var(--lv-orange); }

.scale { display: flex; flex-wrap: wrap; gap: 8px; }
.scale label {
  display: grid; place-items: center;
  min-width: 44px; height: 44px;
  border: 1px solid var(--lv-line);
  border-radius: 10px;
  background: var(--lv-bg-soft);
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.scale label:has(input:checked) {
  background: var(--lv-orange);
  border-color: var(--lv-orange);
  color: #1a0a00;
}
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale-ends {
  display: flex; justify-content: space-between; gap: 12px;
  color: var(--lv-muted); font-size: 0.85rem; margin-top: 8px;
}

.stars { display: flex; gap: 6px; flex-wrap: wrap; }
.stars label {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--lv-line); background: var(--lv-bg-soft);
  font-size: 1.35rem; cursor: pointer; color: rgba(255,255,255,.25);
  position: relative;
  transition: color .12s ease, border-color .12s ease, background .12s ease, transform .12s ease;
}
.stars label:hover { transform: translateY(-1px); }
.stars label.on,
.stars label.hover { color: #fbbf24; border-color: rgba(251,191,36,.45); background: rgba(251,191,36,.1); }
.stars input { position: absolute; opacity: 0; pointer-events: none; }

.rank-list { display: grid; gap: 8px; }
.rank-item {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--lv-line); border-radius: 10px; background: var(--lv-bg-soft);
}
.rank-item select { width: 64px; }

.progress {
  height: 4px; background: rgba(255,255,255,.08); border-radius: 99px;
  overflow: hidden; margin: 0 0 18px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--lv-orange), var(--lv-teal));
  border-radius: 99px;
  transition: width .25s ease;
}

.bar-row { display: grid; grid-template-columns: minmax(72px, 1.1fr) 3fr auto; gap: 10px; align-items: center; margin: 6px 0; }
.bar-track { height: 10px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--lv-orange); border-radius: 99px; }
.result-block { margin: 0 0 1.35rem; }
.result-head {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap;
  margin-bottom: 8px;
}
.result-head h2 { margin: 0; }
.results-sec { margin: 1.2rem 0 0.4rem; }
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 1.1rem;
}
.stats-strip > div {
  padding: 12px 14px;
  border: 1px solid var(--lv-line);
  border-radius: 12px;
  background: rgba(12, 18, 32, 0.65);
  display: grid;
  gap: 2px;
}
.stats-num {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lv-orange);
}
.stats-label { font-weight: 700; font-size: 0.86rem; }
.stats-wide { grid-column: span 1; }
@media (max-width: 720px) {
  .stats-strip { grid-template-columns: 1fr; }
}
.stat-line { margin: 8px 0 0; color: var(--lv-ink); font-size: 0.95rem; }
.stat-line strong { color: var(--lv-orange); font-size: 1.1rem; }
.link-box {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--lv-line);
  border-radius: 12px;
  background: rgba(12, 18, 32, 0.55);
  margin-bottom: 4px;
}
.link-box-compact {
  margin-top: 10px;
  padding: 8px 10px;
}
.share-link { word-break: break-all; color: var(--lv-teal); flex: 1 1 180px; }
.answer-list { margin: 0; padding-left: 1.1rem; }
.answer-list li { margin: 4px 0; }

.login-wrap {
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(5.5rem, 16vh, 10rem) 1.25rem 4rem;
  box-sizing: border-box;
}
.login {
  width: min(400px, 100%);
  padding: 1.75rem;
  border: 1px solid var(--lv-line);
  border-radius: 16px;
  background: rgba(16, 24, 39, 0.88);
  box-shadow: var(--shadow);
}
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--lv-ink); color: #0b1220;
  padding: 10px 16px; border-radius: 999px; z-index: 50;
  font-weight: 700; font-size: 0.92rem;
}

/* —— Uitdenkers: zelfde frisse lime-look als uitdenkers.nl —— */
html.theme-uitdenkers {
  --lv-bg: #0b1220;
  --lv-bg-soft: #121a2b;
  --lv-surface: #121a2b;
  --lv-ink: #f4f7fb;
  --lv-muted: #9aa8bc;
  --lv-line: rgba(255, 255, 255, 0.1);
  --lv-orange: #d6ff3f;
  --lv-orange-deep: #c2eb2e;
  --lv-teal: #5eead4;
  --lv-green: #d6ff3f;
  --lv-danger: #f87171;
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --display: "Syne", "Figtree", sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

html.theme-uitdenkers body {
  background:
    radial-gradient(900px 420px at 10% -5%, rgba(214, 255, 63, 0.1), transparent 55%),
    radial-gradient(700px 380px at 95% 0%, rgba(94, 234, 212, 0.08), transparent 50%),
    var(--lv-bg);
}

html.theme-uitdenkers .crumb,
html.theme-uitdenkers .kicker,
html.theme-uitdenkers .logic-title,
html.theme-uitdenkers .side-heading {
  color: var(--lv-orange);
}

html.theme-uitdenkers .brand,
html.theme-uitdenkers h1,
html.theme-uitdenkers h2,
html.theme-uitdenkers .section-live-title,
html.theme-uitdenkers .q-card-head strong,
html.theme-uitdenkers .side-q-label {
  font-family: var(--display);
  letter-spacing: -0.03em;
}

html.theme-uitdenkers .btn-primary {
  background: var(--lv-orange);
  color: #10180a;
}
html.theme-uitdenkers .btn-primary:hover {
  background: var(--lv-orange-deep);
  color: #10180a;
}

html.theme-uitdenkers .btn-soft {
  background: rgba(214, 255, 63, 0.12);
  border-color: rgba(214, 255, 63, 0.35);
  color: #eaff8a;
}

html.theme-uitdenkers .type-row.active,
html.theme-uitdenkers .type-chip.active,
html.theme-uitdenkers .q-card.is-selected {
  border-color: rgba(214, 255, 63, 0.55);
  background: rgba(214, 255, 63, 0.08);
  color: #eaff8a;
  box-shadow: none;
}

html.theme-uitdenkers .opt:has(input:checked),
html.theme-uitdenkers .scale label:has(input:checked) {
  border-color: rgba(214, 255, 63, 0.55);
  background: rgba(214, 255, 63, 0.14);
  color: #10180a;
}
html.theme-uitdenkers .scale label:has(input:checked) {
  background: var(--lv-orange);
  color: #10180a;
}

html.theme-uitdenkers .opt input,
html.theme-uitdenkers input:focus,
html.theme-uitdenkers select:focus,
html.theme-uitdenkers textarea:focus {
  accent-color: var(--lv-orange);
  outline-color: rgba(214, 255, 63, 0.4);
  border-color: rgba(214, 255, 63, 0.5);
}

html.theme-uitdenkers .progress-bar {
  background: linear-gradient(90deg, var(--lv-orange), var(--lv-teal));
}
html.theme-uitdenkers .bar-fill {
  background: var(--lv-orange);
}
html.theme-uitdenkers .stats-num {
  color: var(--lv-orange);
}
html.theme-uitdenkers .share-link,
html.theme-uitdenkers a {
  color: var(--lv-teal);
}
html.theme-uitdenkers a.btn {
  color: var(--lv-ink);
}
html.theme-uitdenkers a.btn-primary {
  color: #10180a;
}
html.theme-uitdenkers a.btn-soft {
  color: #eaff8a;
}
html.theme-uitdenkers a.back-link {
  display: inline;
  color: #d6ff3f;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-weight: 600;
  text-decoration: none;
}
html.theme-uitdenkers a.back-link:hover {
  color: #f4f7fb;
  background: none;
}
html.theme-uitdenkers .badge.open {
  color: #d6ff3f;
  border-color: rgba(214, 255, 63, 0.35);
  background: rgba(214, 255, 63, 0.1);
}
html.theme-uitdenkers .drag-handle:hover,
html.theme-uitdenkers .drop-slot.drop-hover,
html.theme-uitdenkers .section-drop-banner.section-drop-hover,
html.theme-uitdenkers .section-questions.section-drop-hover {
  border-color: rgba(214, 255, 63, 0.55);
  background: rgba(214, 255, 63, 0.16);
}
html.theme-uitdenkers .section-drop-banner {
  border-color: rgba(214, 255, 63, 0.4);
  color: #eaff8a;
  background: rgba(214, 255, 63, 0.06);
}
html.theme-uitdenkers .toast {
  background: var(--lv-orange);
  color: #10180a;
}
html.theme-uitdenkers .panel,
html.theme-uitdenkers .editor-side,
html.theme-uitdenkers .login {
  background: rgba(18, 26, 43, 0.92);
}
html.theme-uitdenkers .host-credit a {
  border-bottom-color: rgba(214, 255, 63, 0.28);
}
html.theme-uitdenkers .host-credit a:hover {
  color: var(--lv-orange);
}

.publish-panel textarea { min-height: 8rem; }
.prose p { margin: 0 0 0.85rem; color: var(--lv-muted); line-height: 1.6; }
.prose p:last-child { margin-bottom: 0; }
.publication-hero h1 { margin-bottom: 0.5rem; }
.badge.published {
  color: var(--lv-teal);
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.1);
}
.badge.closed {
  color: var(--lv-muted);
  border-color: var(--lv-line);
  background: rgba(255, 255, 255, 0.04);
}
.btn.danger { color: var(--lv-danger) !important; border-color: rgba(248, 113, 113, 0.35); }
.open-until { color: var(--lv-orange) !important; font-weight: 600; }

.image-opts { display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.image-opt-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--lv-line);
  border-radius: 12px;
  background: var(--lv-bg-soft);
}
.image-opt-preview {
  width: 88px; height: 72px;
  border-radius: 8px;
  overflow: hidden;
  display: grid; place-items: center;
  background: rgba(0,0,0,.25);
}
.image-opt-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-opt-fields { display: grid; gap: 0.4rem; }
.file-btn { cursor: pointer; display: inline-flex; }
.image-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
}
.image-choice {
  display: grid;
  gap: 0.45rem;
  cursor: pointer;
  border: 1px solid var(--lv-line);
  border-radius: 12px;
  padding: 0.55rem;
  background: var(--lv-bg-soft);
}
.image-choice input { position: absolute; opacity: 0; pointer-events: none; }
.image-choice-frame {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  display: grid; place-items: center;
  background: rgba(0,0,0,.2);
}
.image-choice-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-choice-label { font-size: 0.9rem; font-weight: 600; text-align: center; }
.image-choice:has(input:checked) {
  border-color: var(--lv-orange);
  box-shadow: 0 0 0 1px var(--lv-orange);
}

.import-rules {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  color: var(--lv-muted);
}
.import-rules strong { color: var(--lv-ink); font-weight: 700; }
.import-sample, .import-prompt, .import-source {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.import-sample, .import-prompt {
  margin: 0.85rem 0 0;
  background: var(--lv-bg-soft);
  border: 1px solid var(--lv-line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  max-height: 22rem;
  overflow: auto;
}
.import-prompt { width: 100%; min-height: 16rem; }
.import-source { min-height: 16rem; }
.import-note {
  border: 1px solid color-mix(in srgb, var(--lv-orange) 45%, transparent);
  background: color-mix(in srgb, var(--lv-orange) 10%, transparent);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0 0 1rem;
}
.import-note ul {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
  color: var(--lv-muted);
  display: grid;
  gap: 0.25rem;
}
