/* ============================================================
   Vibes — host: neon
   ------------------------------------------------------------
   Laag bovenop style.css, alleen geladen door host.html. Zelfde richting
   als de spelerapp (speler.css): nachtpaarse achtergrond, glazen kaarten,
   een vaste paarse boven- en onderbalk, en knoppen met precies één accent
   — roze→oranje voor de hoofdactie (en voortgang) — en schoon wit voor de
   rest, net als het witte logo. Beweging alleen als antwoord op een tik.
   ============================================================ */

:root {
  /* Gedeelde tokens (--achtergrond, --nacht-glas, --lip-licht, --veer, ...),
     de themakleuren ([data-tint]) en de stickers staan in site.css. */
}

/* ── Nacht ────────────────────────────────────────────────── */
html:has(body.host-scherm) {
  background: var(--achtergrond);
}

body.host-scherm {
  background: var(--achtergrond);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(166, 77, 255, .28) 0%, transparent 70%),
    radial-gradient(ellipse 70% 45% at 95% 100%, rgba(255, 62, 165, .18) 0%, transparent 70%);
  background-attachment: fixed;
  --kaart: var(--nacht-glas);
}

body.host-scherm .paneel,
body.host-scherm .host-glas-kaart {
  border-radius: 28px;
  background: var(--nacht-glas);
  border: 1.5px solid var(--nacht-rand);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .8);
}

body.host-scherm h2 {
  letter-spacing: -0.03em;
}

/* ── Bovenbalk ────────────────────────────────────────────── */
/* Rustig en deel van de nacht: donker glas met een haarlijn i.p.v. een
   effen paarse plaat — de paarse onderlade blijft het enige verankerde,
   felle vlak. Alles erin is even hoog (44px) en in dezelfde glazen taal;
   alleen wat actief is, is wit. */
/* Bewust géén backdrop-filter: die maakt van de balk het containing block
   voor position:fixed-kinderen, en de spelers-lade (#host-info-overlay)
   zit ín deze balk — die zou dan in de 64px van de balk worden geperst en
   onzichtbaar wegvallen. Dus een bijna-dichte nachtkleur i.p.v. blur. */
body.host-scherm .host-topbar {
  background: rgba(19, 5, 43, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: none;
}

body.host-scherm .host-topbar-hoekknop {
  width: 44px;
  height: 44px;
  background: var(--nacht-glas);
  border: 1.5px solid var(--nacht-rand);
  box-shadow: none;
  transition: transform .3s var(--veer), background-color .2s;
}

body.host-scherm .host-topbar-hoekknop:hover {
  background: rgba(255, 255, 255, .12);
  transform: none;
}

body.host-scherm .host-topbar-hoekknop:active {
  transform: scale(.92);
}

/* Host ⇄ Meespelen: zelfde segmented control als overal, met een witte
   duim die meeschuift met je tik (i.p.v. per knop wit in/uit te klikken). */
body.host-scherm .host-tabs {
  position: relative;
  height: 44px;
  gap: 0;
  padding: 4px;
  background: var(--nacht-glas);
  border: 1.5px solid var(--nacht-rand);
}

body.host-scherm .host-tabs::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: var(--radius-pill);
  background: #fff;
  transition: transform .45s var(--veer);
}

body.host-scherm .host-tabs:has(.host-tab-knop[data-tab="speler"].actief)::before {
  transform: translateX(100%);
}

body.host-scherm .host-tab-knop,
body.host-scherm .host-tab-knop.actief,
body.host-scherm .host-tab-knop:hover:not(.actief) {
  z-index: 1;
  height: 100%;
  padding: 0 10px;
  background: transparent;
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 700;
  transition: color .25s;
}

body.host-scherm .host-tab-knop {
  color: rgba(255, 255, 255, .7);
}

body.host-scherm .host-tab-knop.actief {
  color: #43115B;
}

