:root {
  color-scheme: dark;
  --dark: #010710;
  --dark-soft: rgba(1, 16, 28, 0.88);
  --panel: rgba(255, 255, 255, 0.1);
  --panel-strong: rgba(255, 255, 255, 0.17);
  --line: rgba(255, 255, 255, 0.18);
  --text: #f7fbff;
  --soft: rgba(247, 251, 255, 0.74);
  --muted: rgba(247, 251, 255, 0.54);
  --brand: #90c5f0;
  --focus: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.64);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--dark);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
video {
  font: inherit;
}

button {
  cursor: pointer;
}

.app,
.homeScreen,
.detailScreen,
.playerScreen {
  width: 100vw;
  height: 100vh;
}

.homeScreen,
.detailScreen,
.playerScreen {
  display: none;
}

.homeScreen.isActive,
.detailScreen.isActive,
.playerScreen.isActive {
  display: block;
}

.homeScreen,
.detailScreen {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 7, 16, 0.9), rgba(1, 7, 16, 0.24)),
    url("../assets/frames-background.jpg") center / cover,
    var(--dark);
}

.content,
.detailBody {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-padding-top: 150px;
  scrollbar-width: none;
}

.content::-webkit-scrollbar,
.detailBody::-webkit-scrollbar,
.shelfRail::-webkit-scrollbar,
.seasonRail::-webkit-scrollbar,
.episodeRail::-webkit-scrollbar,
.streamRail::-webkit-scrollbar,
.subtitleOptionList::-webkit-scrollbar {
  display: none;
}

.drawer {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  height: 76px;
  padding: 10px 44px;
  background: linear-gradient(180deg, rgba(1, 16, 28, 0.99), rgba(1, 16, 28, 0.96));
}

.brand,
.drawerMenu,
.drawerItem,
.searchBox,
.featureActions,
.detailActions,
.linkHeader,
.posterMeta,
.playerBadges,
.playerBack,
.playerControls {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 26px;
  font-weight: 950;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.drawerMenu {
  gap: 26px;
  min-width: 0;
  overflow: hidden;
}

.drawerItem {
  min-height: 46px;
  padding: 0 2px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: rgba(247, 251, 255, 0.56);
}

.drawerItem span {
  display: none;
}

.drawerItem b {
  overflow: hidden;
  font-size: 22px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawerItem.isSelected,
.drawerItem:focus {
  border-color: #fff;
  outline: 0;
  color: #fff;
}

.drawerFooter {
  max-width: 160px;
  overflow: hidden;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topBar {
  position: fixed;
  top: 92px;
  right: 44px;
  z-index: 39;
  display: grid;
  grid-template-columns: minmax(260px, 30vw) 84px;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.topBar.isOpen {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.searchBox {
  height: 48px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgba(1, 16, 28, 0.94);
  color: #fff;
}

.searchBox span {
  flex: 0 0 44px;
  font-size: 26px;
  text-align: center;
}

.searchBox input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.searchBox input::placeholder {
  color: transparent;
}

.topButton,
.backButton,
.heroPlay,
.heroInfo,
.playPrimary,
.detailButton,
.railButton,
.episodeButton,
.streamButton,
.shelfPageBack,
.subtitleOptionButton,
.subtitleOffsetButton,
.playerControlButton,
.playerBack,
.playerBadge {
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: #fff;
  font-weight: 900;
}

.topButton {
  height: 48px;
}

.searchBox.isSelected,
.searchBox:focus-within,
.topButton.isSelected,
.topButton:focus,
.heroPlay.isSelected,
.heroPlay:focus,
.heroInfo.isSelected,
.heroInfo:focus,
.backButton.isSelected,
.backButton:focus,
.playPrimary.isSelected,
.playPrimary:focus,
.detailButton.isSelected,
.detailButton:focus,
.railButton.isSelected,
.railButton:focus,
.episodeButton.isSelected,
.episodeButton:focus,
.streamButton.isSelected,
.streamButton:focus,
.shelfPageBack:focus,
.playerBack.isSelected,
.playerBack:focus,
.playerControlButton.isSelected,
.playerControlButton:focus,
.progressTrack.isSelected,
.progressTrack:focus,
.subtitleBadge:focus,
.subtitleBadge.isSelected,
.subtitleOptionButton:focus,
.subtitleOptionButton.isSelected,
.subtitleOffsetButton:focus,
.subtitleOffsetButton.isSelected {
  border-color: var(--focus);
  outline: 4px solid rgba(144, 197, 240, 0.92);
  outline-offset: 4px;
}

.featurePanel {
  position: relative;
  height: 79vh;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 7, 16, 0.88), rgba(1, 7, 16, 0.22)),
    url("../assets/frames-background.jpg") center / cover,
    #07111d;
}

.featureBackdrop,
.detailBackdrop {
  position: absolute;
  inset: 0;
  background-position: center right;
  background-size: cover;
}

.featureBackdrop {
  opacity: 0.92;
}

.featurePanel::after,
.detailBackdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 7, 16, 0.99), rgba(1, 7, 16, 0.86) 32%, rgba(1, 7, 16, 0.32) 68%, rgba(1, 7, 16, 0.1)),
    linear-gradient(0deg, #010710 0%, rgba(1, 7, 16, 0.7) 22%, rgba(1, 7, 16, 0.08) 58%),
    linear-gradient(180deg, rgba(1, 16, 28, 0.78), rgba(1, 16, 28, 0) 22%);
}

.featureCopy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  width: min(820px, 58vw);
  height: 100%;
  padding: 112px 0 148px 56px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: lowercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

.featureCopy h1,
.detailCopy h1 {
  max-width: 1020px;
  font-size: clamp(56px, 6.4vw, 116px);
  font-weight: 950;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.72);
}

