:root {
  --black: #050506;
  --panel: #101012;
  --text: #f7f7f5;
  --muted: #aaaab1;
  --red: #ff214f;
  --red-dark: #d90f3b;
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html {
  background: var(--black);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button, input { font: inherit; }
button { color: inherit; }

button:focus-visible,
input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 4vw;
  background: linear-gradient(180deg, rgba(2, 2, 3, 0.97) 0%, rgba(2, 2, 3, 0.74) 58%, transparent 100%);
}

.brand {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--red);
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: 0.115em;
  cursor: pointer;
  text-shadow: 0 0 24px rgba(255, 33, 79, 0.22);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav button {
  position: relative;
  border: 0;
  padding: 25px 0 22px;
  background: transparent;
  color: #b7b7bd;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  transition: color 160ms ease;
}

.desktop-nav button:hover,
.desktop-nav button.active { color: #fff; }

.desktop-nav button.active::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  border-radius: 9px;
  background: var(--red);
  content: "";
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.icon-button:hover { background: rgba(255, 255, 255, 0.13); }

.icon-button svg,
.search-field svg,
.mobile-nav svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.profile {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--red), #6d1130);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0;
  color: #fff;
  cursor: pointer;
}

.membership-status {
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  padding: 0 9px;
  background: rgba(0, 0, 0, 0.46);
  color: #c7c7cc;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.membership-status.is-active,
.membership-status.is-trial { border-color: rgba(89, 212, 134, 0.48); color: #75dda0; }
.membership-status.is-expired { border-color: rgba(255, 33, 79, 0.5); color: #ff6b8b; }

.hero {
  position: relative;
  min-height: 760px;
  height: min(88vh, 940px);
  display: flex;
  align-items: center;
  background-color: #13100e;
  background-position: center top;
  background-size: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 4, 0.96) 0%, rgba(3, 3, 4, 0.74) 31%, rgba(3, 3, 4, 0.18) 62%, rgba(3, 3, 4, 0.05) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 32%),
    linear-gradient(180deg, rgba(2, 2, 3, 0.28) 0%, transparent 25%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(590px, 58vw);
  margin-left: 5vw;
  padding-top: 32px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.25em;
}

.eyebrow span {
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 8.1vw, 7.9rem);
  font-weight: 500;
  line-height: 0.74;
  letter-spacing: -0.065em;
  text-shadow: 0 3px 34px rgba(0, 0, 0, 0.45);
}

.hero h1 em {
  display: inline-block;
  margin-left: 0.37em;
  color: #e6d4b2;
  font-size: 0.55em;
  font-style: normal;
  letter-spacing: 0.16em;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  color: #d7d7db;
  font-size: 0.86rem;
}

.hero-meta strong { color: #59d486; }

.hero-meta span:nth-last-child(2) {
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 3px;
  font-size: 0.73rem;
}

.hero-content > p {
  max-width: 550px;
  margin: 20px 0 0;
  color: #d5d5d9;
  font-size: 1.02rem;
  line-height: 1.62;
  text-shadow: 0 2px 18px #000;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 5px;
  padding: 0 26px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.primary-button { background: #fff; color: #080808; }

.primary-button:hover {
  background: #dedee0;
  transform: translateY(-1px);
}

.secondary-button {
  background: rgba(92, 92, 98, 0.66);
  color: #fff;
  backdrop-filter: blur(9px);
}

.secondary-button:hover {
  background: rgba(115, 115, 122, 0.78);
  transform: translateY(-1px);
}

.play-triangle {
  width: 0;
  height: 0;
  display: inline-block;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.content-rows {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  padding: 0 0 82px;
}

.playback-notice {
  position: relative;
  z-index: 3;
  width: min(900px, calc(100% - 8vw));
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: -92px 4vw 0;
  padding: 11px 44px 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 3px solid var(--red);
  border-radius: 2px;
  background: rgba(10, 10, 12, 0.94);
}

.playback-notice-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.playback-notice-copy strong { font-size: 0.9rem; }

.playback-notice-copy span {
  color: #bdbdc4;
  font-size: 0.8rem;
  line-height: 1.45;
}

.notice-action,
.notice-dismiss,
.site-footer button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.notice-action {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 5px 0 3px;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: #ff7896;
  font-size: 0.78rem;
  font-weight: 800;
}

.notice-action:hover { color: #fff; }

.notice-dismiss {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  color: #94949c;
  font-size: 1.35rem;
  line-height: 1;
}

.notice-dismiss:hover { color: #fff; }

.media-row { margin-bottom: 38px; }

.row-heading {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 0 4vw;
  margin-bottom: 13px;
}

.row-heading h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.row-heading span { color: var(--muted); font-size: 0.72rem; }

.card-track {
  display: grid;
  grid-auto-columns: clamp(145px, 14.5vw, 218px);
  grid-auto-flow: column;
  gap: 12px;
  padding: 0 4vw 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
}

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

.media-card {
  position: relative;
  min-width: 0;
  border-radius: 7px;
  background: #151519;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.media-card:hover {
  z-index: 5;
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5);
}

.poster-button {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: linear-gradient(145deg, #28282d, #111114);
  cursor: pointer;
}

.poster-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease, opacity 200ms ease;
}

.media-card:hover img { transform: scale(1.035); }

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.92) 100%);
  opacity: 0.72;
  transition: opacity 170ms ease;
}

.card-copy {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  text-shadow: 0 2px 10px #000;
}

.card-copy strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-copy small { color: #c3c3c9; font-size: 0.67rem; }

.card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.8);
  transition: opacity 170ms ease, transform 170ms ease;
  backdrop-filter: blur(5px);
}

.card-play .play-triangle {
  margin-left: 3px;
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 10px;
}

.media-card:hover .card-play,
.poster-button:focus-visible .card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.list-toggle {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(5, 5, 6, 0.7);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.list-toggle:hover,
.list-toggle.is-added { border-color: var(--red); background: var(--red); }

.browse-view {
  min-height: 100vh;
  padding: 112px 4vw 110px;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 33, 79, 0.12), transparent 30%),
    var(--black);
}

.browse-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.browse-heading > p {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.search-field {
  width: min(520px, 52vw);
  height: 50px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.075);
}

.search-field:focus-within {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.search-field input::placeholder { color: #8d8d94; }

.search-field button {
  border: 0;
  background: transparent;
  color: #aaaab1;
  font-size: 1.5rem;
  cursor: pointer;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px 12px;
}

.empty-state {
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.empty-state span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.empty-state h1 {
  margin: 13px 0 4px;
  font-size: clamp(1.8rem, 5vw, 3.6rem);
}

.empty-state p { color: var(--muted); }

.mobile-nav { display: none; }

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4vw 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #777780;
  font-size: 0.76rem;
}

.site-footer span {
  color: #8e8e96;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer button,
.site-footer a {
  padding: 7px 0;
  color: #bdbdc4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer nav { display: flex; align-items: center; gap: 18px; }
.site-footer button:hover,
.site-footer a:hover { color: #fff; }

.ad-help-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.84);
}

.ad-help-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: #111113;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.58);
}

.ad-help-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  background: #1c1c1f;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.ad-help-eyebrow {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.ad-help-panel h2 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ad-help-panel > p:not(.ad-help-eyebrow) {
  margin: 16px 0 0;
  color: #bdbdc4;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ad-help-device {
  color: #fff !important;
  font-weight: 750;
}

.ad-help-options {
  display: grid;
  gap: 10px;
  margin: 15px 0 18px;
}

.ad-help-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.ad-help-option:hover {
  border-color: rgba(255, 33, 79, 0.5);
  background: rgba(255, 33, 79, 0.08);
}

.ad-help-option span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ad-help-option strong { font-size: 0.88rem; }
.ad-help-option small { color: #94949c; font-size: 0.72rem; }
.ad-help-option > b { color: var(--red); font-size: 1.1rem; }
.ad-help-panel > small { color: #7f7f87; font-size: 0.72rem; line-height: 1.5; }

.membership-modal {
  position: fixed;
  z-index: 95;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.86);
}

.membership-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-top: 3px solid var(--red);
  border-radius: 3px;
  background: #111113;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.64);
}

.membership-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  background: #1d1d20;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.membership-eyebrow {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.membership-panel h2 {
  max-width: 420px;
  margin: 0;
  padding-right: 34px;
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.membership-copy {
  margin: 14px 0 0;
  color: #b5b5bc;
  font-size: 0.88rem;
  line-height: 1.58;
}

.auth-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 24px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.auth-switch button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px;
  background: transparent;
  color: #888890;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.auth-switch button.active { border-bottom-color: var(--red); color: #fff; }

.membership-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.membership-form label {
  display: grid;
  gap: 7px;
  color: #c5c5ca;
  font-size: 0.75rem;
  font-weight: 750;
}

.membership-form input {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  padding: 0 13px;
  background: #09090a;
  color: #fff;
}

.membership-form input:focus { border-color: rgba(255, 255, 255, 0.64); outline: 0; }

.membership-primary,
.membership-secondary {
  width: 100%;
  min-height: 46px;
  border-radius: 2px;
  padding: 10px 16px;
  font-weight: 850;
  cursor: pointer;
}

.membership-primary { border: 1px solid #fff; background: #fff; color: #080809; }
.membership-secondary { border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; }
.membership-primary:hover { background: #dcdce0; border-color: #dcdce0; }
.membership-secondary:hover { border-color: #fff; }
.membership-primary:disabled,
.membership-secondary:disabled { opacity: 0.42; cursor: not-allowed; }

.membership-text-button {
  border: 0;
  margin: 14px 0 0;
  padding: 6px 0;
  background: transparent;
  color: #aaaab1;
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.membership-legal,
.membership-small {
  margin: 16px 0 0;
  color: #717179;
  font-size: 0.68rem;
  line-height: 1.5;
}

.membership-legal a { color: #a9a9b0; }

.legal-page {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 80px 0;
}

.legal-page > a { color: var(--red); font-size: 0.8rem; font-weight: 800; text-decoration: none; }
.legal-page h1 { margin: 28px 0 8px; font-size: clamp(2.4rem, 8vw, 4.8rem); letter-spacing: -0.055em; }
.legal-page .updated { margin: 0 0 34px; color: #777780; font-size: 0.75rem; }
.legal-page h2 { margin: 32px 0 8px; font-size: 1.05rem; }
.legal-page p,
.legal-page li { color: #b6b6bd; font-size: 0.9rem; line-height: 1.7; }
.legal-page a { color: #ff7896; }

.membership-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: #75dda0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.membership-message.is-error { color: #ff809a; }

.membership-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 24px 0 18px;
}

.membership-price strong { font-size: 3rem; letter-spacing: -0.06em; }
.membership-price span { color: #9b9ba3; font-size: 0.82rem; }
.payment-actions { display: grid; gap: 10px; }

.membership-features {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  color: #b8b8bf;
  font-size: 0.8rem;
  list-style: none;
}

.membership-features li::before { margin-right: 9px; color: #75dda0; content: "✓"; }

.account-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.account-status span { color: #75dda0; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.09em; }
.account-status small { color: #85858d; font-size: 0.7rem; }

.device-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #c9c9ce;
  font-size: 0.76rem;
}

.device-heading span { color: #777780; }

.device-list {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.device-list li {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.device-list li > span { display: grid; gap: 3px; }
.device-list strong { font-size: 0.79rem; }
.device-list small { color: #777780; font-size: 0.67rem; }
.device-list b { color: #75dda0; font-size: 0.65rem; text-transform: uppercase; }

.device-list button {
  border: 0;
  padding: 6px 0;
  background: transparent;
  color: #ff7896;
  font-size: 0.7rem;
  cursor: pointer;
}

.player-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #000;
}

.player-topline {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px max(16px, 3vw);
  border-bottom: 1px solid var(--line);
  background: #080809;
}

.player-topline > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.player-topline span {
  color: var(--red);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.player-topline strong {
  overflow: hidden;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-topline button {
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #17171a;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.player-topline button:hover { background: #28282d; }

.player-modal iframe {
  width: 100%;
  flex: 1;
  border: 0;
  background: #000;
}

@media (max-width: 1180px) {
  .catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .topbar { height: 62px; padding: 0 18px; }
  .brand { font-size: 1.28rem; }
  .desktop-nav { display: none; }
  .top-actions { gap: 0; }
  .membership-status { margin-right: 10px; font-size: 0.56rem; }
  .icon-button { background: transparent; }

  .hero {
    min-height: 630px;
    height: 76vh;
    align-items: flex-end;
    background-position: 61% top;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, var(--black) 0%, rgba(4, 4, 5, 0.82) 27%, rgba(4, 4, 5, 0.12) 66%),
      linear-gradient(90deg, rgba(2, 2, 3, 0.5) 0%, transparent 60%);
  }

  .hero-content {
    width: auto;
    margin: 0 18px;
    padding-bottom: 92px;
  }

  .eyebrow { margin-bottom: 13px; font-size: 0.6rem; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 6rem); }
  .hero-meta { margin-top: 25px; }

  .hero-content > p {
    display: -webkit-box;
    max-width: 94%;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .hero-actions { margin-top: 20px; }

  .primary-button,
  .secondary-button {
    min-height: 44px;
    padding: 0 19px;
    font-size: 0.84rem;
  }

  .playback-notice {
    width: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    margin: -52px 16px 0;
    padding: 14px 44px 14px 15px;
  }

  .notice-action { margin-left: 0; }
  .content-rows { margin-top: 24px; padding-bottom: 105px; }
  .row-heading { padding: 0 18px; }
  .row-heading h2 { font-size: 1.07rem; }

  .card-track {
    grid-auto-columns: 132px;
    gap: 9px;
    padding: 0 18px 12px;
  }

  .media-card:hover { transform: none; }
  .card-play { display: none; }
  .card-copy { right: 8px; bottom: 9px; left: 8px; }
  .card-copy strong { font-size: 0.73rem; }
  .list-toggle { top: 6px; right: 6px; width: 30px; height: 30px; }

  .mobile-nav {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(67px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px 8px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 7, 8, 0.96);
    backdrop-filter: blur(18px);
  }

  .mobile-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    border: 0;
    background: transparent;
    color: #77777f;
    font-size: 0.62rem;
    cursor: pointer;
  }

  .mobile-nav button.active { color: #fff; }
  .mobile-nav svg { width: 21px; height: 21px; }

  .plus-icon {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    font-size: 1.55rem;
    font-weight: 300;
    line-height: 0.8;
  }

  .browse-view { padding: 82px 16px 100px; }

  .browse-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
  }

  .browse-heading > p { font-size: 1.75rem; }
  .search-field { width: 100%; height: 47px; }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
  }

  .player-topline { min-height: 58px; }
  .player-topline button { width: 38px; height: 38px; }

  .site-footer {
    padding: 18px 18px calc(92px + env(safe-area-inset-bottom));
  }

  .ad-help-modal {
    align-items: end;
    padding: 0;
  }

  .ad-help-panel {
    width: 100%;
    max-height: min(82vh, 720px);
    padding: 26px 20px calc(24px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 3px 3px 0 0;
  }

  .membership-modal { align-items: end; padding: 0; }
  .membership-panel {
    width: 100%;
    max-height: min(88vh, 760px);
    padding: 27px 20px calc(24px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 3px 3px 0 0;
  }
}

@media (max-width: 420px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 9px; }
  .hero h1 { font-size: 3.7rem; }
  .secondary-button { padding-inline: 15px; }
}

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