:root {
  color-scheme: dark;
  font-family: "Montserrat", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --desktop: #010101;
  --frame: #010101;
  --app: #010101;
  --sidebar: #171717;
  --surface: #101011;
  --surface-raised: #171719;
  --text: #f8f7f9;
  --muted: #a1a0a5;
  --muted-dim: #77767c;
  --accent: #e63a76;
  --accent-light: #ec2389;
  --hairline: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  min-width: 320px;
  background: var(--desktop);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
}

.app-boot-screen {
  display: none;
}

body.is-booting .app-window {
  visibility: hidden;
}

body.is-booting .app-boot-screen {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(230, 58, 118, 0.12), transparent 38%),
    #070608;
}

.app-boot-screen__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #e63a76, #ec2389);
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  box-shadow: 0 10px 32px rgba(236, 35, 137, 0.24);
}

.app-boot-screen strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.app-boot-screen__message {
  color: var(--muted);
  font-size: 11px;
}

.app-boot-screen__spinner {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent-light);
  border-radius: 50%;
  animation: app-boot-spin 800ms linear infinite;
}

@keyframes app-boot-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .app-boot-screen__spinner {
    animation-duration: 2.5s;
  }
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.desktop {
  display: block;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--desktop);
}

.app-window {
  width: 100vw;
  height: 100vh;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--app);
  box-shadow: none;
}

.hero-card[hidden],
.continue-section[hidden],
.recommendations[hidden] {
  display: none !important;
}

.home-status {
  margin: 18px 24px;
  color: var(--muted);
  font-size: 12px;
}

.home-status[hidden] {
  display: none !important;
}

.app-layout {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: clamp(176px, 18.2vw, 270px) minmax(0, 1fr);
  background: var(--app);
}

.sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.035);
}

.brand {
  display: flex;
  height: 60px;
  flex: 0 0 60px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  width: 28px;
  height: 30px;
  flex: 0 0 28px;
}

.brand__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.7px;
}

.sidebar__nav {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding-top: 0;
}

.nav-group {
  display: grid;
  gap: 1px;
  padding: 0 12px;
}

.nav-link {
  position: relative;
  display: flex;
  width: calc(100% - 10px);
  height: 33px;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  padding: 0 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aaa9ae;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.nav-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.nav-link__label {
  overflow: hidden;
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.is-active {
  background: linear-gradient(90deg, #592144 0%, #4b203c 58%, #242424 100%);
  color: #fff;
}

.nav-link.is-active::after {
  position: absolute;
  top: 50%;
  right: -15px;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 10px rgba(251, 35, 136, 0.52);
  content: "";
}

.nav-divider {
  height: 1px;
  margin: 16px 23px 20px 12px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link--settings {
  width: calc(100% - 24px);
  flex: 0 0 34px;
  margin: 0 12px 10px;
}

.workspace {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: 60px minmax(0, 1fr);
  background:
    radial-gradient(ellipse at 40% 115%, rgba(80, 18, 12, 0.4), rgba(60, 8, 15, 0.2) 32%, transparent 68%),
    var(--app);
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px 0 13px;
  background: #010101;
}

.search-field {
  display: flex;
  width: min(320px, 52%);
  height: 39px;
  flex: 0 1 320px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 3px;
  background: #171717;
  color: #c8c7cb;
}

.search-field > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f5f4f6;
  font-size: 9px;
  font-weight: 400;
}

.search-field input::placeholder {
  color: #85848a;
  opacity: 1;
}

.search-field input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #e7e5e9;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.search-clear[hidden] {
  display: none;
}

.topbar__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.notification-wrap {
  position: relative;
}

.icon-button {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 3px;
  background: #101011;
  color: #f5f4f6;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.icon-button:hover,
.icon-button[aria-expanded="true"] {
  border-color: rgba(237, 20, 120, 0.42);
  background: #191317;
}

.icon-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.notification-popover {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 10;
  width: 188px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 7px;
  background: #171719;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
  color: #d8d6da;
  font-size: 10px;
}

.notification-popover[hidden] {
  display: none;
}

.profile-card {
  display: flex;
  width: 153px;
  height: 39px;
  align-items: center;
  gap: 8px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 3px;
  background: #101011;
}

.profile-card > img {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border-radius: 8px;
  object-fit: cover;
}

.profile-card__text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.profile-card__text strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-card__text small {
  overflow: hidden;
  color: #96949a;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-card__chevron {
  display: none;
  width: 13px;
  height: 13px;
  margin-left: auto;
  fill: none;
  stroke: #a7a5aa;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.topbar .profile-card {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.topbar .profile-card__text,
.topbar .profile-card__chevron {
  display: none;
}

.dashboard-content {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  padding: 6px 14px 10px;
  overflow: hidden;
}

.page {
  min-width: 0;
  min-height: 0;
}

.page[hidden] {
  display: none !important;
}

.page--home {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: 100%;
  grid-template-rows: clamp(230px, 34.8vh, 360px) clamp(250px, 34vh, 360px) minmax(210px, 1fr);
  gap: 17px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3d3d42 transparent;
}

.page--scroll {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 22px;
  padding: 6px 4px 18px 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #3d3d42 transparent;
  scrollbar-width: thin;
}

.spotlight-grid {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 2fr) minmax(210px, 1fr);
  gap: 10px;
}

.hero-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 68% 2%, rgba(101, 40, 141, 0.35), transparent 42%),
    #030306;
}

.hero-card__art {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #030306 0%, #030306 35%, rgba(3, 3, 6, 0.89) 48%, rgba(3, 3, 6, 0.2) 74%, rgba(3, 3, 6, 0) 100%),
    linear-gradient(0deg, rgba(5, 4, 8, 0.2), transparent 45%);
  content: "";
  pointer-events: none;
}

.hero-card__copy {
  position: relative;
  z-index: 2;
  width: 59%;
  padding: 33px 0 18px 12px;
}

.hero-card__genres {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 9px;
}

.hero-card__genres span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(23, 24, 29, 0.78);
  color: #e6e4e9;
  font-size: 8px;
  font-weight: 500;
}

.hero-card h1 {
  max-width: 248px;
  margin: 0 0 6px;
  color: #fbfafc;
  font-size: clamp(20px, 2.38vw, 27px);
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 1.16;
}

.hero-card p {
  max-width: 245px;
  margin: 0;
  color: #d0cdd3;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
}

.hero-card__subtitle {
  display: -webkit-box;
  max-width: 245px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hero-card__subtitle[hidden] {
  display: none;
}

.hero-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    filter 160ms ease,
    transform 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.button--primary {
  min-width: 93px;
  background: linear-gradient(105deg, #eb2059, #ec2389);
  box-shadow: 0 5px 18px rgba(218, 15, 109, 0.16);
  color: #fff;
}

.button--primary svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.button--secondary {
  min-width: 78px;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(33, 32, 39, 0.86);
  color: #f1eff3;
}

.hero-card__badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  background: rgba(22, 19, 28, 0.92);
  color: #f0edf3;
  font-size: 8px;
  font-weight: 500;
}

.category-panel {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 12px 11px 11px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  background:
    radial-gradient(ellipse at 48% 0%, rgba(57, 26, 23, 0.62), transparent 58%),
    linear-gradient(135deg, #2f1a1b 0%, #171719 86%);
}

.panel-heading,
.section-heading,
.recommendations {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-heading {
  min-height: 17px;
  margin-bottom: 8px;
}

.panel-heading h2,
.section-heading h2,
.recommendations h2 {
  margin: 0;
  color: #f7f5f7;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.15px;
}

.text-button {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #aaa8ae;
  cursor: pointer;
  font-size: 9px;
  font-weight: 400;
  transition: color 160ms ease;
}

.text-button:hover {
  color: #fff;
}

.category-grid {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 6px 7px;
}

.category-tile {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  isolation: isolate;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: #111115;
  color: #fff;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    filter 160ms ease;
}

.category-tile__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.92);
  transform: scale(1.02);
  transition:
    filter 240ms ease,
    transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.category-tile:hover {
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.category-tile:hover .category-tile__image {
  filter: brightness(0.9) saturate(1);
  transform: scale(1.08);
}

.category-tile[aria-pressed="true"] {
  border-color: var(--category-accent, var(--accent-light));
  box-shadow: 0 0 0 1px var(--category-accent, var(--accent-light));
}

/* Full-bleed category photography with a text-only title overlay. */
.category-tile,
.genre-tile,
.mobile-category-card {
  display: grid;
  place-items: center;
  isolation: isolate;
  --category-accent: var(--accent-light);
}

.category-tile::before,
.genre-tile::before,
.mobile-category-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 10, 0.12) 0%,
    rgba(7, 7, 10, 0.1) 42%,
    rgba(7, 7, 10, 0.42) 100%
  );
  content: "";
  pointer-events: none;
}

.category-tile__name {
  position: relative;
  z-index: 2;
  display: block;
  max-width: calc(100% - 12px);
  color: #fff;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 750;
  letter-spacing: 0.015em;
  line-height: 1.15;
  text-align: center;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.98),
    0 2px 8px rgba(0, 0, 0, 0.95),
    0 5px 16px rgba(0, 0, 0, 0.82);
  white-space: nowrap;
}

.category-tile:focus-visible,
.genre-tile:focus-visible,
.mobile-category-card:focus-visible {
  outline: 2px solid var(--category-accent);
  outline-offset: 3px;
}

:is(.category-tile, .genre-tile, .mobile-category-card)[data-category="action"] {
  --category-accent: #e78670;
}
:is(.category-tile, .genre-tile, .mobile-category-card)[data-category="comedy"] {
  --category-accent: #e9bc73;
}
:is(.category-tile, .genre-tile, .mobile-category-card)[data-category="fantasy"] {
  --category-accent: #b7a0ed;
}
:is(.category-tile, .genre-tile, .mobile-category-card)[data-category="thriller"] {
  --category-accent: #83c3cf;
}
:is(.category-tile, .genre-tile, .mobile-category-card)[data-category="romance"] {
  --category-accent: #ed92b8;
}
:is(.category-tile, .genre-tile, .mobile-category-card)[data-category="horror"] {
  --category-accent: #bd8e9b;
}
:is(.category-tile, .genre-tile, .mobile-category-card)[data-category="animation"] {
  --category-accent: #7fc6dc;
}
:is(.category-tile, .genre-tile, .mobile-category-card)[data-category="drama"] {
  --category-accent: #99aee7;
}

.continue-section {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: 20px minmax(0, 1fr);
  gap: 9px;
}

.section-heading {
  min-width: 0;
}

.section-heading h2 {
  font-size: 14px;
  font-weight: 500;
}

.continue-layout {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  gap: 10px;
}

.continue-layout.has-history {
  display: flex;
  align-items: stretch;
  justify-content: safe center;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.continue-layout.has-history .watch-grid {
  display: flex;
  width: max-content;
  height: 100%;
  min-height: 0;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 8px;
}

.continue-layout.has-history .watch-grid .watch-card:nth-child(n) {
  width: auto;
  height: 100%;
  max-height: 360px;
  grid-column: auto;
  min-height: 0;
  flex: 0 0 auto;
  aspect-ratio: 2 / 3;
  scroll-snap-align: start;
}

.continue-layout.has-history .watch-grid .watch-card > img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.continue-layout.has-history .watch-grid .watch-card__times,
.continue-layout.has-history .watch-grid .watch-card:nth-child(n + 3) .watch-card__times {
  right: 9px;
  bottom: 14px;
  left: 9px;
  font-size: 9px;
}

.continue-layout.has-history .watch-grid .watch-card progress,
.continue-layout.has-history .watch-grid .watch-card:nth-child(n + 3) progress {
  right: 8px;
  bottom: 6px;
  left: 8px;
  width: calc(100% - 16px);
  height: 4px;
}

.watch-grid {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: minmax(0, 0.94fr) minmax(0, 1fr);
  gap: 14px 8px;
}

.watch-card,
.feature-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 6px;
  background: #171719;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.watch-card:nth-child(1),
.watch-card:nth-child(2) {
  grid-column: span 3;
}

.watch-card:nth-child(n + 3) {
  grid-column: span 2;
}

.watch-card > img,
.feature-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-card > img {
  height: 74%;
  object-fit: fill;
  object-position: center;
}

.watch-card__poster-fallback {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 36%, rgba(236, 35, 137, 0.17), transparent 48%),
    linear-gradient(155deg, #211820, #0d0c10);
  text-align: center;
}

.watch-card__poster-fallback[hidden] {
  display: none;
}

.watch-card__poster-fallback > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(236, 35, 137, 0.3);
  border-radius: 50%;
  color: #f18ab7;
  font-size: 20px;
  font-weight: 600;
}

.watch-card__poster-fallback > strong {
  max-width: 100%;
  color: #f8f7f9;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.watch-card__shade,
.feature-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.28) 62%, rgba(0, 0, 0, 0.94) 100%);
  pointer-events: none;
}

