@import url("fonts.css");

:root {
  --page: #131313;
  --page-dark: #0f0f0f;
  --header: #1f2024;
  --panel: #191919;
  --panel-light: #242424;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: #343434;
  --muted: rgba(255, 255, 255, 0.6);
  --hint: #a1a1a1;
  --accent: #f97187;
  --accent-dark: #e65476;
  --sale: #d8ff63;
  --cta: linear-gradient(100deg, #ef476f 0%, #f57991 100%);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

[hidden],
.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: var(--header);
}

.header-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 1600px;
  height: 48px;
  margin: 0 auto;
  padding: 0 16px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.brand-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: 26px;
}

.header-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-guest-actions,
.header-user-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header-guest-actions > * + *,
.header-user-actions > * + * {
  margin-left: 8px;
}

.header-account-chip {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  min-width: 0;
  height: 32px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
}

.header-account-avatar {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 30px;
  height: 30px;
  -ms-flex: 0 0 30px;
  flex: 0 0 30px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  text-transform: uppercase;
}

.header-account-email {
  display: none;
  max-width: 160px;
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  height: 32px;
  padding: 6px 8px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

.header-button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
}

.header-button:hover,
.header-button:focus-visible {
  -webkit-filter: brightness(1.08);
  filter: brightness(1.08);
  outline: none;
}

.catalog-page,
.legal-page {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  background: var(--page);
}

