/* ElseTube OTT browse: /movies and /series (landing + grid). Elsetube theme only. */

#main-container.et-ottx-host {
  padding: 0 !important;
  max-width: none;
}
#main-container.et-ottx-host > .ads-placment:empty { display: none; }

.et-ottx {
  --ox-bg: #0a0e1a;
  --ox-bg-rgb: 10, 14, 26;
  --ox-surface: #141a2a;
  --ox-surface-2: #1d2539;
  --ox-text: #f5f7fb;
  --ox-muted: #a3adc2;
  --ox-faint: #6b7590;
  --ox-line: rgba(255, 255, 255, 0.08);
  --ox-gold: linear-gradient(135deg, #fbe08a 0%, #f2b93b 55%, #d98f1c 100%);
  --ox-grad: var(--gradient-brand, linear-gradient(135deg, #6366F1 0%, #8B5CF6 35%, #EC4899 70%, #F97316 100%));
  --ox-pad: clamp(16px, 3.6vw, 56px);
  --ox-gap: 14px;
  --ox-radius: 10px;
  --ox-top: 56px;
  --et-text: #f5f7fb;
  --et-text-secondary: #a3adc2;
  --et-muted: #a3adc2;
  --et-surface: #182033;
  --et-line: rgba(255, 255, 255, 0.1);
  --color-dark: #f5f7fb;
  --color-primary: #ffffff;
  position: relative;
  min-height: calc(100vh - var(--ox-top));
  padding-bottom: 56px;
  background: var(--ox-bg);
  color: var(--ox-text);
  font-family: var(--et-font, "Roboto", Arial, sans-serif);
  overflow-x: clip;
  isolation: isolate;
}
.et-ottx a { color: inherit; text-decoration: none; }
.et-ottx a:focus-visible,
.et-ottx button:focus-visible,
.et-ottx summary:focus-visible,
.et-ottx input:focus-visible,
.et-ottx select:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.et-ottx h1, .et-ottx h2, .et-ottx h3 { color: var(--ox-text); margin: 0; font-family: inherit; }
.et-ottx svg { flex-shrink: 0; }
.et-ottx-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- nav */

.et-ottx-nav {
  position: sticky;
  top: var(--ox-top);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px var(--ox-pad);
  background: rgba(var(--ox-bg-rgb), 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ox-line);
}
.et-ottx-nav__tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.et-ottx-nav__tabs::-webkit-scrollbar { display: none; }
.et-ottx-nav__tabs > a,
.et-ottx-genres > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ox-muted) !important;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s, background-color .15s;
}
.et-ottx-nav__tabs > a:hover,
.et-ottx-genres > summary:hover { color: var(--ox-text) !important; background: rgba(255, 255, 255, 0.06); }
.et-ottx-nav__tabs > a.is-active { color: var(--ox-text) !important; }
.et-ottx-nav__tabs > a.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--ox-grad);
}
.et-ottx-nav__tabs > a svg { color: #f2b93b; }
.et-ottx-genres { position: static; }
.et-ottx-genres > summary { list-style: none; }
.et-ottx-genres > summary::-webkit-details-marker { display: none; }
.et-ottx-genres[open] > summary { color: var(--ox-text) !important; background: rgba(255, 255, 255, 0.08); }
.et-ottx-genres[open] > summary svg { transform: rotate(180deg); }
.et-ottx-genres__menu {
  position: absolute;
  left: var(--ox-pad);
  top: calc(100% + 6px);
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 2px;
  padding: 10px;
  border-radius: 12px;
  background: var(--ox-surface);
  border: 1px solid var(--ox-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.et-ottx-genres__menu a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ox-muted) !important;
  font-size: 14px;
  font-weight: 500;
}
.et-ottx-genres__menu a:hover { color: var(--ox-text) !important; background: rgba(255, 255, 255, 0.07); }

.et-ottx-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 280px;
  min-width: 160px;
  margin: 0;
}
.et-ottx-search svg {
  position: absolute;
  left: 12px;
  color: var(--ox-faint);
  pointer-events: none;
}
.et-ottx-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  border: 1px solid var(--ox-line) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--ox-text) !important;
  font-size: 14px;
  box-shadow: none !important;
  transition: border-color .15s, background-color .15s;
}
.et-ottx-search input::placeholder { color: var(--ox-faint); }
.et-ottx-search input:focus { border-color: rgba(255, 255, 255, 0.35) !important; background: rgba(255, 255, 255, 0.1) !important; outline: none; }
.et-ottx-nav__mine { display: flex; gap: 8px; flex-shrink: 0; }
.et-ottx-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ox-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ox-text) !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s, transform .15s;
}
.et-ottx-pill:hover { background: rgba(255, 255, 255, 0.12); }
.et-ottx-pill.is-solid { border-color: transparent; background: var(--ox-grad); }
.et-ottx-pill.is-solid:hover { filter: brightness(1.08); }