.watch-card__times,
.feature-card__times {
  position: absolute;
  z-index: 3;
  right: 7px;
  bottom: 13px;
  left: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f4f2f5;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.watch-card:nth-child(n + 3) .watch-card__times {
  bottom: 22px;
}

.watch-card progress,
.feature-card progress {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 5px;
  left: 8px;
  display: block;
  width: calc(100% - 16px);
  height: 3px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  appearance: none;
  background: rgba(233, 231, 235, 0.25);
  color: var(--accent);
}

.watch-card:nth-child(n + 3) progress {
  bottom: 9px;
}

.watch-card progress::-webkit-progress-bar,
.feature-card progress::-webkit-progress-bar {
  border-radius: 99px;
  background: rgba(233, 231, 235, 0.25);
}

.watch-card progress::-webkit-progress-value,
.feature-card progress::-webkit-progress-value {
  border-radius: 99px;
  background: linear-gradient(90deg, #f22681, #e63a76);
  box-shadow: 0 0 8px rgba(237, 20, 120, 0.38);
}

.watch-card progress::-moz-progress-bar,
.feature-card progress::-moz-progress-bar {
  border-radius: 99px;
  background: linear-gradient(90deg, #f22681, #e63a76);
  box-shadow: 0 0 8px rgba(237, 20, 120, 0.38);
}

.feature-card {
  border-radius: 7px;
  background: #17121b;
}

.feature-card > img {
  object-fit: fill;
}

.feature-card__shade {
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.2) 72%, rgba(0, 0, 0, 0.88) 100%);
}

.feature-card__times {
  right: 10px;
  bottom: 14px;
  left: 9px;
  font-size: 8px;
}

.feature-card progress {
  right: 10px;
  bottom: 6px;
  left: 9px;
  width: calc(100% - 19px);
  height: 3px;
}

.watch-card[hidden],
.feature-card[hidden] {
  display: none;
}

.empty-state {
  position: absolute;
  inset: 43px 0 0;
  display: grid;
  margin: 0;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(13, 13, 14, 0.93);
  color: var(--muted);
  font-size: 11px;
}

.empty-state[hidden] {
  display: none;
}

.recommendations {
  min-width: 0;
}

.recommendations h2 {
  font-size: 14px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.page-heading {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.page-heading h1 {
  margin: 5px 0 6px;
  color: #fbfafc;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -1.1px;
  line-height: 1.08;
}

.page-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.eyebrow {
  display: block;
  color: #d9528d;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.3;
}

.page-stat {
  display: flex;
  min-width: 134px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(31, 28, 31, 0.94), rgba(17, 17, 18, 0.94));
}

.page-stat strong {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.7px;
}

.page-stat span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.quiet-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  color: #dbd9dd;
  cursor: pointer;
  font-size: 9px;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.quiet-button:hover {
  border-color: rgba(236, 35, 137, 0.45);
  background: rgba(236, 35, 137, 0.08);
  color: #fff;
}

.content-section {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.content-heading {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.content-heading h2 {
  margin: 0;
  color: #f8f7f9;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.content-heading p {
  margin: 4px 0 0;
  color: var(--muted-dim);
  font-size: 9px;
}

.section-count {
  color: #8e8b92;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.page--home .recommendations {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: 20px minmax(0, 1fr);
  gap: 9px;
}

.recommendation-grid {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mini-pick {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  gap: 10px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 6px;
  background: linear-gradient(110deg, rgba(24, 22, 24, 0.96), rgba(15, 15, 16, 0.96));
}

.mini-pick > img {
  width: 34%;
  height: 100%;
  flex: 0 0 34%;
  border-radius: 4px;
  object-fit: cover;
}

.mini-pick__copy {
  min-width: 0;
}

.mini-pick__copy .eyebrow {
  overflow: hidden;
  color: #a6a2a9;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-pick__copy h3 {
  overflow: hidden;
  margin: 6px 0 3px;
  color: #f6f4f7;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-pick__copy p {
  margin: 0;
  color: #96939a;
  font-size: 8px;
}

.page--explore {
  gap: 18px;
}

.page--explore .page-heading {
  margin: 0;
}

.page--explore .page-heading h1 {
  margin: 0;
}

.explore-hero {
  position: relative;
  height: 174px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: #0a080d;
}

.explore-hero > img {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.explore-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #09080c 0%, #09080c 32%, rgba(9, 8, 12, 0.88) 49%, rgba(9, 8, 12, 0.08) 100%);
  content: "";
}

.explore-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(54%, 470px);
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 24px;
}

.explore-hero__copy h2 {
  margin: 7px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.explore-hero__copy .button {
  min-height: 34px;
  margin-top: 12px;
  padding: 0 14px;
  font-size: 10px;
}

.explore-hero[hidden] {
  display: none;
}

.page--explore .content-section {
  gap: 9px;
}

.page--explore .content-heading h2 {
  font-size: 14px;
}

.explore-genre-chips {
  display: flex;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1px 0 4px;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.explore-genre-chips::-webkit-scrollbar {
  display: none;
}

.explore-genre-chip {
  min-height: 28px;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
  color: #c3c0c7;
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  scroll-snap-align: start;
}

.explore-genre-chip:hover {
  border-color: rgba(236, 35, 137, 0.45);
  background: rgba(236, 35, 137, 0.08);
  color: var(--text);
}

.page--explore .poster-grid--fill {
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
  gap: 18px 14px;
}

.page--explore .poster-grid--fill .poster-card__art {
  aspect-ratio: 2 / 3;
}

/* toggle Filmes/Séries do grid — segmento compacto alinhado aos chips */
.explore-type-toggle {
  display: inline-flex;
  gap: 2px;
  margin: -2px 0 8px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
}

.explore-type-btn {
  min-height: 26px;
  padding: 0 16px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: #c3c0c7;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.explore-type-btn[aria-selected="true"] {
  background: rgba(236, 35, 137, 0.9);
  color: #fff;
}

.explore-type-btn:not([aria-selected="true"]):hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.explore-type-btn:focus-visible {
  outline: 2px solid rgba(236, 35, 137, 0.7);
  outline-offset: 1px;
}

.explore-loading {
  margin: 4px 0 0;
  color: var(--muted-dim);
  font-size: 10px;
  text-align: center;
}

.poster-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.poster-grid--fill {
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
  gap: 16px 12px;
}

.page--favourites {
  gap: 14px;
}

.page--favourites .page-heading--favourites {
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.page--favourites .page-heading h1 {
  margin: 0;
}

.favourites-count {
  color: var(--muted-dim);
  font-size: 10px;
  white-space: nowrap;
}

.favourites-count strong {
  margin-right: 3px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.poster-grid--favourites {
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 18px 14px;
  overflow: visible;
}

.poster-grid--favourites .poster-card__art {
  aspect-ratio: 2 / 3;
}

.poster-grid--favourites .poster-card__copy {
  align-items: flex-start;
  padding: 7px 2px 0;
}

.poster-grid--favourites .poster-card__copy h3 {
  font-size: 12px;
}

.poster-grid--favourites .poster-card__copy p {
  display: none;
}

.poster-grid--favourites .poster-card__favorite[aria-pressed="true"] {
  border-color: rgba(236, 35, 137, 0.25);
  background: rgba(10, 10, 12, 0.72);
  color: #f18ab7;
}

.favourites-empty {
  display: grid;
  min-height: 220px;
  align-content: center;
  justify-items: center;
  gap: 9px;
  color: var(--muted);
  text-align: center;
}

.favourites-empty[hidden] {
  display: none;
}

.favourites-empty__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 3px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  color: #d985a7;
}

.favourites-empty__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.favourites-empty > strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.favourites-empty > p {
  margin: 0;
  font-size: 10px;
}

.favourites-empty__link {
  margin-top: 3px;
  color: #f18ab7;
  font-size: 10px;
  text-decoration: none;
}

.favourites-empty__link:hover {
  color: #fff;
}

.poster-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 7px;
  background: #121213;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.poster-card:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 35, 137, 0.38);
}

.poster-card__art {
  position: relative;
  aspect-ratio: 1.72;
  overflow: hidden;
  background: #1a191b;
}

.poster-card__art::after {
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  content: "";
  pointer-events: none;
}

.poster-card__art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.poster-card__placeholder {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(236, 35, 137, 0.16), transparent 45%), #171719;
  color: #e2a2bf;
  font-size: 20px;
  font-weight: 600;
  pointer-events: none;
}

.poster-card__art--loaded .poster-card__placeholder {
  display: none;
}

.poster-card__art--missing {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(236, 35, 137, 0.16), transparent 45%), #171719;
}

.poster-card__art--missing > img {
  display: none;
}

.poster-card__art--missing::after {
  display: none;
}

.poster-card__art--missing .poster-card__placeholder {
  display: grid;
}

.poster-card:hover .poster-card__art > img {
  transform: scale(1.035);
}

.poster-card__badge {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 9px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  background: rgba(12, 12, 14, 0.76);
  color: #f4f2f5;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.poster-card__favorite {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.7);
  color: #fff;
  cursor: pointer;
}

.poster-card__favorite svg {
  width: 14px;
  height: 14px;
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.poster-card__favorite[aria-pressed="true"] {
  border-color: rgba(236, 35, 137, 0.65);
  background: rgba(236, 35, 137, 0.92);
}

.poster-card__favorite[aria-pressed="true"] svg {
  fill: currentColor;
}

.poster-card__copy {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px 11px;
}

.poster-card__copy h3 {
  overflow: hidden;
  margin: 0;
  color: #f8f7f9;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-card__copy p {
  overflow: hidden;
  margin: 4px 0 0;
  color: #939097;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.genre-tile {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  isolation: isolate;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1.9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: #111115;
  color: #fff;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.genre-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
}

.mobile-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
}

.genre-tile:hover .category-tile__image,
.mobile-category-card:hover .category-tile__image {
  filter: brightness(0.9) saturate(1);
  transform: scale(1.08);
}

.genre-tile[aria-pressed="true"] {
  border-color: var(--category-accent, var(--accent-light));
  box-shadow: 0 0 0 1px var(--category-accent, var(--accent-light));
}

[data-searchable][hidden] {
  display: none !important;
}

[data-searchable] {
  cursor: pointer;
}

[data-searchable] {
  cursor: pointer;
}

.page--scroll .content-section > .empty-state {
  position: relative;
  inset: auto;
  min-height: 84px;
  flex: 0 0 auto;
}

.collection-toolbar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: #101011;
}

.filter-tab {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #9e9ba3;
  cursor: pointer;
  font-size: 9px;
}

.filter-tab span {
  color: #77747c;
  font-size: 8px;
}

.filter-tab.is-active {
  background: #292127;
  color: #fff;
}

.filter-tab.is-active span {
  color: #ef6ca7;
}

.poster-grid--collection {
  row-gap: 18px;
}

.recent-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recent-item {
  display: grid;
  min-width: 0;
  min-height: 116px;
  grid-template-columns: 126px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 7px;
  background: linear-gradient(110deg, #171617, #111112);
}

.recent-item__art {
  height: 96px;
  overflow: hidden;
  border-radius: 4px;
  background: #1b1a1c;
}

.recent-item__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-item__copy {
  min-width: 0;
}

.recent-item__copy h2 {
  overflow: hidden;
  margin: 7px 0 5px;
  color: #f8f7f9;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-item__copy p {
  margin: 0;
  color: #aaa7ae;
  font-size: 8px;
}

.recent-item__copy p span,
.download-row__copy p span,
.settings-card--about p span {
  color: var(--accent-light);
  padding: 0 3px;
}

.status-pill {
  padding: 5px 7px;
  border: 1px solid rgba(236, 35, 137, 0.3);
  border-radius: 99px;
  background: rgba(236, 35, 137, 0.08);
  color: #ee7daf;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.status-pill--quiet {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: #aaa7ae;
}

.watch-grid--page {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-template-rows: none;
  grid-auto-rows: auto;
  gap: 18px 14px;
}

.watch-grid--page .watch-card:nth-child(n) {
  grid-column: auto;
  min-height: 0;
  aspect-ratio: 2 / 3;
}

.watch-grid--page .watch-card > img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.watch-grid--page .watch-card__times,
.watch-grid--page .watch-card:nth-child(n + 3) .watch-card__times {
  right: 10px;
  bottom: 14px;
  left: 10px;
  font-size: 10px;
}

.watch-grid--page .watch-card progress,
.watch-grid--page .watch-card:nth-child(n + 3) progress {
  height: 4px;
  bottom: 6px;
}

.storage-card {
  display: grid;
  min-height: 110px;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 34%);
  align-items: center;
  column-gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(95, 21, 48, 0.22), transparent 60%),
    #151415;
}

.storage-card__copy strong {
  display: block;
  margin-top: 6px;
  color: #fbfafc;
  font-size: 18px;
  font-weight: 600;
}

.storage-card__copy strong span {
  color: #9d99a1;
  font-size: 10px;
  font-weight: 400;
}

.storage-card__copy p {
  margin: 5px 0 0;
  color: #9d99a1;
  font-size: 9px;
}

.storage-card progress,
.download-progress progress {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

.storage-card progress::-webkit-progress-bar,
.download-progress progress::-webkit-progress-bar {
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.storage-card progress::-webkit-progress-value,
.download-progress progress::-webkit-progress-value,
.storage-card progress::-moz-progress-bar,
.download-progress progress::-moz-progress-bar {
  border-radius: 99px;
  background: linear-gradient(90deg, #eb2059, #ec2389);
}

.storage-card__amount {
  grid-column: 2;
  color: #a19da4;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-align: right;
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-row {
  display: grid;
  min-width: 0;
  min-height: 92px;
  grid-template-columns: 122px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 7px;
  background: #141415;
}

.download-row > img {
  display: block;
  width: 122px;
  height: 74px;
  border-radius: 4px;
  object-fit: cover;
}

.download-row__copy {
  min-width: 0;
}

.download-row__copy h3 {
  margin: 0;
  color: #f8f7f9;
  font-size: 11px;
  font-weight: 500;
}

.download-row__copy p {
  margin: 4px 0 7px;
  color: #98959d;
  font-size: 8px;
}

.download-progress {
  display: flex;
  max-width: 290px;
  align-items: center;
  gap: 9px;
}

.download-progress progress {
  height: 3px;
}

.download-progress span {
  color: #b6b2b9;
  font-size: 8px;
  white-space: nowrap;
}

.download-remove {
  margin-right: 8px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
}

.settings-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: linear-gradient(140deg, #171617, #111112 78%);
}

.settings-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.settings-card__heading h2 {
  margin: 5px 0 0;
  color: #f8f7f9;
  font-size: 14px;
  font-weight: 500;
}

.settings-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
}

.settings-profile img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
}

.settings-profile div {
  display: grid;
  gap: 4px;
}

.settings-profile strong {
  color: #f7f5f8;
  font-size: 11px;
  font-weight: 500;
}

.settings-profile span {
  color: #a59fa9;
  font-size: 9px;
}

.settings-field {
  display: grid;
  gap: 7px;
  color: #b7b3ba;
  font-size: 9px;
}

.settings-field input,
.settings-field select,
.select-control select {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  background: #101011;
  color: #e8e6ea;
  font-size: 9px;
}

.settings-field input[readonly] {
  color: #8f8b93;
}

.settings-toggle {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.settings-toggle > span:first-child {
  display: grid;
  gap: 4px;
}

.settings-toggle strong {
  color: #e9e6ea;
  font-size: 9px;
  font-weight: 500;
}

.settings-toggle small {
  color: #938f97;
  font-size: 8px;
}

.settings-toggle input {
  position: absolute;
  right: 0;
  width: 36px;
  height: 22px;
  margin: 0;
  opacity: 0;
}

.toggle-switch {
  position: relative;
  width: 34px;
  height: 19px;
  flex: 0 0 34px;
  border-radius: 99px;
  background: #39373c;
  transition: background-color 160ms ease;
}

.toggle-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #e5e2e7;
  content: "";
  transition: transform 160ms ease;
}

.settings-toggle input:checked + .toggle-switch {
  background: var(--accent);
}

.settings-toggle input:checked + .toggle-switch::after {
  transform: translateX(15px);
}

.settings-toggle input:focus-visible + .toggle-switch {
  outline: 2px solid #ff5aa6;
  outline-offset: 3px;
}

.settings-card--about h2 {
  margin: 12px 0 7px;
  color: #f8f7f9;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.4px;
}

.settings-card--about p {
  margin: 0;
  color: #96929a;
  font-size: 9px;
}

.settings-saved {
  color: #aaa7ae;
  font-size: 9px;
}

.select-control {
  min-width: 145px;
}

.mobile-brand,
.mobile-profile-link,
.mobile-more-button,
.mobile-search-toggle,
.mobile-shelf-tabs,
.mobile-home-feed,
.copy-mobile {
  display: none;
}

.nav-label-mobile {
  display: none;
}

.nav-label-desktop {
  display: inline;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu:not([hidden]) {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.mobile-menu__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(78vh, 640px);
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #171617;
  box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.42);
  animation: mobile-menu-rise 180ms ease-out both;
}

.mobile-menu__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__heading h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.mobile-menu__close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.mobile-menu__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 14px;
}

.mobile-menu__link {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: #cfccd2;
  font-size: 10px;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.mobile-menu__link:hover,
.mobile-menu__link.is-active {
  border-color: rgba(236, 35, 137, 0.28);
  background: rgba(236, 35, 137, 0.08);
  color: #fff;
}

.mobile-menu__link.is-active::after {
  display: none;
}

.mobile-menu__link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #d985a7;
}

.mobile-menu__link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mobile-more-button[aria-expanded="true"] {
  background: rgba(236, 35, 137, 0.1);
  color: #ff7fb4;
}

@keyframes mobile-menu-rise {
  from { opacity: 0.75; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-card {
  color: inherit;
  text-decoration: none;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  align-items: start;
  gap: 16px;
}

.profile-edit-card,
.profile-plan-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: linear-gradient(140deg, #171617, #111112 78%);
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-identity > img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 15px;
  object-fit: cover;
}

.profile-identity h2 {
  margin: 5px 0 4px;
  color: #fbfafc;
  font-size: 16px;
  font-weight: 500;
}

.profile-identity p {
  margin: 0;
  color: #9e9aa2;
  font-size: 9px;
}

.profile-form {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.profile-form > h2 {
  margin: 0 0 2px;
  color: #f7f5f8;
  font-size: 13px;
  font-weight: 500;
}

.profile-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.profile-form__actions p {
  margin: 0;
  color: #9c98a0;
  font-size: 8px;
}

.profile-plan-card h2 {
  max-width: 250px;
  margin: 9px 0 7px;
  color: #fbfafc;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.profile-plan-card > p {
  margin: 0 0 18px;
  color: #aaa6ae;
  font-size: 9px;
  line-height: 1.6;
}

.profile-plan-card__detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #9d99a1;
  font-size: 9px;
}

.profile-plan-card__detail strong {
  color: #f4f2f5;
  font-weight: 500;
}

.profile-plan-card > .quiet-button {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  text-decoration: none;
}

.page--auth {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.page--login {
  display: grid;
  min-height: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(91, 17, 47, 0.14), transparent 50%),
    #09090a;
}

.login-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 470px);
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 38px clamp(28px, 5vw, 72px);
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin-bottom: 46px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.login-brand .brand__mark {
  width: 27px;
  height: 28px;
}

.login-panel > h1 {
  margin: 7px 0 8px;
  color: #fbfafc;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.08;
}

.login-panel__intro {
  max-width: 330px;
  margin: 0 0 22px;
  color: #a6a2aa;
  font-size: 10px;
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-field {
  display: grid;
  gap: 7px;
  color: #d4d1d7;
  font-size: 9px;
}

.login-field > input,
.password-control {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: #141415;
  color: #f7f5f8;
}

.login-field > input,
.password-control > input {
  padding: 0 12px;
}

.login-field input::placeholder {
  color: #77737b;
}

.password-control {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.password-control > input {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f7f5f8;
  font-size: 9px;
}

.password-control > button {
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #e66fa4;
  cursor: pointer;
  font-size: 9px;
}

.login-form__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #aaa6ae;
  font-size: 8px;
}

.login-form__options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.login-form__options input {
  accent-color: var(--accent);
}

.login-form__options button,
.login-panel__footer a {
  padding: 0;
  border: 0;
  background: none;
  color: #ee76a9;
  cursor: pointer;
  font-size: inherit;
  text-decoration: none;
}

.login-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
}

.login-status {
  min-height: 14px;
  margin: 0;
  color: #9b969f;
  font-size: 8px;
  line-height: 1.5;
}

.login-panel__footer {
  margin: 22px 0 0;
  color: #a6a2aa;
  font-size: 9px;
}

/* ---------- checkout PIX (login) ---------- */
.pix-box {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  background: #ffffff08;
}
.pix-box__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pix-box__title { font-size: 11px; font-weight: 700; color: #f4f2f6; }
.pix-box__price { font-size: 10px; font-weight: 600; color: var(--accent-light); }
.pix-box__hint { margin: 6px 0 0; font-size: 9px; color: #9b969f; line-height: 1.5; }
.pix-box__qr { display: flex; justify-content: center; margin: 12px 0 4px; }
.pix-box__qr img { width: 150px; height: 150px; border-radius: 8px; background: #fff; }
.pix-box__code { display: flex; gap: 6px; margin-top: 10px; }
.pix-box__code input {
  flex: 1; min-width: 0; padding: 8px 10px;
  background: #ffffff10; border: 1px solid #ffffff1f; border-radius: 8px;
  color: #c8c4cd; font-size: 8px;
}
.pix-box__code button {
  padding: 8px 12px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--accent-light); color: #fff; font-size: 9px; font-weight: 600;
}
.pix-box__status { margin: 10px 0 0; font-size: 9px; color: #e8c95a; }
.pix-box > button { width: 100%; margin-top: 12px; }
.pix-box__wa { display: block; margin-top: 10px; font-size: 9px; color: var(--accent-light); text-align: center; }

/* banner de update do APK (só aparece dentro do app, via ?apk=) */
.apk-update {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%);
  z-index: 400; padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 600;
  text-decoration: none; box-shadow: 0 10px 30px #000a;
  transition: transform .35s ease;
}
.apk-update.is-visible { transform: translate(-50%, 0); }

.login-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #151018;
}

.login-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.login-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 7, 10, 0.82), transparent 56%), linear-gradient(90deg, rgba(8, 7, 10, 0.12), transparent 30%);
  content: "";
}

.login-art__caption {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 30px;
  left: 30px;
}

.login-art__caption p {
  margin: 8px 0 0;
  color: #fff;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.is-auth-screen .app-layout,
.is-immersive-screen .app-layout {
  grid-template-columns: minmax(0, 1fr);
}

.is-auth-screen .sidebar,
.is-auth-screen .topbar,
.is-immersive-screen .sidebar,
.is-immersive-screen .topbar {
  display: none;
}

.is-auth-screen .workspace,
.is-immersive-screen .workspace {
  height: 100dvh;
  grid-template-rows: minmax(0, 1fr);
}

.is-auth-screen .dashboard-content,
.is-immersive-screen .dashboard-content {
  padding: 0;
}

.page--detail {
  gap: 0;
  padding: 0 0 44px;
}

.detail-toolbar,
.player-toolbar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-toolbar {
  position: sticky;
  top: 0;
  z-index: 8;
  min-height: 60px;
  margin-bottom: -60px;
  padding: 0 clamp(16px, 3vw, 42px);
  background: linear-gradient(180deg, rgba(4, 4, 5, 0.55), transparent);
  transition: background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.detail-toolbar.is-stuck {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 6, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.detail-back {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(16, 16, 18, 0.76);
  color: #f4f1f5;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.detail-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.detail-toolbar__label {
  min-width: 0;
  overflow: hidden;
  color: #f5f2f6;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.detail-toolbar.is-stuck .detail-toolbar__label {
  opacity: 1;
}

.detail-favorite-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.82);
  color: #fff;
  cursor: pointer;
}

.detail-toolbar__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.detail-tv-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.82);
  color: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.detail-tv-button:hover:not(:disabled) {
  border-color: rgba(236, 35, 137, 0.55);
  background: rgba(236, 35, 137, 0.14);
}

.detail-tv-button svg {
  display: block;
  width: 18px;
  height: 18px;
}

.detail-tv-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.detail-favorite-button svg {
  width: 19px;
  height: 19px;
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.detail-favorite-button[aria-pressed="true"] {
  border-color: rgba(236, 35, 137, 0.8);
  background: rgba(236, 35, 137, 0.9);
}

.detail-favorite-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.detail-favorite-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.cast-section[hidden],
.detail-recommendations[hidden] {
  display: none !important;
}

.detail-hero {
  position: relative;
  display: flex;
  height: min(72dvh, 720px);
  min-height: 500px;
  align-items: flex-end;
  overflow: hidden;
  background: #0b0b0d;
}

.detail-hero__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.detail-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #080809 0%, rgba(8, 8, 9, 0.84) 12%, rgba(8, 8, 9, 0.18) 72%, rgba(8, 8, 9, 0.2) 100%),
    linear-gradient(90deg, rgba(5, 5, 6, 0.58), transparent 84%);
}

.detail-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1320px);
  grid-template-columns: 154px minmax(0, 720px);
  align-items: end;
  gap: 30px;
  margin: 0 auto;
  padding: 88px clamp(24px, 5vw, 68px) 46px;
}