body.host-scherm .tally-pill {
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  background: var(--nacht-glas);
  border: 1.5px solid var(--nacht-rand);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: var(--display);
  font-weight: 700;
}

body.host-scherm .tally-pill:hover {
  background: rgba(255, 255, 255, .12);
}

body.host-scherm .host-topbar-groep .taal-toggle {
  height: 44px;
  align-items: center;
  padding: 4px;
  background: var(--nacht-glas);
  border: 1.5px solid var(--nacht-rand);
  box-shadow: none;
}

body.host-scherm .host-topbar-groep .taal-toggle button {
  height: 100%;
  padding: 0 11px;
  font-family: var(--display);
  font-size: .78rem;
}

body.host-scherm .host-topbar-groep .taal-toggle button.actief {
  color: #43115B;
}

/* ── Secundaire knoppen: schoon wit ───────────────────────── */
/* .rustig was op de host glas; nu wit met merkpaarse tekst en een lichte
   dikte-rand — dezelfde "tweede knop" als in de spelerapp. */
body.host-scherm button.rustig {
  border-radius: var(--knop-radius);
  background: #fff;
  color: #43115B;
  font-family: var(--display);
  font-weight: 700;
  box-shadow: 0 4px 0 var(--lip-licht);
  transition: transform .35s var(--veer), box-shadow .35s var(--veer), opacity .2s;
}

body.host-scherm button.rustig:hover:not(:disabled):not(.gekozen) {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--lip-licht);
}

body.host-scherm button.rustig:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--lip-licht);
  transition-duration: .06s;
}

body.host-scherm button.rustig.gekozen {
  background: var(--grad-neon);
  color: #fff;
  box-shadow: 0 4px 0 var(--lip-neon);
}

/* Binnen het instellingenvak zet style.css .rustig nog paars-op-wit (voor de
   oude witte achtergrond), met een hogere specificiteit — daar dus expliciet
   dezelfde schone witte knop. */
body.host-scherm .modus-config-inline button.rustig,
body.host-scherm .modus-config-inline button.rustig:hover:not(:disabled):not(.gekozen) {
  background: #fff;
  color: #43115B;
}

/* Uitgeschakeld (bv. "Genereer preview" zonder sleutel/onderwerp): glas met
   witte tekst — wit op lage dekking werd grijs-op-paars en onleesbaar. */
body.host-scherm button.rustig:disabled,
body.host-scherm .modus-config-inline button.rustig:disabled {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .62);
  box-shadow: none;
  transform: none;
  opacity: 1;
}

/* Verwijder-kruisje: rustig glas met een roze kruis i.p.v. een lichtroze vlek. */
body.host-scherm .modus-config-inline button.gevaar {
  background: rgba(255, 255, 255, .1);
  color: #ff8fcb;
  box-shadow: none;
}

/* ── Keuzekaarten (stap 1: hoe speel je) ──────────────────── */
/* Gekozen = glas met een roze neonrand i.p.v. een witte kaart; het
   instellingenvak eronder hoort er zichtbaar bij (zelfde rand, geen naad). */
body.host-scherm .host-keuzekaart {
  border-radius: 24px;
  background: var(--nacht-glas);
  border: 2px solid var(--nacht-rand);
  transition: border-color .2s, background-color .2s, box-shadow .3s;
}

body.host-scherm .host-keuzekaart.gekozen,
body.host-scherm .host-keuzekaart.gekozen:hover {
  background: rgba(255, 62, 165, .08);
  border-color: var(--neon-roze);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 62, 165, .3);
}

body.host-scherm .host-keuzekaart.gekozen .host-keuzekaart-icoon {
  background: var(--grad-neon);
  color: #fff;
}

body.host-scherm .host-keuzekaart.gekozen .host-keuzekaart-sub {
  color: rgba(255, 255, 255, .75);
}

body.host-scherm .modus-config-inline {
  background: rgba(255, 62, 165, .08);
  border: 2px solid var(--neon-roze);
  border-top: none;
  color: #fff;
  box-shadow: 0 12px 22px -12px rgba(255, 62, 165, .3);
}