/* --------------------------------------------------------------- badges */

.et-ottx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.et-ottx-badge.is-free { background: rgba(16, 185, 129, 0.92); color: #04120c; }
.et-ottx-badge.is-premium { background: var(--ox-gold); color: #2a1a00; }
.et-ottx-badge.is-new { background: #ec4899; color: #fff; }
.et-ottx-badge.is-lang { background: rgba(10, 14, 26, 0.78); color: #fff; text-transform: uppercase; letter-spacing: .04em; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.et-ottx-badge.is-kind { background: rgba(10, 14, 26, 0.72); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.et-ottx-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 0;
  color: #d5dbe8;
  font-size: 14px;
  font-weight: 500;
}
.et-ottx-dot {
  display: inline-block;
  width: 3px; height: 3px;
  margin: 0 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}
.et-ottx-rate b { color: #f5c518; font-weight: 800; }
.et-ottx-age,
.et-ottx-q {
  padding: 1px 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.et-ottx-q { border-color: transparent; background: rgba(255, 255, 255, 0.16); }

/* -------------------------------------------------------------- buttons */

.et-ottx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.et-ottx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.et-ottx-btn.is-play { background: #fff; color: #0a0e1a !important; }
.et-ottx-btn.is-play:hover { filter: brightness(.9); }
.et-ottx-btn.is-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.et-ottx-btn.is-ghost:hover { background: rgba(255, 255, 255, 0.26); }
.et-ottx-btn:active { transform: scale(.97); }
.et-ottx-price {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 185, 59, 0.5);
  background: rgba(242, 185, 59, 0.12);
  color: #fbd77a;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.et-ottx-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--ox-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------- hero */

.et-ottx-hero {
  position: relative;
  height: clamp(440px, 44vw, 760px);
  overflow: hidden;
  outline: none;
}
.et-ottx-hero__slides { position: absolute; inset: 0; }
.et-ottx-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.et-ottx-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .8s ease, visibility 0s;
  z-index: 1;
}
.et-ottx-slide__bg {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 78%;
  overflow: hidden;
}
.et-ottx-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  transform-origin: 70% 40%;
}
.et-ottx-slide.is-active .et-ottx-slide__bg img { animation: etOttxKen 9s ease-out forwards; }
.et-ottx-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ox-bg) 0%, var(--ox-bg) 22%, rgba(var(--ox-bg-rgb), .86) 34%, rgba(var(--ox-bg-rgb), .35) 52%, rgba(var(--ox-bg-rgb), 0) 70%),
    linear-gradient(0deg, var(--ox-bg) 0%, rgba(var(--ox-bg-rgb), .6) 14%, rgba(var(--ox-bg-rgb), 0) 38%),
    linear-gradient(180deg, rgba(var(--ox-bg-rgb), .55) 0%, rgba(var(--ox-bg-rgb), 0) 18%);
}
.et-ottx-slide__copy {
  position: absolute;
  left: var(--ox-pad);
  bottom: clamp(96px, 13%, 150px);
  width: min(600px, 46%);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease .15s, transform .6s ease .15s;
}
.et-ottx-slide.is-active .et-ottx-slide__copy { opacity: 1; transform: none; }
.et-ottx-slide__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 14px !important;
  font-size: clamp(30px, 3.7vw, 60px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.et-ottx-slide__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 14px 0 24px;
  color: #c9d1e1;
  font-size: 16px;
  line-height: 1.55;
}
.et-ottx-slide__copy .et-ottx-meta { font-size: 15px; }
.et-ottx-slide__copy .et-ottx-actions { margin-top: 22px; }
.et-ottx-slide__desc + .et-ottx-actions { margin-top: 0; }

.et-ottx-hero__nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(var(--ox-bg-rgb), 0.45);
  color: #fff;
  opacity: 0;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity .2s, background-color .2s;
}
.et-ottx-hero__nav.is-prev { left: 12px; }
.et-ottx-hero__nav.is-next { right: 12px; }
.et-ottx-hero:hover .et-ottx-hero__nav,
.et-ottx-hero__nav:focus-visible { opacity: 1; }
.et-ottx-hero__nav:hover { background: rgba(var(--ox-bg-rgb), 0.75); }

