/* Home-only UI; playback and availability remain owned by Steam. */
.steam-tv { width: min(1320px, calc(100% - 48px)); margin: 72px auto; color: #edf3f8; }
.steam-tv-heading { max-width: 760px; margin-bottom: 26px; }
.steam-tv-heading .eyebrow { color: #16d3e7; }
.steam-tv-heading h2 { margin: 12px 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.steam-tv-heading > p:last-child { color: #b9cbda; line-height: 1.65; }
.steam-tv-set { padding: clamp(10px, 1.8vw, 24px); border: 1px solid #365665; border-radius: 18px; background: linear-gradient(135deg, #123044, #06121c 62%); box-shadow: 0 30px 80px #0005, inset 0 1px #fff1; }
.steam-tv-set { container: steam-television / inline-size; }
.steam-tv-topline, .steam-tv-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.steam-tv-topline { padding: 0 3px 14px; }
.steam-tv-station { color: #e6ba60; font-weight: 800; letter-spacing: .15em; }
.steam-tv-topline > span:last-child { padding: 5px 10px; border: 1px solid #4b6b78; border-radius: 4px; font-size: .75rem; color: #c9d8e3; }
.steam-tv-screen { position: relative; width: 100%; overflow: hidden; border: 1px solid #456474; border-radius: 8px; background: #02070b; }
.steam-tv-screen::before { content: ""; display: block; padding-top: 56.25%; }
/* The native watch document includes its Steam header above the 16:9 video. */
.steam-tv-screen.is-open::before { padding-top: calc(56.25% + 104px); }
.steam-tv-cover, .steam-tv-player, .steam-tv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.steam-tv-cover img { width: 100%; height: 100%; display: block; object-fit: contain; }
.steam-tv-cover::after { position: absolute; content: ""; inset: 0; background: linear-gradient(0deg, #030b12aa, transparent 65%); pointer-events: none; }
.steam-tv-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px; max-width: calc(100% - 24px); min-height: 56px; padding: 15px 22px; border: 1px solid #ffe1a1; border-radius: 7px; background: #e6ba60; color: #07131f; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 10px 34px #0009; }
.steam-tv-play i { color: #07131f; }
.steam-tv-play:hover { background: #f5cf7e; }
.steam-tv-player iframe { display: block; border: 0; }
.steam-tv-controls { min-height: 52px; padding-top: 16px; }
.steam-tv-controls > span { color: #a7c2d4; font-size: .82rem; }
.steam-tv-control-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.steam-tv-control-links a, .steam-tv-stop { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: #65e5ee; font: inherit; font-size: .88rem; font-weight: 700; }
.steam-tv-stop { cursor: pointer; padding: 0 12px; border: 1px solid #47616f; border-radius: 4px; background: #0b2130; }
.steam-tv-stop[hidden], .steam-tv-cover[hidden], .steam-tv-player[hidden] { display: none; }
.steam-tv-help { margin: 16px 2px 0; color: #a9becd; font-size: .8rem; line-height: 1.6; }
.steam-tv :is(button, a):focus-visible { outline: 3px solid #16d3e7; outline-offset: 4px; }
/* Steam's compact native header measures 62px in the narrow watch document. */
@container steam-television (max-width: 910px) {
  .steam-tv-screen.is-open::before { padding-top: calc(56.25% + 62px); }
}
@media (max-width: 700px) {
  .steam-tv { width: calc(100% - 32px); margin: 48px auto; }
  .steam-tv-topline { padding-bottom: 10px; gap: 8px; }
  .steam-tv-topline > span:last-child { font-size: .66rem; padding: 4px 7px; }
  .steam-tv-play { min-height: 48px; padding: 12px 14px; gap: 10px; font-size: .87rem; }
  .steam-tv-controls { gap: 8px; }
  .steam-tv-control-links { gap: 12px; }
}
