/* Values from the FigCraft mockup: dark Replay background, Inter Tight titles, Roboto Condensed text. */
body:has(#otv) .page-header,body:has(#otv) .single-page-header{display:none}
body:has(#otv) .s-ct{padding-bottom:0}
body:has(#otv) .entry-content.rbct{margin-bottom:0}
html.otv-lock{overflow:hidden}
.otv{--bg:#09161E;--head:#143242;--o:#E57C00;--red:#D1130F;--m:#9FB0BC;--l:rgba(255,255,255,.12);--pad:max(80px,calc((100vw - 1280px)/2));
  width:100vw;margin-left:calc(50% - 50vw);background:var(--bg);color:#fff;font-family:"Roboto Condensed",Arial,Helvetica,sans-serif;font-size:16px;overflow-x:clip;-webkit-font-smoothing:antialiased}
.otv *,.otv *::before,.otv *::after{box-sizing:border-box}
.otv [hidden],.otv[hidden]{display:none!important}
.otv a,.otv a:hover{color:inherit;text-decoration:none!important}
.rbct .otv{margin-bottom:0}
.otv h1,.otv h2,.otv p{margin:0;padding:0;color:#fff}
.otv svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.otv button{font-family:inherit;cursor:pointer}
.otv :focus-visible{outline:2px solid #F6A13C;outline-offset:2px}

/* Shared */
.otv .otv-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 24px 0 20px;border:1px solid rgba(255,255,255,.3);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font:600 16px/20px "Roboto Condensed",Arial,sans-serif;white-space:nowrap;transition:background .15s}
.otv .otv-btn:hover{background:rgba(255,255,255,.18)}
.otv .otv-btn svg{font-size:18px}
.otv .otv-btn--primary{border-color:var(--o);background:var(--o)}
.otv .otv-btn--primary:hover{border-color:#CC6E00;background:#CC6E00}
.otv .otv-btn--wide{width:100%}
.otv-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:9px;background:var(--o);font:700 12px/15px "Roboto Condensed",Arial,sans-serif;letter-spacing:.4px;text-transform:uppercase;color:#fff}
.otv-pill--live{padding-left:9px;background:var(--red);font-size:14px;line-height:17px}
.otv-pill--live i{width:8px;height:8px;border-radius:50%;background:#fff;animation:otv-pulse 1.4s ease-in-out infinite}
@keyframes otv-pulse{50%{opacity:.35}}
.otv .otv-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.otv-meta__cat{font:700 13px/16px "Roboto Condensed",Arial,sans-serif;text-transform:uppercase;color:var(--o)}
.otv-meta__sep{width:1px;height:12px;background:rgba(255,255,255,.4)}
.otv-meta__date{font-size:14px;line-height:18px;color:#fff}

/* Featured video: sharp image, text on a solid panel */
.otv-hero{position:relative;aspect-ratio:1440/550;overflow:hidden}
.otv-hero__media,.otv-hero__media img{display:block;width:100%;height:100%}
.otv-hero__media img{object-fit:cover;object-position:top}
.otv-hero__panel{position:absolute;top:50%;left:var(--pad);display:flex;flex-direction:column;gap:16px;width:500px;padding:28px 28px 30px;border-radius:12px;background:var(--bg);transform:translateY(-50%)}
.otv .otv-status{display:flex;align-items:center;gap:8px;font-size:14px;line-height:18px;color:#D5DEE5}
.otv-status span{width:8px;height:8px;border-radius:50%;background:var(--m)}
.otv .otv-hero__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;font:900 36px/1.1 "Inter Tight",Arial,sans-serif;letter-spacing:-.6px;color:#fff}
.otv-hero__actions{display:flex;flex-wrap:wrap;gap:12px;padding-top:6px}

/* Live */
.otv-live{display:grid;grid-template-columns:minmax(0,1fr) 372px;gap:40px;padding:40px var(--pad) 44px}
.otv-live__player,.otv-modal__player{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#000}
.otv-live__player iframe,.otv-modal__player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.otv-live__side{display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding-top:4px}
.otv .otv-live__title{font:900 34px/1.1 "Inter Tight",Arial,sans-serif;letter-spacing:-.5px;color:#fff}
.otv .otv-live__sub{font-size:16px;line-height:22px;color:#D5DEE5}
.otv-mini{width:100%;padding-top:18px;border-top:1px solid var(--l)}
.otv .otv-mini__label{margin-bottom:12px;font:700 13px/16px "Roboto Condensed",Arial,sans-serif;letter-spacing:.4px;text-transform:uppercase;color:var(--o)}
.otv-mini__item{display:flex;gap:14px}
.otv-mini__item img{flex:none;width:132px;height:74px;border-radius:9px;object-fit:cover}
.otv-mini__item b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:700 14px/1.3 "Inter Tight",Arial,sans-serif;color:#fff}
.otv-mini__item small{display:block;margin-top:6px;font-size:13px;line-height:16px;color:var(--m)}

/* Rows */
.otv-rows{display:flex;flex-direction:column;gap:44px;padding:12px 0 56px}
.otv-row__head{display:flex;align-items:center;gap:10px;height:44px;padding:0 var(--pad);border-bottom:1px solid var(--l)}
.otv-row__head::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:#fff}
.otv .otv-row__title{flex:1;font:600 21px/24px "Roboto Condensed",Arial,sans-serif;letter-spacing:-.5px;color:#fff}
.otv .otv-row__all{display:flex;align-items:center;gap:8px;font:600 14px/18px "Roboto Condensed",Arial,sans-serif;color:var(--o)}
.otv-row__all svg{font-size:14px;stroke-width:2.5}
.otv-row__body{position:relative;margin-top:16px}
.otv-row__scroll{display:flex;gap:16px;padding:0 var(--pad);overflow-x:auto;scroll-padding:0 var(--pad);scroll-snap-type:x proximity;scrollbar-width:none}
.otv-row__scroll::-webkit-scrollbar{display:none}
.otv-card,.otv-tile{flex:none;width:296px;scroll-snap-align:start}
.otv-card{display:flex;flex-direction:column}
.otv-card__media{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:#0B2238}
.otv-card__media img{display:block;width:100%;height:100%;object-fit:cover}
.otv-card__media::after{content:"";position:absolute;inset:0;border:2px solid transparent;border-radius:9px;background:rgba(9,22,30,0);transition:background .15s,border-color .15s}
.otv-card__play{position:absolute;z-index:1;top:50%;left:50%;display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;background:var(--o);opacity:0;transition:opacity .15s;font-size:24px}
.otv-card:hover .otv-card__media::after,.otv-card:focus-visible .otv-card__media::after{border-color:var(--o);background:rgba(9,22,30,.45)}
.otv-card:hover .otv-card__play,.otv-card:focus-visible .otv-card__play{opacity:1}
.otv-card__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:10px;font:700 15px/1.3 "Inter Tight",Arial,sans-serif;color:#fff}
.otv-card__date{margin-top:10px;font-size:13px;line-height:16px;color:var(--m)}
.otv-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;align-self:flex-start;aspect-ratio:16/9;padding:12px;border:1px solid var(--l);border-radius:9px;background:var(--head);font:600 15px/20px "Roboto Condensed",Arial,sans-serif;text-align:center;color:#fff}
.otv-tile__arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--o);font-size:20px}
.otv .otv-arrow{position:absolute;z-index:2;top:0;display:flex;align-items:center;justify-content:center;width:120px;aspect-ratio:120/166.5;padding:0;border:0;background:linear-gradient(90deg,rgba(9,22,30,0),rgba(9,22,30,.9));color:#143242;font-size:20px}
.otv .otv-arrow svg{box-sizing:content-box;padding:12px;border-radius:50%;background:#fff;stroke-width:2.5}
.otv .otv-arrow--next{right:0;justify-content:flex-end;padding-right:20px}
.otv .otv-arrow--prev{left:0;justify-content:flex-start;padding-left:20px;background:linear-gradient(270deg,rgba(9,22,30,0),rgba(9,22,30,.9))}

/* The theme recolours links, hover included */
.otv .otv-tile,.otv .otv-tile:hover,.otv .otv-card__play,.otv .otv-card:hover .otv-card__play,.otv .otv-tile__arrow{color:#fff!important}

/* Player */
.otv.otv-modal{position:fixed;z-index:100000;inset:0;display:flex;width:auto;margin:0;padding:24px 16px;overflow-y:auto;background:rgba(5,13,18,.94)}
.otv-modal__box{position:relative;width:min(1000px,100%);margin:auto;padding-top:44px}
.otv .otv-modal__close{position:absolute;top:0;right:0;display:flex;padding:4px;border:0;background:none;color:#fff;font-size:28px}
.otv-modal__info{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:16px}
.otv-modal__info .otv-meta{gap:10px;margin-bottom:6px}
.otv-modal__info .otv-meta__date{color:var(--m)}
.otv .otv-modal__title{font:800 22px/1.25 "Inter Tight",Arial,sans-serif;color:#fff}

@media (max-width:1240px){
  .otv-hero__panel{gap:12px;width:430px;padding:20px 24px 22px}
  .otv .otv-hero__title{-webkit-line-clamp:4;font-size:28px}
}
@media (max-width:1180px){
  .otv{--pad:40px}
  .otv-live{grid-template-columns:minmax(0,1fr) 300px;gap:28px}
  .otv .otv-live__title{font-size:28px}
}
@media (max-width:979px){
  .otv{--pad:16px}
  .otv-hero{aspect-ratio:auto}
  .otv-hero__media{position:relative;height:auto;aspect-ratio:390/186;overflow:hidden}
  .otv .otv-hero__media img{position:absolute;top:0;left:-12.5%;width:125%;max-width:none;height:auto}
  .otv-hero__panel{position:static;width:auto;gap:12px;padding:20px 16px 28px;border-radius:0;transform:none}
  .otv .otv-hero__title{font-size:28px;line-height:1.12;letter-spacing:-.4px}
  .otv-hero__actions{flex-direction:column;gap:10px}
  .otv .otv-hero__actions .otv-btn{width:100%}
  .otv-live{grid-template-columns:minmax(0,1fr);gap:0;padding:0 0 28px}
  .otv-live__player{border-radius:0}
  .otv-live__side{gap:12px;padding:16px 16px 0}
  .otv .otv-live__title{font-size:26px;line-height:1.12}
  .otv-mini__item img{width:112px;height:63px}
  .otv-rows{gap:30px;padding:4px 0 36px}
  .otv-row__scroll{gap:12px}
  .otv-card,.otv-tile{width:244px}
  .otv-card__title{font-size:14px}
  .otv .otv-arrow{display:none}
  .otv-modal__info{flex-direction:column;align-items:flex-start}
  .otv-modal__title{font-size:18px}
}
@media (prefers-reduced-motion:reduce){
  .otv-pill--live i{animation:none}
}