.et-ottx-thumbs {
  position: absolute;
  right: var(--ox-pad);
  bottom: clamp(96px, 13%, 150px);
  z-index: 3;
  display: flex;
  gap: 10px;
  max-width: 44%;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.et-ottx-thumbs::-webkit-scrollbar { display: none; }
.et-ottx-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ox-surface);
  opacity: .5;
  cursor: pointer;
  box-shadow: 0 0 0 2px transparent;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.et-ottx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.et-ottx-thumb:hover { opacity: .85; }
.et-ottx-thumb.is-active { opacity: 1; transform: translateY(-3px); box-shadow: 0 0 0 2px #fff, 0 10px 24px rgba(0, 0, 0, .5); }
.et-ottx-thumb__bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 0;
  background: var(--ox-grad);
}
.et-ottx-thumb.is-active .et-ottx-thumb__bar { width: 0; }

@keyframes etOttxBar { from { width: 0; } to { width: 100%; } }
@keyframes etOttxKen { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ----------------------------------------------------------------- rows */

.et-ottx-rows { position: relative; z-index: 2; margin-top: -64px; }
.et-ottx--grid .et-ottx-rows { margin-top: 0; }
.et-ottx-row { margin: 0 0 30px; }
.et-ottx-row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--ox-pad);
  margin-bottom: 4px;
}
.et-ottx-row__head h2 {
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.et-ottx-row.is-premium .et-ottx-row__head h2 {
  background: var(--ox-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.et-ottx-row__more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--ox-muted) !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .15s;
}
.et-ottx-row__more svg { width: 18px; height: 18px; transition: transform .15s; }
.et-ottx-row__more:hover { color: var(--ox-text) !important; }
.et-ottx-row__more:hover svg { transform: translateX(3px); }

.et-ottx-rail { position: relative; --n: 2.25; }
.et-ottx-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--n) - 1) * var(--ox-gap)) / var(--n));
  gap: var(--ox-gap);
  padding: 12px var(--ox-pad) 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--ox-pad);
  scrollbar-width: none;
}
.et-ottx-rail__track::-webkit-scrollbar { display: none; }
.et-ottx-rail__track > * { scroll-snap-align: start; }
.et-ottx-row--top .et-ottx-rail { --n: 1.45; }

.et-ottx-rail__nav {
  position: absolute;
  top: 12px;
  bottom: 16px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: calc(var(--ox-pad) - 4px);
  min-width: 36px;
  padding: 0;
  border: 0;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background-color .2s;
}
.et-ottx-rail__nav[hidden] { display: none; }
.et-ottx-rail__nav.is-prev { left: 0; background: linear-gradient(90deg, rgba(var(--ox-bg-rgb), .92), rgba(var(--ox-bg-rgb), 0)); }
.et-ottx-rail__nav.is-next { right: 0; background: linear-gradient(270deg, rgba(var(--ox-bg-rgb), .92), rgba(var(--ox-bg-rgb), 0)); }
.et-ottx-rail:hover .et-ottx-rail__nav,
.et-ottx-rail__nav:focus-visible { opacity: 1; }
.et-ottx-rail__nav svg { width: 34px; height: 34px; transition: transform .15s; }
.et-ottx-rail__nav:hover svg { transform: scale(1.18); }