.featureCopy p:not(.eyebrow),
.detailCopy p {
  display: -webkit-box;
  overflow: hidden;
  max-width: 920px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 22px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.72);
}

.featureMeta,
.metaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.featureMeta span,
.metaRow span {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.featureMeta span + span::before,
.metaRow span + span::before {
  content: "•";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.48);
}

.featureActions,
.detailActions {
  gap: 18px;
  margin-top: 28px;
}

.heroPlay,
.heroInfo,
.playPrimary,
.detailButton {
  min-width: 174px;
  height: 62px;
  padding: 0 22px;
  font-size: 21px;
}

.heroPlay,
.playPrimary {
  background: #f4f7f8;
  color: #17202a;
}

.heroPlay span {
  width: 0;
  height: 0;
  margin-right: 12px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid currentColor;
}

.heroInfo b {
  display: grid;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
}

.shelfHeader {
  display: none;
}

.posterGrid {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 34px;
  width: 100%;
  margin-top: -132px;
  padding: 0 0 92px;
}

.catalogueShelf {
  min-width: 0;
  padding-left: 56px;
}

.catalogueShelfHeader {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-right: 56px;
  margin-bottom: 14px;
}

.catalogueShelfHeader h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 950;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.76);
}

.catalogueShelfHeader span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.shelfRail {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 56px 30px 0;
  scrollbar-width: none;
}

.posterCard {
  flex: 0 0 clamp(260px, 18vw, 360px);
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}

.posterArt,
.loadMoreArt {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(144, 197, 240, 0.24), rgba(255, 255, 255, 0.06)),
    #101925;
  background-position: center;
  background-size: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
}

.posterArt img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.posterArt::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.64), transparent);
}

.posterArt i {
  position: relative;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(1, 16, 28, 0.62);
  color: transparent;
}

.posterArt i::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.posterTitle {
  overflow: hidden;
  padding: 0 2px;
  font-size: 18px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.posterMeta {
  gap: 8px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.posterMeta b {
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--brand);
  color: #05111c;
}

.posterMeta em {
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.posterCard.isSelected .posterArt,
.posterCard:focus .posterArt {
  transform: scale(1.045);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 8px rgba(144, 197, 240, 0.86);
}

.posterCard:focus {
  outline: 0;
}

.loadMoreArt {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.1);
}

.loadMoreArt b {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

.emptyState,
.railEmpty {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--soft);
  font-size: 20px;
  font-weight: 900;
}

.shelfPage {
  min-height: 100vh;
  padding: 112px 56px 96px;
  background:
    linear-gradient(180deg, rgba(1, 16, 28, 0.94), rgba(1, 7, 16, 0.98) 330px),
    var(--dark);
}

.shelfPageHeader {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}

.shelfPageHeader h2 {
  margin: 0;
  font-size: 46px;
}

.shelfPageHeader span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--panel);
  color: #fff;
  font-weight: 900;
}