.detail-poster {
  display: block;
  width: 154px;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #171719;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.detail-hero__content {
  min-width: 0;
  max-width: 720px;
  padding: 0;
}

.detail-type {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(236, 35, 137, 0.28);
  border-radius: 99px;
  background: rgba(236, 35, 137, 0.1);
  color: #f18ab7;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.detail-hero__content h1 {
  margin: 9px 0 8px;
  max-width: 720px;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -1.8px;
  line-height: 1.02;
}

.detail-meta {
  margin: 0 0 12px;
  color: #ded9e1;
  font-size: 11px;
  line-height: 1.5;
}

.detail-summary {
  display: -webkit-box;
  max-width: 580px;
  overflow: hidden;
  margin: 0;
  color: #c5c0c9;
  font-size: 11px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.detail-actions .button {
  min-width: 176px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}

.detail-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.detail-list-button[aria-pressed="true"] {
  border-color: rgba(236, 35, 137, 0.65);
  background: rgba(236, 35, 137, 0.12);
}

.detail-info,
.episode-section {
  display: grid;
  width: min(100%, 1120px);
  gap: 14px;
  margin: 0 auto;
  padding: 28px 36px;
}

.detail-info[hidden],
.episode-section[hidden] {
  display: none !important;
}

.episode-section__header {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.episode-section__heading {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.episode-section__heading .eyebrow {
  margin-bottom: 0;
}

.episode-section__heading h2 {
  margin: 0;
  color: #f8f6f9;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.detail-section-heading {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.detail-section-heading .eyebrow {
  margin-bottom: 6px;
}

.detail-section-heading h2 {
  margin: 0;
  color: #f8f6f9;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.detail-section-heading p {
  margin: 5px 0 0;
  color: #9c98a0;
  font-size: 10px;
}

.episode-count {
  color: #9c98a0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.season-picker {
  flex: 0 0 auto;
}

.season-picker__control {
  position: relative;
  display: block;
}

.season-picker select {
  display: block;
  min-width: 154px;
  min-height: 42px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  padding: 0 38px 0 13px;
  background: linear-gradient(145deg, #1b191e, #111013);
  color: #f6f3f7;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.season-picker select:hover,
.season-picker select:focus-visible {
  border-color: rgba(236, 35, 137, 0.7);
  outline: none;
}

.season-picker select option {
  background: #171419;
  color: #f6f3f7;
}

.season-picker__chevron {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #c6c0c9;
  border-bottom: 1.5px solid #c6c0c9;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.detail-info > p {
  max-width: 900px;
  margin: 0;
  color: #c4bfc8;
  font-size: 12px;
  line-height: 1.7;
}

.episode-list {
  display: grid;
  gap: 10px;
}

.episode-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 154px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: linear-gradient(110deg, rgba(22, 22, 24, 0.9), rgba(14, 14, 16, 0.82));
  transition: border-color 150ms ease, background-color 150ms ease;
}

.episode-card:hover {
  border-color: rgba(236, 35, 137, 0.28);
  background: rgba(255, 255, 255, 0.035);
}

.episode-card > img {
  width: 154px;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  background: #202023;
  object-fit: cover;
}

.episode-card__copy {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.episode-card__copy .eyebrow {
  font-size: 8px;
}

.episode-card__copy h3 {
  margin: 5px 0;
  color: #f4f2f5;
  font-size: 13px;
  font-weight: 550;
}

.episode-card__copy p {
  margin: 0;
  color: #9f9ba3;
  font-size: 10px;
}

.episode-play {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(236, 35, 137, 0.4);
  border-radius: 50%;
  background: rgba(236, 35, 137, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.episode-play:hover {
  transform: scale(1.04);
  background: rgba(236, 35, 137, 0.25);
}

.episode-play svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.cast-section,
.detail-recommendations {
  display: grid;
  width: min(100%, 1120px);
  gap: 16px;
  margin: 0 auto;
  padding: 24px 36px;
}

.cast-carousel {
  display: flex;
  min-width: 0;
  gap: 18px;
  overflow-x: auto;
  padding: 1px 0 8px;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.cast-carousel::-webkit-scrollbar {
  display: none;
}

.cast-member {
  display: grid;
  width: 92px;
  flex: 0 0 92px;
  justify-items: center;
  gap: 8px;
  scroll-snap-align: start;
  text-align: center;
}

.cast-member img {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: #1b1b1d;
  object-fit: cover;
}

.cast-member h3 {
  width: 100%;
  overflow: hidden;
  margin: 0;
  color: #c9c4cd;
  font-size: 9px;
  font-weight: 450;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-recommendation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-recommendation {
  display: grid;
  min-width: 0;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.detail-recommendation:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 35, 137, 0.28);
  background: rgba(255, 255, 255, 0.045);
}

.detail-recommendation > img {
  display: block;
  width: 88px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  background: #1b1b1d;
  object-fit: cover;
}

.detail-recommendation h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 6px;
  color: #f2eff4;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.detail-recommendation p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 6px;
  color: #9c98a0;
  font-size: 8px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.recommendation-rating {
  color: #bbb6bf;
  font-size: 8px;
}

.recommendation-rating > span {
  color: #f4c96a;
}

.page--player {
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(42, 28, 38, 0.2), transparent 48%),
    #070708;
}

.player-shell {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  padding: 14px clamp(14px, 2.2vw, 34px) 16px;
}

.page--player .player-toolbar {
  display: grid;
  min-height: 54px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.player-back-button {
  display: inline-flex;
  min-width: 72px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
  color: #c7c3cb;
  cursor: pointer;
  font-size: 10px;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.player-back-button:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
}

.player-back-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.player-heading {
  min-width: 0;
}

.player-heading__kind {
  display: block;
  margin-bottom: 4px;
  color: #d985a7;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.player-heading h1 {
  margin: 0;
  overflow: hidden;
  color: #f8f6f9;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 550;
  letter-spacing: -0.35px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-live-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255, 88, 100, 0.22);
  border-radius: 99px;
  background: rgba(255, 67, 81, 0.08);
  color: #ff929a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.player-live-badge[hidden] {
  display: none;
}

.player-live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5965;
  box-shadow: 0 0 10px rgba(255, 89, 101, 0.7);
}

.player-canvas {
  display: grid;
  min-height: 0;
  flex: 1;
  place-items: center;
}

.player-stage {
  position: relative;
  display: grid;
  width: min(100%, 1280px);
  max-height: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #030304;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.player-stage:fullscreen {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.player-stage__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(1px);
  transform: scale(1.025);
}

.player-stage.is-idle > .player-stage__poster,
.player-stage.is-idle > .player-stage__shade {
  display: none;
}

.player-stage.is-live .player-stage__poster {
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  object-fit: contain;
  opacity: 0.76;
  filter: none;
  padding: 10px;
  transform: translate(-50%, -50%);
}

.player-stage__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.22));
}

.player-status-card {
  position: absolute;
  z-index: 3;
  display: grid;
  width: min(82%, 330px);
  justify-items: center;
  gap: 13px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(8, 8, 10, 0.68);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.player-status-card[hidden] {
  display: none;
}

.player-status-card strong {
  color: #f2eff4;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.player-status-spinner {
  display: block;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #ef5b9b;
  border-radius: 50%;
  animation: player-spin 850ms linear infinite;
}

.player-status-spinner[hidden],
.player-status-error[hidden] {
  display: none;
}

.player-stage.is-idle .player-status-spinner {
  display: none;
}

.player-status-error {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 121, 129, 0.32);
  border-radius: 50%;
  background: rgba(255, 76, 88, 0.1);
  color: #ff9aa1;
  font-size: 14px;
  font-weight: 600;
}

.player-retry-button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  color: #f7f4f8;
  cursor: pointer;
  font-size: 9px;
}

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

.player-center-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.player-center-button {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(230, 58, 118, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease;
}

.player-center-button:hover {
  transform: scale(1.06);
  background: #f04a8e;
}

.player-center-button[hidden] {
  display: none;
}

.player-footer {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.player-footer__status {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.player-footer__status {
  color: #aaa5ae;
  font-size: 9px;
}

.player-footer__status[hidden] {
  display: none;
}

.player-footer__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #77727b;
}

.player-footer__dot.is-loading {
  background: #e86a9f;
  box-shadow: 0 0 10px rgba(232, 106, 159, 0.5);
}

.player-footer__dot.is-playing {
  background: #69d69d;
  box-shadow: 0 0 10px rgba(105, 214, 157, 0.45);
}

.player-footer__dot.is-paused {
  background: #a9a3ad;
}

.player-footer__dot.is-live {
  background: #ff5965;
  box-shadow: 0 0 10px rgba(255, 89, 101, 0.6);
}

.player-footer__dot.is-error {
  background: #ff7078;
}

.player-subtitle-chip {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 99px;
  color: #bcb7c0;
  font-size: 8px;
}

.player-subtitle-chip[hidden] {
  display: none;
}

/* ---------- barra de controles do player ---------- */
.player-controls {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 2px;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.player-stage.is-ready .player-controls,
.player-stage.is-playing .player-controls,
.player-stage.is-paused .player-controls,
.player-stage.is-ended .player-controls {
  opacity: 1;
  pointer-events: auto;
}

.player-stage.is-cursor-hidden {
  cursor: none;
}

.player-stage.is-cursor-hidden .player-controls {
  opacity: 0;
  pointer-events: none;
}

.player-controls__seek {
  display: block;
  width: 100%;
  height: 16px;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.player-controls__seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #e63a76 var(--pos, 0%), rgba(255, 255, 255, 0.26) var(--pos, 0%));
}

.player-controls__seek::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border: 0;
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
  background: #e63a76;
  box-shadow: 0 0 0 4px rgba(230, 58, 118, 0.22);
}

.player-controls__seek::-moz-range-track {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.26);
}

.player-controls__seek::-moz-range-progress {
  height: 4px;
  border-radius: 99px;
  background: #e63a76;
}

.player-controls__seek::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #e63a76;
  box-shadow: 0 0 0 4px rgba(230, 58, 118, 0.22);
}

.player-controls__seek[hidden] {
  display: none;
}

.player-controls__bar {
  display: flex;
  align-items: center;
  gap: 2px;
}

.player-control-btn {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #ece8ee;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.player-control-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.player-control-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.player-control-btn.is-active {
  color: #ef5b9b;
}

.player-control-btn[hidden] {
  display: none;
}

.player-volume {
  display: flex;
  align-items: center;
}

.player-volume__range {
  width: 0;
  height: 16px;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transition: width 160ms ease, opacity 160ms ease;
}

.player-volume:hover .player-volume__range,
.player-volume:focus-within .player-volume__range {
  width: 72px;
  margin-right: 6px;
  opacity: 1;
}

.player-volume__range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #f2eff4 var(--pos, 100%), rgba(255, 255, 255, 0.26) var(--pos, 100%));
}

.player-volume__range::-webkit-slider-thumb {
  width: 11px;
  height: 11px;
  margin-top: -3.5px;
  border: 0;
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
  background: #f2eff4;
}

.player-volume__range::-moz-range-track {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.26);
}