/* ---------------------------------------------------------------- cards */

.et-ottx-card { position: relative; min-width: 0; }
.et-ottx-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--ox-radius);
  overflow: hidden;
  background: var(--ox-surface);
  box-shadow: 0 0 0 1px var(--ox-line);
  transform: translateZ(0);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s;
}
.et-ottx-card__link { position: absolute; inset: 0; display: block; }
.et-ottx-card__media { position: absolute; inset: 0; }
.et-ottx-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .3s;
}
.et-ottx-card__tags {
  position: absolute;
  top: 8px; left: 8px; right: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  pointer-events: none;
}
.et-ottx-card__play {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0a0e1a;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .2s, transform .25s;
  pointer-events: none;
}
.et-ottx-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.et-ottx-card__pop {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 12px 10px;
  background: linear-gradient(0deg, rgba(8, 11, 20, .96) 0%, rgba(8, 11, 20, .85) 55%, rgba(8, 11, 20, 0) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .22s, transform .25s;
  pointer-events: none;
}
.et-ottx-card__acts { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.et-ottx-cbtn {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(10, 14, 26, 0.5);
  color: #fff !important;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.et-ottx-cbtn svg { width: 18px; height: 18px; }
.et-ottx-cbtn.is-play { border-color: #fff; background: #fff; color: #0a0e1a !important; }
.et-ottx-cbtn.is-play svg { margin-left: 2px; }
.et-ottx-cbtn:hover { border-color: #fff; transform: scale(1.08); }
.et-ottx-card__price {
  margin-left: auto;
  color: #fbd77a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.et-ottx-card__meta { margin: 0; color: #d5dbe8; font-size: 12px; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; }
.et-ottx-card__meta .et-ottx-dot { margin: 0 6px; }
.et-ottx-card__meta .et-ottx-age,
.et-ottx-card__meta .et-ottx-q { font-size: 10px; line-height: 14px; padding: 0 4px; }
.et-ottx-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--ox-muted);
  font-size: 12px;
  line-height: 1.4;
}
.et-ottx-card__title {
  margin: 10px 2px 2px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.et-ottx-card__title a { color: var(--ox-text) !important; }
.et-ottx-card__title a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.et-ottx-card__sub {
  margin: 0 2px;
  color: var(--ox-faint);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: hover) and (pointer: fine) {
  .et-ottx-card:hover .et-ottx-card__frame,
  .et-ottx-card:focus-within .et-ottx-card__frame {
    z-index: 4;
    transform: scale(1.06);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 18px 40px rgba(0, 0, 0, .6);
  }
  .et-ottx-card:hover .et-ottx-card__media img { transform: scale(1.04); }
  .et-ottx-card:hover .et-ottx-card__pop,
  .et-ottx-card:focus-within .et-ottx-card__pop { opacity: 1; transform: none; pointer-events: auto; }
  .et-ottx-card:hover .et-ottx-card__tags { opacity: 0; }
  .et-ottx-card__tags { transition: opacity .2s; }
  .et-ottx-rail__track > .et-ottx-card:first-child .et-ottx-card__frame { transform-origin: left center; }
  .et-ottx-rail__track > .et-ottx-card:last-child .et-ottx-card__frame { transform-origin: right center; }
}
@media (hover: none) {
  .et-ottx-card__play { opacity: 0; }
}

/* Top 10 */
.et-ottx-card--rank {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: end;
  container-type: inline-size;
}
.et-ottx-card--rank .et-ottx-card__frame { grid-column: 2; grid-row: 1; transform-origin: left center !important; }
.et-ottx-card--rank .et-ottx-card__title,
.et-ottx-card--rank .et-ottx-card__sub { grid-column: 2; }
.et-ottx-rank {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  display: block;
  position: relative;
  z-index: 3;
  padding-right: 0;
  transform: translateX(30%);
  pointer-events: none;
  overflow: visible;
  font-size: 96px;
  font-size: 46cqw;
  font-weight: 900;
  line-height: .74;
  letter-spacing: -0.06em;
  color: var(--ox-bg);
  -webkit-text-stroke: 3px rgba(255, 255, 255, 0.62);
  paint-order: stroke fill;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .5);
  font-variant-numeric: lining-nums;
  user-select: none;
  white-space: nowrap;
  transition: -webkit-text-stroke-color .2s;
}
.et-ottx-rank.is-2d { font-size: 70px; font-size: 34cqw; letter-spacing: -0.1em; }
.et-ottx-card--rank:hover .et-ottx-rank { -webkit-text-stroke-color: #fff; }

/* ---------------------------------------------------------------- tiles */

.et-ottx-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--ox-gap);
  padding: 12px var(--ox-pad) 6px;
}
.et-ottx-tile {
  color: #fff !important;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 16 / 8;
  padding: 14px 16px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--h) 78% 52%) 0%, hsl(calc(var(--h) + 38) 82% 36%) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform .2s ease, box-shadow .2s;
}
.et-ottx-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity .3s, transform .5s;
}
.et-ottx-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 65%);
}
.et-ottx-tile__name,
.et-ottx-tile__count { position: relative; z-index: 1; }
.et-ottx-tile__name { font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.et-ottx-tile__count { margin-top: 3px; color: rgba(255, 255, 255, .82); font-size: 12px; font-weight: 600; }
.et-ottx-tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 16px 34px rgba(0, 0, 0, .45); }
.et-ottx-tile:hover img { opacity: 1; transform: scale(1.06); }