.filter-panel {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 16px;
  background: rgba(19, 19, 19, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.filter-inner {
  width: 100%;
  margin: 0 auto;
}

.filter-row + .filter-row {
  margin-top: 16px;
}

.filter-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-track::-webkit-scrollbar {
  display: none;
}

.scope-track {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.scope-tab {
  position: relative;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  padding: 4px 0 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

.scope-tab + .scope-tab {
  margin-left: 24px;
}

.scope-tab:after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ef476f, #fb8fa0);
  content: "";
  opacity: 0;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.scope-tab[aria-selected="true"],
.scope-tab:hover {
  color: #fff;
}

.scope-tab[aria-selected="true"]:after {
  opacity: 1;
}

.tag-track {
  padding: 2px 0;
}

.tag-pill {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}

.tag-pill + .tag-pill {
  margin-left: 8px;
}

.tag-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tag-pill[aria-selected="true"] {
  border-color: transparent;
  background: #fff;
  color: #131313;
  font-weight: 600;
}

.catalog-shell {
  padding: 16px;
}

.catalog-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-lines: multiple;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  display: grid;
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.series-card {
  display: block;
  width: 100%;
  min-width: 0;
  color: #fff;
}

@supports not (display: grid) {
  .catalog-grid {
    margin-right: -8px;
    margin-left: -8px;
  }

  .series-card {
    width: calc(50% - 16px);
    margin: 0 8px 20px;
  }
}

.series-card-media {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 142.857%;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.35);
}

.series-card-media img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  -webkit-transition: -webkit-filter 0.2s ease, -webkit-transform 0.2s ease;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.series-card:hover .series-card-media img,
.series-card:focus-visible .series-card-media img {
  -webkit-filter: brightness(1.1);
  filter: brightness(1.1);
}

.series-card-title {
  display: -webkit-box;
  min-height: 48px;
  margin: 8px 0 0;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.empty-state {
  padding: 80px 16px;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #000;
}

.footer-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.footer-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.footer-row > * + * {
  margin-top: 12px;
}

.footer-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer-nav a {
  margin-right: 16px;
  margin-bottom: 0;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.copyright {
  margin: 0 0 0 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  white-space: nowrap;
}

.language-picker {
  position: relative;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.language-picker summary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 36px;
  padding: 0 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker summary > * + * {
  margin-left: 6px;
}

.language-chevron {
  display: block;
  width: 12px;
  height: 12px;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
}

.language-chevron path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-picker[open] .language-chevron {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  bottom: 100%;
  left: 0;
  z-index: 80;
  width: 192px;
  max-width: calc(100vw - 32px);
  margin-bottom: 8px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(37, 37, 37, 0.97);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.language-option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding: 8px 12px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.language-option > * + * {
  margin-left: 8px;
}

.language-option .language-name {
  min-width: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.language-option .language-code {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.language-option:hover,
.language-option.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Authentication modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 24px 0;
  overflow-y: auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.auth-dialog {
  position: relative;
  width: 335px;
  max-width: calc(100vw - 40px);
  margin: auto 20px;
  overflow: hidden;
  border-radius: 10px;
  background: #191919;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.56);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 27px;
  font-weight: 300;
  line-height: 20px;
}

.auth-logo-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 24px 24px 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.auth-logo-wrap img {
  height: 26px;
}

.auth-panel {
  padding: 20px 24px 24px;
}

.auth-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.auth-panel .panel-copy {
  margin: -4px 0 14px;
  color: #a4a4a4;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.auth-field-wrap {
  position: relative;
  margin-top: 16px;
}

.auth-panel form .auth-field-wrap:first-child {
  margin-top: 12px;
}

.auth-field-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 20px;
  height: 20px;
  color: #9a9a9a;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  pointer-events: none;
}

.auth-field {
  width: 100%;
  height: 46px;
  padding: 0 44px 0 40px;
  border: 1px solid #363636;
  border-radius: 10px;
  outline: none;
  background: #262626;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.auth-field:focus {
  border-color: var(--accent);
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.field-hint {
  margin: 4px 0 0;
  color: #777;
  font-size: 14px;
  line-height: 20px;
}

.auth-submit,
.google-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  min-height: 44px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.auth-submit {
  margin-top: 18px;
  background: var(--accent);
  color: #fff;
}

.google-button {
  margin-top: 12px;
  background: #fff;
  color: #4a4a4a;
}

.google-g {
  margin-right: 12px;
  color: #4285f4;
  font-size: 23px;
  font-weight: 700;
}

.auth-divider {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 31px 0 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.auth-divider:before,
.auth-divider:after {
  height: 1px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  background: #393939;
  content: "";
}

.auth-divider span {
  margin: 0 15px;
  white-space: nowrap;
}

.auth-links {
  margin-top: 12px;
}

.auth-text-link {
  display: block;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: underline;
}

.auth-legal {
  margin: 30px 0 0;
  color: #aaa;
  font-size: 10px;
  line-height: 15px;
  text-align: center;
}

.auth-footer-switch {
  padding: 20px 16px;
  border-top: 1px solid #393939;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.auth-footer-switch button {
  padding: 0;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.form-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--accent);
  font-size: 12px;
  line-height: 18px;
}

.form-message:empty {
  display: none;
}

[data-auth-panel="signup"] .auth-panel {
  padding-bottom: 16px;
}

/* Series page and player */
.series-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.series-background {
  position: absolute;
  top: -5%;
  right: -5%;
  bottom: -5%;
  left: -5%;
  background-color: #000;
  background-image: var(--series-poster);
  background-position: center 25%;
  background-size: cover;
  -webkit-filter: blur(70px) brightness(0.35) saturate(1.2);
  filter: blur(70px) brightness(0.35) saturate(1.2);
  opacity: 0.55;
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

.series-background:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 58% 0, rgba(228, 50, 100, 0.22), transparent 45%), rgba(0, 0, 0, 0.64);
  content: "";
}

.series-container {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 672px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 24px 16px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.series-layout {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.player-frame + .series-info {
  margin-top: 18px;
}

.desktop-back,
.mobile-back {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 36px;
  height: 36px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
}

.desktop-back {
  display: none;
}

.mobile-back {
  margin-right: 12px;
}

.back-icon {
  width: 10px;
  height: 10px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  -webkit-transform: rotate(45deg) translate(2px, -2px);
  transform: rotate(45deg) translate(2px, -2px);
}

.player-frame {
  position: relative;
  width: 100%;
  height: 75vh;
  height: 75dvh;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

.series-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #000;
  object-fit: cover;
}

.center-play,
.locked-cta {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: transparent;
}

.center-play-circle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 80px;
  height: 80px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #fff;
}

.locked-cta {
  background: rgba(0, 0, 0, 0.4);
}

.locked-cta-pill {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: calc(100% - 48px);
  max-width: 280px;
  padding: 12px 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 32px rgba(238, 71, 110, 0.36);
}

.player-chrome {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12;
  padding: 38px 16px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.progress-range,
.volume-range {
  width: 100%;
  height: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.progress-range::-webkit-slider-thumb,
.volume-range::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.chrome-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 7px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.chrome-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 32px;
  height: 32px;
  padding: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: transparent;
  color: #fff;
}

.chrome-button + .chrome-button {
  margin-left: 10px;
}

.chrome-button + .volume-group,
.volume-group + .chrome-button {
  margin-left: 10px;
}

.mini-play {
  width: 28px;
  height: 28px;
  margin-left: 2px;
}

.mini-pause {
  display: none;
  width: 24px;
  height: 24px;
}

.is-playing .mini-play {
  display: none;
}

.is-playing .mini-pause {
  display: block;
}

.time-display {
  margin-left: 2px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.chrome-spacer {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.volume-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 32px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.volume-range {
  display: none;
}

.control-icon,
.control-svg {
  width: 24px;
  height: 24px;
}

.control-icon {
  object-fit: contain;
}

[data-open-speed] .control-icon {
  width: 20px;
  height: 20px;
}

.player-sheet-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 25;
  background: rgba(0, 0, 0, 0.36);
}

.player-sheet {
  position: absolute;
  right: 12px;
  bottom: 62px;
  left: 12px;
  z-index: 26;
  max-height: 70%;
  padding: 14px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(23, 23, 23, 0.97);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.sheet-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 8px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.sheet-header h3 {
  margin: 0;
  font-size: 16px;
}

.sheet-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sheet-option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 600;
}

.sheet-option.is-selected {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.series-info {
  width: 100%;
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #272727;
  border-radius: 12px;
  background: radial-gradient(ellipse at top left, rgba(40, 40, 40, 0.5), rgba(26, 26, 26, 0) 70%);
}

.series-info h1 {
  margin: 0;
  overflow-wrap: break-word;
  font-size: 28px;
  font-weight: 600;
  line-height: 38px;
}

.series-description {
  margin: 12px 0 0;
  color: var(--hint);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.series-divider {
  height: 1px;
  margin: 22px 0;
  background: #292929;
}

.episode-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.episode-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  min-height: 0;
  padding: 14px 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border: 1px solid #393939;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  -webkit-transition: border-color 0.15s ease;
  transition: border-color 0.15s ease;
}

.episode-button > span:first-child {
  font-size: 16px;
  font-weight: 600;
  line-height: 21px;
}

.episode-button + .episode-button {
  margin-top: 12px;
}

.episode-button:hover {
  border-color: #727272;
}

.episode-button.is-active {
  border-color: var(--accent-dark);
  color: var(--accent);
}

.lock-icon {
  position: relative;
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
  color: #fff;
}

.lock-icon:before {
  position: absolute;
  bottom: 8px;
  left: 1px;
  width: 8px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  content: "";
}

/* Membership modal */
.paywall-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.64);
}

.paywall-dialog {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: auto;
  overflow: hidden;
  background: var(--page-dark);
  color: #fff;
}

.paywall-close {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 44px;
  height: 44px;
  padding: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 25px;
}

.paywall-hero {
  position: relative;
  height: 247px;
  overflow: hidden;
}

.paywall-hero:before {
  position: absolute;
  top: -70px;
  right: -2%;
  bottom: -88px;
  left: -2%;
  background-image: url("membership-covers.webp");
  background-position: center top;
  background-size: 100% auto;
  content: "";
  -webkit-transform: rotate(-4deg) scale(1.08);
  transform: rotate(-4deg) scale(1.08);
}

.paywall-hero:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, transparent 0, rgba(15, 15, 15, 0.2) 20%, rgba(15, 15, 15, 0.66) 50%, #0f0f0f 92%);
  content: "";
}

.paywall-content {
  position: relative;
  z-index: 2;
  padding: 0 16px 18px;
}

.paywall-brand {
  width: auto;
  height: 19px;
  margin-bottom: 6px;
}

.paywall-content h2 {
  margin: 0 0 12px;
  font-size: 27px;
  font-weight: 700;
  line-height: 32px;
}

.plan-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.plan-card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  min-height: 86px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  text-align: left;
}

.plan-card + .plan-card {
  margin-top: 8px;
}

.plan-card.is-selected {
  border-color: var(--accent-dark);
}

.plan-rail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 44px;
  -ms-flex: 0 0 44px;
  flex: 0 0 44px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.plan-card.is-selected .plan-rail {
  background: #df6882;
}

.plan-radio {
  position: relative;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.plan-card.is-selected .plan-radio {
  border-color: #fff;
}

.plan-card.is-selected .plan-radio:after {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 4px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.plan-copy {
  display: block;
  min-width: 0;
  padding: 9px 14px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.plan-name {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.plan-price {
  font-size: 25px;
  font-weight: 700;
  line-height: 32px;
}

.desktop-plan-pricing {
  display: none;
}

.mobile-plan-pricing {
  display: inline;
}

.plan-unit,
.plan-old-price,
.plan-billing {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.plan-old-price {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.plan-billing {
  display: block;
  font-size: 11px;
  line-height: 16px;
}

.plan-offer {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 9px;
  border-radius: 0 11px 0 10px;
  color: var(--sale);
  font-size: 11px;
  font-weight: 700;
}

.plan-card.is-selected .plan-offer {
  background: var(--sale);
  color: #131313;
}

.why-join {
  margin-top: 16px;
}

.why-join h3 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 16px;
  text-transform: uppercase;
}

.feature-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: 10px;
}

.feature-row img {
  width: 28px;
  height: 22px;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.feature-row span {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.paywall-action {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  margin-top: 18px;
  padding: 14px 0 12px;
  background: var(--page-dark);
}

.paywall-action button {
  width: 100%;
  min-height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(239, 71, 111, 0.35);
}

/* Legal pages */
.legal-page {
  padding: 24px 12px;
  overflow: hidden;
}

.legal-article {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  overflow-wrap: break-word;
}

.legal-article main,
.legal-article #main-wrapper,
.legal-article #main-wrapper > main {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

.legal-article #main-wrapper > main > div {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.legal-article #main-wrapper > main > div > * + * {
  margin-top: 48px;
}

.legal-article #main-wrapper > main > div > h1 {
  width: auto;
  max-width: 100%;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 38px;
}

.legal-article #main-wrapper > main > div > div:nth-child(2) {
  width: auto;
  max-width: 100%;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.legal-article #main-wrapper > main > div > .prose {
  width: 100%;
}

.legal-article h1,
.legal-article h2,
.legal-article h3 {
  margin: 32px 0 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

.legal-article .prose h1 {
  font-size: 31.5px;
  line-height: 35px;
}

.legal-article .prose h2 {
  font-size: 21px;
  line-height: 28px;
}

.legal-article p {
  color: #e5e5e5;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
}

.legal-article li,
.legal-article td,
.legal-article th {
  color: #e5e5e5;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.legal-article p {
  margin: 16px 0;
}

.legal-article a {
  color: #60a5fa;
  font-weight: 500;
  text-decoration: underline;
}

.legal-article ul,
.legal-article ol {
  margin-top: 0;
  margin-bottom: 17.5px;
  padding-left: 24px;
}

.legal-article li {
  margin-top: 4px;
  margin-bottom: 4px;
  padding-left: 5.25px;
}

.legal-article strong {
  color: #fff;
  font-weight: 600;
}

.legal-article blockquote {
  width: 100%;
  margin: 22.4px 0;
  padding: 0 0 0 14px;
  border-left: 4px solid #4b5563;
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.legal-article table {
  display: block;
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid #d4d4d4;
  border-collapse: collapse;
}

.legal-article th,
.legal-article td {
  padding: 8px 16px;
  border-bottom: 1px solid #d4d4d4;
  text-align: left;
  vertical-align: top;
}

@media (min-width: 651px) {
  .paywall-overlay {
    padding: 24px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .paywall-dialog {
    width: 540px;
    min-height: 0;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 20px;
  }

  .paywall-content {
    padding-right: 28px;
    padding-left: 28px;
  }

  .paywall-hero {
    height: 200px;
  }

  .desktop-plan-pricing {
    display: inline;
  }

  .mobile-plan-pricing {
    display: none;
  }
}

@media (min-width: 768px) {
  .header-button {
    padding-right: 16px;
    padding-left: 16px;
  }

  .header-button.primary {
    font-size: 14px;
  }

  .filter-panel {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .filter-inner {
    width: 610px;
  }

  .filter-track {
    width: calc(100% - 12px);
    margin-right: 6px;
    margin-left: 6px;
  }

  .scope-tab {
    font-size: 18px;
    line-height: 30px;
  }

  .catalog-shell {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, 190px);
    gap: 32px 20px;
  }

  .series-card {
    width: 190px;
  }

  @supports not (display: grid) {
    .catalog-grid {
      margin-right: auto;
      margin-left: auto;
    }

    .series-card {
      margin: 0 10px 32px;
    }
  }

  .footer-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .footer-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .footer-row > * + * {
    margin-top: 0;
    margin-left: 16px;
  }

  .footer-meta {
    width: auto;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .copyright {
    font-size: 11px;
  }

  .language-picker summary {
    height: 41px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .auth-dialog {
    width: 407px;
    margin: auto;
  }

  .auth-logo-wrap {
    padding-right: 40px;
    padding-left: 40px;
  }

  .auth-panel {
    padding-right: 40px;
    padding-left: 40px;
  }

  .auth-panel h2 {
    font-size: 18px;
    line-height: 32px;
  }

  [data-auth-panel="signup"] .auth-panel {
    padding-bottom: 20px;
  }

  .header-account-email {
    display: inline;
  }

  .legal-page {
    padding: 56px 16px;
  }

  .legal-article {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .filter-inner {
    width: 900px;
  }

  .catalog-grid {
    grid-template-columns: repeat(4, 210px);
  }

  .series-card {
    width: 210px;
  }

  .series-card-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
  }

  .mobile-back {
    display: none;
  }

  .series-container {
    max-width: 920px;
    min-height: 0;
    padding: 40px 24px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .series-layout {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .player-frame + .series-info {
    margin-top: 0;
    margin-left: 29px;
  }

  .desktop-back {
    position: absolute;
    top: 0;
    left: -64px;
    z-index: 30;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .player-frame {
    width: 410.625px;
    height: 730px;
    max-height: calc(100vh - 128px);
    min-height: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    border-radius: 15px;
  }

  .series-info {
    height: 730px;
    max-height: calc(100vh - 128px);
    padding: 30px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .series-info h1 {
    font-weight: 500;
  }
}

@media (min-width: 1280px) {
  .filter-inner {
    width: 1110px;
  }

  .catalog-grid {
    grid-template-columns: repeat(5, 210px);
  }

  .series-card {
    width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
