/* StreamPilot — homepage.css: publieke landingspagina (hp2-) */
/* =======================================================================
   HOMEPAGE v2  (hp2-)
   Preview via /preview/homepage â€” swap in for /  when approved
   ======================================================================= */

/* â”€â”€ Shared wrapper â”€â”€ */
.hp2-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* â”€â”€ Hero â”€â”€ */
.hp2-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 12px 0 40px;
}
.hp2-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(253,100,30,.4);
  background: rgba(253,100,30,.1);
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* CHANGE 2: Hero headline â€” was: font-size 32px, font-weight 800, letter-spacing -.6px */
.hp2-hero__h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.9px;
  margin: 0 0 14px;
}
.hp2-hero__sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 50ch;
  margin: 0 0 24px;
}
.hp2-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hp2-hero__fine {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

/* â”€â”€ Mock window â”€â”€ */
.hp2-win {
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
}
.hp2-win__titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid var(--border);
}
.hp2-win__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hp2-win__dot--r { background: #ff5f57; }
.hp2-win__dot--y { background: #febc2e; }
.hp2-win__dot--g { background: #28c840; }
.hp2-win__title-text { font-size: 11px; color: rgba(255,255,255,.3); margin-left: 8px; }

.hp2-win__shell { display: flex; min-height: 240px; }

/* Sidebar â€” mirrors real .sidebar style */
.hp2-win__nav {
  width: 110px;
  border-right: 1px solid var(--border);
  background: rgba(10,10,12,.75);
  backdrop-filter: blur(14px);
  padding: 8px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}
.hp2-win__nav-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  color: var(--accent);
  padding: 6px 10px 10px;
  letter-spacing: -.02em;
}
.hp2-win__nav-brand-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hp2-win__nav-group {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.25);
  padding: 6px 10px 3px;
}
.hp2-win__nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 7px;
  margin: 0 5px;
  color: var(--muted);
  cursor: default;
  transition: background .1s;
}
.hp2-win__nav-item svg { flex-shrink: 0; opacity: .6; }
.hp2-win__nav-item--active {
  background: rgba(253,100,30,.15);
  color: var(--accent);
  font-weight: 600;
}
.hp2-win__nav-item--active svg { opacity: 1; }

/* Main content area */
.hp2-win__content {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  background:
    radial-gradient(600px 400px at 80% 0%, rgba(253,100,30,.06), transparent 60%),
    transparent;
}

/* Topbar inside mock */
.hp2-win__topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.hp2-win__live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  color: #28c840;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(40,200,64,.1);
  border: 1px solid rgba(40,200,64,.2);
  letter-spacing: .04em;
}
.hp2-win__live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28c840;
  animation: hp2-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes hp2-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}
.hp2-win__viewers { font-size: 9px; color: var(--muted); }
.hp2-win__uptime  { font-size: 9px; color: rgba(255,255,255,.3); margin-left: auto; font-family: monospace; }

