/* While a stream is running: home page banner (mockup "B · Bandeau direct") and mini player
   on every page but TV and Radio (mockup "C · Mini-lecteur"). */
.otv-home-off{display:none!important}
#otv-home{box-sizing:border-box;width:100%;padding:12px 20px;font-family:"Roboto Condensed",Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
#otv-home[hidden]{display:none!important}
#otv-home *{box-sizing:border-box}
#otv-home svg{width:1em;height:1em;flex:none;fill:currentColor;stroke:none}
#otv-home .otvh-card{position:relative;display:grid;grid-template-columns:114px auto minmax(0,1fr) auto auto;grid-template-areas:"thumb pill kicker btn close" "thumb pill title btn close";align-content:center;align-items:center;column-gap:18px;row-gap:3px;max-width:1200px;min-height:80px;margin:0 auto;padding:8px 18px 8px 8px;border-radius:14px;background:#09161E;color:#fff}
[data-theme="dark"] #otv-home .otvh-card{box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
#otv-home .otvh-thumb{grid-area:thumb;position:relative;display:block;width:114px;height:64px;overflow:hidden;border-radius:9px;background:#143242}
#otv-home .otvh-thumb img{display:block;width:100%;height:100%;margin:0;object-fit:cover}
#otv-home .otvh-thumb img[hidden]{display:none}
#otv-home .otvh-thumb b{position:absolute;top:50%;left:50%;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:2px solid #fff;border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:14px;transform:translate(-50%,-50%)}
#otv-home .otvh-pill{grid-area:pill;justify-self:start;display:inline-flex;align-items:center;gap:7px;padding:5px 11px 5px 9px;border-radius:8px;background:#D1130F;color:#fff;font-size:13px;font-weight:700;line-height:16px;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap}
#otv-home .otvh-pill i{width:8px;height:8px;border-radius:50%;background:#fff;animation:otvh-pulse 1.4s ease-in-out infinite}
@keyframes otvh-pulse{50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){#otv-home .otvh-pill i{animation:none}}
#otv-home .otvh-kicker{grid-area:kicker;align-self:end;color:#9FB0BC;font-size:11px;font-weight:700;line-height:14px;letter-spacing:1px;text-transform:uppercase}
#otv-home .otvh-title{grid-area:title;align-self:start;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#fff!important;font:800 18px/23px "Inter Tight",Arial,sans-serif;letter-spacing:-.2px;text-decoration:none!important}
/* The title link covers the whole banner. */
#otv-home .otvh-title::after{content:"";position:absolute;inset:0;border-radius:14px}
#otv-home .otvh-title:focus-visible{outline:none}
#otv-home .otvh-title:focus-visible::after{outline:2px solid #F6A13C;outline-offset:2px}
#otv-home .otvh-btn{grid-area:btn;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:44px;padding:0 22px 0 18px;border-radius:10px;background:#D1130F;color:#fff;font-size:15px;font-weight:700;white-space:nowrap;transition:background .15s}
#otv-home .otvh-btn svg{font-size:16px}
#otv-home .otvh-card:hover .otvh-btn{background:#B00F0C}
#otv-home .otvh-close{grid-area:close;position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:0;margin:0;padding:0;border:0;border-radius:8px;background:transparent;box-shadow:none;color:#9FB0BC;font-size:22px;line-height:1;cursor:pointer}
#otv-home .otvh-close:hover{background:rgba(255,255,255,.1);color:#fff}
#otv-home .otvh-close:focus-visible{outline:2px solid #F6A13C}
#otv-home .otvh-close svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
@media (max-width:767px){
	#otv-home{padding:10px 10px 0}
	#otv-home .otvh-card{grid-template-columns:96px minmax(0,1fr) 42px;grid-template-areas:"thumb pill btn" "thumb title btn";column-gap:10px;row-gap:5px;min-height:84px;padding:8px 10px 8px 8px;border-radius:12px}
	#otv-home .otvh-thumb{width:96px;height:68px;border-radius:8px}
	#otv-home .otvh-thumb b,#otv-home .otvh-kicker,#otv-home .otvh-close{display:none}
	#otv-home .otvh-pill{align-self:end;padding:3px 8px 3px 7px;border-radius:7px;font-size:10px;line-height:13px}
	#otv-home .otvh-pill i{width:6px;height:6px}
	#otv-home .otvh-title{font-size:13px;line-height:16px}
	#otv-home .otvh-title::after{border-radius:12px}
	#otv-home .otvh-btn{width:42px;height:42px;gap:0;padding:0;border-radius:50%;font-size:0}
	#otv-home .otvh-btn svg{font-size:18px}
}

/* Mini player: bottom right with video on a computer, thumbnail bar on a phone. */
#otv-mini{position:fixed;right:28px;bottom:28px;z-index:9990;width:392px;max-width:calc(100vw - 16px);font-family:"Roboto Condensed",Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
#otv-mini[hidden]{display:none!important}
#otv-mini *{box-sizing:border-box}
#otv-mini svg{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#otv-mini .otvm-card{position:relative;overflow:hidden;border-radius:14px;background:#09161E;box-shadow:0 14px 40px rgba(0,13,23,.34);color:#fff}
[data-theme="dark"] #otv-mini .otvm-card{box-shadow:0 14px 40px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,255,255,.12)}
#otv-mini .otvm-video{position:relative;aspect-ratio:16/9;background:#000}
#otv-mini .otvm-video iframe{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0}
#otv-mini .otvm-sound{position:absolute;top:12px;left:12px;z-index:1;display:inline-flex;align-items:center;gap:8px;height:34px;min-height:0;margin:0;padding:0 13px 0 11px;border:0;border-radius:8px;background:rgba(0,0,0,.75);box-shadow:none;color:#fff;font:600 13px/16px "Roboto Condensed",Arial,sans-serif;cursor:pointer}
#otv-mini .otvm-sound:hover{background:#D1130F}
#otv-mini .otvm-sound svg{font-size:16px}
#otv-mini .otvm-thumb{display:none}
#otv-mini .otvm-info{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:14px 16px 16px}
#otv-mini .otvm-pill{display:inline-flex;align-items:center;gap:7px;padding:4px 10px 4px 9px;border-radius:8px;background:#D1130F;color:#fff;font-size:12px;font-weight:700;line-height:15px;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap}
#otv-mini .otvm-pill i{width:7px;height:7px;border-radius:50%;background:#fff;animation:otvh-pulse 1.4s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){#otv-mini .otvm-pill i{animation:none}}
#otv-mini .otvm-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#fff!important;font:800 17px/21px "Inter Tight",Arial,sans-serif;letter-spacing:-.2px;text-decoration:none!important}
#otv-mini .otvm-btn{display:flex;align-items:center;justify-content:center;gap:10px;align-self:stretch;height:40px;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:rgba(255,255,255,.08);color:#fff!important;font-size:14px;font-weight:700;text-decoration:none!important}
#otv-mini .otvm-btn:hover{background:rgba(255,255,255,.18)}
#otv-mini .otvm-btn svg{font-size:18px}
#otv-mini .otvm-close{position:absolute;top:12px;right:12px;z-index:2;display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.72);box-shadow:none;color:#fff;font-size:17px;line-height:1;cursor:pointer}
#otv-mini .otvm-close:hover{background:#D1130F}
#otv-mini .otvm-sound:focus-visible,#otv-mini .otvm-close:focus-visible,#otv-mini a:focus-visible{outline:2px solid #F6A13C;outline-offset:2px}
@media (max-width:767px){
	#otv-mini{right:8px;bottom:calc(8px + env(safe-area-inset-bottom));left:8px;width:auto}
	#otv-mini .otvm-card{display:flex;align-items:center;gap:10px;min-height:76px;padding:7px 8px 7px 7px;border-radius:12px}
	#otv-mini .otvm-video,#otv-mini .otvm-btn{display:none}
	#otv-mini .otvm-thumb{display:block;flex:none;width:108px;height:62px;overflow:hidden;border-radius:8px;background:#143242}
	#otv-mini .otvm-thumb img{display:block;width:100%;height:100%;margin:0;object-fit:cover}
	#otv-mini .otvm-thumb img[hidden]{display:none}
	#otv-mini .otvm-info{flex:1;min-width:0;gap:5px;padding:0}
	#otv-mini .otvm-pill{padding:3px 8px 3px 7px;border-radius:7px;font-size:10px;line-height:13px}
	#otv-mini .otvm-pill i{width:6px;height:6px}
	#otv-mini .otvm-title{font-size:13px;line-height:16px}
	/* The title link covers the whole bar. */
	#otv-mini .otvm-title::after{content:"";position:absolute;inset:0}
	#otv-mini .otvm-close{position:relative;top:auto;right:auto;flex:none;width:34px;height:34px;background:transparent;color:#9FB0BC;font-size:20px}
}
