@import url("/fonts/fonts.css");
:root {
  color-scheme: dark;
  --bg: #0d0e10;
  --rail: #111214;
  --panel: #18191c;
  --line: #28292c;
  --red: #f05159;
  --text: #f4f3f1;
  --muted: #a19fa3;
  --side: 214px;
  --pad: clamp(24px, 2.4vw, 47px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.5 "DM Sans",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
button:disabled {
  opacity: 0.48;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ff9599;
  outline-offset: 3px;
}
button,
input,
a,
select {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
img {
  display: block;
  max-width: 100%;
}
svg {
  flex-shrink: 0;
  stroke-width: 1.75;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.17;
}
h1,
h2 {
  letter-spacing: -0.04em;
}
button:not(.poster-title) {
  font-weight: 600;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  background: var(--rail);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  z-index: 20;
}
.brand {
  height: 83px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  letter-spacing: -1.55px;
  font-weight: 800;
  font-size: 26px;
  white-space: nowrap;
}
.brand span {
  color: var(--text);
}
.brand img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border-radius: 8px;
}
.sidebar nav {
  margin-top: 19px;
  overflow: auto;
}
.nav-label,
.eyebrow,
.original,
.ep-tag {
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.nav-label {
  color: #8e8d92;
  font-size: 10px;
  padding: 0 16px;
  margin: 27px 0 11px;
}
.nav-label:first-child {
  margin-top: 0;
}
.nav-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 15px;
  min-height: 44px;
  border-radius: 7px;
  color: #b1afb4;
  margin: 3px 0;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #1b1b1f;
  color: white;
}
.nav-item.selected {
  background: #342023;
  color: #ff7178;
  font-weight: 700;
}
.nav-item.selected:before {
  content: "";
  position: absolute;
  background: var(--red);
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 3px;
  border-radius: 3px;
}
.side-bottom {
  margin-top: auto;
  padding: 21px 0 23px;
}
.plan-tile {
  background: linear-gradient(112deg, #302624, #211e20);
  border: 1px solid #503b35;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 10px;
  text-align: left;
}
.plan-icon {
  color: #e8bc83;
  display: flex;
}
.plan-tile strong {
  display: block;
  font-size: 12px;
  color: #f1d5b4;
}
.plan-tile small {
  font-weight: 400;
  font-size: 11px;
  color: #c1aca0;
}
.plan-tile > svg {
  margin-left: auto;
  color: #bfa698;
}
.main {
  margin-left: var(--side);
  min-width: 0;
}
.top {
  height: 72px;
  border-bottom: 1px solid #232427;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.breadcrumb,
.desktop-crumb,
.top-right,
.profile-btn,
.search {
  display: flex;
  align-items: center;
}
.breadcrumb,
.desktop-crumb {
  gap: 10px;
}
.breadcrumb {
  font-size: 13px;
}
.breadcrumb b {
  font-weight: 600;
}
.desktop-crumb {
  color: #908f94;
}
.top-right {
  gap: 21px;
}
.search {
  height: 36px;
  background: #191a1d;
  border: 1px solid #2b2c2f;
  border-radius: 8px;
  padding: 0 11px;
  gap: 9px;
  color: #9e9da2;
}
.search input {
  padding: 0;
  border: 0;
  outline: none !important;
  width: clamp(100px, 13vw, 205px);
  min-width: 0;
  background: none;
  color: white;
  font-size: 13px;
}
.search input::placeholder {
  color: #a5a3a8;
}
.search button {
  display: flex;
}
.search kbd {
  font:
    10px "DM Sans",
    sans-serif;
  border: 1px solid #414145;
  border-radius: 4px;
  padding: 1px 5px;
  color: #a8a6ac;
  white-space: nowrap;
}
.profile-wrap {
  position: relative;
}
.profile-btn {
  gap: 7px;
  color: #a4a2a5;
}
.avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #815050, #3f2a35);
  color: #fbd9cc;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid #90635f;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 21px;
}
.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 185px;
  z-index: 21;
  padding: 9px;
  background: #1e1e22;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 15px 40px #0008;
}
.dropdown strong {
  display: block;
  padding: 6px 12px;
  color: #bbb;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.dropdown a,
.dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 9px 12px;
}
.content {
  padding: 24px var(--pad) 60px;
  max-width: 1890px;
  margin: auto;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #383b3c;
  min-height: 380px;
  height: clamp(365px, 31.2vw, 500px);
  background: #10232b;
  display: flex;
  align-items: center;
}
.hero-art,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-art {
  object-fit: cover;
  object-position: 67% 46%;
  animation: reveal 0.6s ease both;
}
.hero-scrim {
  background:
    linear-gradient(
      90deg,
      rgba(8, 14, 18, 0.91),
      rgba(8, 15, 18, 0.68) 27%,
      rgba(7, 14, 17, 0.19) 57%,
      transparent 80%
    ),
    linear-gradient(0deg, #0b1014c7, transparent 35%);
}
.slide-1 .hero-art,
.slide-2 .hero-art {
  object-position: center 36%;
}
.hero-copy {
  padding: 26px clamp(27px, 3vw, 60px);
  width: 53%;
  min-width: 380px;
  animation: rise 0.4s ease both;
}
.original,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.original {
  color: #f1e7e5;
  letter-spacing: 0.18em;
}
.live-dash,
.eyebrow > span {
  display: inline-block;
  width: 20px;
  height: 3px;
  background: var(--red);
  border-radius: 4px;
}
.hero h1 {
  font:
    400 clamp(66px, 5.75vw, 107px) / 0.86 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.03em;
  margin: 19px 0 19px;
}
.hero h1 em {
  font-weight: 400;
  color: #f6eeea;
}
.hero-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #d0d0d0;
  font-size: 12px;
  font-weight: 500;
}
.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a6acad;
}
.genre-tag {
  color: #eee;
}
.format-tag {
  font-size: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid #70797c;
  border-radius: 3px;
  padding: 2px 5px;
}
.hero-copy > p {
  font-size: 14px;
  line-height: 1.55;
  color: #d4d7d9;
  max-width: 385px;
  margin: 12px 0 20px;
}
.actions,
.form-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.button {
  border: 1px solid transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  padding: 10px 16px;
  min-height: 40px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}
.primary {
  background: #ed4c55;
  color: #fff;
}
.primary:hover:not(:disabled) {
  background: #ff626b;
}
.glass {
  background: #68717542;
  border-color: #a7afb13d;
  color: white;
  backdrop-filter: blur(8px);
}
.glass:hover {
  background: #78838975;
}
.secondary {
  background: #26272a;
  border-color: #3a3b3e;
}
.secondary:hover:not(:disabled) {
  background: #333438;
}
.slide-controls {
  position: absolute;
  bottom: 20px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eee;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.slide-controls button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #ffffff47;
  background: #14202880;
  backdrop-filter: blur(6px);
  border-radius: 50%;
}
.slide-controls button:hover {
  background: #444;
}
.slide-controls small {
  color: #b6bcc1;
  font-size: 11px;
}
.shelf {
  margin-top: 29px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.eyebrow {
  color: #b6a8a9;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.eyebrow > span {
  width: 14px;
  height: 2px;
}
.shelf h2 {
  font-size: clamp(24px, 2vw, 33px);
  font-weight: 700;
  margin: 6px 0 0;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b8b5b9;
  font-size: 13px;
}
.text-button:hover {
  color: white;
}
.chips {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 15px 0 18px;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chips button {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #333337;
  color: #b4b2b7;
  border-radius: 20px;
  padding: 5px 13px;
  min-height: 31px;
  font-size: 12px;
  white-space: nowrap;
}
.chips button.active {
  border-color: #a04448;
  background: #342124;
  color: #ff9698;
}
.chips button:hover {
  border-color: #a27476;
  color: #eee;
}
.poster-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 15px;
}
.poster {
  min-width: 0;
  animation: rise 0.42s both;
}
.poster:nth-child(2) {
  animation-delay: 0.025s;
}
.poster:nth-child(3) {
  animation-delay: 0.05s;
}
.poster:nth-child(4) {
  animation-delay: 0.075s;
}
.poster:nth-child(5) {
  animation-delay: 0.1s;
}
.poster-art {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: 9px;
  overflow: hidden;
  background: #212328;
  border: 1px solid #ffffff0f;
}
.cover-button,
.cover-button img,
.poster-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cover-button img {
  object-fit: cover;
  transition: transform 0.55s ease;
}
.poster-shade {
  background: linear-gradient(0deg, #06070a9c, transparent 31%);
}
.poster:hover img {
  transform: scale(1.035);
}
.poster-play {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  height: 43px;
  width: 43px;
  display: grid;
  place-items: center;
  background: #1119;
  border: 1px solid #fff8;
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: 0.2s;
}
.poster:hover .poster-play,
.cover-button:focus-visible .poster-play {
  opacity: 1;
}
.ep-tag,
.rent-tag {
  position: absolute;
  bottom: 9px;
  left: 8px;
  background: #0d0e12b5;
  border: 1px solid #ffffff3d;
  border-radius: 4px;
  color: white;
  font:
    600 10px/1 "DM Sans",
    sans-serif;
  letter-spacing: 0.055em;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 5px;
  backdrop-filter: blur(4px);
}
.rent-tag {
  left: auto;
  right: 8px;
}
.save-card {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #05060974;
  color: #fff;
  border: 1px solid #ffffff29;
}
.save-card.saved,
.saved {
  color: #ff858d;
  background: #472327;
}
.poster-title {
  display: block;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  margin: 10px 0 3px;
  letter-spacing: -0.025em;
}
.poster-meta {
  font-size: 12px;
  color: #99979e;
}
.shelf + .shelf {
  margin-top: 34px;
}
.shelf + .shelf .poster-grid {
  margin-top: 15px;
}
.view {
  padding: 16px 0;
  animation: rise 0.35s ease;
}
.view h1 {
  font-size: clamp(29px, 3vw, 45px);
  margin: 7px 0 15px;
}
.view h2,
.panel h2 {
  font-size: 22px;
  margin: 14px 0;
}
.panel,
.empty,
.dialog,
.detail-dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.panel {
  padding: 24px;
  margin: 16px 0;
}
.panel p,
.dialog p,
.detail-copy p,
.empty p,
.muted {
  color: #b9b7bc;
}
.panel p,
.dialog p,
.detail-copy p,
.empty p {
  margin: 10px 0 16px;
}
.empty {
  text-align: center;
  padding: 45px 18px;
}
.empty > svg {
  color: var(--red);
  margin-bottom: 10px;
}
.empty h3 {
  font-size: 22px;
}
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
}
.data-row + .data-row {
  border-top: 1px solid var(--line);
}
.data-row small,
.plan-card small,
.balance small {
  display: block;
  color: #a8a5ae;
  margin-top: 3px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.plan-card strong {
  font-size: 32px;
}
.plan-card p {
  flex: 1;
}
.plan-card > svg {
  color: #b2b2b4;
}
.premium {
  background: linear-gradient(135deg, #302023, #19191a);
  border-color: #6a383c;
}
.premium > svg {
  color: var(--red);
}
.balance h2 {
  font-size: 35px;
}
.overlay,
.reel-overlay {
  position: fixed;
  inset: 0;
  background: #050507bd;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 55;
  padding: 18px;
}
.dialog,
.detail-dialog {
  position: relative;
  max-height: 92dvh;
  overflow-y: auto;
  width: min(100%, 480px);
  box-shadow: 0 26px 90px #0008;
  animation: rise 0.25s ease;
}
.dialog {
  padding: 29px;
}
.dialog h2,
.detail-copy h2 {
  font-size: 28px;
  padding-right: 25px;
}
.detail-dialog {
  overflow: hidden;
}
.detail-image {
  height: 175px;
  background-size: cover;
  background-position: 50% 34%;
}
.detail-copy {
  padding: 25px;
}
.detail-copy h2 {
  margin-top: 8px;
}
.detail-copy .actions {
  margin-top: 18px;
}
.icon-btn,
.close {
  display: inline-grid;
  place-items: center;
  border: 1px solid #414146;
  background: #191a1c;
  border-radius: 50%;
  width: 35px;
  height: 35px;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
}
.wide-form {
  width: min(100%, 630px);
}
.settings-form {
  max-width: 850px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wide-form label,
.settings-form label {
  display: block;
  font-size: 14px;
  color: #d1ced4;
  margin: 12px 0;
}
.wide-form input:not([type="file"]),
.wide-form select,
.wide-form textarea,
.settings-form input,
.settings-form select {
  display: block;
  width: 100%;
  min-width: 0;
  background: #101114;
  color: white;
  border: 1px solid #3c3d42;
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 5px;
  font-size: 14px;
}
.wide-form textarea {
  min-height: 75px;
}
.wide-form select,
.settings-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23bbbbbb' fill='none'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 30px;
}
.wide-form h3,
.settings-form h3 {
  margin-top: 20px;
}
.wide-form fieldset,
.settings-form fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 12px 0;
  padding: 12px;
}
.wide-form legend,
.settings-form small {
  color: #aaa7b0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.wide-form .upload-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #ff9399;
}
.upload-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-footer {
  margin: 20px 0 0;
  justify-content: flex-end;
}
.settings-form > .button {
  display: flex;
  margin-top: 18px;
}
.error {
  color: #ff898d !important;
}
.toast {
  position: fixed;
  z-index: 90;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 11px 15px;
  border: 1px solid #565054;
  background: #292629;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 35px #0008;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  width: max-content;
  max-width: 92vw;
}
.toast button {
  display: flex;
}
.reel-overlay {
  z-index: 60;
  background: radial-gradient(ellipse at 50% 50%, #1d2027, #07080a 72%);
  flex-direction: column;
  overflow: auto;
  backdrop-filter: blur(15px);
}
.reel-header {
  position: absolute;
  top: 18px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.reel-header i {
  color: #777;
  padding: 0 5px;
}
.reel-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 100%;
}
.reel {
  height: min(83dvh, 780px, calc((100vw - 120px) * 16 / 9));
  aspect-ratio: 9/16;
  background: #050505;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  touch-action: none;
}
.reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #000c,
    transparent 26%,
    transparent 83%,
    #0007
  );
}
.reel-top,
.reel-caption {
  position: absolute;
  left: 16px;
  right: 16px;
}
.reel-top {
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.reel-top > span {
  font-size: 11px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.reel-top button,
.reel-tools button,
.episode-drawer button {
  display: flex;
  align-items: center;
}
.reel-caption {
  bottom: 14px;
}
.reel-caption small,
.reel-caption strong {
  display: block;
  font-size: 13px;
}
.reel-caption h2 {
  font-size: 24px;
  margin: 2px 0 10px;
}
.reel-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}
.reel-tools svg {
  width: 17px;
}
.reel-tools input {
  accent-color: var(--red);
  min-width: 0;
  flex: 1;
  height: 4px;
}
.reel-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reel-rail button {
  display: grid;
  place-items: center;
  border-radius: 100%;
  height: 42px;
  width: 42px;
  background: #24252c;
  border: 1px solid #393a40;
}
.reel-rail svg {
  width: 19px;
}
.reel-center {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  min-width: 65%;
  padding: 10px;
  background: #141417da;
  border-radius: 9px;
}
.reel-center p {
  margin: 3px 0 10px;
}
.big-play {
  min-width: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.episode-drawer {
  position: absolute;
  inset: auto 0 0;
  background: #202025f5;
  padding: 20px;
  max-height: 70%;
  overflow: auto;
}
.episode-drawer > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.episode-drawer > button {
  width: 100%;
  text-align: left;
  gap: 12px;
  padding: 8px 0;
}
.episode-drawer > button.active {
  color: #ff8388;
}
.ad-strip {
  position: relative;
  background: #17171b;
  border-radius: 8px;
  margin-top: 7px;
  max-width: 680px;
  width: 70%;
  max-height: 12dvh;
  overflow: auto;
  text-align: center;
}
.ad-strip small {
  display: block;
  color: #aaa;
  font-size: 11px;
}
.ad-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}
.ad-strip img {
  max-height: 45px;
  max-width: 120px;
}
.mobile-menu,
.mobile-close,
.backdrop {
  display: none;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes reveal {
  from {
    opacity: 0.75;
    transform: scale(1.01);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (min-width: 1650px) {
  :root {
    --side: 240px;
  }
  .poster-grid {
    gap: 20px;
  }
  .hero-copy > p {
    font-size: 16px;
    max-width: 440px;
  }
}
@media (max-width: 1230px) {
  :root {
    --side: 188px;
    --pad: 23px;
  }
  .sidebar {
    padding: 0 12px;
  }
  .brand {
    font-size: 24px;
  }
  .poster-grid {
    gap: 12px;
  }
  .hero {
    min-height: 355px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero-copy {
    padding: 24px 28px;
  }
  .hero-copy > p {
    max-width: 335px;
  }
  .plan-tile {
    gap: 6px;
  }
  .nav-item {
    gap: 10px;
  }
}
@media (max-width: 1020px) {
  :root {
    --side: 167px;
    --pad: 18px;
  }
  .brand {
    font-size: 21px;
    padding: 0 4px;
  }
  .brand img {
    width: 28px;
    height: 28px;
    margin-right: 7px;
  }
  .nav-item {
    padding: 10px;
    font-size: 13px;
  }
  .nav-label {
    padding: 0 10px;
  }
  .poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero-copy {
    min-width: 320px;
    width: 54%;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero {
    height: 350px;
  }
  .plan-tile {
    padding: 10px 6px;
  }
  .plan-tile strong {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  :root {
    --side: 0px;
    --pad: 15px;
  }
  .sidebar {
    width: 224px;
    transform: translateX(-102%);
    transition: transform 0.23s;
    z-index: 51;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar nav {
    margin-top: 8px;
  }
  .sidebar .brand {
    font-size: 25px;
    height: 70px;
  }
  .mobile-close {
    display: grid;
    position: absolute;
    top: 20px;
    right: 10px;
    width: 26px;
    height: 26px;
  }
  .backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 50;
  }
  .mobile-menu {
    display: grid;
    background: none;
    border: 0;
    width: 24px;
  }
  .mobile-menu svg {
    width: 22px;
    height: 22px;
  }
  .desktop-crumb {
    display: none;
  }
  .top {
    height: 57px;
  }
  .top-right {
    gap: 12px;
  }
  .search {
    height: 33px;
    padding: 0 8px;
  }
  .search kbd {
    display: none;
  }
  .search input {
    width: 105px;
  }
  .content {
    padding-top: 15px;
  }
  .hero {
    min-height: 355px;
    height: 400px;
  }
  .hero-copy {
    padding: 23px;
    min-width: 0;
    width: 64%;
  }
  .hero h1 {
    font-size: 70px;
  }
  .poster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .plan-card {
    margin: 0;
  }
  .plan-grid {
    gap: 10px;
    margin-bottom: 18px;
  }
  .plan-card p {
    margin: 6px 0 12px;
  }
  .plan-card strong {
    font-size: 25px;
  }
  .shelf {
    margin-top: 23px;
  }
  .reel-header {
    left: 10px;
    top: 10px;
  }
  .reel-header span {
    display: none;
  }
  .ad-strip {
    width: 90%;
  }
}
@media (max-width: 520px) {
  .hero {
    align-items: flex-end;
    min-height: 385px;
    height: clamp(385px, 103vw, 455px);
    border-radius: 12px;
  }
  .hero-art {
    object-position: 73% 10%;
    height: 82%;
    object-fit: cover;
  }
  .hero-scrim {
    background:
      linear-gradient(0deg, #0c161b 5%, #0d171ceb 28%, #0a111759 68%, #0001),
      linear-gradient(90deg, #0a131a78, transparent 73%);
  }
  .hero-copy {
    width: 100%;
    padding: 20px 18px 25px;
  }
  .hero h1 {
    font-size: clamp(56px, 13vw, 69px);
    margin: 14px 0;
  }
  .hero-copy > p {
    max-width: 92%;
    font-size: 13px;
    margin: 8px 0 15px;
  }
  .original {
    font-size: 9px;
  }
  .hero-meta {
    font-size: 11px;
    gap: 8px;
  }
  .hero .button {
    font-size: 12px;
    padding: 9px 12px;
    min-height: 36px;
  }
  .slide-controls {
    top: 12px;
    bottom: auto;
    right: 12px;
    gap: 6px;
  }
  .slide-controls button {
    width: 24px;
    height: 24px;
  }
  .slide-controls span {
    font-size: 10px;
  }
  .slide-controls small {
    font-size: 9px;
  }
  .chips {
    margin: 12px 0 14px;
  }
  .chips button {
    font-size: 12px;
  }
  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .poster-title {
    font-size: 15px;
  }
  .profile-btn > svg {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .view .section-head {
    align-items: flex-start;
  }
  .section-head .button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .dialog,
  .panel {
    padding: 20px;
  }
  .data-row {
    flex-wrap: wrap;
  }
  .reel-overlay {
    padding: 0;
    background: #000;
  }
  .reel-header {
    display: none;
  }
  .reel-layout {
    width: 100%;
    height: 100%;
    flex-direction: column;
    gap: 0;
    min-height: 0;
  }
  .reel {
    height: auto;
    max-height: calc(100dvh - 55px);
    width: min(100vw, calc((100dvh - 55px) * 9 / 16));
    border-radius: 0;
    flex-shrink: 1;
  }
  .reel-rail {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    gap: 17px;
    flex-shrink: 0;
  }
  .reel-rail button {
    width: 33px;
    height: 33px;
  }
  .reel-overlay:has(.ad-strip) .reel {
    max-height: calc(100dvh - 145px);
    width: min(100vw, calc((100dvh - 145px) * 9 / 16));
  }
  .ad-strip {
    margin-bottom: 3px;
    flex-shrink: 0;
  }
  .reel-top {
    top: max(12px, env(safe-area-inset-top));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reel video.forward {
    animation: next-reel 0.26s ease-out;
  }
  .reel video.backward {
    animation: previous-reel 0.26s ease-out;
  }
}
@keyframes next-reel {
  from {
    transform: translateY(12%);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes previous-reel {
  from {
    transform: translateY(-12%);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

:root{--tabs-height:calc(65px + env(safe-area-inset-bottom,0px))}
.main{margin-left:0;padding-bottom:var(--tabs-height)}
.top{max-width:1670px;margin:0 auto}
.top .brand{height:auto;padding:0}
.content{max-width:1450px}
.bottom-tabs{position:fixed;inset:auto 0 0;z-index:45;background:#080809;border-top:1px solid #252528;padding:0 12px env(safe-area-inset-bottom,0px)}
.bottom-tabs>div{max-width:560px;margin:auto;height:65px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.bottom-tabs a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;color:#b9b8bc;font-size:12px;line-height:1.25;font-weight:600;min-width:0}
.bottom-tabs a:hover{color:#fff}.bottom-tabs a[aria-current=page]{color:#ffdc41}
.toast{bottom:calc(var(--tabs-height) + 10px)}
.preferences h2,.settings-link,.preferences label{display:flex;align-items:center;gap:12px}
.preferences label,.settings-link{justify-content:space-between;padding:13px 0}.preferences label+label,.settings-link+.settings-link{border-top:1px solid var(--line)}
.preferences input{appearance:none;flex:none;width:39px;height:23px;border-radius:20px;background:#3a3b3e;padding:3px;cursor:pointer}
.preferences input:checked{background:var(--red)}.preferences input:before{content:"";display:block;width:17px;height:17px;border-radius:100%;background:white;transition:transform .2s}.preferences input:checked:before{transform:translateX(16px)}
.settings-link span{flex:1}.settings-link:hover{color:#fff0aa}.settings-link svg{width:18px}
.discover-screen,.feed-loading{height:calc(100dvh - var(--tabs-height));position:relative;background:#050505;color:#fff}
.feed-loading{display:grid;place-items:center}
.feed-viewport{width:min(100%,calc((100dvh - var(--tabs-height))*9/16));height:100%;margin:auto;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;background:#111}
.feed-viewport::-webkit-scrollbar{display:none}.feed-card{height:100%;width:100%;position:relative;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always;background:linear-gradient(150deg,#17161d,#28222c)}
.feed-poster,.feed-card video,.feed-scrim,.feed-tap{position:absolute;inset:0;width:100%;height:100%}.feed-card video,.feed-poster{object-fit:cover}.feed-scrim{pointer-events:none;background:linear-gradient(0deg,#08080be8,transparent 35%,transparent 80%,#08080b78)}
.feed-header{position:absolute;z-index:3;top:max(15px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(100%,calc((100dvh - var(--tabs-height))*9/16));padding:0 16px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.feed-header span{display:flex;align-items:center;gap:7px;letter-spacing:-.03em;font-weight:700;text-shadow:0 1px 5px #111}.feed-header button,.feed-actions button,.feed-nav button,.feed-play{pointer-events:auto;background:#11121896;border:1px solid #ffffff3b;border-radius:50%;width:38px;height:38px;display:grid;place-items:center}
.feed-actions{position:absolute;right:13px;bottom:115px;display:grid;gap:10px}.feed-actions svg,.feed-nav svg{width:20px}
.feed-copy{position:absolute;bottom:24px;left:18px;right:52px;pointer-events:none}.feed-copy small{color:#efeaeb;font-size:13px}.feed-copy h1{font:400 clamp(36px,4.6vw,56px)/1.02 "Instrument Serif",Georgia,serif;letter-spacing:-.03em;margin:4px 0 12px}.feed-copy a,.feed-copy button{pointer-events:auto}
.feed-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff36}.feed-progress i{display:block;width:100%;height:100%;background:var(--red);transform-origin:left}
.feed-nav{position:absolute;top:50%;left:calc(50% + (100dvh - var(--tabs-height))*9/32 + 14px);display:grid;gap:10px}.feed-nav button:disabled{opacity:.3}
.feed-play,.feed-retry{position:absolute;top:47%;left:50%;transform:translate(-50%,-50%)}.feed-play{width:52px;height:52px}
@media(max-width:760px){.top .brand{font-size:23px}.feed-nav{display:none}.bottom-tabs{padding-inline:0}.bottom-tabs a{font-size:12px}.feed-viewport,.feed-header{width:100%}.feed-copy h1{font-size:42px}}
@media(max-height:500px) and (orientation:landscape){:root{--tabs-height:49px}.bottom-tabs>div{height:49px}.bottom-tabs a{flex-direction:row;gap:8px}.feed-copy h1{font-size:25px}.feed-copy{bottom:8px}.feed-copy .button{min-height:28px;padding:4px 8px}}
