/* ZEN-TECH premium HTML5 video controls. No effects on paid experiences, payments, or guide. */
.zen-video-pair__card{display:flex;flex-direction:column;gap:0}
.zen-video-pair__stage{
  position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;
  width:100%;height:min(400px,35vw);min-height:315px;
  border:1px solid rgba(225,185,113,.46);border-radius:16px;background:#040d19;
}
.zen-video-enhanced .zen-video-pair__stage{cursor:zoom-in}
.zen-video-enhanced .zen-video-pair__stage:focus-visible{outline:3px solid #f4c978;outline-offset:3px}
.zen-video-pair__stage:before{
  content:"";position:absolute;inset:-12%;z-index:-1;
  background-image:var(--zen-video-poster);background-position:center;background-size:cover;
  filter:blur(22px) brightness(.32);opacity:.66;transform:scale(1.08);
}
.zen-video-pair .zen-video-pair__media{
  display:block;box-sizing:border-box;width:100%;height:100%;max-height:none;
  margin:0;background:transparent;aspect-ratio:auto;object-fit:contain;border:0;border-radius:0;
}
.zen-video-pair__controls{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}
.zen-video-enhanced .zen-video-pair__controls{display:grid}
.zen-video-pair__controls button{
  cursor:pointer;min-height:47px;padding:11px 8px;border-radius:9px;
  border:1px solid #cd9f5a;background:#081523;color:#fff0d5;
  font-size:12px;font-weight:800;letter-spacing:.07em;touch-action:manipulation;
}
.zen-video-pair__controls button[data-zen-video="play"]{background:#f1bf69;color:#081523;border-color:#f1bf69}
.zen-video-pair__controls button:hover{border-color:#fff1d0;filter:brightness(1.1)}
.zen-video-pair__controls button:disabled{opacity:.55;cursor:not-allowed;background:#091829;color:#e6d8c3}
.zen-video-pair__controls button:focus-visible,
.zen-video-expanded button:focus-visible{outline:3px solid #f4c978;outline-offset:3px}
.zen-video-expanded{
  position:fixed;inset:0;box-sizing:border-box;width:min(96vw,1000px);max-width:none;
  max-height:min(96dvh,1000px);margin:auto;padding:16px;
  border:1px solid #d6a95d;border-radius:18px;
  background:#06101e;color:#fff5e9;box-shadow:0 15px 90px rgba(0,0,0,.77);
}
.zen-video-expanded::backdrop{background:rgba(0,5,14,.92);backdrop-filter:blur(10px)}
.zen-video-expanded__header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.zen-video-expanded__header strong{font-size:14px;letter-spacing:.1em;color:#f6cc83}
.zen-video-expanded__header button{min-height:44px;border:1px solid #f1bf69;border-radius:9px;background:#101e30;color:#fff;padding:10px 14px;cursor:pointer}
.zen-video-expanded__canvas{
  display:flex;align-items:center;justify-content:center;width:100%;height:min(76dvh,810px);
  max-height:calc(96dvh - 125px);background:#000;border-radius:11px;overflow:hidden;
}
.zen-video-expanded__canvas video{display:block;height:100%;width:100%;object-fit:contain;background:#000}
.zen-video-expanded__foot{text-align:center;color:#b9c9d8;font-size:12px;margin:12px 0 0}
@media(max-width:700px){
  .zen-video-pair__stage{height:min(69svh,570px);min-height:335px}
  .zen-video-pair__controls{gap:7px}
  .zen-video-pair__controls button{font-size:11px;padding:9px 4px;min-height:48px}
  .zen-video-expanded{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0;padding:calc(8px + env(safe-area-inset-top)) 10px calc(8px + env(safe-area-inset-bottom))}
  .zen-video-expanded__canvas{height:calc(100dvh - 152px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:none}
}
@media(prefers-reduced-motion:reduce){.zen-video-pair__controls button{transition:none}}

/* V5: new landscape method video. Preserve full 16:9 composition without cropping on every device. */
.zen-video-pair__stage--method{height:auto;min-height:0;aspect-ratio:16/9}
.zen-video-pair__stage--method .zen-video-pair__media{width:100%;height:100%;object-fit:contain}
@media(max-width:700px){.zen-video-pair__stage--method{height:auto;min-height:0;aspect-ratio:16/9}}