.player-volume__range::-moz-range-progress {
  height: 4px;
  border-radius: 99px;
  background: #f2eff4;
}

.player-volume__range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: #f2eff4;
}

.player-controls__time {
  padding: 0 10px;
  color: #ddd8e0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.player-controls__time[hidden] {
  display: none;
}

.player-controls__live {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #ff5965;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.player-controls__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5965;
  box-shadow: 0 0 8px rgba(255, 89, 101, 0.7);
}

.player-controls__live[hidden] {
  display: none;
}

.player-controls__spacer {
  flex: 1;
}

/* ---------- menu de opções (qualidade/legendas) ---------- */
.player-menu {
  position: absolute;
  z-index: 6;
  right: 14px;
  bottom: 64px;
  display: grid;
  min-width: 180px;
  max-width: min(320px, 86%);
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(10, 10, 14, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.player-menu[hidden] {
  display: none;
}

.player-stage.is-cursor-hidden .player-menu {
  display: none;
}

.player-menu__title {
  padding: 0 4px 4px;
  color: #8f8a94;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.player-menu__list {
  display: grid;
  max-height: 240px;
  gap: 2px;
  overflow-y: auto;
}

.player-menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d8d3dc;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
}

.player-menu__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.player-menu__item.is-active {
  background: rgba(230, 58, 118, 0.18);
  color: #fff;
}

.player-menu__item.is-active::after {
  width: 6px;
  height: 6px;
  margin-left: auto;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #ef5b9b;
  content: "";
}

@keyframes player-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) and (min-width: 761px) {
  .app-layout {
    grid-template-columns: clamp(158px, 20.5vw, 220px) minmax(0, 1fr);
  }

  .dashboard-content {
    padding-right: 10px;
    padding-left: 10px;
  }

  .page--home {
    grid-template-rows: clamp(218px, 34vh, 310px) clamp(240px, 33vh, 310px) minmax(100px, 1fr);
    gap: 14px;
  }

  .spotlight-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(190px, 1fr);
    gap: 8px;
  }

  .category-panel {
    padding-right: 8px;
    padding-left: 9px;
  }

  .hero-card__copy {
    width: 62%;
    padding-top: 28px;
  }

  .hero-card h1 {
    font-size: clamp(19px, 2.5vw, 23px);
  }

  .continue-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 8px;
  }
}