/* style.css kleurt de inhoud van dit vak donker voor de oude witte
   achtergrond — hier weer licht-op-donker. */
body.host-scherm .modus-config-inline h2 {
  color: #fff;
}

body.host-scherm .modus-config-inline .stil,
body.host-scherm .modus-config-inline .ai-config-veld .stil,
body.host-scherm .modus-config-inline .veld-groep-label,
body.host-scherm .veld-float label {
  color: rgba(255, 255, 255, .7);
}

body.host-scherm .veld-float input:not(:placeholder-shown) + label,
body.host-scherm .veld-float input:focus + label {
  color: #ff8fcb;
}

body.host-scherm .modus-config-inline a,
body.host-scherm .modus-config-inline a:hover {
  color: #ff8fcb;
}

body.host-scherm .modus-config-inline input[type="text"],
body.host-scherm .modus-config-inline input[type="password"],
body.host-scherm .modus-config-inline .veld-float input[type="password"] {
  background: rgba(255, 255, 255, .07);
  border: 2px solid rgba(255, 255, 255, .16);
  color: #fff;
}

body.host-scherm .modus-config-inline input[type="text"]:focus,
body.host-scherm .modus-config-inline input[type="password"]:focus {
  border-color: var(--neon-roze);
  box-shadow: 0 0 0 4px rgba(255, 62, 165, .22);
}

body.host-scherm .modus-config-inline .vraag-rij {
  border-bottom-color: rgba(255, 255, 255, .12);
}

/* Aantal-pillen: glas, de gekozen pil wit. */
body.host-scherm .modus-config-inline .host-pil,
body.host-scherm .host-pil {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .14);
}

body.host-scherm .modus-config-inline .host-pil.gekozen,
body.host-scherm .host-pil.gekozen {
  background: #fff;
  color: #43115B;
  border-color: #fff;
}

/* ── Thema's: één carrousel per categorie ─────────────────── */
/* Grote kaarten (± 80% breed) zodat er telkens één thema de aandacht heeft
   en de volgende al in beeld piept — dat nodigt uit om te vegen.
   Scroll-snap laat elke veeg netjes op een kaart eindigen. */
.thema-categorie + .thema-categorie {
  margin-top: 18px;
}

.thema-rij-kop {
  margin: 6px 0 10px;
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.thema-carrousel {
  display: flex;
  gap: 12px;
  margin: 0 -20px;
  padding: 4px 20px 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}

.thema-carrousel::-webkit-scrollbar {
  display: none;
}

body.host-scherm .thema-kaart {
  position: relative;
  flex: 0 0 80%;
  height: 250px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--kaart-kleur-2, #8f3dff), var(--kaart-kleur, #6224d1));
  color: #fff;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .35);
  transition: box-shadow .25s, transform .3s var(--veer), filter .2s;
}

body.host-scherm .thema-kaart:hover {
  filter: brightness(1.06);
}

body.host-scherm .thema-kaart:active {
  transform: scale(.98);
}

/* Gekozen: witte ring — roze zou vloeken met een oranje kaart. */
body.host-scherm .thema-kaart.gekozen {
  box-shadow: 0 0 0 3px #fff, 0 0 30px rgba(255, 255, 255, .3), 0 6px 0 rgba(0, 0, 0, .35);
}

body.host-scherm .thema-kaart-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

body.host-scherm .thema-kaart-icoon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .22);
}

body.host-scherm .thema-kaart-icoon svg.lucide {
  width: 22px;
  height: 22px;
}

/* Al gespeeld: de kaart houdt z'n themakleur (style.css maakte 'm
   lichtgroen, met onleesbare witte tekst) en krijgt een duidelijk wit
   "✓ Gespeeld"-label rechts in de bovenste rij i.p.v. een vinkje dat over
   het icoon heen viel. */
