/* Buzzando: de Quiz op de tv (qt-, public/js/quiztv.js) en op de telefoon (qp-). Eigen bestand, zodat tv.css en app.css onaangeroerd blijven.
   Tv: exact het goedgekeurde voorbeeld quiz-tv-voorbeeld-v12.html: één studio van 1920 x 1080 die op de tv van 1280 x 720 meeschaalt.
   Antwoordkleuren alleen voor dit spel (paars, blauw, azuur, roze, alle vier even licht): de tokens --qt-a-* tot --qt-d-*.
   Het goede antwoord kleurt alles in zijn eigen kleur (--qt-w*, gezet door de studio); nergens goud op het quizscherm. */

/* Een kind van .tv is altijd position: relative (app.css); daarom een vaste maat van het hele tv-beeld */
.tv.lk > .qt-round { flex: none; width: 1280px; height: 720px; overflow: hidden; background: #06031A; }
.qt-round { position: relative; width: 1280px; height: 720px; overflow: hidden; background: #06031A; }
.qt-host { position: absolute; inset: 0; }
.qt-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qt-wm { position: absolute; right: 40px; bottom: 26px; z-index: 5; opacity: .9; }

.qt-stage {
  --qt-ink: #06031A; --qt-night: #0F0734; --qt-indigo: #1C0C52;
  --qt-a-acc: #B28BFD; --qt-a-hi: #D6C7FD; --qt-a-deep: #5B2C9B; --qt-a-m1: #9665E7; --qt-a-m2: #6639A8;
  --qt-b-acc: #76A2FF; --qt-b-hi: #BCD1FD; --qt-b-deep: #1A42A8; --qt-b-m1: #497EF7; --qt-b-m2: #244EB5;
  --qt-c-acc: #05B2F3; --qt-c-hi: #9CDAFE; --qt-c-deep: #005476; --qt-c-m1: #0091C8; --qt-c-m2: #046085;
  --qt-d-acc: #FB69AD; --qt-d-hi: #FEBAD5; --qt-d-deep: #8C0553; --qt-d-m1: #D7488E; --qt-d-m2: #991B5E;
  --qt-pink: #EC1C87; --qt-pink2: #FF4FA8;
  --qt-w1: #9CDAFE; --qt-w: #05B2F3; --qt-wd: #005476; --qt-wrgb: 5,178,243;
  --qt-mute: rgba(226, 220, 255, .66);
  --qt-chrome: linear-gradient(180deg, #FFFFFF 0%, #B8ABEE 30%, #4A3A90 58%, #9D8EE0 82%, #E6E0FF 100%);
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform: scale(.666667); transform-origin: 0 0; overflow: hidden;
  font-family: var(--font-ui, "Inter", "Segoe UI", Arial, sans-serif); color: #fff; font-size: 16px; line-height: normal; background: var(--qt-ink); text-align: left; }
.qt-stage i { font-style: normal; }
.qt-stage canvas { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; pointer-events: none; }
.qt-seth { position: absolute; inset: 0; transform-origin: 0 0; pointer-events: none; }
.qt-vig { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 100% at 50% 45%, transparent 58%, rgba(3, 1, 12, .7) 100%); }
.qt-grain { position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.qt-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.qt-flash.qt-go { animation: qt-wf .55s ease-out; }
@keyframes qt-wf { 0% { opacity: .6; } 100% { opacity: 0; } }

/* ---------- schermen in de ledwall ---------- */
.qt-scr { position: absolute; top: 120px; width: 530px; height: 360px; padding: 7px; border-radius: 4px; background: linear-gradient(180deg, #1A1238, #05020F); box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 70px rgba(123, 63, 242, .35), 0 30px 60px rgba(0, 0, 0, .55); opacity: 0; transition: opacity .6s; }
.qt-scr.qt-on { opacity: 1; }
.qt-scr.qt-l { left: 76px; transform: perspective(1400px) rotateY(20deg); transform-origin: 0 50%; }
.qt-scr.qt-r { left: 1314px; transform: perspective(1400px) rotateY(-20deg); transform-origin: 100% 50%; }
.qt-sc { position: relative; height: 100%; overflow: hidden; border-radius: 2px; background: radial-gradient(120% 90% at 50% 0%, #3A1890, #1A0A52 55%, #120740); }
.qt-sc::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, transparent 1px, rgba(0, 0, 0, .28) 1.6px) 0 0/4px 4px; mix-blend-mode: multiply; }
.qt-sc::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 38%); }
.qt-sv { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 18px; animation: qt-svIn .6s cubic-bezier(.2, .9, .2, 1) both; }
.qt-sv.qt-gone { animation: qt-svOut .35s ease-in both; }
@keyframes qt-svIn { 0% { opacity: 0; transform: translateY(40px); filter: blur(8px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes qt-svOut { to { opacity: 0; transform: translateY(-40px); filter: blur(8px); } }
.qt-k { font-weight: 800; font-size: 27px; letter-spacing: .2em; text-transform: uppercase; color: var(--qt-mute); }
.qt-big { font-weight: 900; font-size: 184px; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(170, 130, 255, .5); }
.qt-big small { font-size: 60px; letter-spacing: 0; color: var(--qt-mute); font-weight: 800; }
.qt-big.qt-gold { color: var(--qt-w1); text-shadow: 0 0 40px rgba(var(--qt-wrgb), .7); }
.qt-mid { font-weight: 900; font-size: 82px; line-height: 1; letter-spacing: -.02em; }
.qt-catl { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 28px; letter-spacing: .12em; text-transform: uppercase; margin-top: 8px; }
.qt-catl svg { width: 30px; height: 30px; }
.qt-dif { display: flex; gap: 6px; margin-left: 10px; }
.qt-dif i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); }
.qt-dif i.qt-on { background: #fff; border-color: #fff; }
.qt-avr { display: flex; margin-top: 12px; }
.qt-av { width: 58px; height: 58px; border-radius: 50%; margin-left: -10px; display: grid; place-items: center; font-weight: 800; font-size: 18px; border: 3px solid #1A0A52; animation: qt-pop .4s cubic-bezier(.2, 1.5, .3, 1); box-sizing: border-box; }
.qt-av:first-child { margin-left: 0; }
@keyframes qt-pop { 0% { transform: scale(.2); opacity: 0; } }
.qt-who { display: flex; align-items: center; gap: 18px; }
.qt-who .qt-av { width: 100px; height: 100px; font-size: 30px; margin: 0; border-color: var(--qt-w); animation: none; }
.qt-who .qt-nm { font-weight: 900; font-size: 84px; line-height: 1; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qt-tm { font-weight: 900; font-size: 54px; color: var(--qt-w1); font-variant-numeric: tabular-nums; }
.qt-k.qt-gold { color: var(--qt-w1); }
.qt-qr { border-radius: 10px; box-shadow: 0 0 30px rgba(170, 130, 255, .5); margin: 8px 0; }

/* ---------- 3D-klok (en de 2D-terugval) ---------- */
.qt-stage canvas.qt-gl, .qt-stage canvas.qt-2d { left: 560px; top: 0; width: 800px; height: 720px; }
.qt-stage canvas.qt-2d { display: none; }
.qt-no3d canvas.qt-2d { display: block; }
.qt-no3d canvas.qt-gl { display: none; }

/* ---------- kop ---------- */
.qt-hdr { position: absolute; left: 96px; right: 96px; top: 46px; display: flex; align-items: center; gap: 16px; opacity: 0; transform: translateY(-16px); transition: opacity .6s, transform .6s; }
.qt-hdr.qt-on { opacity: 1; transform: none; }
.qt-lgb { width: 54px; height: 54px; border-radius: 10px; padding: 2px; background: var(--qt-chrome); box-shadow: 0 0 22px rgba(170, 120, 255, .5); box-sizing: border-box; }
.qt-lgb div { height: 100%; border-radius: 8px; background: linear-gradient(180deg, #2B1478, #120640); display: grid; place-items: center; font-weight: 900; font-size: 36px; line-height: 1; color: #fff; text-shadow: 0 0 12px rgba(255, 79, 168, .9); }
.qt-lgw { font-weight: 900; font-size: 36px; letter-spacing: .16em; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.qt-venue { margin-left: auto; display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; color: var(--qt-mute); text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.qt-venue img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }

/* ---------- titelkaart ---------- */
.qt-tc { position: absolute; left: 0; right: 0; top: 790px; display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .5s, transform .8s cubic-bezier(.2, 1, .3, 1); }
.qt-tc.qt-on { opacity: 1; transform: none; }
.qt-tk { font-weight: 800; font-size: 30px; letter-spacing: .34em; text-transform: uppercase; color: var(--qt-mute); }
.qt-tk b { color: #fff; }
.qt-tbig { display: flex; align-items: center; gap: 30px; font-weight: 900; font-size: 136px; letter-spacing: -.035em; line-height: 1; text-shadow: 0 8px 50px rgba(5, 2, 25, .9); white-space: nowrap; }
.qt-tbig .qt-ib { width: 110px; height: 110px; border-radius: 18px; padding: 3px; background: var(--qt-chrome); box-shadow: 0 0 40px rgba(170, 120, 255, .5); box-sizing: border-box; flex: none; }
.qt-tbig .qt-ib div { height: 100%; border-radius: 15px; background: linear-gradient(180deg, #2B1478, #120640); display: grid; place-items: center; }
.qt-tbig .qt-ib svg { width: 62px; height: 62px; }
.qt-tc.qt-fin .qt-tbig { text-shadow: 0 0 40px rgba(255, 79, 168, .8), 0 8px 50px rgba(5, 2, 25, .9); }
.qt-td { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 26px; letter-spacing: .2em; text-transform: uppercase; color: var(--qt-mute); }
.qt-td i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); }
.qt-td i.qt-on { background: #fff; border-color: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .7); }
.qt-tc.qt-on .qt-ib { animation: qt-ibPop .8s cubic-bezier(.2, 1.6, .3, 1) both; }
@keyframes qt-ibPop { 0% { transform: scale(.3) rotate(-25deg); opacity: 0; } }

/* ---------- vraagbalk ---------- */
.qt-qb { position: absolute; left: 200px; top: 612px; width: 1520px; height: 124px; perspective: 1800px; clip-path: inset(0 50% 0 50%); opacity: 0; transition: clip-path .75s cubic-bezier(.65, 0, .2, 1), opacity .3s; }
.qt-qb.qt-in { clip-path: inset(-80px -40px -80px -40px); opacity: 1; }
.qt-qbi { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.5, 0, .2, 1); }
.qt-qb.qt-flip .qt-qbi { transform: rotateX(180deg); }
.qt-qb.qt-flipin .qt-qbi { animation: qt-flipIn .85s cubic-bezier(.3, 1.3, .4, 1) both; }
@keyframes qt-flipIn { 0% { transform: rotateX(-110deg); } }
.qt-face { position: absolute; inset: 0; border-radius: 9px; padding: 2px; background: var(--qt-chrome); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-sizing: border-box;
  box-shadow: 0 0 50px rgba(123, 63, 242, .35), 0 24px 40px rgba(0, 0, 0, .55); }
.qt-face.qt-back { transform: rotateX(180deg); }
.qt-fi { position: relative; height: 100%; border-radius: 7px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0 60px; text-align: center; box-sizing: border-box;
  background: linear-gradient(180deg, #2E177A 0%, #1A0C52 52%, #10063A 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -14px 34px rgba(123, 63, 242, .28); }
.qt-fi::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 48%; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02)); }
.qt-fi::after { content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 18%; transform: skewX(-20deg) translateX(-150%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); }
.qt-qb.qt-in .qt-front .qt-fi::after { animation: qt-sweep 1.1s .45s cubic-bezier(.4, 0, .2, 1); }
.qt-qb.qt-flip .qt-back .qt-fi::after { animation: qt-sweep 1.1s .7s cubic-bezier(.4, 0, .2, 1); }
@keyframes qt-sweep { to { transform: skewX(-20deg) translateX(900%); } }
.qt-qt { position: relative; font-weight: 800; font-size: 56px; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 3px 14px rgba(5, 2, 25, .6); max-height: 120px; }
.qt-qt .qt-w { display: inline-block; opacity: 0; transform: translateY(16px); filter: blur(5px); transition: all .45s cubic-bezier(.2, .8, .2, 1); }
.qt-qt.qt-on .qt-w { opacity: 1; transform: none; filter: none; }
.qt-back .qt-fi { justify-content: flex-start; gap: 26px; text-align: left; }
.qt-wk { flex: none; padding: 10px 16px; border-radius: 5px; background: linear-gradient(180deg, var(--qt-w), var(--qt-wd)); font-weight: 900; font-size: 20px; letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 0 24px rgba(var(--qt-wrgb), .5); }
.qt-wt { position: relative; font-weight: 700; font-size: 34px; line-height: 1.2; }

/* ---------- antwoordbalken: donker glas, kleur in de letter en een lichtrandje; alleen het goede antwoord licht helemaal op ---------- */
.qt-an { position: absolute; width: 750px; height: 104px; opacity: 0; transform: translateX(var(--sx)); transition: opacity .4s, transform .7s cubic-bezier(.2, 1.1, .3, 1), filter .6s; }
.qt-an.qt-in { opacity: 1; transform: none; }
.qt-rim { position: absolute; inset: 0; border-radius: 9px; padding: 2px; box-sizing: border-box; transition: filter .6s, background .6s, box-shadow .6s;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(var(--rgb), .55) 45%, rgba(var(--rgb), .25)); box-shadow: 0 18px 34px rgba(0, 0, 0, .55), 0 0 26px rgba(var(--rgb), .22); }
.qt-fill { position: relative; height: 100%; border-radius: 7px; overflow: hidden; transition: filter .6s;
  background: linear-gradient(90deg, rgba(var(--rgb), .34), rgba(var(--rgb), .10) 45%, rgba(var(--rgb), .03)), linear-gradient(180deg, #24165C, #140A3C 60%, #0E0730); }
.qt-fill::before { content: ""; position: absolute; inset: 0; border-radius: 7px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -8px 20px rgba(0, 0, 0, .3); z-index: 2; pointer-events: none; }
.qt-fill::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 0 4px 4px 0; background: var(--acc); box-shadow: 0 0 16px var(--acc), 0 0 4px var(--acc); z-index: 2; }
.qt-gloss { position: absolute; left: 0; right: 0; top: 0; height: 46%; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0)); pointer-events: none; }
.qt-pf { position: absolute; right: 0; top: 0; bottom: 0; width: 100%; background: linear-gradient(90deg, rgba(6, 0, 30, 0), rgba(6, 0, 30, .55) 26px); transition: width 1.2s cubic-bezier(.3, .8, .2, 1), opacity .4s; opacity: 0; }
.qt-badge { position: absolute; left: 26px; top: 50%; width: 70px; height: 70px; margin-top: -35px; border-radius: 50%; padding: 3px; z-index: 1; box-sizing: border-box; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(var(--rgb), .8)); }
.qt-badge b { display: grid; place-items: center; height: 100%; border-radius: 50%; font-weight: 900; font-size: 34px; color: #fff; transition: color .6s, background .6s;
  background: radial-gradient(circle at 38% 28%, var(--hi), var(--acc) 42%, var(--deep)); text-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.qt-at { position: absolute; left: 120px; right: 140px; top: 0; bottom: 0; display: flex; align-items: center; font-weight: 800; font-size: 52px; white-space: nowrap; letter-spacing: -.01em; text-shadow: 0 3px 10px rgba(10, 0, 40, .5); z-index: 1; transition: color .6s; overflow: hidden; }
.qt-pc { position: absolute; right: 28px; top: 0; bottom: 0; display: flex; align-items: center; font-weight: 900; font-size: 46px; font-variant-numeric: tabular-nums; z-index: 1; opacity: 0; transform: translateX(20px); transition: opacity .4s, transform .4s, color .6s; }
.qt-pc small { font-size: 28px; margin-left: 2px; }
.qt-spread .qt-pc { opacity: 1; transform: none; }
.qt-spread .qt-pf { opacity: 1; }
.qt-spread .qt-an .qt-fill { background: linear-gradient(90deg, rgba(var(--rgb), .55), rgba(var(--rgb), .35)), linear-gradient(180deg, #24165C, #140A3C 60%, #0E0730); }
.qt-glint { position: absolute; top: -10%; bottom: -10%; left: -30%; width: 20%; transform: skewX(-20deg) translateX(-150%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); z-index: 3; pointer-events: none; }
.qt-an.qt-in .qt-glint { animation: qt-glint .9s .15s cubic-bezier(.4, 0, .2, 1); }
.qt-an.qt-win .qt-glint { animation: qt-glint2 1.3s .4s cubic-bezier(.4, 0, .2, 1); }
@keyframes qt-glint { to { transform: skewX(-20deg) translateX(700%); } }
@keyframes qt-glint2 { to { transform: skewX(-20deg) translateX(701%); } }
.qt-an svg.qt-gd { position: absolute; left: 0; top: 0; width: 750px; height: 104px; overflow: visible; pointer-events: none; }
.qt-gd rect { fill: none; stroke: #fff; stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.5, 0, .2, 1); }
.qt-an.qt-win .qt-gd rect { stroke-dashoffset: 0; }
.qt-an.qt-out { filter: saturate(.1) brightness(.5); opacity: .8; }
.qt-an.qt-win { transform: scale(1.035); filter: drop-shadow(0 0 30px rgba(var(--rgb), .85)) brightness(1.08); animation: qt-winGlow 1.8s .6s ease-in-out infinite alternate; }
@keyframes qt-winGlow { to { filter: drop-shadow(0 0 46px rgba(var(--rgb), 1)) brightness(1.14); } }
.qt-an.qt-win .qt-rim { background: linear-gradient(180deg, #fff, var(--hi) 50%, var(--acc)); box-shadow: 0 18px 30px rgba(0, 0, 0, .5), 0 0 40px rgba(var(--rgb), .7); }
.qt-an.qt-win .qt-fill { background: linear-gradient(180deg, var(--m1), var(--m2)); }
.qt-an.qt-win .qt-pf { opacity: 0; }

/* ---------- tussenstand top 5 ---------- */
.qt-sb { position: absolute; left: 400px; top: 606px; width: 1120px; height: 410px; overflow: hidden; overflow: clip; pointer-events: none; }
.qt-sr { position: absolute; left: 0; width: 1120px; height: 72px; opacity: 0; transform: translateX(-80px); transition: top 1s cubic-bezier(.6, 0, .2, 1), opacity .45s, transform .7s cubic-bezier(.2, 1.1, .3, 1); }
.qt-sb.qt-on .qt-sr { opacity: 1; transform: none; }
.qt-sb.qt-off .qt-sr { opacity: 0; transform: translateX(80px); }
.qt-row { position: relative; height: 100%; border-radius: 9px; padding: 2px; box-sizing: border-box; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(123, 63, 242, .5) 45%, rgba(123, 63, 242, .22)); box-shadow: 0 16px 30px rgba(0, 0, 0, .5), 0 0 22px rgba(123, 63, 242, .2); }
.qt-row > div { height: 100%; border-radius: 7px; display: flex; align-items: center; gap: 20px; padding: 0 24px 0 14px; box-sizing: border-box; background: linear-gradient(90deg, rgba(123, 63, 242, .30), rgba(123, 63, 242, .06) 50%, rgba(123, 63, 242, .02)), linear-gradient(180deg, #24165C, #140A3C 60%, #0E0730); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.qt-rk { width: 50px; text-align: center; font-weight: 900; font-size: 40px; font-variant-numeric: tabular-nums; color: var(--qt-mute); }
.qt-ra { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; border: 2px solid rgba(255, 255, 255, .35); box-sizing: border-box; }
.qt-rn { font-weight: 800; font-size: 40px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-rd { font-weight: 900; font-size: 26px; padding: 6px 12px; border-radius: 5px; background: rgba(255, 255, 255, .13); color: #fff; opacity: 0; transform: translateX(16px); transition: opacity .4s, transform .4s; }
.qt-rd.qt-on { opacity: 1; transform: none; }
.qt-ru { font-weight: 900; font-size: 24px; padding: 6px 11px; border-radius: 5px; background: linear-gradient(180deg, #9A6CFF, #5B2CC9); color: #fff; opacity: 0; transform: scale(.4); transition: opacity .4s, transform .5s cubic-bezier(.2, 1.6, .3, 1); }
.qt-ru:empty { display: none; }
.qt-ru.qt-on { opacity: 1; transform: none; }
.qt-rp { font-weight: 900; font-size: 40px; font-variant-numeric: tabular-nums; min-width: 110px; text-align: right; }
.qt-sr.qt-lead .qt-row { background: linear-gradient(180deg, #fff, rgba(190, 150, 255, .85) 45%, rgba(123, 63, 242, .55)); box-shadow: 0 16px 30px rgba(0, 0, 0, .5), 0 0 34px rgba(150, 100, 255, .45); }
.qt-sr.qt-lead .qt-row > div { background: linear-gradient(90deg, rgba(150, 100, 255, .5), rgba(123, 63, 242, .12) 55%, rgba(123, 63, 242, .03)), linear-gradient(180deg, #2E1C70, #1A0E4C 60%, #120838); }
.qt-sr.qt-lead .qt-rk { color: #fff; }

/* ---------- wachtstand: top 3 ---------- */
.qt-tp { position: absolute; left: 200px; top: 790px; width: 1520px; height: 104px; display: flex; gap: 22px; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .8s cubic-bezier(.2, 1, .3, 1); pointer-events: none; }
.qt-tp.qt-on { opacity: 1; transform: none; }
.qt-tp .qt-row { flex: 1; min-width: 0; }

/* ---------- foto- en geluidsvraag ---------- */
.qt-md { position: absolute; left: 672px; top: 234px; width: 576px; height: 324px; border-radius: 9px; padding: 3px; box-sizing: border-box; background: var(--qt-chrome); box-shadow: 0 0 60px rgba(123, 63, 242, .45), 0 30px 60px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(40px) scale(.9); filter: blur(8px); transition: opacity .5s, transform .9s cubic-bezier(.2, 1, .3, 1), filter .6s; pointer-events: none; }
.qt-md.qt-on { opacity: 1; transform: none; filter: none; }
.qt-mdi { position: relative; height: 100%; border-radius: 7px; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, #2E177A, #10063A 70%); }
.qt-mdi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 35%); pointer-events: none; }
.qt-mchip { position: absolute; left: 16px; top: 14px; padding: 7px 12px; border-radius: 5px; background: linear-gradient(180deg, #9A6CFF, #5B2CC9); font-weight: 900; font-size: 17px; letter-spacing: .18em; text-transform: uppercase; z-index: 2; box-shadow: 0 0 18px rgba(123, 63, 242, .6); }
/* Foto met Ken Burns: schuift langzaam door het beeld */
.qt-photo { position: absolute; inset: 0; overflow: hidden; }
.qt-photo img { width: 100%; height: 100%; object-fit: cover; display: block; animation: qt-kb 16s ease-in-out infinite alternate; transform-origin: 40% 40%; }
@keyframes qt-kb { 0% { transform: scale(1.02) translate(0, 0); } 100% { transform: scale(1.16) translate(-3%, -2%); } }
.qt-aud { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 36px 42px 0; gap: 22px; }
.qt-wave { display: flex; align-items: center; gap: 4px; height: 150px; }
.qt-wave i { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, #fff, #B48CFF); animation: qt-eq var(--d) ease-in-out infinite alternate; }
@keyframes qt-eq { 0% { transform: scaleY(.22); } 100% { transform: scaleY(1); } }
.qt-prog { display: flex; align-items: center; gap: 16px; font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; color: var(--qt-mute); }
.qt-pbar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.qt-pbar b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #B48CFF, #fff); animation: qt-prog 15s linear forwards; }
@keyframes qt-prog { to { width: 100%; } }

/* ---------- lichte stand: geen korrel (vloerspiegeling en bokeh laat de studio zelf weg) ---------- */
.qt-lite .qt-grain { display: none; }
@media (prefers-reduced-motion: reduce) { .qt-sv { animation: none; } .qt-photo img, .qt-wave i { animation: none; } }

/* ---------- Telefoon (qp-): dezelfde kleuren en stijl als de tv ---------- */
.qp { --rgb: 123,63,242; --w: #05B2F3; --wd: #005476; --w1: #9CDAFE; --wrgb: 5,178,243; --mute: rgba(226, 220, 255, .66);
  position: relative; min-height: min(620px, calc(100svh - 150px)); border-radius: 6px; overflow: hidden; overflow: clip; color: #fff;
  font-family: var(--font-ui, "Inter", "Segoe UI", Arial, sans-serif); background: linear-gradient(180deg, #1E0F5A, #0A0526); transition: background .7s; }
.qp.qp-good { background: linear-gradient(180deg, var(--w), var(--wd) 75%); }
.qp.qp-bad { background: linear-gradient(180deg, #2A1A5C, #0C0628); }
.qp-v { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 28px 18px 22px; gap: 12px; text-align: center; animation: qp-in .45s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes qp-in { 0% { opacity: 0; transform: translateY(18px); } }
.qp-k { font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.qp-good .qp-k, .qp-bad .qp-k { color: rgba(255, 255, 255, .8); }
.qp-t { font-weight: 900; font-size: 30px; line-height: 1.05; }
.qp-t.qp-sm { font-size: 22px; margin-top: 10px; }
.qp-q { font-weight: 800; font-size: 19px; line-height: 1.25; color: #fff; text-wrap: balance; }
.qp-s { font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, .8); line-height: 1.35; }
.qp-lg { width: 64px; height: 64px; border-radius: 14px; padding: 2px; margin-top: 120px; box-sizing: border-box; background: linear-gradient(180deg, #FFFFFF 0%, #B8ABEE 30%, #4A3A90 58%, #9D8EE0 82%, #E6E0FF 100%); }
.qp-lg div { height: 100%; border-radius: 12px; background: linear-gradient(180deg, #2B1478, #120640); display: grid; place-items: center; font-weight: 900; font-size: 40px; text-shadow: 0 0 12px rgba(255, 79, 168, .9); }
.qp-time { width: 100%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; flex: none; }
.qp-time b { display: block; height: 100%; background: linear-gradient(90deg, #B48CFF, #fff); transition: width .25s linear; }
/* De knoppen staan onderin bij de duim */
.qp-bs { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.qp-b { position: relative; display: block; width: 100%; height: 74px; border-radius: 9px; padding: 2px; border: 0; cursor: pointer; color: #fff; font: inherit; text-align: left; box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(var(--rgb), .5)); transition: opacity .4s, filter .4s, transform .4s; -webkit-tap-highlight-color: transparent; }
.qp-b > div { height: 100%; border-radius: 7px; display: flex; align-items: center; gap: 12px; padding: 0 12px; box-sizing: border-box; font-weight: 800; font-size: 22px;
  background: linear-gradient(90deg, rgba(var(--rgb), .34), rgba(var(--rgb), .06)), linear-gradient(180deg, #24165C, #0E0730); }
.qp-b > div span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qp-b i { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 20px; background: radial-gradient(circle at 38% 28%, var(--hi), var(--acc) 42%, var(--deep)); }
.qp-b:disabled { cursor: default; }
.qp-b:active:not(:disabled) { transform: scale(.98); }
.qp-b:focus-visible { outline: 2px solid #FF4FA8; outline-offset: 2px; }
.qp-b.qp-sel { transform: scale(1.03); background: linear-gradient(180deg, #fff, var(--hi)); }
.qp-b.qp-sel > div { background: linear-gradient(180deg, var(--m1), var(--m2)); }
.qp-b.qp-dim { opacity: .35; filter: saturate(.3); }
.qp-foot { font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, .75); }
.qp-mc { position: relative; width: 264px; height: 220px; margin-top: 4px; perspective: 600px; }
.qp-mb { position: absolute; left: 82px; top: 52px; width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 52px; color: #fff; z-index: 2;
  background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, .35), rgba(20, 8, 60, .85) 62%); box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 0 0 7px rgba(var(--wrgb), .6), 0 0 40px rgba(var(--wrgb), .8); text-shadow: 0 4px 10px rgba(0, 0, 0, .6); }
.qp-mq { position: absolute; left: 0; top: 0; font-weight: 900; font-size: 34px; line-height: 1; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 0 12px rgba(var(--wrgb), .9); will-change: transform; }
.qp-ans { padding: 10px 14px; border-radius: 8px; background: linear-gradient(180deg, var(--w), var(--wd)); font-weight: 900; font-size: 20px; box-shadow: 0 0 24px rgba(var(--wrgb), .55); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-sizing: border-box; }
.qp-rk { font-weight: 900; font-size: 96px; line-height: .9; letter-spacing: -.04em; margin-top: 70px; }
.qp-up { font-weight: 900; font-size: 16px; padding: 6px 10px; border-radius: 5px; background: linear-gradient(180deg, #9A6CFF, #5B2CC9); }
.qp.qp-pause { min-height: 0; height: 330px; margin-bottom: 14px; }
.qp-pause .qp-lg { margin-top: 30px; }
@media (prefers-reduced-motion: reduce) { .qp-v { animation: none; } }