.shelfPageBack {
  height: 52px;
}

.shelfPageGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 18px;
}

.shelfPageCard {
  width: 100%;
  flex: none;
}

.detailBackdrop {
  opacity: 0.98;
}

.detailBody {
  position: relative;
  z-index: 2;
  padding: 164px 56px 56px;
}

.backButton {
  position: absolute;
  left: 44px;
  top: 92px;
  z-index: 3;
  min-width: 118px;
  height: 50px;
}

.detailPoster {
  display: none;
}

.detailCopy {
  display: grid;
  align-content: end;
  gap: 15px;
  width: 100%;
  min-height: calc(100vh - 220px);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.72);
}

.detailCopy > .eyebrow,
.detailCopy > h1,
.detailCopy > .metaRow,
.detailCopy > #detailDescription,
.detailCopy > .detailActions {
  max-width: min(1460px, calc(100vw - 112px));
}

.metaRow {
  margin-top: 4px;
}

.selectorPanel {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin-top: 24px;
}

.selectorPanel[hidden] {
  display: none;
}

.selectorPanel .eyebrow,
.linkHeader .eyebrow {
  margin: 0;
  color: #fff;
  font-size: 28px;
  text-transform: none;
}

.linkHeader {
  justify-content: space-between;
  gap: 12px;
}

.linkHeader span {
  min-width: 54px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #06101b;
  font-size: 16px;
  font-weight: 950;
  text-align: center;
}

.seasonRail,
.episodeRail,
.streamRail {
  display: flex;
  gap: 16px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 56px 18px 0;
  scrollbar-width: none;
}

.railButton {
  flex: 0 0 142px;
  height: 62px;
  font-size: 20px;
}

.episodeButton,
.streamButton {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 18px;
  text-align: left;
}

.episodeButton {
  flex: 0 0 clamp(320px, 22vw, 450px);
  gap: 10px;
  align-content: start;
  min-height: 0;
}

.streamButton {
  flex: 0 0 clamp(260px, 18vw, 360px);
  min-height: 94px;
}

.episodeButton b,
.streamButton strong,
.episodeButton span,
.streamButton span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.episodeButton b,
.streamButton strong {
  font-size: 22px;
}

.episodeButton span,
.streamButton span {
  margin-top: 7px;
  color: var(--soft);
  font-size: 16px;
}

.episodeArt {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(144, 197, 240, 0.22), rgba(255, 255, 255, 0.06)),
    #101925;
}

.episodeArt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.railButton.isSelected,
.episodeButton.isSelected,
.streamButton.isSelected {
  background: var(--panel-strong);
}

.sourceBox {
  display: none;
  max-width: 100%;
  max-height: 150px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.68);
  color: #eaf3ff;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-all;
}

.sourceBox.isOpen {
  display: block;
}

.playerScreen {
  position: relative;
  overflow: hidden;
  background: #000;
}

.playerScreen video,
#avplayObject {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.playerScreen video {
  z-index: 1;
}

#avplayObject {
  display: block;
  z-index: 2;
  visibility: hidden;
}

.playerScreen.isAvplay #avplayObject {
  visibility: visible;
}

.playerScreen.isAvplay video {
  display: none;
}

.subtitleLayer {
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: 9vh;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 1px;
  color: #fff;
  font-size: 38px;
  font-weight: 850;
  line-height: 1.24;
  text-align: center;
  text-shadow:
    -2px -2px 2px #000,
    2px -2px 2px #000,
    -2px 2px 2px #000,
    2px 2px 2px #000,
    0 3px 8px #000;
  white-space: pre-line;
  pointer-events: none;
}

.playerScreen.hasControls .subtitleLayer {
  bottom: 22vh;
}

.subtitleText {
  max-width: min(100%, 1480px);
  padding: 0.06em 0.22em 0.1em;
  border-radius: 5px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.playerOverlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  pointer-events: none;
}

.playerOverlay.isVisible {
  opacity: 1;
}

.playerOverlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(1, 16, 28, 0.82) 0, rgba(1, 16, 28, 0.2) 28%, transparent 48%),
    linear-gradient(0deg, rgba(1, 7, 16, 0.94) 0, rgba(1, 7, 16, 0.62) 28%, transparent 58%);
}