.et-ottx-langs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: var(--ox-gap);
  padding: 12px var(--ox-pad) 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.et-ottx-langs::-webkit-scrollbar { display: none; }
.et-ottx-lang {
  color: var(--ox-text) !important;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 92px;
  padding: 12px 14px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ox-surface);
  box-shadow: inset 0 0 0 1px var(--ox-line);
  transition: background-color .2s, transform .2s;
}
.et-ottx-lang__glyph {
  position: absolute;
  right: -4px;
  top: -18px;
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  background: var(--ox-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .5;
}
.et-ottx-lang__name { position: relative; color: var(--ox-text); font-size: 16px; font-weight: 700; }
.et-ottx-lang__count { position: relative; color: var(--ox-muted); font-size: 12px; font-weight: 600; }
.et-ottx-lang:hover { background: var(--ox-surface-2); transform: translateY(-3px); }

/* ----------------------------------------------------------------- grid */

.et-ottx-gridhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 28px var(--ox-pad) 8px;
}
.et-ottx-gridhead h1 { font-size: clamp(24px, 2.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.et-ottx-gridhead p { margin: 6px 0 0; color: var(--ox-muted); font-size: 14px; }
.et-ottx-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 8px -6px;
  color: var(--ox-muted) !important;
  font-size: 13px;
  font-weight: 600;
}
.et-ottx-back svg { width: 20px; height: 20px; }
.et-ottx-back:hover { color: var(--ox-text) !important; }
.et-ottx-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.et-ottx-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--ox-line);
}
.et-ottx-seg a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ox-muted) !important;
  font-size: 14px;
  font-weight: 600;
  transition: color .15s, background-color .15s;
}
.et-ottx-seg a:hover { color: var(--ox-text) !important; }
.et-ottx-seg a.is-active { background: #fff; color: #0a0e1a !important; }
.et-ottx-select { position: relative; display: inline-flex; align-items: center; margin: 0; }
.et-ottx-select select {
  height: 40px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--ox-line) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--ox-text) !important;
  font-size: 14px;
  font-weight: 600;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.et-ottx-select select option { background: var(--ox-surface); color: var(--ox-text); }
.et-ottx-select svg { position: absolute; right: 10px; color: var(--ox-muted); pointer-events: none; }

