:root {
  --bg: #08080b;
  --surface: #16151d;
  --paper: #f1f0ea;
  --muted: #aaa8b1;
  --lime: #d8ff51;
  --violet: #a27cff;
  --line: rgba(241, 240, 234, 0.16);
}

/* JM9 dark mobile-first streaming shell; covers are original graphic placeholders. */
:root {
  --bg: #080912;
  --surface: #080912;
  --paper: #f4f5f8;
  --muted: #8c8f9b;
  --lime: #9f8bff;
  --violet: #9f8bff;
  --line: #1f2130;
}
body {
  background: #080912;
  color: var(--paper);
}
.age-gate-open {
  overflow: hidden;
}
.age-gate {
  align-items: center;
  background: rgba(4, 4, 8, 0.94);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1000;
}
.age-gate[hidden] {
  display: none;
}
.age-gate-card {
  background: #14131d;
  border: 1px solid #393543;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  max-width: 440px;
  padding: 32px;
}
.age-gate-card h1 {
  font-size: clamp(28px, 7vw, 40px);
  letter-spacing: -0.05em;
  margin: 8px 0 14px;
}
.age-gate-card > p:not(.eyebrow):not(.age-gate-note) {
  color: #b7b3c0;
  line-height: 1.7;
}
.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.age-gate-actions .button {
  flex: 1 1 160px;
  justify-content: center;
}
.age-gate-note {
  color: #817c8a;
  font-size: 12px;
  margin: 16px 0 0;
}
.site-header {
  height: 72px;
  background: #080912;
  border: 0;
  padding: 0 20px;
  position: relative;
}
.brand {
  color: #f4f5f8;
  font-size: 27px;
  letter-spacing: -1px;
}
.brand b {
  color: #9b87ff;
}
.brand i {
  color: #ff5b8b;
}
.main-nav,
.language-select,
.login-button {
  display: none;
}
.header-actions {
  gap: 19px;
}
.search-toggle,
.menu-toggle {
  color: #f4f5f8;
}
.menu-toggle {
  order: -1;
  width: 29px;
}
.menu-toggle span {
  height: 3px;
  margin: 5px 0;
  border-radius: 4px;
  background: #f4f5f8;
}
.featured-rail {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  padding: 21px 20px 43px;
  scrollbar-width: none;
}
.featured-rail::-webkit-scrollbar {
  display: none;
}
.rail-card {
  flex: 0 0 132px;
  height: 184px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  padding: 12px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  background: #333;
}
.rail-card.dynamic-cover {
  background: var(--rail-cover);
}
.rail-card:before,
.rail-card:after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.rail-card:before {
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.68));
}
.rail-card:after {
  width: 90px;
  height: 90px;
  border: 13px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  right: -33px;
  top: 26px;
}
.rail-card.dynamic-cover:after {
  display: none;
}
.rail-card span,
.rail-card b {
  position: relative;
  z-index: 1;
}
.rail-card span {
  background: #fa3b88;
  padding: 4px 7px;
  font-size: 10px;
}
.rail-card b {
  display: block;
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 16px;
}
.rail-one {
  background: linear-gradient(145deg, #3e165a, #bd5079 54%, #eeb666);
}
.rail-two {
  background: linear-gradient(145deg, #0b5371, #23a59e 50%, #e5d179);
}
.rail-three {
  background: linear-gradient(145deg, #1b2347, #8056cb 48%, #e787a1);
}
.rail-four {
  background: linear-gradient(145deg, #7b2f3d, #e88979 46%, #f5d59b);
}
.hero,
.series-strip {
  display: none;
}
.discover {
  max-width: none;
  padding: 0 20px 58px;
}
.section-heading {
  border: 0;
  padding: 0;
}
.section-heading:before {
  content: "新鮮";
  display: block;
  position: absolute;
  margin-top: -27px;
  color: #8c8f9b;
  font-size: 13px;
}
.section-heading h2 {
  color: #f4f5f8;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.filter-button {
  color: #f4f5f8;
  border: 0;
  font-size: 14px;
}
.filter-button:before {
  content: "更多 ";
}
.filter-button span {
  font-size: 22px;
  margin-left: 4px;
}
.tag-row {
  display: none;
}
.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 17px;
  padding-top: 24px;
}
.video-thumb {
  aspect-ratio: 1.26;
  margin-bottom: 9px;
  border-radius: 6px;
}
.video-thumb:after {
  display: block;
  content: "";
  width: 0;
  height: 0;
  left: auto;
  right: 10px;
  bottom: 9px;
  border: 0;
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-radius: 0;
}
.video-duration {
  right: 8px;
  bottom: 8px;
  padding: 4px 6px;
  color: #fff;
}
.video-card h3 {
  color: #e7e8ed;
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  color: #777b88;
  font-size: 12px;
}
.card-meta b {
  display: none;
}
.card-meta:before {
  content: "◉ ";
}
.card-meta:after {
  content: "  ♡";
  margin-left: 9px;
}
.load-more {
  color: #aa99ff;
  border-color: #aa99ff;
}
footer {
  background: #080912;
  border-color: #1f2130;
}
.video-modal {
  background: rgba(0, 0, 0, 0.8);
}
.modal-card {
  background: #10111a;
  color: #f4f5f8;
}
.modal-close {
  color: #f4f5f8;
}
.related button,
.comment-login {
  background: #191a26;
  color: #ddd;
}
@media (min-width: 761px) {
  .featured-rail {
    padding: 30px max(3.2vw, 30px);
  }
  .rail-card {
    flex-basis: 190px;
    height: 266px;
  }
  .discover {
    padding-left: max(3.2vw, 30px);
    padding-right: max(3.2vw, 30px);
  }
  .video-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Final desktop feed layout: keep every section on the same content rails. */
@media (min-width: 761px) {
  .site-header { max-width: 1500px; margin: auto; padding-left: 32px; padding-right: 32px; }
  .featured-rail, main .discover, main .home-block {
    width: 100% !important; max-width: 1500px !important; margin-left: auto !important; margin-right: auto !important;
    padding-left: 32px; padding-right: 32px;
  }
  .featured-rail { display: flex; gap: 18px; }
  .rail-card { flex: 0 0 calc((100% - 108px) / 7); height: auto; aspect-ratio: 5 / 7; }
  .discover { padding-top: 20px; padding-bottom: 48px; }
  .section-heading .eyebrow { position: static; margin: 0 0 8px; }
  .section-heading h2 { margin: 0; }
  #videoGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; overflow: visible; }
  #videoGrid .video-page { display: contents; }
  #videoGrid .video-card { width: 100%; min-width: 0; max-width: none; }
  #videoGrid .video-thumb { width: 100%; aspect-ratio: 16 / 9; }
  .home-block { padding-bottom: 48px; }
  .ad-block { display: block; }
  .ad-slot { width: 100%; max-width: 970px; margin: 0 auto; }
  .release-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; overflow: visible; }
  .release-card { width: 100%; min-width: 0; max-width: none; }
  .topic-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .popular-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* Full-screen utilities remain intentionally dark, on desktop and mobile. */
.search-panel,
.auth-panel {
  background: #08080d !important;
  color: #f5f4f8;
}
.search-panel input,
.auth-panel input {
  background: transparent !important;
  color: #f5f4f8 !important;
  border-color: #706d7a !important;
}
.search-panel input::placeholder,
.auth-panel input::placeholder { color: #898693; }
.auth-card { width: min(100%, 29rem); }
.auth-card form { display: grid; gap: .8rem; }
.auth-card .button { width: 100%; margin-top: .2rem; }
.auth-error { min-height: 1.3rem; color: #ff8dbc !important; font-size: .82rem; margin: 0 !important; }
.auth-divider { display: flex; align-items: center; gap: .75rem; color: #777482; font-size: .78rem; margin: 1.15rem 0; }
.auth-divider::before,.auth-divider::after { content: ""; height: 1px; flex: 1; background: #2b2932; }
.google-button { width: 100%; border: 1px solid #3b3944; background: #17161d; color: #f8f7fb; border-radius: .45rem; padding: .82rem 1rem; font-weight: 700; }
.google-button b { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-right: .55rem; color: #fff; border-radius: 50%; background: conic-gradient(#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0); }
.auth-switch { margin-top: 1rem !important; font-size: .86rem; color: #aaa7b2 !important; }
.auth-switch button { border: 0; padding: 0; background: transparent; color: #bb9aff; font: inherit; }
.header-actions { position: relative; }
.language-menu {
  position: absolute;
  z-index: 30;
  right: 0;
  top: 3.2rem;
  min-width: 8.5rem;
  padding: .35rem;
  border: 1px solid #30303a;
  border-radius: .6rem;
  background: #16151d;
  box-shadow: 0 12px 32px #0009;
}
.language-menu button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: .35rem;
  padding: .5rem .6rem;
  color: #f6f4fa;
  background: transparent;
  font: inherit;
  text-align: left;
}
.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[aria-checked="true"] { background: #292630; }
.language-menu button[aria-checked="true"]::after { content: "✓"; float: right; }
.account-menu { position: absolute; right: 0; top: 3.2rem; z-index: 20; min-width: 10rem; padding: .65rem; border: 1px solid #30303a; border-radius: .6rem; background: #16151d; box-shadow: 0 12px 32px #0009; }
.account-menu b { display: block; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .35rem .45rem .65rem; font-size: .78rem; color: #f6f4fa; }
.account-menu button { width: 100%; border: 0; border-radius: .35rem; padding: .5rem; background: #292630; color: #f6f4fa; text-align: left; }

@media (min-width: 761px) {
  main { width: 100%; max-width: none; }
  .home-block, .discover, .series-strip { width: auto; max-width: 1500px; margin-left: auto; margin-right: auto; }
  .home-block { padding-left: max(3.2vw, 30px); padding-right: max(3.2vw, 30px); }
  .ad-block { display: block; }
  .ad-slot { width: 100%; max-width: none; margin: 0; }
  .release-row, .popular-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; overflow: visible; }
  .topic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Header account controls must remain available on every viewport. */
.site-header .language-select {
  display: block !important;
  appearance: none;
  width: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #f4f5f8;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.site-header .icon-button {
  display: grid !important;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #f4f5f8 !important;
  border-radius: 50% !important;
}
.site-header .icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header .login-button {
  background: #252637 !important;
  border: 1px solid #55566a !important;
}
.site-header .login-button svg {
  width: 19px;
  height: 19px;
}
.site-header .login-button {
  display: block !important;
  color: #f4f5f8;
  background: #242535;
  border: 1px solid #494a5b;
  border-radius: 15px;
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
}
.site-header .header-actions {
  gap: 10px;
}
@media (max-width: 390px) {
  .site-header .language-select {
    width: 34px;
    font-size: 11px;
  }
  .site-header .login-button {
    padding: 6px 8px;
  }
  .site-header .header-actions {
    gap: 7px;
  }
}

/* Home feed sections beneath recent updates. */
.home-block {
  padding: 0 20px 42px;
  max-width: 1180px;
  margin: auto;
}
.ad-block {
  padding-top: 2px;
}
.ad-slot {
  min-height: 126px;
  border-radius: 7px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.ad-slot:after {
  content: "JM9";
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -10px;
  opacity: 0.14;
  position: absolute;
  right: 22px;
  bottom: -18px;
}
.ad-slot span {
  font: 10px monospace;
  letter-spacing: 1.3px;
  opacity: 0.8;
}
.ad-slot strong {
  font-size: 23px;
  line-height: 1.22;
  margin: 7px 0 13px;
  position: relative;
  z-index: 1;
}
.ad-slot button,
.block-title button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  font-size: 14px;
  cursor: pointer;
}
.ad-purple {
  background: linear-gradient(115deg, #432893, #8b5ee7, #d683cd);
}
.ad-blue {
  background: linear-gradient(115deg, #0c4268, #11647e, #35a6a4);
}
.ad-pink {
  background: linear-gradient(115deg, #8f294a, #d45170, #d18b51);
}
.block-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}
.block-title small {
  display: block;
  color: #858896;
  font-size: 13px;
  margin-bottom: 5px;
}
.block-title h2 {
  margin: 0;
  color: #f4f5f8;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.block-title > button {
  color: #b8b9c2;
}
.more-link {
  color: #b8b9c2;
  font-size: 14px;
  text-decoration: none;
}
.more-link:hover {
  color: #fff;
}
.release-row,
.popular-row {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  scrollbar-width: none;
}
.release-row::-webkit-scrollbar,
.popular-row::-webkit-scrollbar {
  display: none;
}
.release-card {
  flex: 0 0 154px;
  height: 216px;
  border: 0;
  border-radius: 5px;
  padding: 12px;
  color: #fff;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.release-card.dynamic-cover,
.popular-card.dynamic-cover {
  background: var(--card-cover);
}
.section-loading {
  color: var(--muted);
  font: 12px "DM Mono", monospace;
}
.release-card:after,
.popular-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 42%, rgba(0, 0, 0, 0.72));
}
.release-card b,
.release-card span {
  position: relative;
  z-index: 1;
  display: block;
}
.release-card b {
  position: absolute;
  bottom: 30px;
  font-size: 17px;
}
.release-card span {
  position: absolute;
  bottom: 13px;
  font: 9px monospace;
  color: #ddd;
}
.new-a {
  background: linear-gradient(145deg, #f1bd72, #c8598a 58%, #63396c);
}
.new-b {
  background: linear-gradient(145deg, #59334c, #c876a4 58%, #f1c287);
}
.new-c {
  background: linear-gradient(145deg, #294d75, #65a7aa 52%, #f5ce82);
}
.new-d {
  background: linear-gradient(145deg, #7c4a26, #c28952 44%, #59436f);
}
.topic-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 23px;
}
.topic-list button {
  border: 0;
  background: transparent;
  color: #f4f5f8;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 0;
  cursor: pointer;
}
.topic-art {
  width: 54px;
  height: 54px;
  border-radius: 5px;
  flex: 0 0 54px;
}
.topic-art.dynamic-cover {
  background: var(--topic-cover);
  background-size: cover;
}
.topic-list b,
.topic-list small {
  display: block;
}
.topic-list b {
  font-size: 15px;
  margin-bottom: 3px;
}
.topic-list small {
  font-size: 12px;
  color: #777b88;
}
.t1 {
  background: linear-gradient(145deg, #6b4a92, #e49a75);
}
.t2 {
  background: linear-gradient(145deg, #413c5d, #b2d6e4);
}
.t3 {
  background: linear-gradient(145deg, #d38768, #502d5b);
}
.t4 {
  background: linear-gradient(145deg, #159184, #b9db74);
}
.t5 {
  background: linear-gradient(145deg, #a565a4, #f3bf82);
}
.t6 {
  background: linear-gradient(145deg, #cf6b57, #5e537d);
}
.popular-card {
  flex: 0 0 190px;
  height: 112px;
  border: 0;
  border-radius: 6px;
  text-align: left;
  color: #fff;
  padding: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.popular-card span,
.popular-card b {
  position: relative;
  z-index: 1;
  display: block;
}
.popular-card span {
  font: bold 24px monospace;
  opacity: 0.8;
}
.popular-card b {
  position: absolute;
  bottom: 13px;
  font-size: 15px;
}
.pop-1 {
  background: linear-gradient(130deg, #511f74, #cf5786);
}
.pop-2 {
  background: linear-gradient(130deg, #15375c, #739bd9);
}
.pop-3 {
  background: linear-gradient(130deg, #734c29, #dbb96d);
}
.discussion-list {
  border-top: 1px solid #202231;
}
.discussion-list article {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid #202231;
}
.discussion-list i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #9b87ff;
  color: #111;
  border-radius: 50%;
  font-style: normal;
  font-size: 13px;
}
.discussion-list div {
  flex: 1;
}
.discussion-list b {
  font-size: 13px;
}
.discussion-list p {
  margin: 4px 0 0;
  color: #adb0b9;
  font-size: 13px;
  line-height: 1.45;
}
.discussion-list span {
  color: #777b88;
  font-size: 12px;
}
@media (min-width: 761px) {
  .home-block {
    padding-left: max(3.2vw, 30px);
    padding-right: max(3.2vw, 30px);
  }
  .ad-slot {
    min-height: 178px;
  }
  .release-card {
    flex-basis: 206px;
    height: 284px;
  }
  .topic-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .popular-card {
    flex-basis: 260px;
    height: 150px;
  }
}

/* Recent updates: four items per snap page; the More action advances one page. */
.login-button {
  display: block;
  color: #f4f5f8;
  border: 0;
  padding: 0;
  font-size: 13px;
}
.language-select {
  display: block;
  color: #f4f5f8;
  background: transparent;
  border: 0;
  font-size: 12px;
  padding: 0;
  width: 42px;
}
.search-panel {
  background: #080912;
  color: #f4f5f8;
}
.search-panel .eyebrow {
  color: #9f8bff;
}
.search-panel input {
  color: #f4f5f8;
  border-color: #f4f5f8;
}
.search-panel .search-hint,
.search-panel .search-hint button {
  color: #b9bbc4;
}
.close-search {
  color: #f4f5f8;
}
.video-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 0;
  padding-top: 24px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}
.video-grid::-webkit-scrollbar {
  display: none;
}
.video-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 17px;
  padding-right: 2px;
}
.filter-button {
  display: block;
}
.filter-button:before {
  content: "更多";
}
@media (min-width: 761px) {
  .video-page {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 18px;
  }
  .video-grid {
    padding-top: 28px;
  }
  .login-button {
    display: block;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: "Noto Sans HK", system-ui, sans-serif;
}
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  z-index: 10;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.32) 0.5px,
    transparent 0.6px
  );
  background-size: 5px 5px;
}
.site-header {
  height: 76px;
  padding: 0 clamp(20px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.brand {
  font:
    500 27px/1 "DM Mono",
    monospace;
  letter-spacing: -2px;
  color: var(--paper);
  text-decoration: none;
}
.brand b {
  font-size: 36px;
  color: var(--lime);
}
.brand i {
  color: var(--violet);
  font-style: normal;
}
.main-nav {
  display: flex;
  gap: 30px;
  margin-left: 11vw;
}
.main-nav a,
.language-select,
.login-button {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.main-nav a.active,
.main-nav a:hover {
  color: var(--paper);
}
.header-actions {
  display: flex;
  gap: 17px;
  align-items: center;
}
.language-select {
  color: var(--paper);
  font:
    11px "DM Mono",
    monospace;
  border-bottom: 1px solid var(--line);
  padding: 5px;
}
.login-button {
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 12px;
}
.search-toggle,
.menu-toggle,
.filter-button {
  background: none;
  border: 0;
  color: var(--paper);
  cursor: pointer;
}
.search-toggle svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.menu-toggle {
  width: 26px;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--paper);
  margin: 6px 0;
}
.hero {
  min-height: 650px;
  padding: clamp(60px, 9vw, 130px) clamp(20px, 9vw, 146px) 76px;
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(300px, 0.66fr);
  gap: 5vw;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font:
    11px/1.2 "DM Mono",
    monospace;
  letter-spacing: 1.3px;
  color: var(--lime);
  margin: 0 0 15px;
}
.eyebrow span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--violet);
  border-radius: 50%;
  margin: 0 8px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(43px, 6vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.09em;
  margin-bottom: 26px;
}
h1 em {
  font-style: normal;
  color: var(--violet);
}
.hero-description {
  max-width: 410px;
  color: #c5c3ca;
  font-size: 16px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}
.button {
  border: 1px solid var(--paper);
  padding: 14px 18px;
  background: transparent;
  color: var(--paper);
  text-decoration: none;
  font: 600 14px inherit;
  cursor: pointer;
}
.button.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
}
.play-icon {
  font-size: 10px;
  margin-right: 8px;
}
.hero-art {
  width: min(100%, 465px);
  aspect-ratio: 0.92;
  justify-self: end;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #453384, #b281ee 49%, #f992a4);
  box-shadow: 18px 18px 0 #1a1920;
}
.sun {
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  left: 23%;
  top: 16%;
  border-radius: 50%;
  background: #ffe782;
  mix-blend-mode: screen;
}
.arch {
  position: absolute;
  border: 35px solid #202031;
  border-bottom: 0;
  border-radius: 300px 300px 0 0;
  bottom: -2px;
}
.arch-one {
  width: 85%;
  height: 77%;
  left: -26%;
  transform: rotate(-10deg);
}
.arch-two {
  width: 67%;
  height: 59%;
  right: -27%;
  border-color: #3e2b68;
  transform: rotate(12deg);
}
.hero-art p {
  position: absolute;
  right: 24px;
  bottom: 20px;
  text-align: right;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.hero-art strong {
  background: var(--lime);
  color: var(--bg);
  padding: 0 5px;
}
.hero-label {
  position: absolute;
  top: 17px;
  left: 18px;
  background: var(--bg);
  padding: 7px;
  font:
    11px "DM Mono",
    monospace;
}
.hero-meta {
  position: absolute;
  left: clamp(20px, 9vw, 146px);
  right: clamp(20px, 9vw, 146px);
  bottom: 29px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font:
    11px "DM Mono",
    monospace;
}
.hero-meta b {
  color: var(--paper);
  font-weight: 400;
}
.discover {
  padding: 100px clamp(20px, 9vw, 146px);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.section-heading h2,
.series-strip h2 {
  font-size: clamp(32px, 4vw, 51px);
  letter-spacing: -0.07em;
  margin-bottom: 0;
}
.filter-button {
  border-bottom: 1px solid var(--paper);
  padding: 5px 0;
  font:
    13px "DM Mono",
    monospace;
}
.filter-button span {
  margin-left: 22px;
}
.tag-row {
  display: flex;
  gap: 9px;
  overflow: auto;
  padding: 42px 0 28px;
}
.tag {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: none;
  color: var(--paper);
  padding: 10px 14px;
  cursor: pointer;
}
.tag small {
  color: var(--muted);
  margin-left: 5px;
}
.tag.active,
.tag:hover {
  background: var(--paper);
  color: var(--bg);
  border-color: var(--paper);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 17px;
}
.video-card {
  background: none;
  border: 0;
  color: var(--paper);
  text-align: left;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.video-thumb {
  aspect-ratio: 1.18;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--thumb);
  transition: 0.2s;
}
.video-thumb:after {
  content: "▶";
  position: absolute;
  left: 13px;
  bottom: 12px;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.video-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: var(--bg);
  padding: 4px 5px;
  font:
    10px "DM Mono",
    monospace;
}
.video-card:hover .video-thumb {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0 var(--violet);
}
.video-card h3 {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.03em;
  margin: 0 0 7px;
}
.card-subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 9px;
}
.card-subcategories span {
  border: 1px solid rgba(202, 255, 75, 0.52);
  border-radius: 3px;
  color: var(--lime);
  font: 10px "DM Mono", monospace;
  line-height: 1;
  padding: 5px 6px;
}
.card-meta {
  color: var(--muted);
  font:
    11px "DM Mono",
    monospace;
}
.card-meta b {
  color: var(--lime);
  font-weight: 400;
  margin-right: 8px;
}
.load-more {
  display: block;
  margin: 56px auto 0;
  padding: 0 0 7px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--paper);
  color: var(--paper);
  font:
    13px "DM Mono",
    monospace;
  cursor: pointer;
}
.series-strip {
  margin: 0 clamp(20px, 5vw, 76px) 100px;
  padding: 60px clamp(24px, 7vw, 100px);
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 60px;
  background: #1e1a31;
}
.series-card {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 25px;
}
.series-art {
  min-height: 230px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  color: #171123;
  background: linear-gradient(150deg, #f4c6ff, #7254d7);
}
.series-art:after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 29px solid var(--paper);
  border-radius: 50%;
  right: -70px;
  bottom: -110px;
}
.series-art span,
.series-info p {
  font:
    11px "DM Mono",
    monospace;
}
.series-art b {
  position: absolute;
  left: 16px;
  bottom: 18px;
  font-size: 29px;
  line-height: 1.15;
}
.series-info {
  align-self: center;
}
.series-info p {
  color: var(--lime);
  letter-spacing: 1px;
}
.series-info h3 {
  font-size: 23px;
  letter-spacing: -0.05em;
  margin-bottom: 7px;
}
.series-info > span {
  font-size: 13px;
  color: var(--muted);
}
.series-info button {
  display: block;
  margin-top: 25px;
  padding: 0 0 6px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--paper);
  color: var(--paper);
  font:
    13px "DM Mono",
    monospace;
  cursor: pointer;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font:
    11px "DM Mono",
    monospace;
}
footer .brand {
  font-size: 19px;
}
footer .brand b {
  font-size: 25px;
}
footer a:not(.brand) {
  color: var(--paper);
  text-decoration: none;
}
.search-panel,
.auth-panel {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: none;
  align-items: center;
  padding: 10vw;
  background: var(--paper);
  color: var(--bg);
}
.search-panel.show,
.auth-panel.show {
  display: flex;
}
.search-panel > div,
.auth-panel > div {
  width: min(100%, 700px);
}
.search-panel .eyebrow,
.auth-panel .eyebrow {
  color: #6042c0;
}
.search-panel label,
.auth-panel h2 {
  display: block;
  font-size: clamp(36px, 6vw, 65px);
  letter-spacing: -0.08em;
  margin-bottom: 12px;
}
.search-panel input,
.auth-panel input,
.comment-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid currentColor;
  background: transparent;
  padding: 12px 0;
  outline: 0;
  font:
    clamp(23px, 4vw, 46px) "Noto Sans HK",
    sans-serif;
}
.close-search,
.close-auth {
  position: absolute;
  right: 5vw;
  top: 25px;
  border: 0;
  background: none;
  font-size: 40px;
  cursor: pointer;
}
.search-hint {
  font-size: 13px;
}
.search-hint button {
  border: 0;
  background: none;
  text-decoration: underline;
  cursor: pointer;
}
.auth-panel h2 {
  font-weight: 800;
}
.auth-panel p {
  color: #56525c;
}
.auth-panel input {
  font-size: 18px;
  margin: 14px 0;
}
.auth-panel .button {
  margin-top: 15px;
  background: var(--bg);
  color: var(--paper);
  border-color: var(--bg);
}
.video-modal {
  display: none;
  position: fixed;
  z-index: 30;
  inset: 0;
  overflow: auto;
  padding: 40px 20px;
}
.video-modal.show {
  display: block;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 850px);
  margin: 35px auto;
  background: var(--surface);
}
.modal-close {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 10px;
  border: 0;
  background: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}
.player {
  aspect-ratio: 16/9;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #a05bef;
}
.player-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 35%, #fdc978 0 11%, transparent 11.5%),
    linear-gradient(130deg, #1c1747, #d465d4 58%, #ff9359);
  opacity: 0.86;
}
.big-play {
  z-index: 1;
  width: 65px;
  height: 65px;
  border: 1px solid white;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: white;
  font-size: 21px;
  cursor: pointer;
}
.player-time {
  position: absolute;
  right: 15px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 6px;
  font:
    10px "DM Mono",
    monospace;
}
.modal-content {
  padding: 35px;
}
.modal-content h2 {
  font-size: 34px;
  letter-spacing: -0.07em;
  margin-bottom: 10px;
}
.modal-content > p:not(.eyebrow) {
  color: #b6b3bc;
  line-height: 1.7;
}
.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0 38px;
}
.detail-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--lime);
  font:
    11px "DM Mono",
    monospace;
}
.watch-ad {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  border-radius: 6px;
  padding: 17px 18px;
  margin: 0 0 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.watch-ad:after {
  content: "JM9";
  position: absolute;
  right: 12px;
  bottom: -20px;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -9px;
  opacity: 0.16;
}
.watch-ad span,
.watch-ad strong,
.watch-ad button {
  position: relative;
  z-index: 1;
}
.watch-ad span {
  font: 10px monospace;
  letter-spacing: 1px;
  opacity: 0.85;
}
.watch-ad strong {
  font-size: 20px;
  line-height: 1.18;
  margin: 6px 0 10px;
}
.watch-ad button {
  border: 0;
  background: none;
  color: #fff;
  padding: 0;
  font-size: 13px;
  cursor: pointer;
}
.watch-ad-one {
  background: linear-gradient(120deg, #4e2c9d, #9464e4, #d676be);
}
.watch-ad-two {
  background: linear-gradient(120deg, #134c75, #168c94, #4eafa6);
  margin-top: 30px;
  margin-bottom: 0;
}
.episode-area {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 27px;
}
.episode-area h3 {
  font-size: 21px;
  letter-spacing: -0.05em;
}
.episode-buttons {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  align-content: start;
}
.episode-buttons button {
  border: 1px solid var(--line);
  background: none;
  color: var(--paper);
  padding: 10px;
  font:
    11px "DM Mono",
    monospace;
  cursor: pointer;
}
.episode-buttons button.active,
.episode-buttons button:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
}
.related,
.comments {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 27px;
}
.related > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.related button {
  background: #282733;
  border: 0;
  color: var(--paper);
  text-align: left;
  padding: 12px;
  cursor: pointer;
  font-family: inherit;
}
.related button span {
  display: block;
  color: var(--lime);
  font:
    10px "DM Mono",
    monospace;
  margin-bottom: 5px;
}
.related button b {
  font-size: 12px;
  line-height: 1.4;
}
.comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 23px;
}
.comment-form textarea {
  min-height: 42px;
  resize: vertical;
  font-size: 14px;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
}
.comment-form button {
  background: var(--lime);
  border: 0;
  color: var(--bg);
  font-weight: 700;
  padding: 0 15px;
  cursor: pointer;
}
.comment-login {
  padding: 16px;
  background: #22212a;
  color: var(--muted);
  font-size: 13px;
}
.comment-login button {
  background: none;
  border: 0;
  color: var(--lime);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.comment {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--violet);
  color: var(--bg);
  font:
    12px "DM Mono",
    monospace;
}
.comment b {
  font-size: 13px;
}
.comment small {
  margin-left: 8px;
  color: var(--muted);
  font:
    10px "DM Mono",
    monospace;
}
.comment p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #d1cfd5;
}
@media (max-width: 760px) {
  .site-header {
    height: 62px;
  }
  .main-nav,
  .language-select {
    display: none;
  }
  .login-button {
    font-size: 12px;
  }
  .hero {
    min-height: 750px;
    grid-template-columns: 1fr;
    padding-top: 70px;
    gap: 35px;
  }
  .hero-art {
    justify-self: start;
    width: min(100%, 390px);
  }
  .hero-meta {
    bottom: 19px;
  }
  .discover {
    padding-top: 75px;
  }
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }
  .video-card h3 {
    font-size: 14px;
  }
  .series-strip {
    display: block;
    padding: 40px 24px;
  }
  .series-strip > div:first-child {
    margin-bottom: 36px;
  }
  .series-card {
    grid-template-columns: 120px 1fr;
    gap: 18px;
  }
  .series-art {
    min-height: 160px;
  }
  .series-art b {
    font-size: 20px;
  }
  .series-info h3 {
    font-size: 18px;
  }
  .modal-content {
    padding: 27px 20px;
  }
  .episode-area {
    display: block;
  }
  .episode-buttons {
    justify-content: flex-start;
  }
  .related > div {
    grid-template-columns: 1fr;
  }
  .video-modal {
    padding: 0;
  }
  .modal-card {
    margin: 0;
    min-height: 100vh;
  }
  footer p {
    display: none;
  }
  .comment-form {
    grid-template-columns: 1fr;
  }
  .comment-form button {
    height: 38px;
  }
}

/* Catalogue layout: intentionally compact and utility-led for a video library. */
:root {
  --bg: #f7f7f7;
  --surface: #fff;
  --paper: #202020;
  --muted: #777;
  --lime: #2468d8;
  --violet: #2468d8;
  --line: #dedede;
}
body {
  background: var(--bg);
  color: var(--paper);
  font-family: Arial, "Noto Sans HK", sans-serif;
}
.noise,
.hero,
.series-strip {
  display: none;
}
.site-header {
  height: 56px;
  padding: 0 3.2vw;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
}
.brand {
  color: #185ac5;
  font:
    700 25px/1 Arial,
    sans-serif;
  letter-spacing: -1.5px;
}
.brand b,
.brand i {
  color: #185ac5;
  font-size: inherit;
}
.main-nav {
  margin-left: 0;
  gap: 18px;
}
.main-nav a,
.main-nav a.active,
.main-nav a:hover,
.language-select,
.login-button,
.search-toggle,
.menu-toggle {
  color: #555;
}
.main-nav a.active {
  color: #185ac5;
  font-weight: 700;
}
.language-select {
  color: #555;
  border: 0;
}
.login-button {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 6px 10px;
}
.discover {
  max-width: 1440px;
  padding: 22px 3.2vw 60px;
  margin: auto;
}
.section-heading {
  border-bottom: 1px solid #ddd;
  padding: 0 0 12px;
}
.section-heading .eyebrow {
  display: none;
}
.section-heading h2 {
  font-size: 21px;
  letter-spacing: 0;
  font-weight: 600;
}
.filter-button {
  color: #555;
  border: 1px solid #ccc;
  padding: 6px 10px;
  font:
    13px Arial,
    sans-serif;
}
.tag-row {
  gap: 0;
  padding: 13px 0;
  border-bottom: 1px solid #ddd;
}
.tag {
  border: 0;
  border-right: 1px solid #ddd;
  color: #555;
  padding: 2px 13px;
  font-size: 13px;
}
.tag:first-child {
  padding-left: 0;
}
.tag.active,
.tag:hover {
  background: transparent;
  color: #185ac5;
  border-color: #ddd;
  font-weight: 700;
}
.tag small {
  color: #999;
}
.video-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 13px;
  padding-top: 20px;
}
.video-thumb {
  aspect-ratio: 16 / 9;
  margin-bottom: 8px;
  border-radius: 2px;
}
.video-thumb:after {
  display: none;
}
.video-duration {
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  font-size: 10px;
}
.video-card:hover .video-thumb {
  transform: none;
  box-shadow: none;
  filter: brightness(1.08);
}
.video-card h3 {
  color: #222;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 4px;
}
.card-meta {
  font:
    11px Arial,
    sans-serif;
  color: #888;
}
.card-meta b {
  color: #777;
  font-weight: 400;
}
.load-more {
  color: #2468d8;
  border-color: #2468d8;
}
footer {
  background: #fff;
  border-color: #ddd;
}
.video-modal {
  background: rgba(0, 0, 0, 0.62);
}
.modal-card {
  background: #fff;
  color: #222;
  max-width: 980px;
}
.modal-content > p:not(.eyebrow),
.comment p {
  color: #555;
}
.modal-close {
  color: #222;
}
.detail-tags span,
.episode-buttons button {
  color: #555;
  border-color: #ddd;
}
.episode-buttons button.active,
.episode-buttons button:hover {
  background: #2468d8;
  color: #fff;
  border-color: #2468d8;
}
.related button,
.comment-login {
  background: #f2f2f2;
  color: #555;
}
.related button span,
.comment-login button,
.eyebrow {
  color: #2468d8;
}
@media (max-width: 1050px) {
  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px 10px;
  }
  .discover {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-header {
    padding: 0 14px;
  }
}

/* Final dark shell overrides: kept last so no earlier catalogue styles can win. */
:root {
  --bg: #080912;
  --surface: #080912;
  --paper: #f4f5f8;
  --muted: #8c8f9b;
  --lime: #9f8bff;
  --violet: #9f8bff;
  --line: #1f2130;
}
body {
  background: #080912;
  color: var(--paper);
}
.site-header {
  height: 72px;
  background: #080912;
  border: 0;
  padding: 0 20px;
  position: relative;
}
.brand {
  color: #f4f5f8;
  font-size: 27px;
  letter-spacing: -1px;
}
.brand b {
  color: #9b87ff;
}
.brand i {
  color: #ff5b8b;
}
.main-nav,
.language-select,
.login-button {
  display: none;
}
.header-actions {
  gap: 19px;
}
.search-toggle,
.menu-toggle {
  color: #f4f5f8;
}
.menu-toggle {
  order: -1;
  width: 29px;
}
.menu-toggle span {
  height: 3px;
  margin: 5px 0;
  border-radius: 4px;
  background: #f4f5f8;
}
.featured-rail {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 21px 20px 43px;
  scrollbar-width: none;
  cursor: grab;
}
.featured-rail::-webkit-scrollbar {
  display: none;
}
.rail-card {
  flex: 0 0 132px;
  height: 184px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  padding: 12px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  background: #333;
}
.rail-card:before,
.rail-card:after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.rail-card:before {
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.68));
}
.rail-card:after {
  width: 90px;
  height: 90px;
  border: 13px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  right: -33px;
  top: 26px;
}
.rail-card span,
.rail-card b {
  position: relative;
  z-index: 1;
}
.rail-card span {
  background: #fa3b88;
  padding: 4px 7px;
  font-size: 10px;
}
.rail-card b {
  display: block;
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 16px;
}
.rail-one {
  background: linear-gradient(145deg, #3e165a, #bd5079 54%, #eeb666);
}
.rail-two {
  background: linear-gradient(145deg, #0b5371, #23a59e 50%, #e5d179);
}
.rail-three {
  background: linear-gradient(145deg, #1b2347, #8056cb 48%, #e787a1);
}
.rail-four {
  background: linear-gradient(145deg, #7b2f3d, #e88979 46%, #f5d59b);
}
.rail-five {
  background: linear-gradient(145deg, #10244a, #497cc5 52%, #d5c8aa);
}
.rail-six {
  background: linear-gradient(145deg, #43213e, #b84789 50%, #f6ba88);
}
.rail-seven {
  background: linear-gradient(145deg, #18483c, #6eaf88 48%, #e9c477);
}
.hero,
.series-strip {
  display: none;
}
.discover {
  max-width: none;
  padding: 0 20px 58px;
}
.section-heading {
  border: 0;
  padding: 0;
}
.section-heading:before {
  content: "新鮮";
  display: block;
  position: absolute;
  margin-top: -27px;
  color: #8c8f9b;
  font-size: 13px;
}
.section-heading h2 {
  color: #f4f5f8;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.filter-button {
  color: #f4f5f8;
  border: 0;
  font-size: 14px;
}
.filter-button:before {
  content: "更多 ";
}
.filter-button span {
  font-size: 22px;
  margin-left: 4px;
}
.tag-row {
  display: none;
}
.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 17px;
  padding-top: 24px;
}
.video-thumb {
  aspect-ratio: 1.26;
  margin-bottom: 9px;
  border-radius: 6px;
}
.video-thumb:after {
  display: block;
  content: "";
  width: 0;
  height: 0;
  left: auto;
  right: 10px;
  bottom: 9px;
  border: 0;
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-radius: 0;
}
.video-duration {
  right: 8px;
  bottom: 8px;
  padding: 4px 6px;
  color: #fff;
}
.video-card h3 {
  color: #e7e8ed;
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  color: #777b88;
  font-size: 12px;
}
.card-meta b {
  display: none;
}
.card-meta:before {
  content: "◉ ";
}
.card-meta:after {
  content: "  ♡";
  margin-left: 9px;
}
.load-more {
  color: #aa99ff;
  border-color: #aa99ff;
}
footer {
  background: #080912;
  border-color: #1f2130;
}
.video-modal {
  background: rgba(0, 0, 0, 0.8);
}
.modal-card {
  background: #10111a;
  color: #f4f5f8;
}
.modal-close {
  color: #f4f5f8;
}
.related button,
.comment-login {
  background: #191a26;
  color: #ddd;
}
@media (min-width: 761px) {
  .featured-rail {
    padding: 30px max(3.2vw, 30px);
  }
  .rail-card {
    flex-basis: 190px;
    height: 266px;
  }
  .discover {
    padding-left: max(3.2vw, 30px);
    padding-right: max(3.2vw, 30px);
  }
  .video-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
