/* Video «Cómo crear tu Gamepass» en success.html: portada grande + ventana, y guía de precio compacta. */
.qtv{box-sizing:border-box;text-align:left;font-family:inherit}
.qtv button,.qtv-modal button{font-family:inherit;cursor:pointer}
.qtv button:focus-visible,.qtv-modal button:focus-visible{outline:2px solid #ceb1ff;outline-offset:3px}

/* portada grande */
.qtv-thumb{margin:.2rem 0 .75rem}
.qtv-thumb button{display:block;width:100%;padding:0;border:1px solid #b799ef40;border-radius:14px;overflow:hidden;background:#b799ef0d;color:#f5f2fa;text-align:left;transition:border-color .2s,background .2s}
.qtv-thumb button:hover{border-color:#b799ef80;background:#b799ef1a}
.qtv-pic{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;background:#0b0a10 center/cover no-repeat}
.qtv-pic::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,#0b0a1099)}
.qtv-play{position:relative;z-index:1;display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#fff;color:#7c3aed;box-shadow:0 8px 26px #000a;transition:transform .2s}
.qtv-play svg{width:26px;height:26px;margin-left:3px;fill:currentColor}
.qtv-thumb button:hover .qtv-play{transform:scale(1.07)}
.qtv-txt{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;padding:.7rem .9rem}
.qtv-txt b{font-size:.9rem;font-weight:600;line-height:1.3}
.qtv-txt small{flex-shrink:0;font-size:.76rem;color:#b4aabd}

/* guía de precio compacta cuando hay video (el video explica la configuración) */
.qtv-con-video .qgp-guide:not(.qgp-compact){padding:12px 14px;margin:0 0 12px;border-radius:12px}
.qtv-con-video .qgp-guide:not(.qgp-compact) .qgp-eyebrow{margin:0 0 6px;font-size:11px}
.qtv-con-video .qgp-guide:not(.qgp-compact) .qgp-amounts{margin-bottom:6px;gap:10px}
.qtv-con-video .qgp-guide:not(.qgp-compact) .qgp-amounts span{margin:0 0 2px;font-size:12px}
.qtv-con-video .qgp-guide:not(.qgp-compact) .qgp-amounts strong{font-size:22px}
.qtv-con-video .qgp-guide:not(.qgp-compact) .qgp-amounts small{font-size:12px}
.qtv-con-video .qgp-guide:not(.qgp-compact) .qgp-copy{font-size:12px;line-height:1.45}
.qtv-con-video .qgp-guide:not(.qgp-compact) .qgp-note{margin-top:3px;font-size:11.5px}
.qtv-con-video .qgp-guide:not(.qgp-compact) .qgp-help{display:none}

/* selector PC / Celular */
.qtv-tabs{display:inline-flex;padding:3px;border-radius:999px;background:#ffffff14;flex-shrink:0}
.qtv-tabs button{border:0;border-radius:999px;padding:.3rem .75rem;background:none;color:#c9c2d3;font-size:.75rem;font-weight:600}
.qtv-tabs button[aria-pressed="true"]{background:#fff;color:#121016}

/* ventana */
html.qtv-lock{overflow:hidden}
.qtv-modal{position:fixed;inset:0;z-index:10050;display:none;align-items:center;justify-content:center;padding:16px;background:#06050acc;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.qtv-modal.open{display:flex}
.qtv-box{display:flex;flex-direction:column;gap:10px;width:min(1100px,100%);max-height:100%}
.qtv-head{display:flex;align-items:center;gap:12px;color:#fff;font-size:15px}
.qtv-head b{font-weight:700}
.qtv-head .qtv-tabs{margin-left:auto}
.qtv-close{width:36px;height:36px;border:0;border-radius:50%;background:#ffffff1a;color:#fff;font-size:22px;line-height:1}
.qtv-close:hover{background:#ffffff2e}
.qtv-frame{border-radius:12px;overflow:hidden;background:#000}
.qtv-frame video{display:block;width:100%;height:100%;background:#000}
.qtv-modal .qtv-frame.qtv-pc{aspect-ratio:16/9;width:100%;max-height:calc(100dvh - 90px)}
.qtv-modal .qtv-frame.qtv-cel{aspect-ratio:9/16;height:calc(100dvh - 90px);max-width:100%;margin:0 auto}
@media (max-width:520px){
  .qtv-modal{padding:10px}
  .qtv-head b{font-size:14px}
  .qtv-play{width:54px;height:54px}
  .qtv-txt{flex-direction:column;gap:.15rem}
  .qtv-con-video .qgp-guide:not(.qgp-compact) .qgp-amounts strong{font-size:20px}
}
@media (prefers-reduced-motion:reduce){.qtv button,.qtv-play{transition:none}}