.et-ottx-chips {
  display: flex;
  gap: 8px;
  padding: 14px var(--ox-pad) 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.et-ottx-chips::-webkit-scrollbar { display: none; }
.et-ottx-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ox-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ox-muted) !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .15s, background-color .15s, border-color .15s;
}
.et-ottx-chip:hover { color: var(--ox-text) !important; border-color: rgba(255, 255, 255, .25); }
.et-ottx-chip.is-active { border-color: transparent; background: var(--ox-grad); color: #fff !important; }
.et-ottx-chip svg { width: 16px; height: 16px; }

.et-ottx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px var(--ox-gap);
  padding: 18px var(--ox-pad) 8px;
}
.et-ottx-pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 28px var(--ox-pad) 0;
}
.et-ottx-pager a {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ox-muted) !important;
  font-weight: 700;
  transition: background-color .15s, color .15s;
}
.et-ottx-pager a:hover { background: rgba(255, 255, 255, 0.12); color: var(--ox-text) !important; }
.et-ottx-pager a.is-active { background: #fff; color: #0a0e1a !important; }
.et-ottx-pager svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- empty */

.et-ottx-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 96px 24px 64px;
  text-align: center;
}
.et-ottx-empty.is-inline { padding: 64px 24px 32px; }
.et-ottx-empty__art {
  display: grid;
  place-items: center;
  width: 88px; height: 88px;
  margin-bottom: 22px;
  border-radius: 24px;
  background: var(--ox-grad);
  box-shadow: 0 18px 48px rgba(139, 92, 246, .35);
}
.et-ottx-empty__art svg { width: 42px; height: 42px; color: #fff; }
.et-ottx-empty h1,
.et-ottx-empty h2 { font-size: 26px; font-weight: 800; }
.et-ottx-empty p { margin: 10px 0 24px; color: var(--ox-muted); font-size: 15px; line-height: 1.55; }

/* ---------------------------------------------------------------- modal */

html.et-ottx-lock { overflow: hidden; }
.et-ottx-modal {
  --et-text: #f5f7fb;
  --color-dark: #f5f7fb;
  --color-primary: #ffffff;
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px 12px;
  font-family: var(--et-font, "Roboto", Arial, sans-serif);
}
.et-ottx-modal[hidden] { display: none; }
.et-ottx-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 12, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .2s;
}
.et-ottx-modal__box {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 16px;
  background: #141a2a;
  color: #f5f7fb;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .7);
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.et-ottx-modal.is-open .et-ottx-modal__scrim { opacity: 1; }
.et-ottx-modal.is-open .et-ottx-modal__box { opacity: 1; transform: none; }
.et-ottx-modal__x {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 14, 26, .7);
  color: #fff;
  cursor: pointer;
}
.et-ottx-modal__x:hover { background: rgba(10, 14, 26, .95); }
.et-ottx-modal__media { position: relative; aspect-ratio: 16 / 8; background: #0a0e1a; }
.et-ottx-modal__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.et-ottx-modal__fade { position: absolute; inset: 0; background: linear-gradient(0deg, #141a2a 0%, rgba(20, 26, 42, 0) 55%); }
.et-ottx-modal__body { position: relative; margin-top: -90px; padding: 0 clamp(20px, 4vw, 40px) 34px; }
.et-ottx-modal__body h2 { margin: 0 0 12px; color: #fff; font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.et-ottx-modal__body .et-ottx-kicker { color: #a3adc2; }
.et-ottx-modal__desc { margin: 16px 0 24px; color: #c9d1e1; font-size: 15px; line-height: 1.6; }
.et-ottx-modal .et-ottx-btn.is-play { color: #0a0e1a !important; }
.et-ottx-modal [hidden] { display: none !important; }

/* ----------------------------------------------------------- responsive */

@media (min-width: 640px) {
  .et-ottx-rail { --n: 3.2; }
  .et-ottx-row--top .et-ottx-rail { --n: 1.9; }
}
@media (min-width: 960px) {
  .et-ottx-rail { --n: 4.2; }
  .et-ottx-row--top .et-ottx-rail { --n: 2.7; }
}
@media (min-width: 1280px) {
  .et-ottx-rail { --n: 5.2; }
  .et-ottx-row--top .et-ottx-rail { --n: 3.55; }
}
@media (min-width: 1680px) {
  .et-ottx-rail { --n: 6.2; }
  .et-ottx-row--top .et-ottx-rail { --n: 4.4; }
}

@media (max-width: 1100px) {
  .et-ottx-thumb { width: 92px; }
  .et-ottx-slide__copy { width: min(560px, 54%); }
  .et-ottx-nav { gap: 12px; }
  .et-ottx-search { flex-basis: 220px; }
  .et-ottx-nav__mine .et-ottx-pill span { display: none; }
  .et-ottx-nav__mine .et-ottx-pill { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 900px) {
  .et-ottx-nav { flex-wrap: wrap; gap: 8px 12px; }
  .et-ottx-nav__tabs { order: 2; flex-basis: 100%; }
  .et-ottx-search { flex: 1 1 auto; }
  .et-ottx-nav__mine .et-ottx-pill span { display: none; }
  .et-ottx-nav__mine .et-ottx-pill { width: 40px; padding: 0; justify-content: center; }
  .et-ottx-genres__menu { grid-template-columns: repeat(2, minmax(140px, 1fr)); right: var(--ox-pad); }
}
@media (max-width: 767px) {
  .et-ottx-hero { height: auto; }
  .et-ottx-hero__slides { position: relative; display: grid; }
  .et-ottx-slide { position: relative; grid-area: 1 / 1; display: flex; flex-direction: column; }
  .et-ottx-slide__bg { position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .et-ottx-slide__shade {
    background:
      linear-gradient(0deg, var(--ox-bg) 0%, var(--ox-bg) 38%, rgba(var(--ox-bg-rgb), .2) 62%, rgba(var(--ox-bg-rgb), 0) 75%);
  }
  .et-ottx-slide__copy {
    position: relative;
    left: auto; bottom: auto;
    width: auto;
    margin-top: -64px;
    padding: 0 var(--ox-pad) 44px;
    text-align: left;
  }
  .et-ottx-slide__title { font-size: 30px; }
  .et-ottx-slide__desc { -webkit-line-clamp: 2; font-size: 14px; margin: 10px 0 18px; }
  .et-ottx-slide__copy .et-ottx-meta { font-size: 13px; }
  .et-ottx-btn { height: 44px; padding: 0 18px; font-size: 15px; flex: 1 1 auto; }
  .et-ottx-actions .et-ottx-price { flex-basis: 100%; justify-content: center; }
  .et-ottx-hero__nav { display: none; }
  .et-ottx-thumbs {
    left: 0; right: 0; bottom: 18px;
    justify-content: center;
    max-width: none;
    gap: 6px;
  }
  .et-ottx-thumb {
    width: 8px; height: 8px;
    aspect-ratio: auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    opacity: 1;
    transition: width .25s, background-color .25s;
  }
  .et-ottx-thumb img { display: none; }
  .et-ottx-thumb.is-active { width: 26px; transform: none; box-shadow: none; background: rgba(255, 255, 255, .35); }
  .et-ottx-thumb__bar { height: 100%; background: #fff; }
  .et-ottx-rows { margin-top: 8px; }
  .et-ottx-rail__nav { display: none !important; }
  .et-ottx-tiles { grid-template-columns: repeat(2, 1fr); }
  .et-ottx-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
  .et-ottx-gridhead { padding-top: 20px; }
  .et-ottx-rank { -webkit-text-stroke-width: 2px; }
  .et-ottx-modal { padding: 0; place-items: end center; }
  .et-ottx-modal__box { max-height: 92vh; border-radius: 16px 16px 0 0; }
}
@media (max-width: 420px) {
  .et-ottx-grid { grid-template-columns: 1fr 1fr; }
  .et-ottx-card__sub { display: none; }
}
/* style.css sets overflow:hidden on the side-menu wrapper at <=530px, which makes it the sticky container. */
@media (max-width: 530px) {
  .et-ottx { --ox-top: 0px; }
  .yp_side_menu.has_side_menu:has(> .et-ottx-host) { overflow: clip; }
  .yp_side_menu.has_side_menu:has(> .et-ottx-host) .et-ottx { --ox-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .et-ottx *,
  .et-ottx-modal * { animation: none !important; transition: none !important; }
  .et-ottx-slide__bg img { transform: none; }
}