body.host-scherm .thema-kaart.gespeeld:not(.gekozen) {
  background: linear-gradient(150deg, var(--kaart-kleur-2, #8f3dff), var(--kaart-kleur, #6224d1));
  border: none;
}

body.host-scherm .thema-kaart-top {
  justify-content: flex-start;
}

body.host-scherm .thema-kaart-gespeeld-badge {
  position: static;
  width: auto;
  height: auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border: none;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #43115B;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.host-scherm .thema-kaart-gespeeld-badge svg.lucide {
  width: 13px;
  height: 13px;
  margin: 0;
  color: #00a650;
  stroke-width: 3;
}

body.host-scherm .thema-kaart-gespeeld-badge {
  flex-shrink: 0;
  white-space: nowrap;
}

body.host-scherm .thema-kaart-titel {
  margin-top: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* De stickers zelf (.thema-sticker) staan in site.css. Op de themakaart
   laten ze rechtsonder ruimte voor het bewerk-potlood. */
.thema-kaart .thema-stickers {
  padding-right: 40px;
}

/* Bewerken: alleen op de gekozen kaart, als rond wit potlood rechtsonder
   naast de voorbeeld-stickers — aanpassen hoort bij het thema dat je
   gekozen hebt. Alleen een icoon; "Dilemma's bewerken" staat in
   aria-label/title (host.js). style.css zet de bovenste
   rij op position:relative — hier statisch, zodat de kaart zelf het
   ankerpunt is. */
body.host-scherm .thema-kaart-top {
  position: static;
}

body.host-scherm .thema-kaart-bewerk {
  display: none;
}

body.host-scherm .thema-kaart.gekozen .thema-kaart-bewerk {
  position: absolute;
  right: 16px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  color: #43115B;
  box-shadow: 0 4px 0 var(--lip-licht);
  transition: transform .3s var(--veer), box-shadow .3s var(--veer);
  animation: bewerk-in .4s var(--veer) backwards;
}

body.host-scherm .thema-kaart.gekozen .thema-kaart-bewerk:hover {
  background: #fff;
  transform: translateY(-2px);
}

body.host-scherm .thema-kaart.gekozen .thema-kaart-bewerk:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--lip-licht);
}

body.host-scherm .thema-kaart.gekozen .thema-kaart-bewerk svg.lucide {
  width: 19px;
  height: 19px;
  margin: 0;
}

/* Verschijnt als antwoord op het kiezen van de kaart. */
@keyframes bewerk-in {
  from { opacity: 0; transform: scale(.4); }
}

/* ── Lades (spelers/QR, dilemma-editor) ───────────────────── */
/* Gedeeld met het hamburgermenu (style.css: paarse gradient); op de host
   dezelfde nacht als de pagina, met glazen invoervelden. */
body.host-scherm .app-menu-drawer {
  background: #1d0a3a;
  border-left: 1.5px solid var(--nacht-rand);
}

body.host-scherm .app-menu-drawer input[type="text"] {
  background: rgba(255, 255, 255, .07);
  border: 2px solid rgba(255, 255, 255, .16);
  color: #fff;
}

body.host-scherm .app-menu-drawer input[type="text"]:focus {
  border-color: var(--neon-roze);
  box-shadow: 0 0 0 4px rgba(255, 62, 165, .22);
}

body.host-scherm .app-menu-drawer button.gevaar {
  background: rgba(255, 255, 255, .1);
  color: #ff8fcb;
  box-shadow: none;
}

/* "Bewaren" is de hoofdactie van de editor: het ene accent. */
body.host-scherm .thema-edit-sticky-knop {
  border-radius: var(--knop-radius);
  background: var(--grad-neon) !important;
  color: #fff !important;
  font-family: var(--display);
  font-weight: 700;
  box-shadow: 0 5px 0 var(--lip-neon), 0 14px 30px -10px rgba(255, 62, 165, .65);
}

/* ── Meespelen: eigen dit-of-dat van de host ──────────────── */
body.host-scherm .optie {
  min-height: 64px;
  border: 2px solid var(--nacht-rand);
  border-radius: 20px;
  background: var(--nacht-glas);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
}

@media (hover: hover) {
  body.host-scherm .optie:hover {
    border-color: rgba(255, 255, 255, .4);
  }
}

body.host-scherm .optie.gekozen {
  border-color: transparent;
  background: var(--grad-neon);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 62, 165, .45);
}