@media (max-width: 760px) {
  html,
  body,
  .desktop,
  .app-window {
    width: 100%;
    height: 100dvh;
    min-width: 0;
    min-height: 0;
  }

  .app-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) calc(74px + env(safe-area-inset-bottom));
  }

  .sidebar {
    grid-row: 2;
    display: flex;
    height: calc(74px + env(safe-area-inset-bottom));
    min-width: 0;
    flex-direction: row;
    padding: 0 6px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-right: 0;
    background: rgba(17, 17, 18, 0.98);
  }

  .brand,
  .nav-divider,
  .nav-link--settings {
    display: none;
  }

  .sidebar__nav {
    min-width: 0;
    flex-direction: row;
    align-items: stretch;
    overflow: visible;
  }

  .nav-group {
    display: contents;
  }

  .nav-link[data-mobile-primary="false"] {
    display: none;
  }

  .nav-link[data-mobile-primary="true"],
  .mobile-more-button {
    display: flex;
    width: auto;
    height: 100%;
    min-width: 0;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 4px 1px;
    border-radius: 8px;
    text-align: center;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link.is-active {
    background: transparent;
    color: #ff7fb4;
  }

  .mobile-menu__link.is-active {
    background: rgba(236, 35, 137, 0.1);
    color: #fff;
  }

  .nav-link svg {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .nav-link__label {
    display: block;
    max-width: 100%;
    font-size: 9px;
    line-height: 1.1;
    text-align: center;
    text-overflow: clip;
  }

  .nav-label-desktop {
    display: none;
  }

  .nav-label-mobile {
    display: inline;
  }

  .mobile-more-button {
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .workspace {
    grid-row: 1;
    grid-template-rows: 56px minmax(0, 1fr);
  }

  .topbar {
    gap: 8px;
    padding: 0 12px;
  }

  .mobile-brand {
    display: none;
  }

  .search-field {
    display: flex;
    width: auto;
    min-width: 0;
    height: 40px;
    flex: 1 1 0;
    gap: 8px;
    padding: 0 11px;
    border-radius: 7px;
    max-width: 340px;
  }

  .search-field input {
    font-size: 12px;
  }

  .search-field > svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .button {
    min-height: 44px;
  }

  .quiet-button {
    min-height: 40px;
  }

  .login-field > input,
  .password-control > input,
  .settings-field input,
  .settings-field select,
  .select-control select {
    font-size: 16px;
  }

  .topbar__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
  }

  .mobile-search-toggle {
    display: none;
  }

  .icon-button,
  .profile-card {
    width: 40px;
    height: 40px;
  }

  .profile-card {
    justify-content: center;
    padding: 0;
  }

  .profile-card > img {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .icon-button svg {
    width: 20px;
    height: 20px;
  }

  .profile-card__text,
  .profile-card__chevron {
    display: none;
  }

  .dashboard-content {
    display: block;
    height: 100%;
    padding: 12px 14px calc(18px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: #3d3d42 transparent;
    scrollbar-width: thin;
  }

  .page--home,
  .page--scroll {
    display: block;
    height: auto;
    min-height: 100%;
    overflow: visible;
  }

  .page--scroll {
    padding: 2px 0 24px;
  }

  .page--scroll > .content-section + .content-section,
  .page--scroll > .storage-card + .content-section {
    margin-top: 20px;
  }

  .page--home {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .page--home .spotlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    order: 1;
  }

  .page--home .spotlight-grid .category-panel {
    display: none;
  }

  .mobile-shelf-tabs {
    display: flex;
    gap: 14px;
    order: 0;
    margin: 0 -14px 2px;
    padding: 0 14px 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .mobile-shelf-tabs::-webkit-scrollbar,
  .mobile-category-carousel::-webkit-scrollbar,
  .mobile-poster-carousel::-webkit-scrollbar {
    display: none;
  }

  .mobile-shelf-tab {
    display: inline-flex;
    min-height: 34px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 99px;
    color: #efedf1;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-shelf-tab.is-active {
    border-color: rgba(255, 255, 255, 0.42);
    background: #38383b;
    color: #fff;
    font-weight: 600;
  }

  .mobile-home-feed {
    display: grid;
    gap: 20px;
    order: 2;
  }

  .mobile-shelf {
    display: grid;
    min-width: 0;
    gap: 9px;
  }

  .mobile-shelf__heading {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-shelf__heading h2 {
    margin: 0;
    color: #f7f6f8;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.4px;
  }

  .mobile-shelf__heading > a {
    display: inline-flex;
    min-height: 28px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 99px;
    color: #fff;
    font-size: 10px;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-category-carousel,
  .mobile-poster-carousel {
    display: flex;
    min-width: 0;
    gap: 11px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 5px;
    scroll-padding-inline: 1px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-category-card {
    position: relative;
    display: grid;
    width: 128px;
    height: 70px;
    flex: 0 0 128px;
    place-items: center;
    isolation: isolate;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    background: #111115;
    color: #fff;
    cursor: pointer;
    scroll-snap-align: start;
    transition:
      border-color 160ms ease,
      transform 160ms ease;
  }

  .mobile-category-card[aria-pressed="true"] {
    border-color: var(--category-accent, var(--accent-light));
    box-shadow: 0 0 0 1px var(--category-accent, var(--accent-light));
  }

  .mobile-poster-card {
    display: grid;
    width: 181px;
    flex: 0 0 181px;
    gap: 9px;
    color: #f7f6f8;
    scroll-snap-align: start;
  }

  .mobile-poster-card > img {
    display: block;
    width: 181px;
    height: 254px;
    border-radius: 5px;
    background: #171719;
    object-fit: cover;
  }

  .mobile-poster-card--peek > img {
    object-fit: fill;
  }

  .mobile-poster-card h3 {
    overflow: hidden;
    margin: 0;
    color: #f3f1f5;
    font-size: 13px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-poster-carousel--series .mobile-poster-card > img {
    height: 208px;
  }

  .copy-desktop {
    display: none;
  }

  .copy-mobile {
    display: inline;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .page-heading h1 {
    font-size: 21px;
  }

  .page-stat {
    min-height: 38px;
  }

  .spotlight-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .hero-card {
    height: 280px;
  }

  .hero-card__art {
    width: 63%;
    object-position: 54% center;
  }

  .hero-card::after {
    background:
      linear-gradient(90deg, #030306 0%, rgba(3, 3, 6, 0.97) 32%, rgba(3, 3, 6, 0.82) 53%, rgba(3, 3, 6, 0.08) 100%),
      linear-gradient(0deg, rgba(5, 4, 8, 0.2), transparent 45%);
  }

  .hero-card__copy {
    width: 83%;
    padding: 27px 0 16px 16px;
  }

  .hero-card h1 {
    max-width: 250px;
    font-size: clamp(19px, 5vw, 22px);
  }

  .hero-card p {
    max-width: 230px;
    font-size: 9px;
  }

  .hero-card__actions {
    gap: 8px;
    margin-top: 15px;
  }

  .hero-card__badge {
    top: 9px;
    right: 8px;
    padding: 5px 6px;
    font-size: 7px;
  }

  .category-panel {
    display: flex;
    height: auto;
    min-height: 0;
    padding: 11px;
  }

  .category-grid {
    display: flex;
    height: 88px;
    flex: 0 0 88px;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 3px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-grid::-webkit-scrollbar,
  .continue-layout::-webkit-scrollbar,
  .watch-grid--page::-webkit-scrollbar,
  .poster-grid::-webkit-scrollbar,
  .genre-grid::-webkit-scrollbar,
  .recommendation-grid::-webkit-scrollbar {
    display: none;
  }

  .category-tile {
    height: 80px;
    flex: 0 0 clamp(128px, 36vw, 158px);
    scroll-snap-align: start;
  }

  .continue-section {
    display: block;
    min-height: 0;
    order: 3;
  }

  .continue-section .section-heading {
    min-height: 20px;
    margin-bottom: 10px;
  }

  .continue-layout {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 7px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .watch-grid {
    display: contents;
  }

  .continue-layout.has-history {
    justify-content: flex-start;
    gap: 10px;
    padding-bottom: 7px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .continue-layout.has-history .watch-grid {
    display: contents;
  }

  .watch-grid .watch-card:nth-child(n) {
    width: min(78vw, 330px);
    height: 168px;
    flex: 0 0 min(78vw, 330px);
    grid-column: auto;
    scroll-snap-align: start;
  }

  .continue-layout.has-history .watch-grid .watch-card:nth-child(n) {
    width: min(44vw, 180px);
    height: auto;
    min-height: 0;
    flex: 0 0 min(44vw, 180px);
    aspect-ratio: 2 / 3;
  }

  .continue-layout.has-history .watch-grid .watch-card > img {
    height: 100%;
    object-fit: cover;
  }

  .watch-grid--page .watch-card:nth-child(n) {
    width: min(78vw, 330px);
    height: 168px;
    min-height: 168px;
    flex: 0 0 min(78vw, 330px);
    scroll-snap-align: start;
  }

  .watch-card__times,
  .watch-card:nth-child(n + 3) .watch-card__times {
    right: 7px;
    bottom: 12px;
    left: 7px;
    font-size: 8px;
  }

  .watch-card progress,
  .watch-card:nth-child(n + 3) progress {
    right: 7px;
    bottom: 5px;
    left: 7px;
    width: calc(100% - 14px);
  }

  .feature-card {
    width: min(78vw, 330px);
    height: 210px;
    min-height: 210px;
    flex: 0 0 min(78vw, 330px);
    scroll-snap-align: start;
  }

  .feature-card > img {
    object-fit: cover;
    object-position: center 44%;
  }

  .empty-state {
    position: relative;
    inset: auto;
    min-height: 72px;
    margin-top: 10px;
  }

  .recommendations {
    display: grid;
    min-height: 0;
    order: 4;
    grid-template-rows: 20px auto;
    gap: 10px;
    margin: 0;
  }

  .recommendation-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 7px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mini-pick {
    width: min(78vw, 290px);
    height: 104px;
    min-height: 104px;
    flex: 0 0 min(78vw, 290px);
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 7px;
    scroll-snap-align: start;
  }

  .mini-pick > img {
    width: 35%;
    height: 100%;
    flex: 0 0 35%;
  }

  .mini-pick__copy .eyebrow {
    font-size: 8px;
  }

  .mini-pick__copy h3 {
    margin-top: 5px;
    font-size: 13px;
  }

  .mini-pick__copy p {
    font-size: 10px;
  }

  .continue-section .section-heading h2,
  .page--home .recommendations .section-heading h2 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.4px;
  }

  .poster-grid,
  .genre-grid {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 7px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  /* explore: grade cheia, não carrossel */
  .poster-grid--fill {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .page--explore .poster-grid--fill {
    grid-template-columns: repeat(auto-fill, minmax(min(44vw, 180px), 1fr));
    gap: 18px 10px;
  }

  .poster-grid--fill .poster-card {
    width: auto;
    flex: initial;
    scroll-snap-align: initial;
  }

  .poster-grid--fill .poster-card__copy {
    padding: 6px 2px 0;
  }

  .poster-grid--fill .poster-card__copy h3 {
    font-size: 11px;
  }

  .poster-grid--fill .poster-card__copy p {
    display: none;
  }

  .page--favourites .page-heading--favourites {
    margin-bottom: 14px;
  }

  .poster-grid--favourites {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 10px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .poster-grid--favourites .poster-card {
    width: auto;
    flex: initial;
    scroll-snap-align: initial;
  }

  .poster-grid--favourites .poster-card__copy {
    padding: 6px 1px 0;
  }

  .poster-grid--favourites .poster-card__copy h3 {
    font-size: 11px;
  }

  .poster-grid--favourites .poster-card__favorite {
    top: 6px;
    right: 6px;
    width: 25px;
    height: 25px;
  }

  .poster-card {
    width: clamp(156px, 45vw, 188px);
    flex: 0 0 clamp(156px, 45vw, 188px);
    scroll-snap-align: start;
  }

  .genre-tile {
    width: clamp(132px, 38vw, 158px);
    height: 82px;
    flex: 0 0 clamp(132px, 38vw, 158px);
    aspect-ratio: auto;
    scroll-snap-align: start;
  }

  .poster-card__copy {
    padding: 8px;
  }

  .poster-card__copy h3 {
    font-size: 14px;
  }

  .poster-card__copy p,
  .content-heading p {
    font-size: 11px;
  }

  .content-heading h2 {
    font-size: 17px;
  }

  .recent-list,
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .recent-item {
    min-height: 94px;
    grid-template-columns: minmax(72px, 92px) minmax(0, 1fr);
    gap: 10px;
  }

  .recent-item__art {
    height: 76px;
  }

  .recent-item .status-pill {
    display: none;
  }

  .collection-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .filter-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .filter-tab {
    flex: 1 1 0;
    justify-content: center;
    gap: 5px;
    padding: 0 6px;
    font-size: 8px;
  }

  .watch-grid--page {
    display: flex;
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 7px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .watch-grid--page .watch-card {
    height: auto;
    min-height: 150px;
  }

  .page--continue .watch-grid--page {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(min(44vw, 180px), 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 16px 10px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .page--continue .watch-grid--page .watch-card:nth-child(n) {
    width: auto;
    height: auto;
    min-height: 0;
    flex: initial;
    scroll-snap-align: initial;
  }

  .page--continue .watch-grid--page .watch-card > img {
    height: 100%;
    object-fit: cover;
  }

  .storage-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .storage-card progress,
  .storage-card__amount {
    grid-column: 1;
  }

  .storage-card__amount {
    text-align: left;
  }

  .download-row {
    min-height: 90px;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 9px;
  }

  .download-row > img {
    width: 82px;
    height: 62px;
  }

  .download-remove {
    grid-column: 2;
    justify-self: start;
    margin: 0 0 5px;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .profile-edit-card,
  .profile-plan-card,
  .settings-card {
    padding: 15px;
  }

  .profile-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-form__actions .button {
    width: 100%;
  }

  .page--detail {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 0;
  }

  .detail-toolbar {
    position: sticky;
    top: 0;
    z-index: 8;
    height: 56px;
    min-height: 56px;
    margin-bottom: -56px;
    padding: 0 15px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      backdrop-filter 180ms ease;
  }

  .detail-toolbar.is-stuck {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(4, 4, 5, 0.96);
    backdrop-filter: blur(12px);
  }

  .detail-back,
  .detail-favorite-button,
  .detail-tv-button {
    width: 42px;
    height: 42px;
    min-height: 42px;
    flex: 0 0 42px;
    justify-content: center;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(25, 25, 27, 0.68);
    backdrop-filter: blur(8px);
  }

  .detail-back span {
    display: none;
  }

  .detail-toolbar__label {
    flex: 1 1 auto;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: opacity 160ms ease;
  }

  .detail-toolbar.is-stuck .detail-toolbar__label {
    opacity: 1;
  }

  .detail-toolbar__spacer {
    display: none;
  }

  .detail-hero {
    min-height: 560px;
    height: 68dvh;
    max-height: 680px;
    border: 0;
    border-radius: 0;
  }

  .detail-hero__art {
    top: 56px;
    height: 75%;
    object-position: center 40%;
  }

  .detail-hero__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 28%, rgba(0, 0, 0, 0.42) 57%, #050505 100%);
  }

  .detail-hero__content {
    width: 100%;
    padding: 0 18px 24px;
    text-align: center;
  }

  .detail-hero__content [data-detail-type],
  .detail-summary {
    display: none;
  }

  .detail-hero__content h1 {
    margin: 0 0 7px;
    font-size: 28px;
    letter-spacing: -0.4px;
  }

  .detail-meta {
    max-width: 100%;
    margin: 0 0 17px;
    color: #efedf1;
    font-size: 13px;
    line-height: 1.4;
  }

  .detail-actions {
    justify-content: center;
    margin: 0 auto;
    max-width: 260px;
  }

  .detail-info > p {
    color: #efedf1;
    font-size: 14px;
    line-height: 1.55;
  }

  .detail-actions {
    gap: 0;
  }

  .detail-actions .button {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: linear-gradient(105deg, #eb2059, #ec2389);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 16px rgba(218, 15, 109, 0.18);
  }

  .detail-actions .button svg {
    width: 14px;
    height: 14px;
  }

  .detail-info {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 18px 16px 4px;
  }

  .detail-info .detail-section-heading {
    display: none;
  }

  .detail-info,
  .episode-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .detail-section-heading h2 {
    font-size: 19px;
  }

  .cast-section,
  .detail-recommendations {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    padding: 0 16px;
  }

  .cast-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cast-carousel::-webkit-scrollbar {
    display: none;
  }

  .cast-member {
    display: grid;
    width: 92px;
    flex: 0 0 92px;
    justify-items: center;
    gap: 7px;
    scroll-snap-align: start;
    text-align: center;
  }

  .cast-member img {
    width: 76px;
    height: 76px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    object-fit: cover;
  }

  .cast-member h3 {
    width: 100%;
    overflow: hidden;
    margin: 0;
    color: #f2f0f3;
    font-size: 11px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-recommendation-list {
    display: grid;
    gap: 14px;
  }

  .detail-recommendation {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    cursor: pointer;
  }

  .detail-recommendation > img {
    display: block;
    width: 96px;
    height: 132px;
    border-radius: 5px;
    object-fit: cover;
  }

  .detail-recommendation h3 {
    margin: 3px 0 7px;
    color: #f5f3f6;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
  }

  .detail-recommendation p {
    overflow: hidden;
    margin: 0 0 7px;
    color: #9c98a0;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .recommendation-rating {
    color: #c3c0c7;
    font-size: 12px;
  }

  .recommendation-rating > span {
    color: #f4d51f;
  }

  .episode-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 9px;
  }

  .episode-card > img {
    width: 82px;
    height: 58px;
  }

  .episode-card__copy {
    gap: 7px;
  }

  .episode-card__copy h3 {
    font-size: 10px;
  }

  .episode-card__copy p {
    font-size: 8px;
  }

  .episode-play {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .page--player {
    min-height: 0;
    height: 100%;
    padding: 0;
  }

  .player-shell {
    gap: 10px;
    padding: max(10px, env(safe-area-inset-top)) 12px calc(10px + env(safe-area-inset-bottom));
  }

  .page--player .player-toolbar {
    min-height: 46px;
    gap: 10px;
  }

  .player-back-button {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 50%;
  }

  .player-back-button span {
    display: none;
  }

  .player-heading__kind {
    margin-bottom: 3px;
    font-size: 7px;
  }

  .player-heading h1 {
    font-size: 13px;
  }

  .player-live-badge {
    min-height: 24px;
    gap: 5px;
    padding: 0 8px;
    font-size: 7px;
  }

  .player-stage {
    width: min(100%, 720px);
    border-radius: 9px;
  }

  .player-status-card {
    width: min(88%, 300px);
    gap: 11px;
    padding: 14px;
    border-radius: 11px;
  }

  .player-status-card strong {
    font-size: 10px;
  }

  .player-center-button {
    width: 56px;
    height: 56px;
  }

  .player-footer {
    min-height: 38px;
    gap: 8px;
  }

  .player-footer__status {
    gap: 7px;
    font-size: 8px;
  }

  .player-subtitle-chip {
    padding: 5px 7px;
    font-size: 7px;
  }

  .player-controls {
    padding: 18px 8px 8px;
  }

  .player-control-btn {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .player-control-btn svg {
    width: 18px;
    height: 18px;
  }

  .player-volume__range {
    display: none;
  }

  .player-controls__time {
    padding: 0 6px;
    font-size: 10px;
  }

  .mobile-menu__panel {
    max-height: min(78dvh, 640px);
  }

  .page--auth {
    height: auto;
    min-height: 100%;
  }

  .page--login {
    position: relative;
    display: flex;
    min-height: 100dvh;
    height: auto;
    flex-direction: column;
    overflow: visible;
  }

  .login-art {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 285px;
    opacity: 0.52;
  }

  .login-art::after {
    background: linear-gradient(180deg, rgba(8, 7, 10, 0.08), #09090a 96%);
  }

  .login-art__caption {
    display: none;
  }

  .login-panel {
    width: 100%;
    min-height: 100dvh;
    justify-content: flex-start;
    margin: 0;
    padding: 24px 20px calc(32px + env(safe-area-inset-bottom));
  }

  .login-brand {
    margin-bottom: 48px;
  }

  .login-panel > h1 {
    font-size: 29px;
  }

  .login-panel__intro {
    font-size: 10px;
  }

  .login-form {
    width: 100%;
    max-width: 480px;
  }

  .login-field,
  .password-control > input {
    font-size: 10px;
  }

  .mobile-menu__panel {
    max-height: min(78dvh, 640px);
  }

  .is-auth-screen .app-layout,
  .is-immersive-screen .app-layout {
    display: block;
    height: 100dvh;
  }

  .is-auth-screen .workspace,
  .is-immersive-screen .workspace {
    height: 100dvh;
  }

  .is-auth-screen .dashboard-content,
  .is-immersive-screen .dashboard-content {
    height: 100dvh;
    overflow-y: auto;
  }
}

@media (min-width: 421px) and (max-width: 760px) {
  .profile-card {
    width: 148px;
    justify-content: flex-start;
    padding: 0 7px;
  }

  .profile-card__text {
    display: grid;
  }

  .profile-card__chevron {
    display: none;
  }
}

@media (max-width: 420px) {
  .app-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) calc(70px + env(safe-area-inset-bottom));
  }

  .sidebar {
    height: calc(70px + env(safe-area-inset-bottom));
    padding-right: 3px;
    padding-left: 3px;
  }

  .topbar {
    gap: 5px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .topbar__actions {
    gap: 5px;
  }

  .icon-button,
  .profile-card {
    width: 40px;
    height: 40px;
  }

  .search-field {
    height: 36px;
    gap: 6px;
    padding: 0 8px;
  }

  .search-field input {
    font-size: 12px;
  }

  .dashboard-content {
    padding-right: 12px;
    padding-left: 12px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading h1 {
    font-size: 20px;
  }

  .page-stat {
    min-height: 40px;
  }

  .hero-card {
    height: 250px;
  }

  .hero-card__copy {
    width: 82%;
    padding-top: 25px;
    padding-left: 12px;
  }

  .hero-card h1 {
    font-size: 20px;
  }

  .hero-card p {
    max-width: 210px;
    font-size: 9px;
  }

  .hero-card__actions {
    gap: 6px;
    margin-top: 15px;
  }

  .button {
    min-height: 44px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 9px;
  }

  .quiet-button {
    min-height: 40px;
  }

  .login-field > input,
  .password-control > input,
  .settings-field input,
  .settings-field select,
  .select-control select {
    font-size: 16px;
  }

  .watch-card__times {
    right: 5px;
    left: 5px;
    font-size: 7px;
  }

  .watch-card progress {
    right: 5px;
    left: 5px;
    width: calc(100% - 10px);
  }

  .recent-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 9px;
  }

  .recent-item__art {
    height: 72px;
  }

  .recent-item .status-pill {
    display: none;
  }

  .download-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 9px;
  }

  .download-row > img {
    width: 74px;
    height: 58px;
  }

  .download-remove {
    grid-column: 2;
    justify-self: start;
    margin: 0 0 5px;
  }

  .page--explore .page-heading {
    margin-bottom: 8px;
  }

  .page--explore > .content-section {
    margin-top: 16px;
  }

  .page--explore > .content-section + .content-section {
    margin-top: 18px;
  }

  .page--explore .content-heading h2 {
    font-size: 13px;
  }

  .explore-hero {
    height: 142px;
    border-radius: 9px;
  }

  .explore-hero > img {
    width: 57%;
  }

  .explore-hero::after {
    background: linear-gradient(90deg, #09080c 0%, #09080c 30%, rgba(9, 8, 12, 0.82) 50%, rgba(9, 8, 12, 0.08) 100%);
  }

  .explore-hero__copy {
    width: 76%;
    padding: 14px 15px;
  }

  .explore-hero__copy h2 {
    font-size: 19px;
  }

  .explore-hero__copy .button {
    min-height: 31px;
    margin-top: 9px;
    padding: 0 11px;
    font-size: 9px;
  }

  .page--scroll > .content-section + .content-section,
  .page--scroll > .storage-card + .content-section {
    margin-top: 22px;
  }

  .nav-link__label {
    font-size: 8px;
  }

  .login-panel {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 760px) {
  .page--explore .page-heading {
    margin-bottom: 8px;
  }

  .page--explore .explore-hero {
    margin-bottom: 16px;
  }

  .page--explore > .content-section {
    margin-top: 0;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .app-window {
    height: 100vh;
  }

  .sidebar__nav {
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: #3d3d42 transparent;
    scrollbar-width: thin;
  }

  .dashboard-content {
    padding-top: 3px;
    padding-bottom: 7px;
  }

  .page--home {
    grid-template-rows: minmax(180px, 31vh) minmax(220px, 33vh) minmax(150px, 1fr);
    gap: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: #3d3d42 transparent;
    scrollbar-width: thin;
  }

  .hero-card__copy {
    padding-top: 25px;
  }

  .hero-card__actions {
    margin-top: 14px;
  }

  .nav-divider {
    margin-top: 10px;
    margin-bottom: 13px;
  }
}

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

/* ---------- TV ao vivo / Jogos ---------- */

.page--live {
  gap: 14px;
}

.page--live .page-heading--live {
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.page--live .page-heading h1 {
  margin: 0;
}

.live-channel-count {
  color: var(--muted-dim);
  font-size: 10px;
  white-space: nowrap;
}

.live-category-tabs {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1px 0 4px;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.live-category-tabs::-webkit-scrollbar {
  display: none;
}

.live-category-tab {
  min-height: 29px;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
  color: #aaa7ae;
  font-size: 9px;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.live-category-tab:hover {
  border-color: rgba(236, 35, 137, 0.35);
  color: var(--text);
}

.live-category-tab.is-active {
  border-color: rgba(236, 35, 137, 0.28);
  background: rgba(236, 35, 137, 0.1);
  color: #f18ab7;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 12px;
}

.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 9px 11px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(25, 24, 27, 0.9), rgba(16, 16, 18, 0.94));
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.channel-card:hover {
  border-color: rgba(236, 35, 137, 0.45);
  transform: translateY(-2px);
}

.channel-card img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  object-fit: contain;
  background: var(--surface-raised);
}

.channel-card__num {
  position: absolute;
  top: 7px;
  right: 8px;
  padding: 2px 4px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted-dim);
  font-size: 7px;
  letter-spacing: 0.02em;
}

.channel-card h3 {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-empty {
  display: grid;
  min-height: 120px;
  margin: 0;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
}

.live-empty[hidden] {
  display: none;
}

.game-list {
  display: grid;
  gap: 12px;
}

.game-card {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}

.game-card__league {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
  font-size: 9px;
}

.game-card__status {
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(236, 35, 137, 0.14);
  color: var(--accent-light);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-card__status--soon {
  background: var(--surface-raised);
  color: var(--muted);
}

.game-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
}

.game-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.game-card__team img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--surface-raised);
}

.game-card__team span {
  font-size: 9px;
  font-weight: 500;
}

.game-card__score {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.game-card__time {
  color: var(--muted-dim);
  font-size: 8.5px;
  text-align: center;
}

.game-card__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 14px 14px;
}

.game-card__channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(236, 35, 137, 0.4);
  border-radius: 99px;
  background: rgba(236, 35, 137, 0.1);
  color: var(--text);
  font-size: 8.5px;
  cursor: pointer;
}

.game-card__channel img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: contain;
}

/* player real */
.player-stage video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.player-stage.is-ready .player-status-card {
  display: none;
}

.player-stage.is-playing > img,
.player-stage.is-playing .player-stage__shade,
.player-stage.is-playing .player-center-button,
.player-stage.is-playing .player-status-card {
  display: none;
}

.load-more {
  display: block;
  margin: 18px auto 0;
}

/* ---------- página de categoria (ver mais) ---------- */

.category-topbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  padding: 8px 14px 0;
}

.category-back {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.82);
  color: #fff;
  cursor: pointer;
}

.category-back svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(90deg);
}

.category-topbar__spacer {
  width: 38px;
  flex: 0 0 38px;
}

.category-topbar h1 {
  flex: 1;
  margin: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-grid-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
  padding: 0 10px 30px;
}

.cat-poster {
  display: grid;
  gap: 5px;
  min-width: 0;
  cursor: pointer;
}

.cat-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 9px;
  background: var(--surface-raised);
  object-fit: cover;
  transition: transform 0.15s;
}

.cat-poster:hover img {
  transform: scale(1.03);
}

.cat-poster h3 {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 10.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .category-grid-page {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px 12px;
    padding: 0 22px 40px;
  }

  .cat-poster h3 {
    font-size: 12px;
  }
}

/* ---------- feed de gêneros (página categorias) ---------- */
/* scoped: funciona nos dois breakpoints — as classes mobile-shelf só têm
   estilo no @media mobile, então aqui definimos o visual completo */

/* home-feed = shelves de provedor da home (só desktop). No mobile o
   .mobile-home-feed já traz tudo. Seletores compostos vencem .genres-feed
   (display:grid) independente da ordem no arquivo. */
.genres-feed.home-feed[hidden] { display: none; }
@media (max-width: 760px) {
  .genres-feed.home-feed { display: none; }
}

.genres-feed {
  display: grid;
  gap: 22px;
}

.genres-feed .mobile-shelf__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.genres-feed .mobile-shelf__heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.genres-feed .mobile-shelf__heading a {
  flex: 0 0 auto;
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.genres-feed .mobile-poster-carousel {
  display: flex;
  min-width: 0;
  gap: 11px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 5px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.genres-feed .mobile-poster-carousel::-webkit-scrollbar {
  display: none;
}

.genres-feed .mobile-poster-card {
  display: grid;
  width: 140px;
  flex: 0 0 140px;
  gap: 8px;
  scroll-snap-align: start;
  cursor: pointer;
}

.genres-feed .mobile-poster-card > img {
  display: block;
  width: 140px;
  height: 197px;
  border-radius: 6px;
  background: #171719;
  object-fit: cover;
}

.genres-feed .mobile-poster-card h3 {
  margin: 0;
  overflow: hidden;
  color: #f3f1f5;
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .genres-feed .mobile-poster-card {
    width: 160px;
    flex-basis: 160px;
  }

  .genres-feed .mobile-poster-card > img {
    width: 160px;
    height: 226px;
  }
}

/* ---------- perfil ---------- */

.profile-page-heading {
  padding-top: 8px;
}

.profile-page-heading h1 {
  margin: 7px 0 5px;
  color: var(--text);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.8px;
}

.profile-page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.profile-hero-refresh {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-refresh-status {
  color: var(--muted-dim);
  font-size: 9px;
  white-space: nowrap;
}

.profile-hero-refresh__button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(7, 7, 8, 0.4);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.profile-hero-refresh__button svg {
  width: 14px;
  height: 14px;
}

.profile-hero-refresh__button:hover {
  border-color: rgba(236, 35, 137, 0.4);
  color: var(--text);
}

.profile-hero-refresh__button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.profile-hero-refresh__button:disabled svg {
  animation: profile-spin 0.8s linear infinite;
}

@keyframes profile-spin {
  to { transform: rotate(360deg); }
}

.profile-dashboard {
  display: grid;
  gap: 14px;
  padding-bottom: 20px;
}

.profile-account-hero {
  position: relative;
  display: flex;
  min-height: 140px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(236, 35, 137, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 6% 0%, rgba(230, 58, 118, 0.2), transparent 52%),
    linear-gradient(115deg, #171316, #101011 72%);
}

.profile-account-hero::after {
  position: absolute;
  top: -80px;
  right: 22%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.012), 0 0 0 48px rgba(255, 255, 255, 0.008);
  content: "";
  pointer-events: none;
}

.profile-account-hero__identity {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
}

.profile-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: linear-gradient(145deg, #f04a8e, #9d1c54);
  box-shadow: 0 8px 22px rgba(230, 58, 118, 0.2);
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
}

.profile-account-hero__copy {
  min-width: 0;
}

.profile-overline {
  color: #d985a7;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.profile-account-hero__copy h2 {
  margin: 6px 0 4px;
  overflow: hidden;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-account-hero__copy p {
  margin: 0;
  color: #aaa3aa;
  font-size: 10px;
}

.profile-access-summary {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 245px;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 7, 8, 0.45);
}

.profile-access-summary__dot,
.profile-session-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #65d59a;
  box-shadow: 0 0 10px rgba(101, 213, 154, 0.4);
}

.profile-access-summary__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.profile-access-summary__copy > span {
  color: var(--muted-dim);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.profile-access-summary__copy strong {
  overflow: hidden;
  color: #f8f7f9;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-access-summary__copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-access-pill {
  margin-left: auto;
  padding: 5px 7px;
  border-radius: 99px;
  background: rgba(101, 213, 154, 0.12);
  color: #78e0a9;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.profile-access-pill.is-dev {
  background: rgba(236, 35, 137, 0.13);
  color: #ff8fc0;
}

.profile-access-pill.is-renewal {
  background: rgba(255, 190, 84, 0.13);
  color: #ffd182;
}

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

.profile-stat-card {
  position: relative;
  display: grid;
  min-height: 122px;
  grid-template-columns: 1fr auto;
  align-content: start;
  padding: 15px 17px;
  border: 1px solid var(--hairline);
  border-radius: 9px;
  background: linear-gradient(145deg, #151516, #101011);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.profile-stat-card[href]:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 35, 137, 0.35);
}

.profile-stat-card__icon {
  display: grid;
  width: 30px;
  height: 30px;
  grid-column: 2;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 8px;
  background: rgba(236, 35, 137, 0.1);
  color: var(--accent-light);
}

.profile-stat-card__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-stat-card__label {
  grid-column: 1;
  color: var(--muted);
  font-size: 9px;
}

.profile-stat-card > strong {
  margin-top: 10px;
  color: #fbf9fc;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 1;
}

.profile-stat-card__hint {
  margin-top: 5px;
  color: var(--muted-dim);
  font-size: 8px;
}

.profile-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.9fr);
  align-items: stretch;
  gap: 14px;
}

.profile-panel {
  min-width: 0;
  padding: 18px 19px;
  border: 1px solid var(--hairline);
  border-radius: 9px;
  background: linear-gradient(145deg, #141415, #101011);
}

.profile-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.profile-panel-heading h2 {
  margin: 5px 0 0;
  color: #f7f5f8;
  font-size: 14px;
  font-weight: 600;
}

.profile-link-list {
  display: grid;
}

.profile-link-row {
  display: grid;
  min-height: 58px;
  grid-template-columns: 34px minmax(0, 1fr) auto 13px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
}

.profile-link-row:first-child {
  border-top: 0;
}

.profile-link-row__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #202022;
  color: #df6d9b;
}

.profile-link-row__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-link-row__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.profile-link-row__copy strong {
  overflow: hidden;
  color: #f1eef2;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-link-row__copy small {
  overflow: hidden;
  color: var(--muted-dim);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-link-row__count {
  min-width: 23px;
  padding: 4px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  color: #d3ced5;
  font-size: 8px;
  text-align: center;
}

.profile-link-row__chevron {
  width: 12px;
  height: 12px;
  transform: rotate(-90deg);
  fill: none;
  stroke: #77727a;
  stroke-width: 1.7;
}

.profile-detail-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.profile-detail-list > div {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-detail-list > div:first-child {
  border-top: 0;
}

.profile-detail-list dt {
  color: var(--muted);
  font-size: 9px;
}

.profile-detail-list dd {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #f1eef2;
  font-size: 9px;
  font-weight: 500;
  text-align: right;
}

.profile-membership-note {
  margin: 12px 0 0;
  padding: 10px 11px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.profile-panel-heading--row {
  margin-bottom: 12px;
}

.profile-text-link {
  color: var(--accent-light);
  font-size: 9px;
  font-weight: 600;
  text-decoration: none;
}

.profile-activity-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.profile-activity-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.profile-activity-item img {
  display: block;
  width: 42px;
  height: 54px;
  border-radius: 4px;
  background: var(--surface-raised);
  object-fit: cover;
}

.profile-activity-item__copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.profile-activity-item__copy strong {
  overflow: hidden;
  color: #f2eff3;
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-activity-item__copy small {
  color: var(--muted-dim);
  font-size: 8px;
}

.profile-activity-item > svg {
  width: 11px;
  height: 11px;
  transform: rotate(-90deg);
  fill: none;
  stroke: var(--muted-dim);
  stroke-width: 1.7;
}

.profile-activity-empty {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.profile-activity-empty[hidden] {
  display: none;
}

.profile-activity-empty__icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  place-items: center;
  border-radius: 10px;
  background: rgba(236, 35, 137, 0.1);
  color: var(--accent-light);
}

.profile-activity-empty__icon svg {
  width: 16px;
  height: 16px;
}

.profile-activity-empty strong {
  color: #ece9ee;
  font-size: 9px;
  font-weight: 500;
}

.profile-activity-empty p {
  margin: 4px 0 0;
  color: var(--muted-dim);
  font-size: 8px;
  line-height: 1.5;
}

.profile-security-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.profile-security-panel__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  background: #202022;
  color: #d2cbd5;
}

.profile-security-panel__icon svg {
  width: 16px;
  height: 16px;
}

.profile-security-panel > div {
  flex: 1;
  min-width: 0;
}

.profile-security-panel strong {
  color: #e9e6eb;
  font-size: 9px;
  font-weight: 500;
}

.profile-security-panel p {
  margin: 4px 0 0;
  color: var(--muted-dim);
  font-size: 8px;
  line-height: 1.5;
}

.profile-security-panel__logout {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid rgba(230, 58, 118, 0.3);
  border-radius: 6px;
  background: transparent;
  color: #ff8fb5;
  font-size: 9px;
  white-space: nowrap;
  cursor: pointer;
}

.profile-card__avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: linear-gradient(145deg, #e63a76, #8f174b);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.settings-profile__avatar {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 11px;
}

.settings-account-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 760px) {
  .profile-account-hero {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
  }

  .profile-access-summary {
    min-width: 0;
  }

  .profile-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-panel {
    padding: 16px;
  }

  .profile-activity-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .profile-page-heading h1 {
    font-size: 22px;
  }

  .profile-page-heading p {
    max-width: 290px;
    font-size: 10px;
    line-height: 1.5;
  }

  .profile-account-hero {
    padding: 15px;
  }

  .profile-avatar {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 18px;
    font-size: 21px;
  }

  .profile-account-hero__identity {
    gap: 12px;
  }

  .profile-account-hero__copy h2 {
    font-size: 18px;
  }

  .profile-stat-grid {
    gap: 7px;
  }

  .profile-stat-card {
    min-height: 108px;
    padding: 11px 10px;
  }

  .profile-stat-card__icon {
    width: 25px;
    height: 25px;
  }

  .profile-stat-card__icon svg {
    width: 13px;
    height: 13px;
  }

  .profile-stat-card__label {
    font-size: 8px;
  }

  .profile-stat-card > strong {
    margin-top: 12px;
    font-size: 22px;
  }

  .profile-stat-card__hint {
    font-size: 7px;
  }

  .profile-security-panel {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px;
  }

  .profile-security-panel > div {
    width: calc(100% - 48px);
    flex: 1 1 calc(100% - 48px);
  }

  .profile-security-panel__logout {
    margin-left: 46px;
  }
}

@media (max-width: 760px) {
  .page--live .page-heading--live {
    margin: 0 0 10px;
  }

  .live-category-tabs {
    margin-bottom: 10px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .channel-card {
    min-height: 96px;
    padding: 13px 9px 10px;
  }

  .channel-card img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 760px) {
  .page--detail {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 0;
    padding-bottom: 28px;
  }

  .detail-toolbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    height: 56px;
    min-height: 56px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    margin-bottom: -56px;
    padding: 0 15px;
    background: linear-gradient(180deg, rgba(3, 3, 4, 0.48), transparent);
  }

  .detail-toolbar.is-stuck {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 5, 6, 0.94);
  }

  .detail-back,
  .detail-favorite-button,
  .detail-tv-button {
    width: 40px;
    height: 40px;
    min-height: 40px;
    flex-basis: 40px;
    padding: 0;
  }

  .detail-toolbar__label {
    display: block;
    opacity: 0;
    text-align: center;
  }

  .detail-toolbar.is-stuck .detail-toolbar__label {
    opacity: 1;
  }

  .detail-hero {
    height: 68dvh;
    min-height: 520px;
    max-height: 660px;
    border: 0;
  }

  .detail-hero__art {
    top: 0;
    height: 100%;
    object-position: center 32%;
  }

  .detail-hero__shade {
    background:
      linear-gradient(180deg, rgba(4, 4, 5, 0.12) 0%, rgba(4, 4, 5, 0.02) 28%, rgba(4, 4, 5, 0.5) 60%, #080809 100%),
      linear-gradient(90deg, rgba(4, 4, 5, 0.18), transparent 72%);
  }

  .detail-hero__layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 20px 25px;
  }

  .detail-poster {
    display: none;
  }

  .detail-hero__content {
    width: 100%;
    max-width: none;
    padding: 0;
    text-align: left;
  }

  .detail-type {
    min-height: 22px;
    margin-bottom: 9px;
    font-size: 7px;
  }

  .page--detail .detail-hero__content [data-detail-type] {
    display: inline-flex;
  }

  .detail-hero__content h1 {
    margin: 0 0 8px;
    font-size: clamp(27px, 7vw, 34px);
    letter-spacing: -0.8px;
    line-height: 1.05;
  }

  .detail-meta {
    margin: 0 0 10px;
    font-size: 10px;
  }

  .page--detail .detail-summary {
    display: -webkit-box;
    max-width: 360px;
    font-size: 10px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .detail-actions {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .detail-actions .button {
    width: min(100%, 280px);
    min-height: 44px;
    font-size: 12px;
  }

  .detail-info,
  .episode-section {
    width: 100%;
    gap: 12px;
    padding: 24px 20px;
  }

  .page--detail .detail-info .detail-section-heading {
    display: flex;
    align-items: flex-end;
  }

  .detail-section-heading h2 {
    font-size: 17px;
  }

  .detail-section-heading p {
    font-size: 9px;
  }

  .detail-info > p {
    font-size: 11px;
    line-height: 1.65;
  }

  .episode-count {
    font-size: 8px;
  }

  .episode-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
  }

  .episode-card > img {
    width: 82px;
    aspect-ratio: 16 / 9;
  }

  .episode-card__copy {
    gap: 8px;
  }

  .episode-card__copy .eyebrow {
    font-size: 7px;
  }

  .episode-card__copy h3 {
    font-size: 10px;
  }

  .episode-card__copy p {
    font-size: 8px;
  }

  .episode-play {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .cast-section,
  .detail-recommendations {
    width: 100%;
    gap: 13px;
    margin: 0;
    padding: 22px 20px;
  }

  .cast-carousel {
    gap: 14px;
  }

  .cast-member {
    width: 82px;
    flex-basis: 82px;
  }

  .cast-member img {
    width: 66px;
    height: 66px;
  }

  .cast-member h3 {
    font-size: 9px;
  }

  .detail-recommendation-list {
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    padding: 0 1px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .detail-recommendation-list::-webkit-scrollbar {
    display: none;
  }

  .detail-recommendation {
    display: flex;
    width: min(42vw, 168px);
    flex: 0 0 min(42vw, 168px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 9px;
    scroll-snap-align: start;
  }

  .detail-recommendation > img {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    aspect-ratio: 3 / 4;
    border-radius: 0;
  }

  .detail-recommendation > div {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 5px;
    padding: 9px 10px 10px;
  }

  .detail-recommendation h3 {
    margin: 0;
    font-size: 10px;
    line-height: 1.3;
  }

  .detail-recommendation p {
    margin: 0;
    font-size: 8px;
    white-space: normal;
    line-height: 1.35;
  }

  .recommendation-rating {
    font-size: 9px;
  }
}

/* ---------- painel admin ---------- */

.admin-gate {
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-gate__hint {
  margin: 0;
  color: var(--muted-dim);
  font-size: 11px;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-field span {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-field input {
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
}

.admin-field input:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 1px;
}

.admin-gate__status {
  margin: 0;
  min-height: 14px;
  font-size: 10px;
  color: var(--accent-light);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-stat {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-stat strong {
  font-size: 14px;
  color: var(--text);
}

.admin-stat span {
  font-size: 9px;
  color: var(--muted-dim);
}

.admin-toolbar__actions {
  display: flex;
  gap: 8px;
}

.admin-users {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-user {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.admin-user__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-user__head strong {
  font-size: 13px;
  color: var(--text);
  word-break: break-all;
}

.admin-pill {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-pill--active { background: rgba(46, 204, 113, 0.15); color: #5fd68d; }
.admin-pill--pending { background: rgba(236, 185, 35, 0.15); color: #f0c65a; }
.admin-pill--blocked { background: rgba(236, 35, 80, 0.15); color: #f0688a; }
.admin-pill--expired { background: rgba(255, 255, 255, 0.08); color: var(--muted); }

.admin-user__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.admin-user__meta span {
  font-size: 9px;
  color: var(--muted-dim);
}

.admin-user__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-action-btn {
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-action-btn:hover {
  border-color: rgba(236, 35, 137, 0.45);
  background: rgba(236, 35, 137, 0.1);
}

.admin-action-btn--danger:hover {
  border-color: rgba(236, 35, 80, 0.5);
  background: rgba(236, 35, 80, 0.1);
  color: #f0688a;
}

.admin-action-btn:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 1px;
}

.admin-empty {
  margin: 20px 0;
  text-align: center;
  color: var(--muted-dim);
  font-size: 11px;
}

@media (min-width: 900px) {
  .admin-users {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ---------- controle remoto de TV ---------- */

.tv-remote {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(4, 4, 6, 0.68);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.tv-remote[hidden] {
  display: none;
}

.tv-remote__card {
  display: grid;
  width: min(440px, 100%);
  max-height: calc(100% - 4px);
  align-content: center;
  gap: 9px;
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  background: rgba(12, 12, 14, 0.93);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.35);
}

.tv-remote__heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tv-remote__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tv-remote__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #54c98c;
  box-shadow: 0 0 7px rgba(84, 201, 140, 0.45);
}

.tv-remote__title {
  overflow: hidden;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}

.tv-remote__status {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-dim);
  font-size: 9px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tv-remote__timeline {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.tv-remote__seek {
  display: block;
  width: 100%;
  height: 13px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  accent-color: var(--accent-light);
  cursor: pointer;
}

.tv-remote__seek::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    var(--accent-light) var(--pos, 0%),
    rgba(255, 255, 255, 0.22) var(--pos, 0%)
  );
}

.tv-remote__seek::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border: 0;
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(236, 35, 137, 0.16);
}

.tv-remote__seek::-moz-range-track {
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}

.tv-remote__seek::-moz-range-progress {
  height: 3px;
  border-radius: 99px;
  background: var(--accent-light);
}

.tv-remote__seek::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(236, 35, 137, 0.16);
}

.tv-remote__time {
  display: flex;
  justify-content: space-between;
  color: var(--muted-dim);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.tv-remote__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.tv-remote__skip,
.tv-remote__toggle {
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}

.tv-remote__skip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.tv-remote__skip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.tv-remote__skip svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.tv-remote__toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.tv-remote__toggle:hover {
  background: var(--accent-light);
}

.tv-remote__toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.tv-remote__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.tv-remote__volume {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 7px;
}

.tv-remote__volicon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--muted);
}

.tv-remote__vol {
  width: 100%;
  min-width: 64px;
  flex: 1;
  accent-color: var(--accent-light);
}

.tv-remote__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
}

.tv-remote__btn {
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 9px;
  font-weight: 500;
  transition: color 140ms ease, background-color 140ms ease;
}

.tv-remote__btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.tv-remote__btn--stop {
  color: #e8a3b3;
}

.tv-remote__btn--ghost {
  color: var(--muted-dim);
}

@media (max-width: 480px) {
  .tv-remote {
    padding: 7px;
  }

  .tv-remote__card {
    gap: 7px;
    padding: 11px 12px;
    border-radius: 11px;
  }

  .tv-remote__footer {
    gap: 7px;
    padding-top: 6px;
  }

  .tv-remote__bar {
    gap: 12px;
  }

  .tv-remote__btn {
    padding: 0 6px;
    font-size: 8px;
  }
}

@media (max-width: 360px) {
  .tv-remote__card {
    gap: 3px;
    padding: 8px 10px;
  }

  .tv-remote__title {
    font-size: 13px;
  }

  .tv-remote__seek {
    height: 10px;
  }

  .tv-remote__bar {
    gap: 10px;
  }

  .tv-remote__skip {
    width: 30px;
    height: 30px;
  }

  .tv-remote__toggle {
    width: 38px;
    height: 38px;
  }

  .tv-remote__footer {
    gap: 4px;
    padding-top: 4px;
  }

  .tv-remote__btn {
    min-height: 26px;
  }
}

/* ---------- modal de pareamento ---------- */

.tv-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 5, 9, 0.8);
  backdrop-filter: blur(6px);
}
.tv-modal[hidden] { display: none; }

.tv-modal__card {
  width: min(400px, 100%);
  background: #111826;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.tv-modal__card h3 { font-size: 20px; font-weight: 800; }
.tv-modal__card p { font-size: 14px; color: #97a3b8; line-height: 1.5; }
.tv-modal__card p b { color: #f2f5fa; font-weight: 600; }

.tv-modal__code {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-align: center;
  padding: 12px;
  background: #0b0f18;
  border: 2px solid #2a3548;
  border-radius: 14px;
  color: #f2f5fa;
  outline: none;
  font-variant-numeric: tabular-nums;
}
.tv-modal__code:focus { border-color: #e50914; }

.tv-modal__err {
  min-height: 16px;
  font-size: 12px;
  color: #ff6b6b;
  text-align: center;
}

.tv-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.tv-modal__card p b[data-tv-url] {
  display: block;
  white-space: pre-line;
  word-break: break-all;
  font-size: 13px;
  margin-top: 4px;
}

/* ---------- seletor de TV (DLNA) ---------- */

.tv-modal__devices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 56px;
}

.tv-modal__scan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 8px;
  font-size: 13px;
  color: #97a3b8;
  text-align: center;
  line-height: 1.5;
}

.tv-modal__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #2a3548;
  border-top-color: #e50914;
  border-radius: 50%;
  flex: none;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.tv-modal__device {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: #0b0f18;
  border: 1px solid #2a3548;
  border-radius: 12px;
  color: #f2f5fa;
  text-align: left;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}
.tv-modal__device:hover { border-color: #e50914; background: #131a26; }
.tv-modal__device svg { width: 26px; height: 26px; flex: none; color: #97a3b8; }
.tv-modal__device span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tv-modal__device strong { font-size: 14px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-modal__device small { font-size: 11px; color: #5b6b85;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tv-modal__codeopt {
  align-self: center;
  border: none;
  background: none;
  color: #97a3b8;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 4px;
}
.tv-modal__codeopt:hover { color: #f2f5fa; }

@media (max-width: 760px) {
  .episode-section__header {
    align-items: flex-end;
    gap: 10px;
  }

  .episode-section__heading {
    gap: 3px;
  }

  .episode-section__heading h2 {
    font-size: 18px;
  }

  .episode-count {
    font-size: 10px;
  }

  .season-picker select {
    min-width: 142px;
    min-height: 40px;
    padding-right: 34px;
    padding-left: 11px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .episode-section__header {
    gap: 8px;
  }

  .season-picker select {
    min-width: 132px;
    padding-left: 9px;
  }
}

@media (min-width: 1200px) {
  .topbar {
    gap: 18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .search-field {
    width: clamp(360px, 30vw, 520px);
    height: 42px;
    flex-basis: clamp(360px, 30vw, 520px);
  }

  .search-field input {
    font-size: 10px;
  }

  .nav-link {
    height: 36px;
    gap: 9px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .nav-link svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .nav-link__label {
    font-size: 11px;
  }

  .section-heading h2,
  .content-heading h2 {
    font-size: 16px;
  }

  .mini-pick__copy .eyebrow {
    font-size: 7px;
  }

  .mini-pick__copy h3 {
    font-size: 12px;
  }

  .mini-pick__copy p {
    font-size: 9px;
  }

  .poster-card__copy h3 {
    font-size: 11px;
  }

  .poster-card__copy p {
    font-size: 9px;
  }

  .page--explore .poster-grid--fill {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px 14px;
  }

  .poster-grid--favourites {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px 14px;
  }

  .live-category-tab {
    min-height: 32px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 10px;
  }

  .page--live .channel-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
  }

  .page--live .channel-card {
    min-height: 132px;
    gap: 8px;
    padding: 16px 12px 14px;
  }

  .page--live .channel-card img {
    width: 56px;
    height: 56px;
  }

  .page--live .channel-card h3 {
    font-size: 11px;
  }

  .page--live .channel-card__num {
    font-size: 8px;
  }
}

@media (min-width: 1440px) {
  .topbar {
    padding-right: 24px;
    padding-left: 24px;
  }

  .search-field {
    width: clamp(420px, 28vw, 540px);
    flex-basis: clamp(420px, 28vw, 540px);
  }

  .page--explore .poster-grid--fill {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px 16px;
  }

  .poster-grid--favourites {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px 16px;
  }

  .mini-pick {
    gap: 12px;
    padding: 9px;
  }

  .mini-pick > img {
    width: 32%;
    flex-basis: 32%;
  }
}

@media (min-width: 761px) {
  .hero-card__copy {
    width: min(66%, 620px);
    padding: clamp(20px, 3vh, 38px) 0 18px clamp(18px, 2vw, 34px);
  }

  .hero-card__genres {
    gap: 7px;
    margin-bottom: 10px;
  }

  .hero-card__genres span {
    padding: 6px 9px;
    font-size: 9px;
  }

  .hero-card h1 {
    max-width: 460px;
    margin-bottom: 8px;
    font-size: clamp(28px, 2.8vw, 42px);
    letter-spacing: -1.1px;
    line-height: 1.08;
  }

  .hero-card p,
  .hero-card__subtitle {
    max-width: 450px;
    font-size: 12px;
    line-height: 1.5;
  }

  .hero-card__actions {
    gap: 10px;
    margin-top: 16px;
  }

  .hero-card__actions .button {
    min-height: 44px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 12px;
  }

  .hero-card__actions .button svg {
    width: 16px;
    height: 16px;
  }

  .hero-card__badge {
    top: 14px;
    right: 14px;
    padding: 7px 10px;
    font-size: 9px;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .hero-card__copy {
    width: min(66%, 500px);
    padding: 14px 0 10px 18px;
  }

  .hero-card__genres {
    gap: 5px;
    margin-bottom: 6px;
  }

  .hero-card__genres span {
    padding: 4px 7px;
    font-size: 8px;
  }

  .hero-card h1 {
    max-width: 380px;
    margin-bottom: 4px;
    font-size: clamp(24px, 2.8vw, 30px);
    letter-spacing: -0.7px;
  }

  .hero-card p,
  .hero-card__subtitle {
    max-width: 360px;
    font-size: 11px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .hero-card__actions {
    gap: 8px;
    margin-top: 10px;
  }

  .hero-card__actions .button {
    min-height: 38px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 11px;
  }

  .hero-card__badge {
    top: 8px;
    right: 8px;
    padding: 5px 7px;
    font-size: 8px;
  }
}

@media (max-width: 760px) {
  .hero-card {
    height: clamp(270px, 72vw, 310px);
  }

  .hero-card__copy {
    width: min(88%, 420px);
    padding: 24px 14px 18px;
  }

  .hero-card__genres {
    gap: 6px;
    margin-bottom: 8px;
  }

  .hero-card__genres span {
    padding: 5px 8px;
    font-size: 9px;
  }

  .hero-card h1 {
    max-width: 460px;
    margin-bottom: 7px;
    font-size: clamp(24px, 6vw, 30px);
    letter-spacing: -0.65px;
    line-height: 1.08;
  }

  .hero-card p,
  .hero-card__subtitle {
    max-width: min(100%, 380px);
    font-size: 11px;
    line-height: 1.4;
  }

  .hero-card__subtitle {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .hero-card__actions {
    gap: 8px;
    margin-top: 14px;
  }

  .hero-card__actions .button {
    min-height: 42px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 12px;
  }

  .hero-card__badge {
    top: 10px;
    right: 10px;
    padding: 6px 8px;
    font-size: 8px;
  }
}