/* Cards inside mock â€” mirrors real .card style */
.hp2-wcard {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  overflow: hidden;
}
.hp2-wcard__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
}
.hp2-wcard__icon {
  width: 20px; height: 20px;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp2-wcard__icon--orange { background: rgba(253,100,30,.15); color: var(--accent); }
.hp2-wcard__icon--yellow { background: rgba(245,158,11,.15);  color: #fbbf24; }
.hp2-wcard__icon--blue   { background: rgba(59,130,246,.15);  color: #60a5fa; }
.hp2-wcard__icon--green  { background: rgba(16,185,129,.15);  color: #34d399; }

.hp2-wcard__title { flex: 1; font-size: 10px; font-weight: 700; }
.hp2-wcard__pill {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(253,100,30,.15);
  color: var(--accent);
  font-weight: 600;
}
.hp2-wcard__pill--music {
  background: rgba(59,130,246,.15);
  color: #60a5fa;
}
.hp2-wcard__live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28c840;
  animation: hp2-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* The orange separator â€” StreamPilot's visual signature */
.hp2-wcard__sep {
  height: 0;
  border-top: 3px solid #f97316;
  margin: 0;
}

.hp2-wcard__body { padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; }
.hp2-wcard__val  { font-size: 9px; color: var(--muted); text-align: right; }
.hp2-wcard__notif {
  padding: 6px 10px;
  font-size: 10px;
  color: var(--accent);
  background: rgba(253,100,30,.07);
}
.hp2-wcard__track {
  padding: 6px 10px;
  font-size: 10px;
  color: #60a5fa;
  font-style: italic;
}

.hp2-win__progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.hp2-win__progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* â”€â”€ Marquee â”€â”€ */
.hp2-marquee {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
}
.hp2-marquee__track {
  display: flex;
  width: max-content;
  animation: hp2-scroll 28s linear infinite;
}
.hp2-marquee__track:hover { animation-play-state: paused; }
@keyframes hp2-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hp2-marquee__item {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  padding: 0 22px;
  white-space: nowrap;
  text-transform: uppercase;
}
.hp2-marquee__item::after {
  content: '·';
  margin-left: 22px;
  opacity: .35;
}

/* â”€â”€ Section wrapper â”€â”€ */
.hp2-section {
  margin-top: 48px;
}
.hp2-section--alt {
  margin-top: 40px;
  padding: 32px 24px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
}
/* CHANGE 2: Section heading â€” was: font-size 22px, letter-spacing -.3px */
.hp2-section__h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 0 0 6px;
}
.hp2-section__sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
}

/* â”€â”€ Module cards grid â”€â”€ */
.hp2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* â”€â”€ Module card â”€â”€ */
/* CHANGE 4+5: backdrop-filter blur (was: geen); border .12 (was: var(--border) = .09) */
.hp2-mod {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color .15s;
}
/* CHANGE 4+5: open-state â€” was: border .14, bg .045 */
.hp2-mod:has(.hp2-mod__head[aria-expanded="true"]),
.hp2-mod.is-open {
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.hp2-mod__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.hp2-mod__head:hover { background: rgba(255,255,255,.03); }
.hp2-mod__icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp2-mod__icon--orange { background: rgba(253,100,30,.15); color: #fd641e; }
.hp2-mod__icon--purple { background: rgba(124,58,237,.15);  color: #a78bfa; }
.hp2-mod__icon--blue   { background: rgba(59,130,246,.15);  color: #60a5fa; }
.hp2-mod__icon--green  { background: rgba(16,185,129,.15);  color: #34d399; }
.hp2-mod__icon--yellow { background: rgba(245,158,11,.15);  color: #fbbf24; }
.hp2-mod__icon--teal   { background: rgba(20,184,166,.15);  color: #2dd4bf; }
.hp2-mod__icon--pink   { background: rgba(244,114,182,.15); color: #f472b6; }
.hp2-mod__icon--indigo { background: rgba(99,102,241,.15);  color: #818cf8; }

.hp2-mod__info {
  flex: 1;
  min-width: 0;
}
.hp2-mod__info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.hp2-mod__info span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp2-mod__chevron {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.hp2-mod.is-open .hp2-mod__chevron {
  transform: rotate(180deg);
}

/* Smooth expand via grid trick */
.hp2-mod__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.hp2-mod.is-open .hp2-mod__body {
  grid-template-rows: 1fr;
}
.hp2-mod__body-inner {
  overflow: hidden;
}
.hp2-mod__expand {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 4px 16px 18px;
  border-top: 1px solid var(--border);
}
.hp2-mod__pain, .hp2-mod__gain {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 6px;
}
.hp2-mod__pain { color: var(--muted); }
.hp2-mod__gain {
  color: var(--text);
  padding: 10px 13px;
  border-radius: 8px;
  background: rgba(253,100,30,.07);
  border-left: 3px solid var(--accent);
}

/* â”€â”€ Mini preview mockups (hp2-pm-) â”€â”€ */
.hp2-pm {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.3);
  padding: 12px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Overlay */
.hp2-pm--overlay .hp2-pm__obs-bar {
  font-size: 10px;
  font-family: monospace;
  color: rgba(255,255,255,.4);
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
}
.hp2-pm__alert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(253,100,30,.1);
  border: 1px solid rgba(253,100,30,.22);
  color: var(--accent);
  font-size: 12px;
}
.hp2-pm__alert-item--sub {
  background: rgba(124,58,237,.1);
  border-color: rgba(124,58,237,.22);
  color: #a78bfa;
}
.hp2-pm__alert-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hp2-pm__alert-dot--pulse { animation: hp2-pulse 1.4s ease-in-out infinite; }

/* Chat */
.hp2-pm--chat { gap: 4px; }
.hp2-pm__chat-msg {
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.5;
}
.hp2-pm__chat-msg--viewer { color: rgba(255,255,255,.6); }
.hp2-pm__chat-msg--bot    { color: #34d399; background: rgba(16,185,129,.07); }
.hp2-pm__chat-msg span    { font-weight: 700; }

/* Music queue */
.hp2-pm__track {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 7px;
  background: rgba(255,255,255,.04);
}
.hp2-pm__track--now { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2); }
.hp2-pm__track-icon {
  font-size: 11px;
  color: #60a5fa;
  font-weight: 700;
  min-width: 14px;
  padding-top: 1px;
}
.hp2-pm__track-icon--q {
  font-size: 10px;
  color: var(--muted);
}
.hp2-pm__track-title  { font-size: 11px; font-weight: 600; line-height: 1.3; }
.hp2-pm__track-artist { font-size: 10px; color: var(--muted); }

/* Wheel */
.hp2-pm--wheel { flex-direction: row; align-items: center; gap: 12px; }
.hp2-pm__wheel-entries { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.hp2-pm__wheel-entry {
  padding: 4px 9px;
  border-radius: 5px;
  background: rgba(255,255,255,.06);
  font-size: 11px;
}
.hp2-pm__wheel-entry--more { color: var(--muted); font-style: italic; }
.hp2-pm__wheel-spin {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Goals */
.hp2-pm--goals { gap: 7px; }
.hp2-pm__goal-title { font-size: 11px; font-weight: 600; }
.hp2-pm__goal-bar-wrap {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.hp2-pm__goal-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.hp2-pm__goal-stats {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.hp2-pm__goal-pct {
  font-size: 20px;
  font-weight: 800;
  color: #fbbf24;
  text-align: right;
  line-height: 1;
}

/* Polls */
.hp2-pm--polls { gap: 6px; }
.hp2-pm__poll-q { font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.hp2-pm__poll-opt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}
.hp2-pm__poll-lbl { min-width: 72px; color: var(--muted); }
.hp2-pm__poll-bar-wrap {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.hp2-pm__poll-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2dd4bf, #14b8a6);
}
.hp2-pm__poll-pct { min-width: 28px; text-align: right; color: var(--muted); }

/* Channel Points */
.hp2-pm--cp { gap: 10px; }
.hp2-pm__redeem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(244,114,182,.08);
  border: 1px solid rgba(244,114,182,.2);
}
.hp2-pm__redeem-star { color: #fbbf24; font-size: 16px; flex-shrink: 0; }
.hp2-pm__redeem-info { flex: 1; }
.hp2-pm__redeem-user   { font-size: 11px; font-weight: 700; }
.hp2-pm__redeem-action { font-size: 10px; color: var(--muted); }
.hp2-pm__redeem-cost { font-size: 10px; color: #f472b6; font-weight: 600; flex-shrink: 0; }
.hp2-pm__cp-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.hp2-pm__cp-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(244,114,182,.12);
  border: 1px solid rgba(244,114,182,.22);
  color: #f472b6;
}

/* Check-in */
.hp2-pm--checkin { gap: 5px; }
.hp2-pm__ci-head { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 3px; }
.hp2-pm__ci-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px;
  background: rgba(255,255,255,.04);
}
.hp2-pm__ci-row--gold {
  background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.18);
  color: #fbbf24;
  font-weight: 600;
}

/* â”€â”€ Studio preview â”€â”€ */
.hp2-pm--studio { gap: 8px; }
.hp2-pm__studio-scene { display: flex; align-items: center; gap: 6px; font-size: 11px; padding: 6px 8px; background: rgba(255,255,255,.04); border-radius: 6px; }
.hp2-pm__studio-dot--live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 6px #ef4444; flex-shrink: 0; }
.hp2-pm__studio-label { color: var(--muted); }
.hp2-pm__studio-mixer { display: flex; flex-direction: column; gap: 5px; }
.hp2-pm__studio-row { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.hp2-pm__studio-row > span:first-child { width: 80px; flex-shrink: 0; }
.hp2-pm__studio-bar { flex: 1; height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.hp2-pm__studio-bar > div { height: 100%; background: #14b8a6; border-radius: 2px; }
.hp2-pm__studio-pct { font-size: 10px; color: var(--muted); width: 26px; text-align: right; flex-shrink: 0; }

/* â”€â”€ Analytics preview â”€â”€ */
.hp2-pm--analytics { gap: 8px; }
.hp2-pm__analytics-metrics { display: flex; gap: 0; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; overflow: hidden; }
.hp2-pm__analytics-metric { flex: 1; padding: 8px 6px; text-align: center; border-right: 1px solid rgba(255,255,255,.07); }
.hp2-pm__analytics-metric:last-child { border-right: none; }
.hp2-pm__analytics-val { display: block; font-size: 13px; font-weight: 700; color: #fff; }
.hp2-pm__analytics-lbl { display: block; font-size: 9px; color: var(--muted); margin-top: 1px; }
.hp2-pm__analytics-bars { display: flex; align-items: flex-end; gap: 3px; height: 36px; }
.hp2-pm__analytics-bar { flex: 1; height: var(--h); background: rgba(168,85,247,.35); border-radius: 2px 2px 0 0; transition: background .2s; }
.hp2-pm__analytics-bar--active { background: #a855f7; }

/* â”€â”€ Bento hero grid â”€â”€ */
.hp2-bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 8px;
  padding: 10px;
  background:
    radial-gradient(500px 300px at 80% 10%, rgba(253,100,30,.06), transparent 60%),
    transparent;
}

/* Status balk */
.hp2-bento__status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.hp2-bento__stat      { font-size: 10px; color: var(--muted); }
.hp2-bento__stat--mono{ font-size: 10px; color: rgba(255,255,255,.3); font-family: monospace; margin-left: auto; }

/* Bento posities */
.hp2-bento__a { grid-column: 1 / 2; }
.hp2-bento__b { grid-column: 2 / 3; }
.hp2-bento__c { grid-column: 1 / 2; }
.hp2-bento__d { grid-column: 2 / 3; }

/* Goal animatie */
.hp2-bento__goal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 5px;
}
.hp2-bento__goal-pct {
  font-size: 18px;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}

/* Notificaties (animated) */
.hp2-bento__notif-wrap {
  position: relative;
  height: 52px;
  overflow: hidden;
  padding: 0 10px 8px;
}
.hp2-bento__notif {
  position: absolute;
  left: 10px; right: 10px;
  font-size: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(6px);
}
.hp2-bento__notif--1 {
  background: rgba(253,100,30,.1);
  border: 1px solid rgba(253,100,30,.2);
  color: var(--accent);
  animation: hp2-notif 7.5s ease-in-out infinite 0s;
}
.hp2-bento__notif--2 {
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.2);
  color: #a78bfa;
  animation: hp2-notif 7.5s ease-in-out infinite 2.5s;
}
.hp2-bento__notif--3 {
  background: rgba(253,100,30,.1);
  border: 1px solid rgba(253,100,30,.2);
  color: var(--accent);
  animation: hp2-notif 7.5s ease-in-out infinite 5s;
}
@keyframes hp2-notif {
  0%          { opacity: 0;   transform: translateY(8px); }
  8%, 30%     { opacity: 1;   transform: translateY(0); }
  40%, 100%   { opacity: 0;   transform: translateY(-6px); }
}

/* Muziekspeler */
.hp2-bento__track      { font-size: 11px; font-weight: 600; color: #60a5fa; margin-bottom: 2px; }
.hp2-bento__track-meta { font-size: 9px;  color: var(--muted); margin-bottom: 6px; }
.hp2-bento__queue      { display: flex; flex-direction: column; gap: 2px; }
.hp2-bento__queue-item { font-size: 9px; color: rgba(255,255,255,.3); padding: 2px 0; border-top: 1px solid rgba(255,255,255,.05); }

/* Equalizer animatie */
.hp2-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
  margin-right: 3px;
  vertical-align: middle;
}
.hp2-eq i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #60a5fa;
  animation: hp2-eq-bar .7s ease-in-out infinite alternate;
}
.hp2-eq i:nth-child(1) { height: 50%; animation-duration: .55s; }
.hp2-eq i:nth-child(2) { height: 100%; animation-duration: .80s; }
.hp2-eq i:nth-child(3) { height: 35%; animation-duration: .45s; }
@keyframes hp2-eq-bar {
  from { transform: scaleY(.2); }
  to   { transform: scaleY(1); }
}

/* Goal fill animatie */
.hp2-anim-fill {
  animation: hp2-goal-fill 4s ease-in-out infinite alternate;
}
@keyframes hp2-goal-fill {
  0%   { width: 47%; }
  100% { width: 68%; }
}

/* Toggle */
.hp2-bento__toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
}
.hp2-bento__toggle-lbl { font-size: 9px; color: var(--muted); }
.hp2-bento__toggle {
  width: 26px; height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  position: relative;
  flex-shrink: 0;
  transition: background .35s ease;
}
.hp2-bento__toggle-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: transform .35s ease, background .35s ease;
}
.hp2-bento__toggle--on {
  background: rgba(253,100,30,.5);
}
.hp2-bento__toggle--on .hp2-bento__toggle-knob {
  transform: translateX(12px);
  background: #FD641E;
}

/* Geanimeerde toggle (aan â†’ uit â†’ aan) */
.hp2-anim-toggle {
  animation: hp2-toggle-bg 3.5s ease-in-out infinite;
}
.hp2-anim-toggle .hp2-bento__toggle-knob {
  animation: hp2-toggle-knob 3.5s ease-in-out infinite;
}
@keyframes hp2-toggle-bg {
  0%, 18%  { background: rgba(255,255,255,.12); }
  35%, 75% { background: rgba(253,100,30,.5); }
  92%, 100%{ background: rgba(255,255,255,.12); }
}
@keyframes hp2-toggle-knob {
  0%, 18%  { transform: translateX(0);    background: rgba(255,255,255,.45); }
  35%, 75% { transform: translateX(12px); background: #FD641E; }
  92%, 100%{ transform: translateX(0);    background: rgba(255,255,255,.45); }
}

/* â”€â”€ Steps â”€â”€ */
.hp2-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hp2-step {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.hp2-step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  margin-bottom: 10px;
}
.hp2-step h3 { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.hp2-step p  { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
.hp2-step__arrow { font-size: 20px; color: var(--muted); align-self: center; display: none; }

/* â”€â”€ CTA â”€â”€ */
.hp2-cta {
  margin-top: 48px;
  padding: 40px 28px;
  border-radius: var(--radius2);
  border: 1px solid rgba(253,100,30,.3);
  background: rgba(253,100,30,.07);
  text-align: center;
}
/* CHANGE 2: CTA heading â€” was: font-size 24px, letter-spacing -.3px */
.hp2-cta h2 { font-size: 30px; font-weight: 900; margin: 0 0 8px; letter-spacing: -.7px; }
.hp2-cta p  { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

/* â”€â”€ Desktop â”€â”€ */
@media (min-width: 901px) {
  .hp2-hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding-bottom: 56px;
  }
  /* CHANGE 2: Desktop hero h1 â€” was: font-size 42px, geen extra letter-spacing/weight */
  .hp2-hero__h1 {
    font-size: 58px;
    letter-spacing: -1.2px;
    font-weight: 900;
  }
  .hp2-win__nav  { width: 130px; }
  .hp2-win__nav-item { font-size: 11px; }

  /* CHANGE 6: Bento grid â€” was: grid-template-columns 1fr 1fr (uniform) */
  .hp2-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hp2-mod--wide {
    grid-column: span 2;
  }
  /* Brede kaart: side-by-side layout voor expand */
  .hp2-mod--wide .hp2-mod__expand {
    grid-template-columns: 1fr auto;
  }
  .hp2-mod--wide .hp2-pm {
    width: 280px;
  }

  .hp2-mod__expand {
    grid-template-columns: 1fr auto;
  }
  .hp2-pm {
    width: 220px;
    flex-shrink: 0;
  }

  .hp2-steps {
    flex-direction: row;
    align-items: stretch;
  }
  .hp2-step { flex: 1; }
  .hp2-step__arrow { display: block; }
}

/* -- Feature spotlights -- */
.hp2-spots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}
.hp2-spot {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s;
}
.hp2-spot:hover { border-color: rgba(255,255,255,.18); }
.hp2-spot__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp2-spot__icon--orange { background: rgba(253,100,30,.15); color: #fd641e; }
.hp2-spot__icon--purple { background: rgba(124,58,237,.15); color: #a78bfa; }
.hp2-spot__icon--teal   { background: rgba(20,184,166,.15); color: #2dd4bf; }
.hp2-spot__title { font-size: 17px; font-weight: 800; letter-spacing: -.3px; margin: 0 0 4px; }
.hp2-spot__desc  { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
.hp2-spot__link  { font-size: 12px; color: #a78bfa; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.hp2-spot__link:hover { color: #c4b5fd; }
.hp2-spot__mock {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 12px;
  margin-top: 4px;
}
.hp2-spot-layer { font-size: 9px; padding: 5px 8px; border-radius: 4px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); margin-bottom: 4px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.hp2-spot-layer--sel { background: rgba(124,58,237,.18); border-color: rgba(124,58,237,.4); color: #c4b5fd; }
.hp2-spot-layer__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.hp2-spot-preset { font-size: 10px; padding: 5px 8px; border-radius: 4px; background: rgba(255,255,255,.06); margin-bottom: 4px; color: var(--muted); }
.hp2-spot-preset--feat { background: rgba(245,158,11,.12); color: #fbbf24; }
.hp2-spot-preset__cat { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; opacity: .6; margin-right: 4px; }
.hp2-spot-conn { font-size: 10px; padding: 5px 8px; border-radius: 4px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; background: rgba(16,185,129,.12); color: #34d399; }
.hp2-spot-scene { font-size: 10px; padding: 4px 8px; border-radius: 4px; margin-bottom: 3px; background: rgba(255,255,255,.05); color: var(--muted); }
.hp2-spot-scene--active { background: rgba(253,100,30,.15); color: #fd9e6d; font-weight: 600; }

/* Marketplace preview on homepage */
.hp2-market { margin-top: 48px; }
.hp2-preset-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
.hp2-preset-card {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s, background .15s;
  display: block;
}
.hp2-preset-card:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.055); }
.hp2-preset-card__thumb {
  width: 100%; aspect-ratio: 16/9;
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.hp2-preset-card__thumb img { width: 100%; height: 100%; object-fit: contain; }
.hp2-preset-card__body { padding: 12px 14px; }
.hp2-preset-card__title { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.hp2-preset-card__meta  { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hp2-preset-card__free  { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: rgba(16,185,129,.15); color: #34d399; }
.hp2-preset-card__price { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: rgba(245,158,11,.12); color: #fbbf24; }
.hp2-market__cta { text-align: center; margin-top: 20px; }

@media (min-width: 901px) {
  .hp2-spots { grid-template-columns: repeat(3, 1fr); }
  .hp2-preset-grid { grid-template-columns: repeat(3, 1fr); }
}



/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MARKETPLACE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Header */
.mkt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Filter tabs */
.mkt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.mkt-filter-tab {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.mkt-filter-tab:hover {
  background: var(--surface3);
  color: var(--text);
}
.mkt-filter-tab.is-active {
  background: rgba(124,58,237,.18);
  color: #a78bfa;
  border-color: rgba(124,58,237,.35);
}

/* Grid */
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

/* Card */
.mkt-card {
  display: flex;
  flex-direction: column;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.mkt-card:hover {
  border-color: rgba(124,58,237,.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* Thumbnail */
.mkt-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--surface3);
  overflow: hidden;
}
.mkt-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Color preview from theme_json (geen thumbnail) */
.mkt-card__thumb-color {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px 12px;
  gap: 7px;
  position: relative;
  overflow: hidden;
}
.mkt-card__thumb-color::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 25%, var(--mkt-glow, rgba(255,255,255,.06)) 0%, transparent 65%);
  pointer-events: none;
}
.mkt-card__thumb-color__title {
  width: 55%;
  height: 9px;
  border-radius: 5px;
  background: var(--mkt-tx, #f0f0f5);
  opacity: .85;
}
.mkt-card__thumb-color__sub {
  width: 38%;
  height: 6px;
  border-radius: 3px;
  background: var(--mkt-mu, rgba(255,255,255,.4));
  opacity: .55;
}
.mkt-card__thumb-color__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mkt-a1, #7c3aed), var(--mkt-a2, #a855f7));
}
.mkt-card__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  opacity: .5;
}
/* Chat overlay live HTML preview in marketplace thumb */
.mkt-card__thumb-chat {
  width: 100%;
  height: 100%;
  background: #0e0e1a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
}
.mkt-card__thumb-chat .csp-box {
  transform-origin: top left;
  transform: scale(0.88);
  width: 114%;
}
.mkt-card__badge {
  position: absolute;
  z-index: 2;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: .3px;
}
.mkt-card__badge--featured {
  top: 8px;
  left: 8px;
  background: rgba(251,191,36,.2);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,.4);
}
.mkt-card__badge--cat {
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
.mkt-card__badge--price {
  top: 8px;
  right: 8px;
}
.mkt-card__badge--free {
  background: rgba(16,185,129,.22);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.35);
}
.mkt-card__badge--paid {
  background: rgba(245,158,11,.18);
  color: #fcd34d;
  border: 1px solid rgba(245,158,11,.35);
}
/* Betaalde card: subtiele gouden gloed */
.mkt-card--paid {
  border-color: rgba(245,158,11,.25);
}
.mkt-card--paid:hover {
  border-color: rgba(245,158,11,.55);
  box-shadow: 0 8px 24px rgba(245,158,11,.12);
}

/* Card body */
.mkt-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.mkt-card__module-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--accent);
  opacity: .75;
}
.mkt-card__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  line-height: 1.3;
}
.mkt-card__desc {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  flex: 1;
}
.mkt-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin-top: auto;
}
.mkt-card__author,
.mkt-card__downloads {
  display: flex;
  align-items: center;
  gap: 3px;
}
.mkt-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.mkt-tag {
  padding: 2px 8px;
  background: var(--surface3);
  border-radius: 10px;
  font-size: 11px;
  color: var(--muted);
}

/* Zoekbalk */
.mkt-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.mkt-search-bar__input-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.mkt-search-bar__icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.mkt-search-bar__input {
  padding-left: 34px !important;
}
.mkt-search-bar__sort {
  width: auto;
  min-width: 140px;
}

/* Admin thumbnail in tabel */
.mkt-admin-thumb {
  width: 44px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
  opacity: .9;
}

/* Empty state */
.mkt-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.mkt-empty__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: .4;
}
.mkt-empty__text {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text);
}
.mkt-empty__hint {
  font-size: 13px;
  margin: 0;
}

/* ── Marketplace hoofd-tabs (browse / gedeeld) ─────────────────────────── */
.mkt-main-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.mkt-main-tab {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}
.mkt-main-tab:hover { color: var(--text); }
.mkt-main-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.mkt-main-tab__badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 6px;
  line-height: 1.4;
}

/* ── Alert Scene Editor: directe deling ───────────────────────────────── */
.ase-dshare-input-wrap {
  position: relative;
}
.ase-dshare-results {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  z-index: 200;
  background: var(--card-bg-solid, #1e1f2e);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  max-height: 200px;
  overflow-y: auto;
  margin-top: 4px;
}
.ase-dshare-result {
  display: block;
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  font-size: 14px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  border-radius: 0;
}
.ase-dshare-result:hover { background: var(--hover-bg); }
.ase-dshare-result--empty { color: var(--muted); cursor: default; }
.ase-dshare-chosen {
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(124,58,237,.15);
  border-radius: 6px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/*â”€â”€ Detail page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Pageheader: titel links, prijs rechts */
.mkt-detail-hd {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.mkt-detail-hd .mkt-card__module-label { margin: 0 0 4px; }
.mkt-detail-hd .module-title { line-height: 1.2; }
.mkt-detail-hd .mkt-price-pill { margin-bottom: 4px; flex-shrink: 0; }

/* Body: hergebruik ov-editor__body (340px panel | 1fr preview) */
.mkt-detail-body { margin-top: 0; }

/* Secties binnen eigenschappen-panel */
.mkt-panel-section {
  padding: 16px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.06));
}
.mkt-panel-section:last-child { border-bottom: none; }
.mkt-panel-section__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Preview canvas: checkered bg + overflow hidden */
.mkt-preview-canvas {
  position: relative;
  overflow: hidden;
  background: repeating-conic-gradient(#2a2a3a 0% 25%, #1e1e2c 0% 50%) 0 0 / 16px 16px;
  border-radius: 10px;
  min-height: 80px;
}
.mkt-preview-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  border: none;
  transform-origin: top left;
  display: block;
}

.mkt-detail__thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  opacity: .4;
}
/* Opslaan als preset accordion */
.mkt-save-preset {
  margin-top: 8px;
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 8px;
  overflow: hidden;
}
.mkt-save-preset > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  user-select: none;
  transition: background .15s;
}
.mkt-save-preset > summary::-webkit-details-marker { display: none; }
.mkt-save-preset > summary:hover { background: rgba(255,255,255,.05); }
.mkt-save-preset[open] > summary { border-bottom: 1px solid var(--border, rgba(255,255,255,.08)); }
.mkt-save-preset__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mkt-save-preset__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.mkt-save-preset__row {
  display: flex;
  gap: 6px;
}
.mkt-save-preset__row .form-control { flex: 1; min-width: 0; }

.mkt-detail__delete-req {
  color: var(--danger);
  border-color: rgba(239,68,68,.3);
}
.mkt-detail__delete-req:hover {
  background: rgba(239,68,68,.08);
  border-color: rgba(239,68,68,.5);
}

.mkt-detail__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 12px;
  margin: 0;
  font-size: 13px;
}
.mkt-detail__meta dt { color: var(--muted); font-weight: 500; white-space: nowrap; }
.mkt-detail__meta dd { margin: 0; color: var(--text); }

.mkt-detail__tags { display: flex; flex-wrap: wrap; gap: 4px; }

.mkt-detail__description {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  white-space: pre-wrap;
}

.mkt-detail__apply-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* Prijs pill op detail pagina */
.mkt-price-pill {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.mkt-price-pill--free {
  background: rgba(16,185,129,.18);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.35);
}
.mkt-price-pill--paid {
  background: rgba(245,158,11,.15);
  color: #fcd34d;
  border: 1px solid rgba(245,158,11,.35);
}

/* Koop-knop */
.mkt-btn-buy {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #1a1200;
  border: none;
}
.mkt-btn-buy:hover {
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #1a1200;
}

/* Admin: mono textarea */
.form-control--mono {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12px;
}



/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Stream-kaart (compacte weergave)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Inline switch in kaart-header (Stream-pagina) */
.switch--inline {
  width: 40px;
  height: 22px;
}
.switch--inline .switch__thumb {
  top: 3px; left: 3px;
  width: 16px; height: 16px;
}
.switch--inline .switch__track {
  border-radius: 999px;
}
.switch--inline input:checked ~ .switch__thumb {
  transform: translateX(18px);
}

/* Stream-kaart: compacte variant zonder toggles-balk */
.sp-card--stream .card__header {
  padding-bottom: 8px;
}
.sp-card--stream .card__header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-card--stream.is-inactive {
  opacity: .55;
}
.sp-card--stream.is-inactive .card__body {
  pointer-events: none;
  user-select: none;
}

/* /* =======================================================================
   Help Guide -- Audio Setup (/help/audio-setup)
   ======================================================================= */
.help-guide { width: 100%; }
.help-guide__header { margin-bottom: 24px; }
.help-guide__title { font-size: 22px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.help-guide__intro { color: var(--muted); line-height: 1.6; margin: 0; }
.help-guide__section { margin-bottom: 16px; }
.help-guide__section-title { font-size: 16px; font-weight: 600; margin: 0 0 12px; color: var(--text); }
.help-guide__sub { font-size: 14px; font-weight: 600; margin: 20px 0 8px; color: var(--text); }
.help-flow { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; padding: 16px; background: var(--panel); border-radius: 8px; margin: 12px 0; border: 1px solid var(--border); }
.help-flow__col { display: flex; flex-direction: column; gap: 6px; }
.help-flow__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.4); margin-bottom: 2px; }
.help-flow__arrow { font-size: 20px; color: rgba(255,255,255,.3); align-self: center; padding-top: 20px; }
.help-flow__node { padding: 5px 10px; border-radius: 5px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); background: var(--panel2); white-space: nowrap; color: var(--muted); }
.help-flow__node--source { border-color: rgba(99,102,241,.5); color: #a5b4fc; background: rgba(99,102,241,.1); }
.help-flow__node--obs    { border-color: rgba(59,130,246,.5); color: #93c5fd; background: rgba(59,130,246,.1); }
.help-flow__node--stream { border-color: rgba(34,197,94,.5);  color: #86efac; background: rgba(34,197,94,.1); }
.help-flow__node--vod    { border-color: rgba(249,115,22,.5); color: #fdba74; background: rgba(249,115,22,.1); }
.help-flow__node--archive{ border-color: var(--border); color: rgba(255,255,255,.4); }
.help-sources { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
.help-source { display: flex; gap: 14px; padding: 14px; background: var(--panel); border-radius: 8px; border: 1px solid var(--border); }
.help-source__icon { font-size: 24px; flex-shrink: 0; width: 36px; text-align: center; }
.help-source__name { font-weight: 600; font-size: 14px; margin-bottom: 4px; color: var(--text); }
.help-source__desc { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.help-source__tracks { font-size: 12px; font-weight: 600; color: var(--color-indigo); margin-top: 6px; }
.help-code { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.3); border: 1px solid var(--border); border-radius: 5px; padding: 7px 10px; font-size: 11px; flex-wrap: wrap; }
.help-code__label { flex-shrink: 0; font-size: 10px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.35); }
.help-code code { font-family: monospace; word-break: break-all; color: var(--muted); flex: 1; min-width: 0; }
.help-code__copy { flex-shrink: 0; padding: 3px 10px; border-radius: 4px; border: 1px solid var(--border); background: var(--panel2); color: var(--muted); font-size: 11px; cursor: pointer; transition: background .15s, color .15s; }
.help-code__copy:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.help-code__copy.copied { color: #86efac; border-color: rgba(34,197,94,.4); }
.help-note { background: rgba(234,179,8,.1); border-left: 3px solid #eab308; padding: 8px 12px; border-radius: 4px; font-size: 13px; margin: 8px 0; color: var(--muted); }
.help-tabs__bar { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.help-tabs__btn { background: none; border: none; padding: 8px 14px 10px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--muted); display: flex; flex-direction: column; align-items: flex-start; border-bottom: 2px solid transparent; margin-bottom: -2px; border-radius: 4px 4px 0 0; transition: color .15s; }
.help-tabs__btn:hover { color: var(--text); background: var(--panel); }
.help-tabs__btn.is-active { color: var(--color-indigo); border-bottom-color: var(--color-indigo); }
.help-tabs__sub { font-size: 11px; font-weight: 400; color: rgba(255,255,255,.35); margin-top: 1px; }
.help-tabs__content { display: none; }
.help-tabs__content.is-active { display: block; }
.help-scenario-badge { padding: 8px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 12px; }
.help-scenario-badge--basic  { background: rgba(34,197,94,.1);  color: #86efac; border: 1px solid rgba(34,197,94,.3); }
.help-scenario-badge--appcap { background: rgba(59,130,246,.1); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }
.help-scenario-badge--vm     { background: rgba(168,85,247,.1); color: #d8b4fe; border: 1px solid rgba(168,85,247,.3); }
.help-compare { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.help-compare__item { font-size: 12px; padding: 3px 8px; border-radius: 4px; }
.help-compare__item--pro { background: rgba(34,197,94,.12); color: #86efac; }
.help-compare__item--con { background: rgba(234,179,8,.12); color: #fde68a; }
.help-checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.help-checklist li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.help-checklist li:last-child { border-bottom: none; }
.help-checklist strong { color: var(--text); }
.help-checklist p, .help-checklist .form-hint { color: var(--muted) !important; margin: 4px 0 0; }
.help-checklist__num { flex-shrink: 0; width: 22px; height: 22px; background: var(--color-indigo); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; margin-top: 1px; }
.help-track-table { overflow-x: auto; margin: 12px 0; }
.help-track-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.help-track-table th, .help-track-table td { padding: 7px 10px; border: 1px solid var(--border); text-align: center; color: var(--muted); }
.help-track-table th { background: var(--panel2); font-weight: 600; font-size: 12px; color: var(--text); }
.help-track-table td:first-child { text-align: left; }
.help-track-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.help-track-legend__item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.help-track-badge { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; font-size: 10px; font-weight: 700; color: #fff; }
.help-track-badge--stream { background: var(--color-indigo); }
.help-track-badge--mic    { background: var(--color-blue); }
.help-track-badge--game   { background: var(--color-green); }
.help-track-badge--music  { background: var(--color-yellow); }
.help-track-badge--alerts { background: #dc2626; }
.help-faq { display: flex; flex-direction: column; gap: 4px; }
.help-faq__item { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.help-faq__item summary { padding: 12px 14px; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.help-faq__item summary::-webkit-details-marker { display: none; }
.help-faq__item summary::after { content: '+'; font-size: 16px; color: rgba(255,255,255,.4); }
.help-faq__item[open] summary::after { content: '-'; }
.help-faq__item[open] summary { background: var(--panel2); }
.help-faq__body { padding: 12px 14px; font-size: 13px; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--border); }
.help-faq__body ol { margin: 0; padding-left: 18px; }
.help-faq__body li { margin-bottom: 6px; }
.help-faq__body p { margin: 0 0 6px; }
.help-screenshot { background: var(--panel); border: 2px dashed rgba(255,255,255,.1); border-radius: 8px; padding: 32px 16px; text-align: center; color: rgba(255,255,255,.25); font-size: 12px; margin: 12px 0; }
.help-screenshot__icon { font-size: 28px; margin-bottom: 6px; display: block; opacity: .4; }
@media (max-width: 640px) {
  .help-flow { flex-direction: column; }
  .help-flow__arrow { transform: rotate(90deg); align-self: flex-start; padding-top: 0; }
  .help-tabs__btn { padding: 7px 10px 9px; font-size: 12px; }
  .help-source { flex-direction: column; }
  .help-compare { flex-direction: column; }
  .help-guide__title { font-size: 18px; }
}

/* Help guide — afbeeldingen (thumbnail + lightbox) */
.help-img {
  max-width: 220px; max-height: 140px; object-fit: contain;
  border-radius: 6px; border: 1px solid var(--border);
  display: block; margin: 8px 0;
  cursor: zoom-in; transition: opacity .15s, border-color .15s;
}
.help-img:hover { opacity: .85; border-color: rgba(255,255,255,.25); }
.help-img--full  { max-width: 320px; max-height: 200px; }
.help-img--inline{ max-width: 220px; max-height: 140px; }
.help-img--strip { max-width: 120px; max-height: 300px; }
.help-img-group { display: flex; gap: 16px; flex-wrap: wrap; margin: 12px 0; }
.help-img-block { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 6px; }
.help-img-caption { font-size: 12px; color: var(--muted); line-height: 1.4; }
.help-link { color: var(--color-indigo); text-decoration: none; }
.help-link:hover { text-decoration: underline; }
.help-routing-badge { display: inline-flex; gap: 6px; background: var(--panel2); border: 1px solid var(--border); border-radius: 5px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--text); margin: 6px 0; font-family: monospace; }
.help-routing-off { color: rgba(255,255,255,.35); text-decoration: line-through; }

/* Lightbox */
.sp-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.88); align-items: center; justify-content: center;
  padding: 24px; cursor: zoom-out;
}
.sp-lightbox.is-open { display: flex; }
.sp-lightbox__img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  cursor: default;
}
.sp-lightbox__close {
  position: fixed; top: 16px; right: 20px;
  background: none; border: none; color: rgba(255,255,255,.6);
  font-size: 28px; cursor: pointer; line-height: 1;
  transition: color .15s;
}
.sp-lightbox__close:hover { color: #fff; }
.sp-lightbox__caption {
  position: fixed; bottom: 16px; left: 0; right: 0;
  text-align: center; font-size: 13px; color: rgba(255,255,255,.5);
  pointer-events: none;
}


/* Help guide — hero afbeelding */
.help-img--hero { max-width: 100%; max-height: 300px; width: 100%; object-fit: cover; object-position: center 20%; border-radius: 8px; cursor: zoom-in; }

/* Help index — overzichtspagina handleidingen */
.help-index { max-width: 860px; }
.help-index__header { margin-bottom: 28px; }
.help-index__title { font-size: 22px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
.help-index__intro { color: var(--muted); margin: 0; }
.help-index__section { margin-bottom: 32px; }
.help-index__section-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.35); margin: 0 0 12px; }
.help-index__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }

.help-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: background .15s, border-color .15s;
}
.help-card:hover { background: var(--panel2); border-color: rgba(255,255,255,.18); }
.help-card--soon { opacity: .55; cursor: default; }
.help-card--soon:hover { background: var(--panel); border-color: var(--border); }
.help-card__icon { font-size: 24px; flex-shrink: 0; width: 36px; text-align: center; }
.help-card__body { flex: 1; min-width: 0; }
.help-card__title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.help-card__desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
.help-card__arrow { flex-shrink: 0; color: rgba(255,255,255,.3); font-size: 16px; }

/* Chat overlay editor — stijl-kiezer */
.ov-chat-styles { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 8px; }
.ov-chat-style-btn { border: 2px solid var(--border); border-radius: 8px; padding: 8px; cursor: pointer; background: var(--panel); transition: border-color .15s; }
.ov-chat-style-btn:hover { border-color: rgba(255,255,255,.25); }
.ov-chat-style-btn.is-active { border-color: var(--color-indigo); }
.ov-chat-style-label { display: block; font-size: 11px; font-weight: 600; text-align: center; margin-top: 6px; color: var(--muted); }
.ov-chat-style-btn.is-active .ov-chat-style-label { color: var(--color-indigo); }
/* Stijl preview miniatuur */
.csp-box { background: rgba(0,0,0,.4); border-radius: 4px; padding: 4px 6px; display: flex; flex-direction: column; gap: 3px; min-height: 50px; }
.csp-box--transparent { background: transparent; }
.csp-msg { display: flex; gap: 3px; align-items: baseline; font-size: 10px; line-height: 1.3; color: #f0f0f5; flex-wrap: wrap; }
.csp-msg--card { background: rgba(0,0,0,.5); border-radius: 4px; padding: 2px 5px; flex-direction: column; }
.csp-msg--inline { flex-direction: row; }
.csp-msg--pill { background: rgba(0,0,0,.5); border-radius: 10px; padding: 2px 7px; display: inline-flex; align-self: flex-start; }
.csp-msg--bar { background: rgba(0,0,0,.5); border-left: 2px solid rgba(255,255,255,.3); padding: 2px 5px; }
.csp-name { font-weight: 700; font-size: 10px; }
.csp-badge-pill { padding: 1px 5px; border-radius: 8px; color: #fff; font-size: 9px; font-weight: 700; }
.csp-sep { opacity: .4; font-size: 9px; }
.csp-text { font-size: 10px; }

/* Chat style-kiezer — categorieën */
/* Motion path editor */
.ase-path-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 9999; }
.ase-path-svg.is-draw-mode { cursor: crosshair; pointer-events: all; }
.ase-path-track { fill: none; stroke: #a78bfa; stroke-width: 1.5; stroke-dasharray: 5 3; opacity: .8; }
.ase-path-pt { stroke: #fff; stroke-width: 1.5; cursor: move; pointer-events: all; }
.ase-mp-point-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; }
.ase-mp-point-item { display: flex; align-items: center; gap: 6px; padding: 4px 6px; background: rgba(255,255,255,.04); border-radius: 4px; font-size: 11px; color: rgba(255,255,255,.65); }
.ase-mp-point-item__coords { flex: 1; font-family: monospace; font-size: 10px; }
.ase-mp-point-item__smooth { display: flex; align-items: center; gap: 3px; font-size: 10px; white-space: nowrap; }
.ase-mp-point-item__del { background: none; border: none; cursor: pointer; color: rgba(255,255,255,.3); padding: 0 2px; font-size: 12px; line-height: 1; }
.ase-mp-point-item__del:hover { color: #ef4444; }
#ase-mp-draw-btn.is-active { background: rgba(167,139,250,.2); border-color: #a78bfa; color: #a78bfa; }

.ov-chat-cat { margin-bottom: 14px; }
.ov-chat-cat__label-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ov-chat-cat__label-row .ov-chat-cat__label { margin-bottom: 0; }
.ov-chat-cat__label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.3); margin-bottom: 6px; }
.ov-market-link { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--color-indigo); text-decoration: none; opacity: .75; transition: opacity .15s; }
.ov-market-link:hover { opacity: 1; text-decoration: underline; }

/* Timer splits */
.timer-splits-section { margin-top: 4px; }
.timer-splits-list { margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.timer-split-item { display: flex; align-items: center; gap: 8px; padding: 4px 6px; background: var(--panel); border-radius: 5px; font-size: 12px; }
.timer-split-time { font-family: monospace; font-weight: 700; color: var(--text); flex-shrink: 0; }
.timer-split-note { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timer-split-del { background: none; border: none; cursor: pointer; color: rgba(255,255,255,.3); padding: 0 2px; font-size: 11px; flex-shrink: 0; }
.timer-split-del:hover { color: var(--text); }