/* Of-munt tussen de twee opties: leesbaar donker muntje i.p.v. vaag glas. */
body.host-scherm .opties::after {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--achtergrond);
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: var(--display);
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .3);
  z-index: 2;
}

/* ── Uitslag: Leaderboard/Matches ─────────────────────────── */
/* Segmented control met een witte schuivende duim, net als in de
   spelerapp — i.p.v. mapjes-tabs die aan een paneel vast moeten zitten. */
body.host-scherm .folder-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 12px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--nacht-glas);
  border: 1.5px solid var(--nacht-rand);
  z-index: auto;
}

body.host-scherm .folder-tabs::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 3px 0 var(--lip-licht);
  transition: transform .45s var(--veer);
}

body.host-scherm .folder-tabs:has(.folder-tab:nth-child(2).actief)::before {
  transform: translateX(100%);
}

body.host-scherm .folder-tab,
body.host-scherm .folder-tab.actief {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  padding: 11px 10px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font-weight: 700;
  box-shadow: none;
  transition: color .25s;
}

body.host-scherm .folder-tab.actief {
  color: #43115B;
}

body.host-scherm .folder-paneel {
  border-top-left-radius: 28px;
}

/* ── Start: zin maken in het feestje ──────────────────────── */
/* Grote neon-kop en een voorproefje van het eigen spel: de gekozen
   themakaart, licht schuin, met de echte dilemma's als stickers. Kaart en
   stickers vallen binnen bij het bereiken van deze stap; de confetti komt
   pas bij de tik op "Start het feestje" (host.js). */
