/* ZESIVO WEB-013: video modal guidance separated from panel, cache-safe; site header, login and cards are untouched. */
.zs-video-dialog,.zs-video-dialog *{box-sizing:border-box}
.zs-video-dialog{
 width:min(850px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 24px);
 margin:auto;padding:0;border:0;border-radius:0;background:transparent;color:#f4f8ff;
 overflow:visible;position:fixed;inset:0;z-index:2000;
}
.zs-video-dialog:not([open]){display:none}
.zs-video-dialog::backdrop{
 background:rgba(0,8,23,.77);cursor:pointer;
 backdrop-filter:blur(7px) brightness(.66);
 -webkit-backdrop-filter:blur(7px) brightness(.66);
}
body.zs-video-open{overflow:hidden}
.zs-video-panel{
 padding:23px 24px 24px;border:1px solid #03c9f5;border-radius:22px;
 background:linear-gradient(135deg,#102a49 0%,#061b33 53%,#051527 100%);
 box-shadow:0 0 0 1px rgba(45,230,255,.13) inset,0 0 36px rgba(0,181,255,.3),0 25px 110px rgba(0,0,0,.8);
}
.zs-video-head{display:flex;align-items:center;gap:15px;margin-bottom:18px}
.zs-video-brand{object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 0 8px rgba(0,195,245,.25))}
.zs-video-text{flex:1;min-width:0}
.zs-video-text h2{font-size:clamp(23px,3.1vw,34px);line-height:1.13;letter-spacing:-.025em;margin:0 0 6px;font-weight:800;color:#f4f8ff}
.zs-video-text h2 em{font-style:normal;color:#32e5f0}
.zs-video-text p{font-size:13px;line-height:1.5;color:#c5d7eb;margin:0;max-width:640px}
/* On larger screens the X is intentionally absent: the backdrop and Escape close the dialog. */
.zs-video-close{display:none;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid rgba(121,185,230,.35);background:#132f4e;color:#f4f8ff;border-radius:12px;cursor:pointer;transition:background .2s,border-color .2s}
.zs-video-close:hover{background:#205477;border-color:#4be8ff}
.zs-video-close:focus-visible,.zs-video-outside-hint:focus-visible{outline:3px solid #9efbff;outline-offset:4px}
.zs-video-player{border:1px solid rgba(80,194,250,.7);border-radius:16px;overflow:hidden;background:#000;box-shadow:0 5px 18px rgba(0,0,0,.3)}
.zs-video-player video{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:calc(100dvh - 220px);object-fit:contain;background:#02070d}
.zs-video-feedback{color:#f5cf95;font-size:13px;margin:12px 2px 0;line-height:1.4}
.zs-video-feedback[hidden]{display:none}
/* The closing guidance lives BELOW the cyan-framed panel on the dimmed backdrop.
   It is a proper accessible button with understated typographic treatment, not a browser default. */
.zs-video-outside-hint{
 display:flex;align-items:center;justify-content:center;gap:9px;
 margin:16px auto 0;padding:8px 18px;max-width:calc(100% - 24px);
 appearance:none;-webkit-appearance:none;background:transparent;border:0;border-radius:10px;box-shadow:none;
 color:#c9deec;font-family:Inter,"Segoe UI",Arial,Helvetica,sans-serif;
 font-size:14px;font-weight:500;line-height:1.5;letter-spacing:.015em;
 text-align:center;text-shadow:0 2px 12px rgba(0,0,0,.64);
 cursor:pointer;user-select:none;-webkit-user-select:none;
 transition:color .16s ease,text-shadow .16s ease;
}
.zs-video-hint-icon{display:block;flex:none;color:#7eeaf7;opacity:.8}
.zs-video-outside-hint:hover{color:#fff;text-shadow:0 0 12px rgba(104,234,255,.55)}
.zs-video-outside-hint:hover .zs-video-hint-icon{opacity:1}
.zs-video-outside-hint:active{color:#6fe5f7}
.zs-video-outside-hint::selection,.zs-video-outside-hint span::selection{background:transparent;color:inherit}
@media(max-width:640px){
 .zs-video-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 16px)}
 .zs-video-panel{padding:13px 13px 15px;border-radius:17px}
 .zs-video-head{gap:9px;margin-bottom:12px}
 .zs-video-brand{width:35px;height:35px}
 .zs-video-text h2{font-size:20px;margin-bottom:4px}
 .zs-video-text p{font-size:11px}
 .zs-video-close{display:grid;flex-basis:37px;width:37px;height:37px;border-radius:10px}
 .zs-video-player{border-radius:10px}
 .zs-video-player video{max-height:calc(100dvh - 165px)}
 .zs-video-outside-hint{display:none}
}
@media(max-height:450px){
 .zs-video-dialog{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .zs-video-panel{padding-block:9px}
 .zs-video-head{margin-bottom:8px}
 .zs-video-player video{max-height:calc(100dvh - 115px)}
 .zs-video-outside-hint{display:none}
 .zs-video-close{display:grid}
}
@media(prefers-reduced-motion:reduce){.zs-video-dialog *, .zs-video-dialog *::before, .zs-video-dialog *::after{transition:none!important}}
