
@font-face { font-family: "Poppins"; src: url("/static/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/static/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Hind"; src: url("/static/fonts/hind-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hind"; src: url("/static/fonts/hind-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* Humanfy website-stijl (humanfy.nl) */
:root {
  --plum: #371F2F;
  --plum-2: #4A2B40;
  --ink: #160A12;
  --cream: #FFFBF7;
  --sand: #F7F0E9;
  --mauve: #EFE4EA;
  --pink: #F0C0D8;
  --pink-soft: #F9E3EE;
  --yellow: #FCBE0C;
  --yellow-on: #FFC20A;
  --yellow-deep: #C08C00;
  --track: #806A76;
  --muted: #6B5864;
  --line: #E7DCE2;
  --rose: #A9406E;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 26px 60px rgba(55, 31, 47, .14);
  --shadow-sm: 0 8px 24px rgba(55, 31, 47, .07);
  --head: "Poppins", Arial, sans-serif;
  --body: "Hind", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 600; letter-spacing: -.042em; line-height: 1.09; color: var(--plum); }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.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; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.view { min-height: 100vh; overflow-x: clip; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }

/* ---------- Schakelaar (uit het logo) ---------- */
.tg { display: block; width: auto; overflow: visible; }
.tg-track { fill: var(--track); transition: fill .5s ease .2s; }
.tg-shadow { fill: var(--yellow-deep); opacity: 0; transform: translateY(29px); transition: transform .8s var(--ease), opacity .4s ease .2s; }
.tg-knob { fill: var(--cream); transform: translateY(29px); transition: transform .8s var(--ease); }
.is-on .tg-track { fill: var(--yellow-on); }
.is-on .tg-knob { transform: none; }
.is-on .tg-shadow { transform: none; opacity: 1; }

/* ---------- Animaties ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes viewOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.5); } 60% { opacity: 1; transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(252, 190, 12, .55); } 70% { box-shadow: 0 0 0 14px rgba(252, 190, 12, 0); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
@keyframes markIn { to { background-size: 100% 42%; } }
@keyframes drift { 50% { transform: translate(-50%, -50%) rotate(4deg) translateY(-18px); } }
@keyframes glow { 50% { opacity: .65; transform: scale(1.08); } }
@keyframes flip { 0%, 100% { transform: translateY(0); } 45%, 55% { transform: translateY(-29px); } }
@keyframes hlIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }

.view.enter .a { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.view.enter .topbar { animation: fade .6s ease both; }
.view.leave { animation: viewOut .28s ease forwards; pointer-events: none; }

/* ---------- Knoppen ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px; font-family: var(--head); font-size: .9rem; font-weight: 600; letter-spacing: -.01em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease); }
.btn:active:not([disabled]) { transform: scale(.97); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--yellow), var(--pink)); opacity: 0; transition: opacity .45s var(--ease); }
.btn-yellow:hover::before { opacity: 1; }
.btn-yellow:hover { box-shadow: 0 10px 26px rgba(192, 140, 0, .22); }
.btn-yellow.nudge { animation: nudge 1.4s ease-out 2; }
.btn-ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--plum); }
.btn-block { width: 100%; }
.icon-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sand); color: var(--plum); transition: background .35s var(--ease), transform .35s var(--ease), color .35s; }
.icon-btn:hover { background: var(--yellow); color: var(--ink); }
.icon-btn:active { transform: scale(.92); }

/* ---------- 1. Code invoeren ---------- */
.unlock { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; display: grid; place-items: center; padding: 48px 20px; color: var(--cream);
  background: radial-gradient(circle at 6% 4%, rgba(239, 183, 209, .12), transparent 30%), radial-gradient(circle at 93% 91%, rgba(255, 194, 10, .09), transparent 30%), var(--plum); }
.bg-toggle { position: absolute; z-index: -1; left: 72%; top: 50%; height: 128vh; opacity: .14; transform: translate(-50%, -50%); animation: drift 18s ease-in-out infinite; }
.bg-toggle .tg-track { fill: #8C7883; }
.bg-toggle .tg-knob { fill: #B9A9B2; }
.bg-toggle.is-on .tg-track { fill: var(--yellow-on); }
.glow { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; filter: blur(10px); animation: glow 14s ease-in-out infinite; }
.glow-a { left: -180px; top: -200px; background: radial-gradient(circle, rgba(240, 192, 216, .16), transparent 65%); }
.glow-b { right: -160px; bottom: -220px; background: radial-gradient(circle, rgba(252, 190, 12, .12), transparent 65%); animation-delay: -7s; }
.unlock-card { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.unlock .logo { height: 40px; width: auto; margin-bottom: 56px; }
.unlock .eyebrow { color: var(--yellow); margin-bottom: 18px; }
.unlock .eyebrow .tg { height: 26px; }
.unlock h1 { color: var(--cream); font-size: clamp(2.9rem, 7vw, 4.6rem); margin-bottom: 18px; }
.unlock h1 .pink { color: var(--pink); }
.unlock .sub { color: rgba(255, 251, 247, .74); font-size: 1.15rem; margin-bottom: 38px; }
.code-form { width: 100%; max-width: 400px; }
.code-field { position: relative; }
.code-field input { width: 100%; height: 66px; padding: 0 76px; border: 2px solid transparent; border-radius: 999px; background: var(--cream); color: var(--ink); text-align: center; font-family: var(--head); font-size: 1.35rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.code-field input::placeholder { color: #CDBFC6; }
.code-field input:focus { outline: none; box-shadow: 0 0 0 6px rgba(252, 190, 12, .28); }
.code-field input:disabled { opacity: .6; }
.code-go { position: absolute; top: 8px; right: 8px; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--yellow); color: var(--ink); transition: transform .4s var(--ease), background .4s var(--ease); }
.code-go:hover:not([disabled]) { transform: translateX(3px); }
.code-go[disabled] { opacity: .4; cursor: not-allowed; }
.code-go .ico { width: 22px; height: 22px; stroke-width: 2.3; }
.code-field.is-error input { border-color: var(--pink); animation: shake .45s var(--ease); }
.code-field.is-ok input { box-shadow: 0 0 0 6px rgba(252, 190, 12, .35); }
.code-field.is-ok .code-go .ico { animation: pop .5s var(--ease) both; }
.field-msg { min-height: 1.5em; margin-top: 14px; font-size: .95rem; font-weight: 600; }
.unlock .field-msg { color: var(--pink); }
.field-msg.show { animation: rise .45s var(--ease) both; }
.demo { margin-top: 10px; color: rgba(255, 251, 247, .55); font-size: .9rem; }
.code-chip { margin-left: 4px; padding: 3px 12px; border: 1px solid rgba(255, 251, 247, .28); border-radius: 999px; background: transparent; color: var(--cream); font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; transition: background .3s, color .3s, border-color .3s; }
.code-chip:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.text-btn { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--yellow); font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Topbalk ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 251, 247, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.topbar-inner { max-width: 1480px; margin: 0 auto; padding: 16px clamp(16px, 3vw, 32px); display: flex; align-items: center; gap: 10px; }
.topbar .logo { height: 32px; width: auto; }
.spacer { flex: 1; }
.org-pill { padding: 11px 20px; border-radius: 999px; background: var(--sand); color: var(--plum); font-family: var(--head); font-size: .84rem; font-weight: 500; white-space: nowrap; }

/* ---------- 2. Overzicht ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px) 88px; }
.hello { padding: 64px 0 48px; }
.hello .eyebrow { margin-bottom: 18px; }
.hello h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); margin-bottom: 14px; }
mark { color: inherit; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 92% / 0% 42%; padding: 0 .04em; }
.view.enter mark { animation: markIn 1s var(--ease) .7s forwards; }
.hello .sub { color: var(--muted); font-size: 1.15rem; margin-bottom: 26px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; background: var(--sand); color: var(--muted); font-size: .95rem; }
.pill b { color: var(--plum); font-weight: 600; }
.pill .ico { width: 16px; height: 16px; color: var(--plum); }

.card { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-width: 1040px; overflow: hidden; border-radius: 28px; background: var(--sand); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.thumb { position: relative; min-height: 320px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 78% 18%, rgba(43, 108, 176, .5), transparent 55%), radial-gradient(circle at 8% 100%, rgba(128, 204, 40, .22), transparent 50%), #071829; }
.thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 45%, rgba(128, 204, 40, .18), transparent 55%); opacity: 0; transition: opacity .8s var(--ease); }
a.card:hover .thumb::after { opacity: 1; }
.client-logo { position: relative; z-index: 1; height: 150px; width: auto; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .5)); transition: transform 1s var(--ease); }
a.card:hover .client-logo { transform: scale(1.05) rotate(-2deg); }
.thumb .tg { position: absolute; right: 30px; top: 24px; height: 84px; transition: transform 1s var(--ease); }
.thumb .tg-track { fill: rgba(255, 255, 255, .22); }
.thumb .is-on .tg-track, .thumb .tg.is-on .tg-track { fill: var(--yellow-on); }
.card-main { display: flex; flex-direction: column; padding: 34px 34px 28px; }
.status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; font-family: var(--head); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.st-review::before { animation: pulse 1.8s ease-in-out infinite; }
.st-ok::before { background: var(--plum); }
.card h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.04em; margin-bottom: 10px; }
.card-desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 14px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.card-meta span { padding: 5px 12px; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: .88rem; }
.card-row { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-family: var(--head); font-size: .9rem; font-weight: 600; color: var(--plum); }
.card-meta + .card-row { margin-top: 28px; }
.card-row .ico { transition: transform .6s var(--ease); }
a.card:hover .card-row .ico { transform: translateX(6px); }

/* ---------- 3. Speler ---------- */
.player-title { min-width: 0; margin-left: 6px; }
.player-title small { display: block; font-family: var(--head); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.player-title h1 { font-size: 1.2rem; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.counter { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: var(--sand); color: var(--plum); font-family: var(--head); font-size: .8rem; font-weight: 500; white-space: nowrap; }
.counter b { font-weight: 600; }
.counter.bump { animation: pop .5s var(--ease); }

.player { max-width: 1480px; margin: 0 auto; padding: 4px clamp(16px, 3vw, 32px) 24px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; height: calc(100vh - 76px); min-height: 560px; }
.stage { position: relative; overflow: hidden; height: 100%; border-radius: 24px; background: #071829; box-shadow: 0 0 0 1px rgba(55, 31, 47, .08), var(--shadow); transition: box-shadow .4s var(--ease); }
.stage:fullscreen { border-radius: 0; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #071829; }
.loading { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; align-content: center; gap: 16px; background: #071829; color: rgba(255, 255, 255, .7); font-family: var(--head); font-size: .85rem; transition: opacity .6s var(--ease); }
.loading .tg { height: 56px; }
.loading .tg-track { fill: rgba(255, 255, 255, .18); }
.loading .tg-knob { animation: flip 1.6s var(--ease) infinite; transform: none; }
.loading.done { opacity: 0; pointer-events: none; }
.watermark { position: absolute; inset: 0; z-index: 5; pointer-events: none; background-repeat: repeat; }
.ribbon { position: absolute; z-index: 6; top: 18px; right: -42px; transform: rotate(35deg); padding: 6px 48px; background: var(--yellow); color: var(--ink); font-family: var(--head); font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; pointer-events: none; }

/* Stuk markeren */
.stage.is-marking { box-shadow: 0 0 0 3px var(--yellow), var(--shadow); }
.markup { position: absolute; inset: 0; z-index: 8; cursor: crosshair; touch-action: none; background: rgba(55, 31, 47, .12); animation: fade .3s ease; }
.markup-hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; border-radius: 999px; background: var(--plum); color: var(--cream); font-family: var(--head); font-size: .78rem; font-weight: 500; white-space: nowrap; cursor: default; box-shadow: var(--shadow-sm); animation: rise .5s var(--ease) both; }
.markup-hint button { padding: 5px 12px; border: 0; border-radius: 999px; background: rgba(255, 251, 247, .14); color: var(--cream); font-family: var(--head); font-size: .74rem; font-weight: 600; transition: background .3s; }
.markup-hint button:hover { background: var(--yellow); color: var(--ink); }
.sel-rect { position: absolute; z-index: 7; pointer-events: none; border: 2.5px solid var(--yellow); border-radius: 12px; background: rgba(252, 190, 12, .12); }
.sel-rect.spot { z-index: 9; box-shadow: 0 0 0 9999px rgba(7, 24, 41, .45); }
.sel-rect.draft { border-style: dashed; animation: hlIn .5s var(--ease) both; }
.hl-rect { position: absolute; z-index: 7; pointer-events: none; border: 3px solid var(--yellow); border-radius: 12px; background: rgba(252, 190, 12, .10); box-shadow: 0 0 0 9999px rgba(7, 24, 41, .5); transition: opacity .45s ease; }
.hl-rect.flash { animation: hlIn .55s var(--ease) both; }
.hl-rect.out { opacity: 0; }

/* Opmerkingen */
.panel { position: relative; min-height: 0; height: 100%; }
.panel-inner { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--sand); }
.panel-head { display: flex; align-items: center; gap: 10px; padding: 22px 22px 10px; }
.panel-head h2 { font-size: 1.15rem; letter-spacing: -.03em; }
.count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--yellow); color: var(--ink); font-family: var(--head); font-size: .74rem; font-weight: 600; }
.count.bump { animation: pop .5s var(--ease); }
.comments { list-style: none; flex: 1; min-height: 0; margin: 0; padding: 6px 22px 14px; display: flex; flex-direction: column; gap: 12px; overflow: auto; scroll-behavior: smooth; }
.comment { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
.comment.is-new { animation: rise .6s var(--ease) both; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: var(--pink); color: var(--plum); font-family: var(--head); font-size: .7rem; font-weight: 600; }
.team .avatar { background: var(--plum); }
.team .avatar .tg { height: 20px; }
.bubble { padding: 10px 13px 11px; border-radius: 4px 16px 16px 16px; background: var(--cream); }
.team .bubble { background: var(--mauve); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 2px; color: var(--muted); font-size: .8rem; }
.meta b { font-family: var(--head); font-size: .78rem; font-weight: 600; color: var(--plum); }
.tag { display: inline-flex; align-items: center; padding: 1px 9px; border: 0; border-radius: 99px; background: var(--sand); color: var(--plum); font-family: var(--head); font-size: .64rem; font-weight: 600; transition: background .3s; }
.tag:hover { background: var(--yellow); }
.tag .ico { width: 11px; height: 11px; margin-right: 4px; stroke-width: 2.4; }
.bubble p { font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.empty { margin: auto; color: var(--muted); font-size: .95rem; text-align: center; }
.compose { padding: 12px 16px 0; }
.as { margin: 0 6px 8px; color: var(--muted); font-size: .85rem; }
.as b { color: var(--plum); font-weight: 600; }
.link { padding: 0; border: 0; background: none; color: var(--plum); font-size: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.compose input { display: block; width: 100%; height: 46px; margin-bottom: 8px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--cream); font-size: .95rem; transition: box-shadow .35s var(--ease); }
.compose-box { position: relative; }
.compose textarea { display: block; width: 100%; min-height: 52px; max-height: 140px; padding: 15px 56px 13px 18px; border: 0; border-radius: 26px; background: var(--cream); font-size: .95rem; line-height: 1.4; resize: none; transition: box-shadow .35s var(--ease); }
.compose input:focus, .compose textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--yellow); }
.send { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--plum); color: var(--cream); transition: background .35s var(--ease), color .35s, transform .35s var(--ease); }
.send:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.send .ico { width: 17px; height: 17px; }
.compose-tools { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.mark-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--plum); font-family: var(--head); font-size: .76rem; font-weight: 600; transition: background .35s var(--ease), box-shadow .35s var(--ease), color .35s; }
.mark-btn:hover { box-shadow: inset 0 0 0 1.5px var(--plum); }
.mark-btn.is-active { background: var(--plum); color: var(--cream); box-shadow: none; }
.mark-btn.has-mark { background: var(--yellow); color: var(--ink); box-shadow: none; }
.mark-btn .ico { width: 15px; height: 15px; }
.mark-clear { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--cream); color: var(--plum); font-size: 1.05rem; line-height: 1; transition: background .3s; animation: pop .4s var(--ease) both; }
.mark-clear:hover { background: var(--pink); }
.compose .field-msg { min-height: 1.3em; margin: 6px 6px 0; color: var(--rose); font-size: .85rem; }
.panel-foot { padding: 6px 16px 16px; }
.done-note { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; color: var(--plum); font-family: var(--head); font-size: .78rem; font-weight: 600; animation: rise .6s var(--ease) both; }
.done-note .ico { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--yellow); stroke-width: 2.8; }
.approved { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 999px; background: var(--pink); color: var(--plum); font-family: var(--head); font-size: .86rem; font-weight: 600; }
.approved .tg { height: 30px; flex: none; }
.approved.draw { animation: rise .6s var(--ease) both; }

/* Dialoog */
dialog { width: calc(100% - 32px); max-width: 420px; padding: 0; border: 0; border-radius: 28px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px rgba(22, 10, 18, .35); }
dialog[open] { animation: rise .5s var(--ease); }
dialog::backdrop { background: rgba(55, 31, 47, .55); backdrop-filter: blur(4px); }
dialog[open]::backdrop { animation: fade .4s ease; }
.dialog-body { padding: 30px; }
.dialog-body h2 { font-size: 1.6rem; margin-bottom: 8px; }
.dialog-body p { color: var(--muted); }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 26px; }

/* Responsief */
@media (max-width: 1000px) {
  .card { grid-template-columns: minmax(0, 1fr); }
  .thumb { min-height: 240px; }
  .player { grid-template-columns: minmax(0, 1fr); height: auto; }
  .stage { height: min(78vh, 760px); min-height: 520px; }
  .panel { height: auto; }
  .panel-inner { position: static; }
  .comments { max-height: 320px; }
}
@media (max-width: 640px) {
  .org-pill, .counter { display: none; }
  .unlock .logo { height: 34px; margin-bottom: 44px; }
  .unlock .sub { margin-bottom: 30px; }
  .bg-toggle { left: 86%; height: 110vh; }
  .code-field input { height: 62px; padding: 0 64px; font-size: 1.2rem; letter-spacing: .16em; }
  .code-go { width: 46px; height: 46px; }
  .topbar .logo { height: 27px; }
  .hello { padding: 40px 0 34px; }
  .card-main { padding: 26px 24px 22px; }
  .client-logo { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  mark { background-size: 100% 42%; }
}

/* ---------- Productie-aanvullingen ---------- */
.demo { max-width: 34ch; line-height: 1.45; }
.team-pill { padding: 9px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--head); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.module-list { display: grid; gap: 22px; }
.thumb { background: radial-gradient(circle at 78% 18%, rgba(240, 192, 216, .28), transparent 55%), radial-gradient(circle at 8% 100%, rgba(255, 194, 10, .16), transparent 50%), var(--plum); }
.thumb .initials { position: relative; z-index: 1; font-family: var(--head); font-size: 4rem; font-weight: 600; letter-spacing: -.04em; color: var(--cream); }
.sub-reply { margin-top: 8px; padding: 8px 11px; border-left: 3px solid var(--yellow); border-radius: 4px 12px 12px 4px; background: var(--mauve); font-size: .92rem; overflow-wrap: anywhere; }
.sub-reply b { margin-right: 6px; font-family: var(--head); font-size: .74rem; font-weight: 600; color: var(--plum); }
.dlg-field { display: grid; gap: 6px; margin-top: 16px; }
.dlg-field span { font-family: var(--head); font-size: .78rem; font-weight: 600; color: var(--plum); }
.dlg-field input { height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--sand); font-size: .95rem; }
.dlg-field input:focus { outline: none; box-shadow: 0 0 0 2px var(--yellow); }
#dlgMsg { color: var(--rose); font-size: .88rem; margin-top: 8px; min-height: 0; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: var(--plum); color: var(--cream); font-family: var(--head); font-size: .84rem; font-weight: 500; box-shadow: var(--shadow); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.code-field.is-blocked input { opacity: .6; }
.stage-msg { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--cream); font-family: var(--head); font-size: 1rem; line-height: 1.5; background: var(--plum); }
@media print { .stage, #stage iframe { display: none !important; } }
/* Brede logo's (woordmerk) niet buiten de kaart laten lopen */
.client-logo { max-width: 78%; object-fit: contain; }

/* ---------- Melding: nieuwe versie ---------- */
.update-bar { position: fixed; left: 50%; bottom: 22px; z-index: 300; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--plum); color: var(--cream); font-family: var(--head); font-size: .86rem; font-weight: 500; box-shadow: 0 0 0 1px rgba(255, 251, 247, .22), 0 18px 40px rgba(22, 10, 18, .28); opacity: 0; transform: translate(-50%, 24px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.update-bar.show { opacity: 1; transform: translate(-50%, 0); }
.update-bar button { min-height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--head); font-size: .82rem; font-weight: 600; cursor: pointer; }
.update-bar button:hover { filter: brightness(1.05); }
@media (max-width: 560px) { .update-bar { left: 16px; right: 16px; justify-content: space-between; transform: translateY(24px); } .update-bar.show { transform: none; } }
@media (prefers-reduced-motion: reduce) { .update-bar { transition: none; } }
[data-i="0"]{--i:0}[data-i="1"]{--i:1}[data-i="2"]{--i:2}[data-i="3"]{--i:3}[data-i="4"]{--i:4}[data-i="5"]{--i:5}[data-i="6"]{--i:6}[data-i="7"]{--i:7}[data-i="8"]{--i:8}[data-i="9"]{--i:9}[data-i="10"]{--i:10}[data-i="11"]{--i:11}[data-i="12"]{--i:12}[data-i="13"]{--i:13}[data-i="14"]{--i:14}[data-i="15"]{--i:15}[data-i="16"]{--i:16}[data-i="17"]{--i:17}[data-i="18"]{--i:18}[data-i="19"]{--i:19}[data-i="20"]{--i:20}[data-i="21"]{--i:21}[data-i="22"]{--i:22}[data-i="23"]{--i:23}[data-i="24"]{--i:24}[data-i="25"]{--i:25}[data-i="26"]{--i:26}[data-i="27"]{--i:27}[data-i="28"]{--i:28}[data-i="29"]{--i:29}[data-i="30"]{--i:30}[data-i="31"]{--i:31}[data-i="32"]{--i:32}[data-i="33"]{--i:33}[data-i="34"]{--i:34}[data-i="35"]{--i:35}[data-i="36"]{--i:36}[data-i="37"]{--i:37}[data-i="38"]{--i:38}[data-i="39"]{--i:39}[data-i="40"]{--i:40}
.muted { color: var(--muted); }
.mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mb12 { margin-bottom: 12px; } .mb14 { margin-bottom: 14px; } .mb30 { margin-bottom: 30px; } .m0 { margin: 0; }
.pointer { cursor: pointer; } .headfont { font-family: var(--head); }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; } .gap14 { gap: 14px; }
.confirm-title { font-size: 1.45rem; margin-bottom: 8px; }