.start-titel {
  margin: 0 0 10px;
  font-size: 2.5rem;
  line-height: 1.04;
  letter-spacing: -0.045em;
  background: var(--grad-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

#stap-start #start-uitleg {
  max-width: 320px;
  margin: 0 auto;
}

.start-voorproef {
  width: 100%;
  max-width: 340px;
  margin: 34px auto 8px;
}

.start-kaart {
  padding: 22px 20px 26px;
  border-radius: 28px;
  background: linear-gradient(150deg, var(--kaart-kleur-2, #8f3dff), var(--kaart-kleur, #6224d1));
  color: #fff;
  text-align: left;
  transform: rotate(-3deg);
  box-shadow: 0 8px 0 rgba(0, 0, 0, .35), 0 30px 60px -20px rgba(255, 62, 165, .45);
  animation: start-kaart-in .8s var(--veer) .1s backwards;
}

@keyframes start-kaart-in {
  from { opacity: 0; transform: translateY(46px) rotate(-14deg) scale(.88); }
}

.start-kaart-kop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.start-kaart-titel {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.start-kaart-aantal {
  flex-shrink: 0;
  max-width: 55%;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #43115B;
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.start-kaart .thema-stickers {
  margin-top: 20px;
}

.start-kaart .thema-sticker {
  animation: sticker-in .5s var(--veer) backwards;
}

.start-kaart .thema-sticker:nth-child(1) { animation-delay: .45s; }
.start-kaart .thema-sticker:nth-child(2) { animation-delay: .55s; }
.start-kaart .thema-sticker:nth-child(3) { animation-delay: .65s; }

@keyframes sticker-in {
  from { opacity: 0; transform: scale(.6) rotate(-14deg); }
}

/* "Begin met een schone score" bij een nieuwe ronde: onder de kaart. */
#stap-start #nieuwe-ronde-opties {
  margin-top: 26px;
}

/* ── Live ─────────────────────────────────────────────────── */
/* Twee dingen doen ertoe tijdens de antwoordronde: hoeveel spelers klaar
   zijn (groot getal + chips per speler) en of je zelf meedoet (grote witte
   kaartknop). De rest is één korte zin en "Meer opties". */
#stap-live #live-titel {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

#stap-live #live-uitleg {
  max-width: 320px;
  margin: 0 auto;
}

.live-teller {
  width: 100%;
  margin: 34px 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-teller-getal {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
}

.live-teller-getal strong {
  font-size: 7rem;
  letter-spacing: -0.05em;
  background: var(--grad-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 62, 165, .45));
}

/* Plof bij elke nieuwe speler die klaar is (host.js zet .plof opnieuw). */
.live-teller-getal strong.plof {
  animation: teller-plof .55s var(--veer);
}

@keyframes teller-plof {
  0%   { transform: scale(.7); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.live-teller-getal span {
  font-size: 2.6rem;
  color: rgba(255, 255, 255, .45);
}

.live-teller-label {
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.live-spelers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.live-speler {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--nacht-glas);
  border: 1.5px solid var(--nacht-rand);
  color: rgba(255, 255, 255, .55);
  font-family: var(--display);
  font-weight: 700;
  transition: background-color .3s, color .3s, box-shadow .3s;
}

.live-speler svg.lucide {
  width: 16px;
  height: 16px;
}

.live-speler.klaar {
  background: var(--grad-neon);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 62, 165, .45);
}

/* Licht op op het moment dat díe speler klaar is. */
.live-speler.net-klaar {
  animation: speler-klaar .6s var(--veer);
}

@keyframes speler-klaar {
  0%   { transform: scale(.7); }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Iedereen klaar: het getal mag even extra gloeien. */
#live-voortgang-chip.klaar .live-teller-getal strong {
  filter: drop-shadow(0 0 32px rgba(255, 62, 165, .7));
}

/* "Speel je mee?" — een grote, schone witte kaartknop (geen geel balkje).
   style.css zet 'm met order:-1 bovenaan de stap; op het uitnodigscherm
   blijft dat zo (met ruimte eronder), op het live-scherm hoort 'ie juist
   ónder de teller — daar is het het tweede punt van de pagina. */
body.host-scherm .host-speler-hint {
  width: 100%;
  margin: 0 0 28px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--knop-radius);
  background: #fff;
  color: #43115B;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  box-shadow: 0 5px 0 var(--lip-licht);
  transition: transform .3s var(--veer), box-shadow .3s var(--veer);
}

body.host-scherm .host-speler-hint:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--lip-licht);
}

body.host-scherm .host-speler-hint:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--lip-licht);
  transition-duration: .06s;
}

#stap-live .host-speler-hint {
  order: 0;
  margin: 36px 0 0;
}

.speler-hint-icoon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-neon);
}

body.host-scherm .host-speler-hint .speler-hint-icoon svg.lucide {
  width: 22px;
  height: 22px;
  margin: 0;
  color: #fff;
}

body.host-scherm .host-speler-hint .speler-hint-chevron {
  margin-left: auto;
  color: #43115B;
  opacity: .6;
}

.live-klaar-titel {
  color: #fff;
}

.live-klaar-titel svg.lucide {
  vertical-align: -2px;
  margin-right: 4px;
  color: #ff8fcb;
}

/* Zelden nodig: reset/afsluiten pas na een tik op "Meer opties". */
.live-meer {
  margin-top: 40px;
  color: rgba(255, 255, 255, .6);
}

.live-meer summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.live-meer summary::-webkit-details-marker {
  display: none;
}

.live-meer summary:hover {
  background: rgba(255, 255, 255, .08);
}

.live-meer-knoppen {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.live-meer-knoppen .tekst-knop {
  color: rgba(255, 255, 255, .75);
  opacity: 1;
}

/* ── Beweging beperken ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
}
