.ott-demo {
  width: 100%;
  max-width: 760px;
  min-width: 0;
  justify-self: center;
  color: #f5f5f6;
}
.ott-device-wrap {
  position: relative;
  isolation: isolate;
  padding: 7px 0 13px;
}
.ott-device-wrap::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: -12% -11%;
  opacity: .68;
  background:
    linear-gradient(#b9b9be22 1px, transparent 1px) center var(--grid-y, 0px) / 38px 38px,
    linear-gradient(90deg, #b9b9be22 1px, transparent 1px) center / 38px 38px,
    radial-gradient(ellipse at 50% 64%, #ffc10d25, transparent 65%);
  mask-image: radial-gradient(ellipse, #000 25%, transparent 71%);
}
.ott-set { position: relative; }
.ott-shell {
  position: relative;
  width: 100%;
  margin-inline: auto;
  padding: clamp(5px, .53vw, 9px);
  border: 1px solid #74777e;
  border-radius: clamp(13px, 1.5vw, 23px);
  background: linear-gradient(150deg, #51545b, #17191d 20%, #1c1e22 80%, #4e5056);
  box-shadow: inset 0 0 0 2px #1c1d20, 0 16px 28px -20px #000;
}
.ott-screen {
  width: 100%;
  position: relative;
  aspect-ratio: 909 / 549;
  overflow: hidden;
  border-radius: clamp(8px, 1vw, 14px);
  background: #060607;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}
.ott-screen:focus-visible, .ott-demo button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.ott-dragging .ott-screen { cursor: grabbing; }
.ott-track { display: flex; width: 100%; height: 100%; will-change: transform; }
.ott-slide { flex: 0 0 100%; width: 100%; height: 100%; min-width: 0; overflow: hidden; }
.ott-slide picture, .ott-slide picture img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ott-icon { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ott-dock, .ott-foot, .ott-meta, .ott-buttons, .ott-tabs, .ott-tip { display: flex; align-items: center; }
.ott-dock, .ott-foot { justify-content: space-between; gap: 12px; }
.ott-dock { padding: 0 0 11px; border-bottom: 1px solid #ffffff2c; }
.ott-meta { gap: clamp(8px, 1vw, 15px); min-width: 0; }
.ott-meta > span { flex: none; color: #b3b6bc; font: 600 12px/1 var(--body, sans-serif); font-variant-numeric: tabular-nums; }
.ott-position { color: var(--brand); }
.ott-current { font: 700 clamp(20px, 2.1vw, 33px)/1.05 var(--display); }
.ott-buttons { gap: 5px; }
.ott-buttons button {
  display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid #5d6068; border-radius: 50%;
  background: #25282d; color: #f5f5f6;
}
.ott-buttons .ott-next { border-color: var(--brand); background: var(--brand); color: #15181e; }
.ott-buttons button:hover { border-color: var(--brand); }
.ott-demo button[hidden] { display: none; }
.ott-foot { padding-top: 8px; }
.ott-tabs { gap: 3px; }
.ott-tabs button {
  min-height: 34px; padding: 5px 10px;
  border: 1px solid transparent; border-radius: 4px;
  color: #c6c8ce; background: transparent;
  line-height: 1.15;
  font-family: inherit; font-size: 13px; font-weight: 600;
}
.ott-tabs button[aria-pressed=true] { background: #ffc10d16; color: var(--brand); border-color: #ffc10d67; }
.ott-tabs button:hover { color: var(--brand); }
.ott-tip { gap: 6px; color: #c6c8ce; font-size: 12px; }
.ott-tip svg { width: 23px; color: var(--brand); }

.ott-epg {
  display: grid;
  grid-template-rows: 15% 55% 30%;
  width: 100%; height: 100%;
  container-type: inline-size;
  background: #0c0c0e; color: #f8f8fa;
}
.ott-epg-head { display: flex; align-items: center; gap: 2.6cqw; margin: 0 4cqw; font-size: clamp(9px, 2.35cqw, 20px); }
.ott-epg-head img { width: 14cqw; max-height: 60%; object-fit: contain; }
.ott-epg-head > span { margin-inline-start: auto; padding: .45em .7em; border: 1px solid #666970; border-radius: 4px; color: #d3d3d7; font-size: clamp(8px, 1.65cqw, 13px); font-weight: 600; }
.ott-epg-still {
  display: flex; align-items: end; padding: 2.5cqw 4cqw;
  background: linear-gradient(0deg, #09090cf2, #0a0a0d06 87%), url("media/tv-sport.webp") center 46% / cover;
}
.ott-epg-still div { display: grid; justify-items: start; gap: .8cqw; }
.ott-epg-still span { color: var(--brand); font-size: max(8px, 1.55cqw); font-weight: 800; letter-spacing: .13em; }
.ott-epg-still strong { font: 700 clamp(19px, 5.8cqw, 52px)/.98 var(--display); text-transform: uppercase; }
.ott-epg-foot { display: flex; flex-direction: column; justify-content: space-evenly; padding: 1% 4cqw 2%; font-size: clamp(9px, 2.1cqw, 17px); }
.ott-days, .ott-epg-caption { display: flex; align-items: center; gap: 3cqw; }
.ott-days span { color: #b8bac0; }
.ott-days b { padding: .25em .8em; color: #121315; background: var(--brand); border-radius: 3px; }
.ott-epg-caption { gap: 1.6cqw; }
.ott-epg-caption svg { color: var(--brand); width: max(11px, 2.5cqw); }
.ott-epg-caption > span { flex: 1; height: 2px; margin-inline-start: 1.6cqw; background: #56575c; }
.ott-epg-caption > span::before { content: ''; display: block; height: 100%; width: 34%; background: var(--brand); transform-origin: left; }
@media (prefers-reduced-motion:no-preference) {
  .ott-panel[data-feature=replay][aria-hidden=false] .ott-epg-caption > span::before { animation: ott-replay-line 1.6s ease-out both; }
  @keyframes ott-replay-line { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
}
.cn-app-stage { background: radial-gradient(ellipse at 77% 42%, #30343b, #191c21 55%, #15171c); }
.cn-app-stage .cn-stage-layout { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); padding-block: clamp(24px,3vw,52px); }
@media (max-width: 820px) {
  .ott-meta { gap: 7px; }
  .ott-buttons { gap: 3px; }
  .ott-buttons button { width: 32px; height: 32px; }
  .ott-dock { gap: 4px; }
  .ott-tip { font-size: 11px; }
}
@media (max-width: 780px) {
  .story-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .story-copy { display: contents; }
  .story-copy .eyebrow { order: 0; margin: 0; }
  .story-copy h2 { order: 1; margin: 0 0 4px; }
  .story-copy h2 br { display: none; }
  .story-copy .story-steps { display: none; }
  .story-layout .ott-demo { order: 2; max-width: 580px; }
  .story-copy > .btn { order: 3; justify-self: start; margin-top: 4px; }
}
@media (max-width: 690px) {
  .cn-app-stage .cn-stage-layout { grid-template-columns: minmax(0,1fr); padding-block: 10px 28px; gap: 8px; }
  .cn-app-stage .cn-intro { padding: 5px 0 12px; }
  .cn-app-stage .ott-demo { max-width: 530px; }
}
@media (max-width: 600px) {
  .ott-demo { max-width: 410px; }
  .ott-device-wrap { padding: 4px 0 14px; }
  .ott-shell { width: clamp(166px, 52vw, 223px); padding: 5px; border-radius: 23px; }
  .ott-screen { aspect-ratio: 775 / 1765; border-radius: 17px; }
  .ott-epg { grid-template-rows: 12% 55% 33%; }
  .ott-epg-head { gap: 3cqw; font-size: max(10px, 4.5cqw); }
  .ott-epg-head img { width: 21cqw; }
  .ott-epg-head > span { font-size: max(7px, 3.3cqw); }
  .ott-epg-still { padding: 5cqw; }
  .ott-epg-still span { font-size: 4cqw; }
  .ott-epg-still strong { font-size: 13cqw; }
  .ott-epg-foot { justify-content: center; gap: 9cqw; font-size: max(9px, 4.3cqw); }
  .ott-days { justify-content: space-between; gap: 0; }
  .ott-epg-caption { gap: 2cqw; }
  .ott-epg-caption svg { width: 6cqw; }
  .ott-buttons button { width: 38px; height: 38px; }
  .ott-foot { gap: 6px; }
  .ott-tabs button { min-height: 38px; padding-inline: 8px; }
  .ott-tip { gap: 4px; }
}
@media (max-width: 355px) {
  .ott-tabs button { padding-inline: 5px; }
  .ott-tip svg { width: 16px; }
  .ott-buttons button { width: 33px; height: 33px; }
  .ott-meta > span { font-size: 10px; }
}