.playerTop {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px 48px 24px;
  pointer-events: auto;
}

.playerBack {
  gap: 9px;
  height: 58px;
  padding: 0 18px 0 12px;
}

.playerBack span {
  font-size: 44px;
  line-height: 1;
}

.playerBack b {
  font-size: 18px;
}

.playerHeading {
  min-width: 0;
}

.playerTitle {
  overflow: hidden;
  font-size: 32px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playerHint {
  overflow: hidden;
  margin-top: 7px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playerBadges {
  justify-content: flex-end;
  gap: 10px;
}

.playerBadge {
  display: grid;
  min-width: 74px;
  height: 38px;
  place-items: center;
  padding: 0 12px;
  font-size: 14px;
}

.subtitleBadge.isActive {
  background: #fff;
  color: #07111d;
}

.subtitleBadge.isPending {
  opacity: 0.68;
}

.subtitleBadge.isUnavailable {
  opacity: 0.48;
}

.subtitleMenu {
  position: absolute;
  right: 44px;
  bottom: 248px;
  z-index: 5;
  width: min(520px, calc(100vw - 88px));
  max-height: calc(100vh - 344px);
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(1, 13, 24, 0.98);
  pointer-events: auto;
}

.subtitleMenuHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.subtitleMenuHeader p,
.subtitleOffsetPanel p,
.subtitleAppearancePanel p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  text-transform: lowercase;
}

.subtitleMenuHeader h2 {
  margin: 0;
  font-size: 24px;
}

.subtitleMenuHeader span {
  max-width: 220px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.subtitleOptionList {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: min(176px, calc(100vh - 612px));
  overflow: auto;
  padding: 2px 4px 2px 2px;
}

.subtitleOptionButton {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  justify-items: start;
  min-height: 54px;
  padding: 9px 12px;
  text-align: left;
}

.subtitleOptionButton strong {
  grid-column: 1 / -1;
  overflow: hidden;
  max-width: 100%;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subtitleOptionButton span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.subtitleOptionButton.isActive {
  background: var(--panel-strong);
}

.subtitleOffsetPanel,
.subtitleAppearancePanel {
  display: grid;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.subtitleOffsetPanel strong,
.subtitleAppearancePanel strong {
  color: #fff;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.subtitleOffsetControls,
.subtitleAppearanceControls {
  display: grid;
  gap: 10px;
}

.subtitleOffsetControls {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.subtitleAppearanceControls {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subtitleOffsetButton {
  min-height: 44px;
  padding: 0 10px;
  font-size: 13px;
  line-height: 1.1;
  white-space: normal;
}

.playerBottom {
  grid-row: 3;
  display: grid;
  gap: 22px;
  padding: 28px 52px 72px;
  pointer-events: auto;
}

.progressRow {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 92px;
  gap: 18px;
  align-items: center;
}

.timeText {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.timeDuration {
  text-align: right;
}

.progressTrack {
  position: relative;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(144, 197, 240, 0.24);
}

.progressFill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.progressThumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 24px;
  height: 24px;
  border: 4px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.playerControlRow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.playerControls {
  justify-content: center;
  gap: 18px;
}

.playerControlButton {
  position: relative;
  display: grid;
  width: 74px;
  min-width: 74px;
  height: 64px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
}

.playerControlButton.isPrimary {
  width: 86px;
  min-width: 86px;
  height: 86px;
  background: #fff;
  color: #07111d;
}

.playerControlButton .seekIcon {
  font-size: 38px;
  line-height: 1;
}

.playerControlButton > b:not(.controlLabel) {
  position: absolute;
  top: 25px;
  font-size: 13px;
}

.subtitleControlButton span {
  font-size: 22px;
  font-weight: 950;
}

.controlLabel {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  color: #fff;
  font-size: 14px;
  transform: translateX(-50%);
}

.playIcon {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid currentColor;
}

.pauseIcon {
  width: 20px;
  height: 26px;
  border-left: 7px solid currentColor;
  border-right: 7px solid currentColor;
}

.playerKeyHint {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.playerKeyHintRight {
  text-align: right;
}

@media (max-width: 900px) {
  html,
  body {
    overflow: auto;
  }

  .app,
  .homeScreen,
  .detailScreen,
  .playerScreen {
    width: 100%;
    min-height: 100vh;
    height: auto;
  }

  .drawer {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    height: auto;
    padding: 10px 14px;
    background: rgba(1, 16, 28, 0.95);
  }

  .brand {
    font-size: 22px;
  }

  .drawerMenu {
    gap: 14px;
    overflow-x: auto;
  }

  .drawerItem b {
    font-size: 17px;
  }

  .drawerFooter {
    display: none;
  }

  .content,
  .detailBody {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .topBar {
    position: sticky;
    top: 94px;
    right: auto;
    z-index: 35;
    grid-template-columns: minmax(0, 1fr) 76px;
    width: 100%;
    padding: 0 14px;
  }

  .searchBox input::placeholder {
    color: rgba(255, 255, 255, 0.46);
  }

  .featurePanel {
    height: 72vh;
    min-height: 520px;
  }

  .featureBackdrop,
  .detailBackdrop {
    background-position: center;
  }

  .featureCopy {
    width: 100%;
    padding: 156px 18px 96px;
  }

  .featureCopy h1,
  .detailCopy h1 {
    font-size: 42px;
  }

  .featureCopy p:not(.eyebrow),
  .detailCopy p {
    font-size: 17px;
    -webkit-line-clamp: 4;
  }

  .featureActions,
  .detailActions {
    gap: 10px;
  }

  .heroPlay,
  .heroInfo,
  .playPrimary,
  .detailButton {
    min-width: 0;
    height: 52px;
    padding: 0 14px;
    font-size: 16px;
  }

  .posterGrid {
    margin-top: -70px;
    padding-bottom: 80px;
  }

  .catalogueShelf {
    padding-left: 14px;
  }

  .catalogueShelfHeader {
    padding-right: 14px;
  }

  .catalogueShelfHeader h3 {
    font-size: 22px;
  }

  .shelfRail {
    gap: 12px;
    padding-right: 14px;
  }

  .posterCard {
    flex-basis: 220px;
    width: 220px;
  }

  .shelfPage {
    padding: 124px 14px 80px;
  }

  .shelfPageHeader {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .shelfPageHeader h2 {
    font-size: 28px;
  }

  .shelfPageGrid {
    grid-template-columns: 1fr;
  }

  .detailScreen {
    min-height: 100vh;
    overflow: auto;
  }

  .backButton {
    left: 14px;
    top: 112px;
  }

  .detailBody {
    padding: 180px 14px 70px;
  }

  .detailCopy {
    width: 100%;
    min-height: auto;
    padding-top: 34vh;
  }

  .seasonRail,
  .episodeRail,
  .streamRail {
    padding-right: 14px;
  }

  .episodeButton,
  .streamButton {
    flex-basis: 250px;
  }

  .playerScreen.isActive {
    height: 100vh;
  }

  .playerTop {
    grid-template-columns: 80px minmax(0, 1fr);
    padding: 18px;
  }

  .playerBadges {
    display: none;
  }

  .playerBack {
    width: 74px;
    height: 48px;
  }

  .playerBack b,
  .playerHint,
  .playerKeyHint {
    display: none;
  }

  .playerTitle {
    font-size: 20px;
  }

  .subtitleMenu {
    left: 12px;
    right: 12px;
    bottom: 118px;
    width: auto;
    max-height: calc(100vh - 150px);
    overflow: auto;
  }

  .subtitleMenuHeader,
  .subtitleOffsetPanel,
  .subtitleAppearancePanel {
    display: block;
  }

  .subtitleMenuHeader span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .subtitleOptionList {
    grid-template-columns: 1fr;
    max-height: 170px;
  }

  .subtitleOffsetControls,
  .subtitleAppearanceControls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
  }

  .playerBottom {
    gap: 14px;
    padding: 18px 16px 44px;
  }

  .progressRow {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 10px;
  }

  .timeText {
    font-size: 13px;
  }

  .playerControlRow {
    display: block;
  }

  .playerControlButton {
    width: 54px;
    min-width: 54px;
    height: 54px;
  }

  .playerControlButton.isPrimary {
    width: 64px;
    min-width: 64px;
    height: 64px;
  }
}
