@import url("/fonts/fonts.css");
:root {
  color-scheme: dark;
  --bg: #0d0e10;
  --rail: #111214;
  --panel: #18191c;
  --line: #28292c;
  --red: #f05159;
  --text: #f4f3f1;
  --muted: #a19fa3;
  --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;
}
.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;
}
.eyebrow,
.original,
.ep-tag {
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.main {
  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;
}
.top-right,
.search {
  display: flex;
  align-items: center;
}
.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;
}
.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;
}
@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) {
  .poster-grid {
    gap: 20px;
  }
  .hero-copy > p {
    font-size: 16px;
    max-width: 440px;
  }
}
@media (max-width: 1230px) {
  :root {
    --pad: 23px;
  }
  .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;
  }
}
@media (max-width: 1020px) {
  :root {
    --pad: 18px;
  }
  .brand {
    font-size: 21px;
    padding: 0 4px;
  }
  .brand img {
    width: 28px;
    height: 28px;
    margin-right: 7px;
  }
  .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;
  }
}
@media (max-width: 760px) {
  :root {
    --pad: 15px;
  }
  .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;
  }
  .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 0.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: -0.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: -0.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: 0.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;
  }
}

.import-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.import-summary > div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.import-summary strong { display: block; font-size: 30px; }
.import-summary span { display: block; color: #b9b7bc; font-size: 14px; }
.import-notice { padding: 16px; border-left: 3px solid #e5bf61; background: #e5bf610a; }
.import-search { display: flex; align-items: flex-end; gap: 12px; margin: 24px 0; }
.import-search label { flex: 1; }
.import-search input { margin-top: 8px; width: 100%; }
.import-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.import-card { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.import-card > div:last-child { min-width: 0; }
.import-card h3 { font-size: 16px; line-height: 1.4; margin: 7px 0; overflow-wrap: anywhere; }
.import-card small { color: #b9b7bc; font-size: 14px; }
.import-card p { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.import-cover { flex: 0 0 78px; height: 118px; position: relative; display: grid; place-items: center; background: #222126; border-radius: 8px; overflow: hidden; }
.import-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.import-status { font-size: 13px; color: #e5bf61; }
.import-card .text-button { display: inline-block; font-size: 14px; margin-top: 12px; }
.import-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.import-pagination span { text-align: center; color: #b9b7bc; font-size: 14px; }
@media (max-width: 700px) {
  .import-grid { grid-template-columns: 1fr; }
  .import-summary { gap: 7px; }
  .import-summary > div { padding: 12px 8px; }
  .import-summary strong { font-size: 24px; }
  .import-summary span { font-size: 13px; }
  .imported-catalog .section-head { align-items: flex-start; flex-direction: column; }
  .import-card { padding: 12px; gap: 12px; }
  .import-cover { flex-basis: 62px; height: 94px; }
}

.narto-connect { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.narto-connect h3 { font-size: 17px; }
.narto-connect p { font-size: 14px; margin: 6px 0 0; }
.narto-connect > button { flex-shrink: 0; }
.narto-backdrop { position: fixed; inset: 0; z-index: 300; background: #000c; padding: 18px; display: grid; place-items: center; }
.narto-window { background: #161619; border: 1px solid var(--line); border-radius: 14px; width: min(1160px, 100%); max-height: 96dvh; overflow-y: auto; }
.narto-window header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; position: sticky; top: 0; z-index: 1; background: #161619; }
.narto-window header small { display: block; color: #b9b7bc; margin-top: 4px; }
.narto-window .narto-instructions { padding: 0 20px; font-size: 14px; }
.narto-toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px; }
.narto-toolbar .button { padding: 9px 12px; font-size: 14px; }
.narto-screen { width: 100%; max-height: 65dvh; overflow: auto; background: #090909; min-height: 220px; }
.narto-screen:focus-visible { outline: 2px solid #e5bf61; outline-offset: -2px; }
.narto-screen img { display: block; width: 100%; height: auto; cursor: default; max-width: none; user-select: none; }
.narto-screen img.zoomed { width: 1100px; }
.narto-screen > p { padding: 24px; }
.narto-error { color: #f0c58a !important; padding: 0 20px; }
.narto-window footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 20px; }
.narto-window footer small { color: #b9b7bc; }
@media (max-width: 700px) {
  .narto-connect { flex-direction: column; align-items: flex-start; }
  .narto-backdrop { padding: 6px; }
  .narto-window header, .narto-toolbar, .narto-window footer { padding: 12px; }
  .narto-window .narto-instructions { padding: 0 12px; }
}

.language-drawer label{display:grid;gap:10px;margin:22px 0;color:#ddd;font-size:14px}
.language-drawer select,.catalog-language select{color:#fff;background:#202027;border:1px solid #44444f;border-radius:10px;padding:12px;width:100%;font:inherit}
.language-drawer p{color:#a7a7b3;font-size:13px;line-height:1.6;margin:14px 0}
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:30px 0;color:#aaa;font-size:13px}
.catalog-language{display:flex;align-items:center;gap:12px;font-size:13px;color:#b6b5c3;margin:0 0 24px}
.catalog-language select{width:auto;max-width:230px}

.import-card > img{width:76px;aspect-ratio:2/3;object-fit:cover;border-radius:8px;flex-shrink:0}

.feed-retry{text-align:center;width:min(80%,320px)}
.feed-retry p{font-size:14px;line-height:1.5;color:#eee;margin:0 0 16px}

/* Plotz playback and navigation */
.feed-copy h1{font-size:clamp(16px,2vw,21px);line-height:1.25;max-width:320px;margin-bottom:8px}
.feed-copy .button{min-height:32px;padding:7px 12px;font-size:12px}
.bottom-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:600px){.bottom-tabs a{font-size:10px}.feed-copy h1{font-size:17px}.feed-copy .button{min-height:30px;padding:6px 10px}}

.brand .plotz-wordmark{width:140px;height:auto;max-height:52px;object-fit:contain}

.dashboard-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}.dashboard-stats article{background:#19151f;border:1px solid #34283e;border-radius:16px;padding:24px}.dashboard-stats strong{display:block;font-size:36px;color:#c65cff}.dashboard-stats span{color:#aaa}.avatar-grid{display:flex;gap:15px;flex-wrap:wrap;margin:20px 0}.avatar-grid button{border:2px solid transparent;border-radius:50%;padding:3px}.avatar-grid button[aria-pressed=true]{border-color:#b52eff}.avatar-grid img{width:72px;height:72px;border-radius:50%;object-fit:cover}.rating button{font-size:30px;color:#d9af49;padding:5px}.rating-overlay{position:absolute;inset:30% 10% auto;z-index:20;background:#161019ee;padding:24px;border-radius:16px;text-align:center}@media(min-width:1000px){.admin-view{max-width:none;display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px}.admin-view>.section-head{grid-column:1/-1}.admin-view>.chips{grid-column:1;display:flex;flex-direction:column;align-self:start;position:sticky;top:24px}.admin-view>.chips button{justify-content:flex-start}.admin-view>.panel,.admin-view>.dashboard,.admin-view>.imported-catalog{grid-column:2}.admin-view .settings-form{max-width:none;width:100%}}@media(max-width:600px){.dashboard-stats{gap:8px}.dashboard-stats article{padding:12px}.dashboard-stats strong{font-size:25px}}

:root{--accent:#bb45ff}.oauth-callback{overflow-wrap:anywhere;font-family:monospace;font-size:12px}.social-login{display:block;padding:12px;border:1px solid #6d378e;border-radius:10px;text-align:center;margin:10px 0}.admin-view form+form{border-top:1px solid #38303f;padding-top:24px;margin-top:24px}

.bottom-tabs>div{grid-template-columns:repeat(5,minmax(0,1fr));max-width:760px}

.seo-page{max-width:1250px;margin:auto;padding:30px 24px;color:#eee;font-family:system-ui}.seo-page header{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px}.seo-page nav,.seo-page footer{display:flex;gap:25px;padding:20px 0}.seo-page h1{font-size:clamp(28px,4vw,48px);line-height:1.2}.seo-page p{line-height:1.8;color:#b8adca}.seo-series{display:flex;gap:40px;margin-bottom:50px}.seo-series>img{max-width:35%;height:auto;object-fit:cover;border-radius:20px}.seo-series>div{max-width:700px}.seo-series h1{margin:18px 0}.seo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:22px;margin:30px 0}.seo-grid img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:12px}.seo-grid h2,.seo-grid span{font-size:14px;display:block;margin-top:8px}.seo-grid p{font-size:11px}@media(max-width:600px){.seo-series{flex-direction:column;gap:20px}.seo-series>img{max-width:180px}.seo-page{padding:20px}}

/* Compact home banner; expansion keeps the actions within the banner. */
.hero { height: auto; min-height: clamp(380px, 31.2vw, 500px); }
.hero h1 { font-size: clamp(34px, 3.2vw, 56px); line-height: 1.04; margin: 15px 0; overflow-wrap: anywhere; }
.hero-summary { max-width: 430px; margin: 12px 0 20px; }
.hero-summary p { margin: 0; font-size: 13px; line-height: 1.55; color: #d4d7d9; }
.hero-read-more { display: inline-block; margin-top: 6px; padding: 3px 0; color: #fff; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-read-more:hover { color: #e6b9ff; }
@media (max-width: 760px) {
  .hero h1 { font-size: 36px; }
  .hero-summary { margin: 10px 0 16px; }
}
@media (max-width: 520px) {
  .hero { min-height: 385px; }
  .hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .hero-summary { max-width: 100%; }
  .hero-summary p { font-size: 12px; }
}

.profile-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid currentColor; }
.profile-avatar.large { width: 64px; height: 64px; }
.account-identity { display:flex; align-items:center; gap:16px; margin-bottom:16px; }
.account-identity h2 { margin:0; }

.vast-overlay{position:fixed;inset:0;z-index:450;background:#08070c;display:flex;align-items:center;justify-content:center;color:white;padding:65px 16px 110px}.vast-overlay video{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.vast-label{position:absolute;top:24px;left:24px;font-size:14px}.vast-controls{position:absolute;bottom:30px;left:16px;right:16px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.vast-controls button,.vast-controls a{padding:10px 15px;border:1px solid #756084;background:#312239;color:white;border-radius:8px;font-size:13px}.vast-controls button:disabled{opacity:.5}

.reel-screen .next-episode-preload,.next-episode-preload{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.episode-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#07081088;color:white;pointer-events:none;z-index:3;font-size:15px}.episode-loading small{font-size:12px;color:#ddd}.loading-spinner{width:32px;height:32px;border:3px solid #ffffff44;border-top-color:#bd72ff;border-radius:50%;animation:player-spin .8s linear infinite}@keyframes player-spin{to{transform:rotate(360deg)}}

/* Series player: touch controls, hold-to-speed-up and side actions. */
.reel video { -webkit-touch-callout: none; user-select: none; }
.reel-rail button { position: relative; }
.speed-value { position: absolute; bottom: -5px; padding: 1px 4px; background: #101015; border-radius: 5px; font-size: 9px; font-weight: 700; }
.speed-boost { position: absolute; top: 55px; left: 50%; transform: translateX(-50%); background: #14141bd9; color: white; border-radius: 20px; padding: 7px 15px; font-size: 13px; font-weight: 700; pointer-events: none; }
.speed-drawer > button { border-radius: 10px; padding: 12px; margin: 4px 0; }
.speed-drawer > button[aria-pressed=true] { color: #e0b0ff; background: #a74bdb24; }
.speed-drawer p { color: #bab7c4; font-size: 12px; line-height: 1.6; margin-top: 16px; }
.episode-drawer { z-index: 8; touch-action: pan-y; overscroll-behavior: contain; }
@media (max-width: 760px), (pointer: coarse) and (max-width: 1020px) {
  .reel-overlay { padding: 0; background: #000; }
  .reel-header { display: none; }
  .reel-layout { position: relative; width: min(100vw, calc(100dvh * 9 / 16)); height: auto; flex-direction: column; gap: 0; min-height: 0; }
  .reel { width: 100%; height: auto; max-height: 100dvh; border-radius: 0; }
  .reel-overlay:has(.ad-strip) .reel-layout { width: min(100vw, calc((100dvh - 100px) * 9 / 16)); }
  .reel-overlay:has(.ad-strip) .reel { width: 100%; max-height: calc(100dvh - 100px); }
  .reel-rail { position: absolute; top: max(75px, 16%); right: 12px; flex-direction: column; width: auto; height: auto; gap: 16px; z-index: 4; }
  .reel-rail button { width: 44px; height: 44px; background: #1010158c; border-color: #ffffff24; backdrop-filter: blur(8px); }
  .reel-rail svg { width: 21px; height: 21px; }
  .reel-rail .episode-arrow { display: none; }
  .player-panel-open .reel-rail { visibility: hidden; pointer-events: none; }
  .reel-caption .episode-name { display: none; }
  .reel-caption { bottom: max(16px, env(safe-area-inset-bottom)); transition: opacity .18s ease, visibility .18s ease; }
  .reel-caption small { margin-bottom: 12px; font-size: 14px; text-shadow: 0 1px 6px #000; }
  .reel-tools button { min-width: 36px; min-height: 40px; justify-content: center; }
  .reel-tools input { height: 28px; }
  .reel-overlay[data-controls=hidden] .reel-caption { opacity: 0; visibility: hidden; pointer-events: none; }
  .reel-top { top: max(12px, env(safe-area-inset-top)); }
  .reel-top button { min-width: 40px; min-height: 40px; justify-content: center; }
  .ad-strip { flex-shrink: 0; margin-bottom: 3px; }
}
