/* OBBTV_RELEASE:20261023.17 */
/* Native fieldset/select intrinsic widths must not stretch the mobile editor. */
[data-slide-preview-settings]{min-inline-size:0;max-width:100%}
[data-slide-preview-settings] .field{min-width:0}
[data-slide-preview-settings] input,[data-slide-preview-settings] select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
/* Floating card stays outside horizontal shelves so the summary is never clipped. */
.program-hover{position:fixed;z-index:120;width:386px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);background:#141b21;border:1px solid #ffffff22;border-radius:14px;box-shadow:0 22px 80px #000c;color:#f5f6f8;overflow:auto;animation:program-preview-in .18s ease-out}
.program-hover-art{position:relative;aspect-ratio:16/9;background:#111820}
.program-hover-art>img{display:block;width:100%;height:100%;object-fit:cover}
.program-hover-open{position:absolute;inset:0;z-index:1;width:100%;background:transparent;cursor:pointer}
.program-hover-open:focus-visible{outline:3px solid #63c9ff;outline-offset:-4px}
.program-hover-art .program-preview-stage{z-index:2}
.program-hover-copy{padding:20px}
.program-hover-copy .eyebrow{font-size:10px;color:#a9baca;letter-spacing:1.2px}
.program-hover-copy h3{font-size:21px;line-height:1.25;margin:9px 0 12px;overflow-wrap:anywhere}
.program-hover-copy p{font-size:13px;line-height:1.7;margin:0 0 20px;color:#ced5dc;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.program-hover-series{font-size:11px;color:#b6c7d5;margin:-4px 0 12px;line-height:1.6}
.program-hover-actions{display:flex;gap:15px;align-items:center}
.program-hover-actions>span{color:#a1aeba;font-size:11px}
.program-hover .button{min-height:42px}
.program-hover .preview-save{width:42px;height:42px;flex-shrink:0;border:1px solid #ffffff40;border-radius:50%;color:white}
.program-hover .preview-save.selected{color:#c8ee8b;border-color:#c8ee8b}
.program-preview-stage{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.program-preview-video{position:absolute;inset:0;opacity:0;transition:opacity .45s;overflow:hidden;background:#080c10}
.program-preview-video iframe{position:absolute;width:100%;height:100%;inset:0;border:0;pointer-events:none}
.program-preview-stage.is-video-ready .program-preview-video{opacity:1}
.program-preview-stage:not(.is-video-ready) .program-preview-video{transition:none}
.program-preview-controls{position:absolute;z-index:3;left:12px;right:12px;top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}
.program-preview-status{font-size:10px;line-height:1.4;max-width:65%;border-radius:6px;padding:6px 8px;background:#080e18c9;color:#f2f5f8;overflow-wrap:anywhere}
.program-preview-toggle{pointer-events:auto;font:inherit;font-size:10px;line-height:1.4;padding:7px 9px;color:white;background:#111c2be8;border:1px solid #ffffff60;border-radius:7px;cursor:pointer;max-width:45%}
.program-preview-toggle:focus-visible{outline:3px solid #63c9ff;outline-offset:3px}
.program-preview-sound{pointer-events:auto;flex-shrink:0;font:inherit;font-size:11px;padding:10px 14px;border-radius:8px;border:1px solid #ffffff60;background:#182333eb;color:white;cursor:pointer}
.program-preview-sound:focus-visible{outline:3px solid #63c9ff;outline-offset:3px}
.hero.has-program-preview{container-type:size}
.hero>.hero-preview-stage{z-index:auto}
.hero-preview-stage .program-preview-video{z-index:-2}
.hero:before{z-index:-1;pointer-events:none}
.hero-preview-stage .program-preview-controls{top:auto;left:auto;right:var(--page);bottom:110px;max-width:calc(100% - 32px);gap:10px;opacity:0;visibility:hidden}
.hero-preview-stage.is-activated .program-preview-controls{opacity:1;visibility:visible}
.hero-preview-stage .program-preview-status{font-size:11px;max-width:230px}
.hero-preview-stage .program-preview-toggle{font-size:11px;padding:10px 14px;flex-shrink:0}
@supports(width:1cqw){.hero-preview-stage .program-preview-video iframe{width:max(100cqw,177.78cqh);height:max(100cqh,56.25cqw);inset:auto;left:50%;top:50%;transform:translate(-50%,-50%)}}
dialog.program-dialog{max-width:1150px;width:calc(100% - 48px);max-height:94dvh;background:#10171e}
.program-dialog .program-feature{height:auto;min-height:540px;align-items:end;padding:180px 46px 38px;isolation:isolate}
.program-feature .program-preview-stage{z-index:-1}
.program-feature .program-preview-video{inset:0 0 auto;aspect-ratio:16/9;min-height:200px}
.program-feature:after{background:linear-gradient(0deg,#10171e 0%,#10171eea 12%,#10171e80 55%,#10171e0d 100%);pointer-events:none;z-index:0}
.program-feature .program-feature-copy{position:relative;z-index:1;width:min(700px,100%);pointer-events:none}
.program-feature-copy button{pointer-events:auto}
.program-feature h2{font-size:clamp(28px,4.1vw,49px);line-height:1.12;overflow-wrap:anywhere}
.program-feature-summary{font-size:14px;line-height:1.8;color:#e0e5e9;margin:17px 0 22px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.program-feature-actions{display:flex;flex-wrap:wrap;gap:12px}
.program-feature .program-preview-controls{left:24px;right:84px;top:22px}
.program-feature .program-preview-status,.program-feature .program-preview-toggle{font-size:11px}
.program-dialog .detail-body{padding:4px 46px 38px}
.program-about{padding:10px 0 25px;border-bottom:1px solid #ffffff16}
.program-about .eyebrow{color:#91aabc;margin-bottom:12px;font-size:10px}
.program-about .rich-content{font-size:14px;line-height:1.9;color:#c0ccd5;overflow-wrap:anywhere}
.program-dialog .episode-heading{gap:14px;flex-wrap:wrap}
.program-dialog .episode-heading select{max-width:100%}
.program-dialog .episode-title{overflow-wrap:anywhere}
@keyframes program-preview-in{from{opacity:0;transform:scale(.97) translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:640px){
 dialog.program-dialog{width:calc(100% - 16px);max-height:96dvh;border-radius:14px}
 .program-dialog .program-feature{min-height:460px;padding:170px 22px 26px}
 .program-feature h2{font-size:30px}
 .program-feature-summary{font-size:13px;-webkit-line-clamp:4}
 .program-dialog .detail-body{padding:0 22px 28px}
 .program-feature-actions .button{font-size:12px;padding:11px 15px;min-height:44px}
 .program-feature .program-preview-controls{left:12px;right:66px;top:18px;align-items:start}
 .program-feature .program-preview-status,.program-feature .program-preview-toggle{font-size:10px}
 .program-dialog .episode-row{grid-template-columns:88px minmax(0,1fr);gap:12px}
 .program-dialog .episode-number{display:none}
 .program-dialog .episode-title{font-size:12px}
 .program-dialog .episode-subtitle{font-size:10px}
 .program-dialog .episode-row>svg{display:none}
}
@media(prefers-reduced-motion:reduce){.program-hover{animation:none}.program-preview-video{transition:none}}

/* OBBTV_LIVE_POLISH:20261023.23 — gentle emphasis, never flashing text. */
.live-button,.live-strip .button,.city-card-topics>.city-live-topic{border:1px solid #ff4b55;animation:obb-live-pulse 2.4s ease-in-out infinite}
.city-card-topics>.city-live-topic{display:flex;align-items:center;gap:12px;padding:18px;border-radius:12px;background:#17252b;color:#fff;text-decoration:none;font-size:14px;min-height:64px}
.city-card-topics>.city-live-topic:hover{background:#30212a}
.city-card-topics>.city-live-topic:focus-visible{outline:2px solid #fff;outline-offset:4px}
.city-topic-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:26px;transform-origin:center;will-change:transform}
.city-topic-icon svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.city-topic-tv{animation:obb-icon-breathe 3.2s ease-in-out infinite}
.city-topic-news{animation:obb-icon-float 4s ease-in-out infinite}
.city-pharmacy>.city-topic-pharmacy{animation:obb-icon-breathe 3.6s ease-in-out infinite;color:#ff7077;font-size:22px;font-weight:700}
.city-topic-sun{animation:obb-icon-sun 12s ease-in-out infinite;color:#ffd36a;font-size:25px}
@keyframes obb-live-pulse{0%,100%{border-color:#ff3647;box-shadow:0 0 0 0 #ff364700}50%{border-color:#ff9aa1;box-shadow:0 0 0 4px #ff364724,0 0 18px #ff36472b}}
@keyframes obb-icon-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
@keyframes obb-icon-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes obb-icon-sun{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(22deg)}}
@media(max-width:900px){.city-card-topics>.city-live-topic{flex-direction:column;text-align:center}}
@media(prefers-reduced-motion:reduce){.live-button,.live-strip .button,.city-card-topics>.city-live-topic,.city-topic-icon{animation:none;will-change:auto}}

/* OBBTV_MOBILE_SLIDER:20261023.22 — keep real previous/next controls on phones. */
@media(max-width:580px){
 .managed-hero .hero-bottom{z-index:6}
 .managed-hero .hero-paging{width:100%;min-width:0;gap:6px;justify-content:space-between}
 .managed-hero .hero-round{display:flex;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;background:#0b1119cc;border-color:#ffffff70;color:#fff;touch-action:manipulation}
 .managed-hero .hero-round svg{width:20px;height:20px}
 .managed-hero .hero-paging>span{white-space:nowrap;flex:0 0 auto;font-variant-numeric:tabular-nums}
 .managed-hero .hero-dots{min-width:0;max-width:72px;flex:0 1 72px}
 .managed-hero .hero-dots button{flex-shrink:0}
 .managed-hero .hero-round:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
}

/* Native hero playback owns both picture and audio; no hidden warmup or picture fade. */
.hero-preview-stage .program-preview-video{transition:none}
.hero-preview-stage.is-activated.has-preview-player .program-preview-video{opacity:1}
