/* Klipeza: de tekeningen van de vier modi, gedeeld door de voorkant (/) en de app (/app).
   Levi 23-11-2026: "maak ook animaties voor de andere dingen, dit is namelijk alleen editen, ik
   wil ook graag dat de rest komt als voorbeeld, van de 4". Wat hier staat is wat beide pagina's
   tonen: de kale clip die een short wordt (je eigen clip), de filmstrook met de bouwvakker (een
   video), de live stream met chat (Automate) en de show van de sneltoets. Alles is een
   tekening; zonder beweging (prefers-reduced-motion) staat de eindstand er. */

@keyframes rol-speel { from { background-position-x: 0%; } to { background-position-x: 100%; } }
@keyframes werk-puls { 50% { transform: scale(1.7); opacity: .35; } }

/* De lege telefoon laat zien wat er met je kale clip gebeurt (Levi 22-11-2026, zie app.html).
   Eén lus van 7 s: de clip komt liggend binnen met een kleine facecam in de hoek (0-20%), de
   facecam wordt groot bovenaan en het spel schuift eronder (20-34%), de hook valt op de naad
   (40%), de ondertitels poppen binnen (50-64%), even blijven staan en opnieuw. */
.av-demo { position: relative; flex: 1; width: 100%; min-height: 0; border-radius: 14px; overflow: hidden; }
.av-demo i { position: absolute; display: block; }
.ad-spel {
  border-radius: 6px;
  background:
    radial-gradient(circle at 70% 60%, rgb(242 240 234 / 30%) 0 7%, transparent 8%),
    linear-gradient(160deg, #3a3d44 0 40%, #23252a 40% 100%);
  animation: ad-spel 7s var(--ease) infinite both;
}
.ad-cam {
  border-radius: 5px; background-color: #5a1325;
  background-image:
    radial-gradient(circle at 50% 42%, #e7d6c9 0 17%, transparent 18%),
    radial-gradient(ellipse at 50% 100%, #2b0a13 0 40%, transparent 41%);
  box-shadow: 0 0 0 1.5px rgb(242 240 234 / 55%);
  animation: ad-cam 7s var(--ease) infinite both;
}
@keyframes ad-spel {
  0%, 20% { top: 34%; left: 0; width: 100%; height: 30%; }
  34%, 92% { top: 50%; left: 0; width: 100%; height: 50%; }
  100% { top: 34%; left: 0; width: 100%; height: 30%; }
}
@keyframes ad-cam {
  0%, 20% { top: 37%; left: 4%; width: 26%; height: 11%; }
  34%, 92% { top: 0; left: 0; width: 100%; height: 50%; }
  100% { top: 37%; left: 4%; width: 26%; height: 11%; }
}
.ad-hook {
  top: 44%; left: 10%; right: 10%; height: 12%; border-radius: 7px; background: var(--ivoor);
  box-shadow: 0 6px 14px rgb(0 0 0 / 45%);
  animation: ad-hook 7s var(--ease) infinite both;
}
.ad-hook::before, .ad-hook::after { content: ""; position: absolute; left: 12%; height: 18%; border-radius: 3px; background: var(--bordeaux); }
.ad-hook::before { top: 26%; right: 12%; }
.ad-hook::after { top: 56%; right: 34%; }
@keyframes ad-hook {
  0%, 38% { opacity: 0; transform: translateY(-46px) scale(.8); }
  43% { opacity: 1; transform: translateY(0) scale(1.06); }
  47%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
.ad-tekst { position: absolute; left: 0; right: 0; bottom: 14%; display: flex; justify-content: center; gap: 5%; }
.ad-tekst i {
  position: static; width: 20%; height: 9px; border-radius: 3px; background: var(--ivoor);
  box-shadow: 0 0 0 2px #111214; animation: ad-woord 7s var(--ease) infinite both;
}
.ad-tekst i:nth-child(2) { width: 14%; background: #f5c518; animation-delay: .5s; }
.ad-tekst i:nth-child(3) { width: 24%; animation-delay: 1s; }
@keyframes ad-woord {
  0%, 48% { opacity: 0; transform: scale(.4); }
  52% { opacity: 1; transform: scale(1.25); }
  55%, 90% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}

.zie { display: grid; }
.zie[data-soort=""] { display: none; }
.zie-film, .zie-stream { display: grid; gap: 16px; }
.zie[data-soort="live"] .zie-film,
.zie[data-soort="video"] .zie-stream { display: none; }

/* De korte clip die eruit komt: ivoor, met de hook bovenaan en twee regels ondertitel. */
.zie-short, .zs-short {
  position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 12px; background: var(--ivoor);
  box-shadow: 4px 4px 0 rgb(20 2 8 / 60%);
}
.zie-short::before, .zs-short::before { content: ""; position: absolute; top: 11%; left: 14%; right: 14%; height: 8%; border-radius: 3px; background: var(--bordeaux); }
.zie-short::after, .zs-short::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: 13%; height: 11%; border-radius: 3px; opacity: .82;
  background: linear-gradient(var(--inkt) 0 38%, transparent 38% 62%, var(--inkt) 62% 100%);
}

/* Echte clips in de beelden (Levi 23-11-2026: "kan dat ook echte clips zijn"; app.js:
   vulEchteClips). Een echte clip heeft zijn eigen hook en ondertitels: de getekende vallen weg. */
.zie-short, .zs-short { overflow: hidden; }
.zie-short video, .zs-short video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.zie-short.echt::before, .zie-short.echt::after, .zs-short.echt::before, .zs-short.echt::after { content: none; }
.zie-short.echt, .zs-short.echt { background: #000; box-shadow: 0 0 0 2px var(--ivoor), 5px 5px 0 rgb(20 2 8 / 60%); }

/* From a video: de filmstrook. */
.zie-bron {
  position: relative; aspect-ratio: 16 / 7; border-radius: 18px; overflow: hidden; background: rgb(20 2 8 / 55%);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 60px -36px rgb(20 2 8 / 90%);
}
.zie-merk {
  position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 10px; border-radius: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; background: rgb(242 240 234 / 14%); color: var(--ivoor);
}
.zf-strook {
  position: absolute; left: 0; right: 0; top: 54%; height: 54%; transform: translateY(-50%);
  display: flex; gap: 5px; padding: 13px 10px; background-color: #151517;
  /* de gaatjes van een filmstrook, boven en onder */
  background-image: repeating-linear-gradient(90deg, rgb(242 240 234 / 50%) 0 6px, transparent 6px 14px),
    repeating-linear-gradient(90deg, rgb(242 240 234 / 50%) 0 6px, transparent 6px 14px);
  background-size: 100% 4px, 100% 4px; background-position: 0 4px, 0 calc(100% - 4px); background-repeat: no-repeat;
}
.zf-beeld { flex: 1; border-radius: 3px; background: linear-gradient(160deg, #3d4048, #25272c); }
.zf-beeld:nth-child(3n+2) { background: linear-gradient(200deg, #55303b, #2a1a20); }
.zf-beeld:nth-child(3n) { background: linear-gradient(140deg, #34414a, #1f2529); }
.zf-moment { animation: zf-moment 7s var(--ease) var(--wanneer, 0s) infinite backwards; }
@keyframes zf-moment {
  0% { box-shadow: 0 0 0 0 transparent; transform: none; }
  4% { box-shadow: 0 0 0 3px var(--ivoor); transform: scale(1.14); }
  10%, 45% { box-shadow: 0 0 0 3px var(--ivoor); transform: scale(1.06); }
  60%, 100% { box-shadow: 0 0 0 0 transparent; transform: none; }
}
.zie-kop {
  position: absolute; z-index: 1; top: 0; bottom: 0; left: 4%; width: 2px; background: var(--ivoor);
  box-shadow: 0 0 16px 2px rgb(242 240 234 / 45%); animation: zie-veeg 7s linear infinite;
}
@keyframes zie-veeg { from { left: 4%; } to { left: 96%; } }
.zf-onder { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: end; gap: 14px; }
.zf-bever { display: block; width: 112px; height: 112px; filter: drop-shadow(0 10px 14px rgb(20 2 8 / 55%)); }
.zf-zaag {
  display: block; width: 100%; height: 100%; background: url("/bever/build-saw.webp") no-repeat 0 0 / 1400% 100%;
  animation: rol-speel 1.1667s steps(14, jump-none) infinite;
}
.zie-shorts { display: grid; grid-template-columns: repeat(3, minmax(0, 96px)); justify-content: end; gap: 12px; }
.zie-short { animation: zie-pop 7s var(--ease) var(--wanneer, 0s) infinite backwards; }
@keyframes zie-pop {
  0% { opacity: 0; transform: translateY(-34px) scale(.7); }
  5% { opacity: 1; transform: translateY(0) scale(1.07); }
  9%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

/* Automate: een live stream met chat en een stapel shorts. Eén lus van 8 s; chat ontploft op
   22%, 52% en 82%, en op die momenten piekt de meter, flitst het beeld en vliegt er een short op
   de stapel. */
.zie-stream { grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 20px; }
.zs-scherm {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border-radius: 18px; overflow: hidden;
  background: #0f0f11; box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 60px -36px rgb(20 2 8 / 90%);
}
.zs-beeld {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(#2b3240 0 58%, #22252a 58% 100%);
}
.zs-live {
  position: absolute; z-index: 2; top: 10px; left: 10px; display: flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  background: var(--ivoor); color: var(--bordeaux);
}
.zs-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bordeaux); animation: werk-puls 1.4s var(--ease) infinite; }
.zs-held {
  position: absolute; bottom: 30%; left: 18%; width: 9%; aspect-ratio: 1 / 1.5; border-radius: 6px 6px 3px 3px;
  background: var(--ivoor); animation: zs-loop 2.2s ease-in-out infinite alternate;
}
@keyframes zs-loop { to { transform: translateX(190%); } }
.zs-cam {
  position: absolute; right: 8px; bottom: 8px; width: 34%; aspect-ratio: 4 / 3; border-radius: 6px;
  background-color: #5a1325;
  background-image: radial-gradient(circle at 50% 42%, #e7d6c9 0 17%, transparent 18%),
    radial-gradient(ellipse at 50% 100%, #2b0a13 0 40%, transparent 41%);
  box-shadow: 0 0 0 1.5px rgb(242 240 234 / 55%);
}
.zs-flits { position: absolute; inset: 0; box-shadow: inset 0 0 0 4px var(--ivoor); opacity: 0; animation: zs-flits 8s linear infinite; }
@keyframes zs-flits {
  0%, 20%, 27%, 50%, 57%, 80%, 87%, 100% { opacity: 0; }
  22%, 52%, 82% { opacity: 1; }
}
.zs-chat {
  position: relative; overflow: hidden; padding: 0 10px; background: #18181b;
  box-shadow: 1px 0 0 rgb(242 240 234 / 10%) inset;
  -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%);
}
/* Twee keer dezelfde regels onder elkaar: een halve rol omhoog is precies rond. De rol ligt los
   in het vak, zodat het streambeeld de hoogte bepaalt en niet de chat. */
.zs-rol { position: absolute; top: 0; left: 10px; right: 10px; animation: zs-rol 6s linear infinite; }
@keyframes zs-rol { to { transform: translateY(-50%); } }
.zs-regel {
  display: flex; align-items: center; gap: 6px; margin-bottom: 7px; font-size: 11.5px; font-weight: 600;
  line-height: 1.3; color: rgb(242 240 234 / 82%); white-space: nowrap;
}
.zs-regel i { flex: none; width: 22px; height: 6px; border-radius: 3px; background: #8fb8de; }
.zs-regel:nth-child(4n+2) i { background: #e6a15c; }
.zs-regel:nth-child(4n+3) i { background: #b49be8; }
.zs-regel:nth-child(4n) i { background: #7fcf9c; }
.zs-regel.zs-clip { color: var(--ivoor); font-weight: 800; }
.zs-meter {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #141416;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgb(242 240 234 / 62%);
}
.zs-meter i { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgb(242 240 234 / 12%); overflow: hidden; }
.zs-meter i::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 96%; border-radius: 3px; background: var(--ivoor);
  animation: zs-meter 8s var(--ease) infinite;
}
@keyframes zs-meter {
  0%, 100% { width: 18%; }
  12% { width: 30%; } 20% { width: 34%; } 22% { width: 98%; } 28% { width: 30%; }
  40% { width: 22%; } 50% { width: 30%; } 52% { width: 92%; } 58% { width: 26%; }
  70% { width: 32%; } 80% { width: 28%; } 82% { width: 100%; } 88% { width: 30%; }
}
.zs-stapel { position: relative; height: 222px; }
.zs-short {
  position: absolute; top: var(--y, 0); left: 0; width: 100%;
  transform: translateX(var(--x)) rotate(var(--r));
  animation: zs-in 8s var(--ease) var(--wanneer, 0s) infinite backwards;
}
.zs-short:nth-child(1) { --wanneer: 1.76s; --x: -6px; --r: -7deg; }
.zs-short:nth-child(2) { --wanneer: 4.16s; --x: 4px; --r: 4deg; --y: 6px; }
.zs-short:nth-child(3) { --wanneer: 6.56s; --x: 0px; --r: -2deg; --y: 12px; }
@keyframes zs-in {
  0% { opacity: 0; transform: translateX(-150px) rotate(-24deg) scale(.55); }
  6% { opacity: 1; transform: translateX(var(--x)) rotate(var(--r)) scale(1.08); }
  10%, 84% { opacity: 1; transform: translateX(var(--x)) rotate(var(--r)); }
  94%, 100% { opacity: 0; transform: translateX(var(--x)) rotate(var(--r)); }
}

/* De show van de sneltoets (Levi 23-11-2026: "de hotkey page is heel basic, doe een heel show off
   hoe het werkt"). Eén lus van 10 s:
   0-25% je speelt, de balk houdt de laatste minuut bij; 25% er gebeurt iets (het beeld schudt);
   35% F8 gaat omlaag; 38-50% de minuut wordt vastgepakt; 46-56% hij vliegt naar de telefoon;
   55-66% de facecam groot bovenaan, het spel eronder; 70% de hook; 74-78% de ondertitels;
   86% in je bibliotheek. De zin eronder loopt mee. De beginstand van elk deel is de eindstand,
   zodat het zonder beweging (prefers-reduced-motion) af is. */
.toets-show {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.5fr) 128px minmax(0, .6fr);
  grid-template-areas: "scherm toets telefoon" "zinnen zinnen zinnen";
  align-items: center; gap: 28px clamp(16px, 2.6vw, 36px);
  padding: clamp(22px, 3vw, 38px); border-radius: 26px; background: rgb(20 2 8 / 42%);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}
.ts-links { grid-area: scherm; display: grid; gap: 14px; }
.ts-scherm {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(ellipse 30% 22% at 22% 60%, #39414f 0 98%, transparent 100%),
    radial-gradient(ellipse 36% 26% at 70% 62%, #343b48 0 98%, transparent 100%),
    linear-gradient(#2d3442 0 60%, #24272c 60% 100%);
  box-shadow: 0 0 0 6px #0a0b0d, 0 0 0 7px rgb(242 240 234 / 12%), 0 30px 60px -30px rgb(10 2 5 / 90%);
  animation: ts-schud 10s linear infinite;
}
@keyframes ts-schud {
  0%, 24.5%, 31%, 100% { transform: none; }
  25.5% { transform: translate(-6px, 3px) rotate(-.6deg); }
  26.5% { transform: translate(5px, -3px) rotate(.5deg); }
  27.5% { transform: translate(-4px, 2px); }
  28.5% { transform: translate(3px, -1px); }
}
.ts-rec {
  position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700;
  background: rgb(10 11 13 / 72%); color: var(--ivoor);
}
.ts-rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ivoor); animation: werk-puls 1.4s var(--ease) infinite; }
.ts-held {
  position: absolute; bottom: 40%; left: 14%; width: 7%; aspect-ratio: 1 / 1.5; border-radius: 7px 7px 3px 3px;
  background: var(--ivoor); animation: ts-held 10s ease-in-out infinite;
}
@keyframes ts-held {
  0%, 100% { transform: none; }
  12% { transform: translateX(220%); }
  22% { transform: translateX(380%); }
  25% { transform: translate(400%, -60%); }
  30%, 60% { transform: translate(430%, 0); }
  80% { transform: translateX(160%); }
}
/* De tegenstander komt van rechts en raakt je: dat is het moment. */
.ts-vijand {
  position: absolute; bottom: 40%; left: 88%; width: 7%; aspect-ratio: 1; border-radius: 50% 50% 4px 4px;
  background: #b8343f; animation: ts-vijand 10s var(--ease) infinite;
}
@keyframes ts-vijand {
  0% { left: 88%; opacity: 1; transform: none; }
  24% { left: 46%; opacity: 1; transform: none; }
  29% { left: 54%; opacity: 1; transform: translateY(-170%) rotate(220deg); }
  33%, 95% { left: 60%; opacity: 0; transform: translateY(-220%) rotate(300deg); }
  96% { left: 88%; opacity: 0; transform: none; }
  100% { left: 88%; opacity: 1; transform: none; }
}
/* Je facecam, in de hoek van het spel (op de telefoon komt hij groot bovenaan). */
.ts-webcam {
  position: absolute; right: 12px; bottom: 12px; width: 22%; aspect-ratio: 4 / 3; border-radius: 7px;
  background-color: #5a1325;
  background-image: radial-gradient(circle at 50% 42%, #e7d6c9 0 17%, transparent 18%), radial-gradient(ellipse at 50% 100%, #2b0a13 0 40%, transparent 41%);
  box-shadow: 0 0 0 2px rgb(242 240 234 / 60%);
}
.ts-boem {
  position: absolute; left: 47%; bottom: 36%; width: 26%; aspect-ratio: 1; margin-left: -13%; opacity: 0;
  background: var(--ivoor);
  clip-path: polygon(50% 0, 61% 33%, 98% 24%, 70% 52%, 92% 84%, 56% 70%, 44% 100%, 36% 68%, 4% 80%, 28% 52%, 2% 22%, 38% 34%);
  animation: ts-boem 10s var(--ease) infinite;
}
@keyframes ts-boem {
  0%, 24% { opacity: 0; transform: scale(.2) rotate(-20deg); }
  27% { opacity: 1; transform: scale(1.15) rotate(6deg); }
  33% { opacity: 1; transform: scale(1) rotate(0); }
  40%, 100% { opacity: 0; transform: scale(1.3); }
}
.ts-buffer {
  position: relative; display: flex; align-items: center; height: 42px; padding: 0 14px; border-radius: 11px;
  overflow: hidden; background: #141416; box-shadow: 0 0 0 1px rgb(242 240 234 / 10%) inset;
}
.ts-tikken {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgb(242 240 234 / 22%) 0 2px, transparent 2px 12px) 0 50% / 100% 46% no-repeat;
  animation: ts-tikken .9s linear infinite;
}
@keyframes ts-tikken { to { background-position: -12px 50%; } }
.ts-buffer-naam {
  position: relative; padding: 3px 8px; border-radius: 6px; background: #141416; color: rgb(242 240 234 / 70%);
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.ts-haak {
  position: absolute; inset: 3px; border-radius: 9px; box-shadow: 0 0 0 2.5px var(--ivoor) inset;
  background: rgb(242 240 234 / 12%); opacity: 0; animation: ts-haak 10s var(--ease) infinite;
}
@keyframes ts-haak {
  0%, 37% { opacity: 0; transform: scaleX(1.06); }
  41%, 52% { opacity: 1; transform: none; }
  58%, 100% { opacity: 0; transform: none; }
}
.ts-bewaard {
  position: absolute; right: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ivoor); color: var(--bordeaux);
  font-size: 11.5px; font-weight: 800; opacity: 0; animation: ts-bewaard 10s var(--ease) infinite;
}
@keyframes ts-bewaard {
  0%, 40% { opacity: 0; transform: scale(.5); }
  43% { opacity: 1; transform: scale(1.12); }
  46%, 54% { opacity: 1; transform: none; }
  58%, 100% { opacity: 0; }
}
.ts-midden { grid-area: toets; display: grid; justify-items: center; gap: 12px; }
.ts-toets {
  position: relative; display: grid; place-items: center; width: 112px; height: 98px; border-radius: 18px;
  background: linear-gradient(#2b2c31, #1f2024); color: var(--ivoor); font-size: 30px; font-weight: 800;
  box-shadow: 0 0 0 1px rgb(242 240 234 / 14%) inset, 0 9px 0 #0b0c0e, 0 14px 24px rgb(0 0 0 / 45%);
  animation: ts-druk 10s var(--ease) infinite;
}
@keyframes ts-druk {
  0%, 33%, 40%, 100% { transform: none; box-shadow: 0 0 0 1px rgb(242 240 234 / 14%) inset, 0 9px 0 #0b0c0e, 0 14px 24px rgb(0 0 0 / 45%); }
  35%, 37% { transform: translateY(8px); box-shadow: 0 0 0 1px rgb(242 240 234 / 30%) inset, 0 1px 0 #0b0c0e, 0 3px 8px rgb(0 0 0 / 45%); }
}
.ts-toets::after {
  content: ""; position: absolute; inset: -6px; border-radius: 22px; box-shadow: 0 0 0 3px var(--ivoor);
  opacity: 0; animation: ts-ring 10s var(--ease) infinite;
}
@keyframes ts-ring {
  0%, 34% { opacity: 0; transform: scale(.9); }
  36% { opacity: 1; transform: scale(1); }
  46%, 100% { opacity: 0; transform: scale(1.5); }
}
.ts-toets-naam { color: rgb(242 240 234 / 66%); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ts-rechts { grid-area: telefoon; display: grid; justify-items: center; }
.ts-telefoon {
  position: relative; width: 100%; max-width: 196px; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden;
  background: #000; box-shadow: 0 0 0 6px #0a0b0d, 0 0 0 7px rgb(242 240 234 / 12%), 0 30px 60px -30px rgb(10 2 5 / 90%);
}
.ts-telefoon i { position: absolute; display: block; }
.ts-spel {
  top: 50%; left: 0; width: 100%; height: 50%;
  background: radial-gradient(circle at 70% 60%, rgb(242 240 234 / 30%) 0 7%, transparent 8%), linear-gradient(160deg, #3a3d44 0 40%, #23252a 40% 100%);
  animation: ts-spel 10s var(--ease) infinite;
}
.ts-cam {
  top: 0; left: 0; width: 100%; height: 50%; background-color: #5a1325;
  background-image: radial-gradient(circle at 50% 42%, #e7d6c9 0 17%, transparent 18%), radial-gradient(ellipse at 50% 100%, #2b0a13 0 40%, transparent 41%);
  box-shadow: 0 0 0 1.5px rgb(242 240 234 / 55%);
  animation: ts-cam 10s var(--ease) infinite;
}
@keyframes ts-spel {
  0%, 52% { opacity: 0; top: 37%; left: 6%; width: 88%; height: 26%; }
  56%, 59% { opacity: 1; top: 37%; left: 6%; width: 88%; height: 26%; }
  65%, 96% { opacity: 1; top: 50%; left: 0; width: 100%; height: 50%; }
  100% { opacity: 0; top: 50%; left: 0; width: 100%; height: 50%; }
}
@keyframes ts-cam {
  0%, 52% { opacity: 0; top: 39%; left: 10%; width: 24%; height: 9%; }
  56%, 59% { opacity: 1; top: 39%; left: 10%; width: 24%; height: 9%; }
  65%, 96% { opacity: 1; top: 0; left: 0; width: 100%; height: 50%; }
  100% { opacity: 0; top: 0; left: 0; width: 100%; height: 50%; }
}
.ts-hook {
  top: 44%; left: 9%; right: 9%; height: 11%; border-radius: 8px; background: var(--ivoor); box-shadow: 0 6px 14px rgb(0 0 0 / 45%);
  animation: ts-hook 10s var(--ease) infinite;
}
.ts-hook::before, .ts-hook::after { content: ""; position: absolute; left: 12%; height: 18%; border-radius: 3px; background: var(--bordeaux); }
.ts-hook::before { top: 26%; right: 12%; }
.ts-hook::after { top: 56%; right: 34%; }
@keyframes ts-hook {
  0%, 67% { opacity: 0; transform: translateY(-50px) scale(.8); }
  71% { opacity: 1; transform: translateY(0) scale(1.07); }
  74%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
.ts-tekst { position: absolute; left: 0; right: 0; bottom: 13%; display: flex; justify-content: center; gap: 5%; }
.ts-tekst i { position: static; width: 20%; height: 9px; border-radius: 3px; background: var(--ivoor); box-shadow: 0 0 0 2px #111214; animation: ts-woord 10s var(--ease) infinite; }
.ts-tekst i:nth-child(2) { width: 14%; background: #f5c518; animation-delay: .25s; }
.ts-tekst i:nth-child(3) { width: 24%; animation-delay: .5s; }
@keyframes ts-woord {
  0%, 73% { opacity: 0; transform: scale(.4); }
  76% { opacity: 1; transform: scale(1.25); }
  78%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
.ts-bieb {
  position: absolute; z-index: 2; left: 50%; top: 4%; display: flex; align-items: center; gap: 5px; padding: 6px 10px; white-space: nowrap;
  border-radius: 999px; background: var(--ivoor); color: var(--bordeaux); font-size: 11.5px; font-weight: 800;
  box-shadow: 0 8px 18px rgb(0 0 0 / 40%); transform: translateX(-50%);
  animation: ts-bieb 10s var(--ease) infinite;
}
/* Echte clip in de telefoon van de sneltoets-show: vervangt de getekende vakken, zelfde ritme. */
.ts-telefoon.echt .ts-spel, .ts-telefoon.echt .ts-cam,
.ts-telefoon.echt .ts-hook, .ts-telefoon.echt .ts-tekst { display: none; }
.ts-telefoon.echt video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000;
  opacity: 0; animation: ts-echt 10s var(--ease) infinite;
}
@keyframes ts-echt {
  0%, 52% { opacity: 0; transform: scale(.86); }
  58%, 96% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}
.ts-bieb svg { width: 13px; height: 13px; }
@keyframes ts-bieb {
  0%, 84% { opacity: 0; transform: translate(-50%, -10px) scale(.6); }
  87% { opacity: 1; transform: translate(-50%, 0) scale(1.1); }
  90%, 97% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}
/* De minuut vliegt van de balk naar de telefoon (alleen als ze naast elkaar staan). */
.ts-vlucht {
  position: absolute; left: 26%; top: 58%; width: 64px; height: 36px; margin: -18px 0 0 -32px; border-radius: 7px;
  background: linear-gradient(160deg, #3a3d44 0 40%, #23252a 40% 100%); box-shadow: 0 0 0 2.5px var(--ivoor), 0 10px 24px rgb(0 0 0 / 50%);
  opacity: 0; animation: ts-vlucht 10s var(--ease) infinite;
}
@keyframes ts-vlucht {
  0%, 45% { opacity: 0; left: 26%; top: 58%; transform: scale(.7); }
  47% { opacity: 1; left: 26%; top: 58%; transform: scale(1.1); }
  54% { opacity: 1; left: 84%; top: 40%; transform: scale(.8) rotate(8deg); }
  56%, 100% { opacity: 0; left: 84%; top: 40%; transform: scale(.4); }
}
.ts-zinnen { grid-area: zinnen; position: relative; height: 1.3em; margin: 0; text-align: center; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; font-stretch: 112%; color: var(--ivoor); }
.ts-zin { position: absolute; inset: 0; animation: 10s linear infinite; }
.ts-zin-1 { animation-name: ts-zin-1; } .ts-zin-2 { animation-name: ts-zin-2; } .ts-zin-3 { animation-name: ts-zin-3; }
.ts-zin-4 { animation-name: ts-zin-4; } .ts-zin-5 { animation-name: ts-zin-5; } .ts-zin-6 { animation-name: ts-zin-6; }
@keyframes ts-zin-1 { 0% { opacity: 0; transform: translateY(8px); } 2%, 22% { opacity: 1; transform: none; } 24%, 100% { opacity: 0; } }
@keyframes ts-zin-2 { 0%, 24% { opacity: 0; transform: translateY(8px); } 26%, 32% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; } }
@keyframes ts-zin-3 { 0%, 34% { opacity: 0; transform: translateY(8px); } 36%, 42% { opacity: 1; transform: none; } 44%, 100% { opacity: 0; } }
@keyframes ts-zin-4 { 0%, 44% { opacity: 0; transform: translateY(8px); } 46%, 52% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; } }
@keyframes ts-zin-5 { 0%, 54% { opacity: 0; transform: translateY(8px); } 56%, 82% { opacity: 1; transform: none; } 84%, 100% { opacity: 0; } }
@keyframes ts-zin-6 { 0%, 84% { opacity: 0; transform: translateY(8px); } 86%, 98% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 860px) {
  .toets-show {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "zinnen" "scherm" "toets" "telefoon"; gap: 22px;
  }
  .ts-zinnen { font-size: 20px; height: 2.6em; }
  .ts-toets { width: 92px; height: 80px; font-size: 25px; }
  .ts-telefoon { max-width: 170px; }
  .ts-vlucht { display: none; }
}

@media (max-width: 900px) {
  .zie { max-width: 480px; }
}
/* Telefoon: de beelden blijven laag. */
@media (max-width: 700px) {
  .zie { max-width: none; }
  .zie-bron { aspect-ratio: 16 / 8; }
  .zf-onder { grid-template-columns: 92px minmax(0, 1fr); }
  .zf-bever { width: 92px; height: 92px; }
  .zie-shorts { grid-template-columns: repeat(3, minmax(0, 58px)); gap: 8px; }
  .zie-short, .zs-short { border-radius: 8px; box-shadow: 3px 3px 0 rgb(20 2 8 / 60%); }
  .zie-stream { grid-template-columns: minmax(0, 1fr) 64px; gap: 12px; }
  .zs-stapel { height: 116px; }
  .zs-regel { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Stil: de eindstand, de facecam groot bovenaan met alles erop. */
  .ad-spel, .ad-cam, .ad-hook, .ad-tekst i { animation: none; }
  .ad-spel { top: 50%; left: 0; width: 100%; height: 50%; }
  .ad-cam { top: 0; left: 0; width: 100%; height: 50%; }
  .zie-kop { animation: none; left: 62%; }
  .zie-short, .zs-short, .zf-moment, .zs-rol, .zs-flits, .zs-held, .zs-live::before, .zs-meter i::after { animation: none; }
  .zf-zaag { animation: none; background-position-x: 0; }
  .toets-show *, .toets-show *::before, .toets-show *::after { animation: none !important; }
  .ts-telefoon.echt video { opacity: 1; transform: none; }
  .ts-boem, .ts-haak, .ts-bewaard, .ts-vlucht { opacity: 0; }
  .ts-zinnen { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 17px; }
  .ts-zin { position: static; }
}
