:root {
  --hs-ink: #241f25;
  --hs-muted: #786f78;
  --hs-line: rgba(36, 31, 37, .12);
  --hs-soft: #fff7fb;
  --hs-card: rgba(255, 255, 255, .86);
  --hs-pink: #ff4f8b;
  --hs-coral: #ff7a62;
  --hs-cyan: #49d6d0;
  --hs-shadow: 0 18px 48px rgba(87, 39, 66, .18);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #fff7fb; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--hs-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 190, 213, .46), transparent 28rem),
    linear-gradient(180deg, #fff5fa 0%, #fff 42%, #f6fbfb 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.hs-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hs-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: max(12px, env(safe-area-inset-top)) 0 8px;
  background: rgba(255, 247, 251, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.hs-header.is-scrolled { border-bottom-color: rgba(36,31,37,.08); }

.hs-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 420px);
  align-items: center;
  gap: 16px;
}

.hs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hs-brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--hs-pink), var(--hs-coral));
  box-shadow: 0 10px 24px rgba(255, 79, 139, .28);
}

.hs-brand-text {
  min-width: 0;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
  font-size: 20px;
}

.hs-search {
  justify-self: end;
  width: 100%;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 12px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255, 79, 139, .18);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(87,39,66,.08);
}

.hs-search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid var(--hs-pink);
  border-radius: 50%;
  position: relative;
}
.hs-search-icon:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: var(--hs-pink);
  transform: rotate(45deg);
  border-radius: 2px;
}

.hs-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hs-ink);
}
.hs-search button {
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  color: #fff;
  background: #272229;
  cursor: pointer;
}

/* 加载更多按钮 */
.hs-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 0 8px;
}
.hs-load-more {
  min-width: 200px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #2a242c;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(36,31,37,.06);
  transition: background .15s, color .15s, transform .15s;
}
.hs-load-more:hover:not(:disabled) {
  color: var(--hs-pink, #f2124f);
  transform: translateY(-1px);
}
.hs-load-more:disabled {
  opacity: .65;
  cursor: not-allowed;
}

/* 静态页（DMCA / About 等） */
.hs-static-page { padding: 24px 0; }
.hs-static-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  color: #2a242c;
  line-height: 1.8;
  font-size: 14.5px;
  box-shadow: 0 6px 24px rgba(36,31,37,.04);
}
.hs-static-card h1 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #1a1419;
}
.hs-static-card h2 {
  margin: 22px 0 8px;
  font-size: 17px;
  color: var(--hs-pink, #f2124f);
  font-weight: 700;
}
.hs-static-card p,
.hs-static-card ol,
.hs-static-card ul { margin: 0 0 10px; }
.hs-static-card ol,
.hs-static-card ul { padding-left: 22px; }
.hs-static-card li { margin-bottom: 5px; }
.hs-static-card code {
  padding: 1px 6px;
  background: #f3f1f5;
  border-radius: 4px;
  font-size: 13px;
  color: #b91c5c;
}
.hs-static-meta { color: #8a818b; font-size: 12.5px; margin-top: -4px; }
.hs-static-back { margin-top: 24px; }
.hs-static-back a { color: var(--hs-pink, #f2124f); font-weight: 600; }

/* 18+ 入站确认弹窗（首次访问，localStorage 记忆已确认） */
.hs-age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 17, 22, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
  animation: hs-age-fade .25s ease-out;
}
@keyframes hs-age-fade { from { opacity: 0; } to { opacity: 1; } }
.hs-age-gate-card {
  max-width: 420px;
  width: 100%;
  background: #1a1d24;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 28px 22px 22px;
  color: #f5f5f7;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
}
.hs-age-gate-card .hs-age-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: var(--hs-pink, #f2124f);
  border-radius: 999px;
  margin-bottom: 14px;
}
.hs-age-gate-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.hs-age-gate-card p {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #b8b3c0;
}
.hs-age-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hs-age-gate-actions button {
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.hs-age-gate-actions button:hover { transform: translateY(-1px); }
.hs-age-gate-actions .hs-age-no {
  background: rgba(255,255,255,.08);
  color: #c8c4ce;
}
.hs-age-gate-actions .hs-age-yes {
  background: var(--hs-pink, #f2124f);
  color: #fff;
}
.hs-age-gate-card small {
  display: block;
  margin-top: 14px;
  font-size: 11.5px;
  color: #6b6470;
}
.hs-age-gate-card small a {
  color: #b8b3c0;
  text-decoration: underline;
}

/* Twemoji SVG 内联 emoji（修复 Windows 不显示国旗） */
img.hs-emoji {
  height: 1em;
  width: 1em;
  margin: 0 .05em 0 .1em;
  vertical-align: -0.1em;
  display: inline-block;
}

.hs-tabs {
  display: flex;
  gap: 6px;
  overflow: visible;
  padding-top: 10px;
  padding-right: 50px; /* 为右上角 ≡ 让位 */
  align-items: center;
  min-width: 0;
  position: relative; /* ≡ 用 absolute 定位的参照 */
}
.hs-tabs-scroll {
  display: flex;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent);
}
.hs-tabs-scroll::-webkit-scrollbar { display: none; height: 0; }
.hs-tabs-scroll a {
  flex: 0 0 auto;
  padding: 8px 6px;
  border-radius: 8px;
  color: #5f5661;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(36,31,37,.07);
  scroll-snap-align: start;
  white-space: nowrap;
}
.hs-tabs-scroll a:hover,
.hs-tabs-scroll a.is-current { color: var(--hs-pink); }
.hs-tabs-scroll a.is-current { background: rgba(242,18,79,.08); }
.hs-category-menu {
  position: relative;
  flex: 0 0 auto;
}
/* ≡ 固定到 nav 右上角，不占滚动行空间 */
.hs-category-menu-corner {
  position: absolute;
  top: 12px;
  right: 8px;
  z-index: 5;
}
.hs-category-menu-corner summary {
  padding: 6px 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 8px;
}
.hs-category-menu-corner summary:hover,
.hs-category-menu-corner[open] summary {
  background: rgba(36,31,37,.06);
}
.hs-category-menu-corner summary .hs-menu-icon {
  width: 18px;
  height: 14px;
}
.hs-category-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #5f5661;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(36,31,37,.07);
  cursor: pointer;
  list-style: none;
}
.hs-category-menu summary::-webkit-details-marker { display: none; }
.hs-category-menu[open] summary,
.hs-category-menu summary:hover { color: var(--hs-pink); }
.hs-menu-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 14px;
}
.hs-menu-icon:before,
.hs-menu-icon:after,
.hs-menu-icon i {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: .58;
}
.hs-menu-icon:before { top: 1px; }
.hs-menu-icon i { top: 6px; }
.hs-menu-icon:after { top: 11px; }
.hs-category-menu[open] .hs-menu-icon:before {
  top: 6px;
  transform: rotate(45deg);
}
.hs-category-menu[open] .hs-menu-icon i { opacity: 0; }
.hs-category-menu[open] .hs-menu-icon:after {
  top: 6px;
  transform: rotate(-45deg);
}
.hs-category-dropdown {
  position: fixed;
  top: var(--hs-dropdown-top, 60px);
  right: var(--hs-dropdown-right, 16px);
  z-index: 60;
  width: min(360px, calc(100vw - 24px));
  padding: 14px;
  border-radius: 14px;
  background: #0f1116;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 22px 48px rgba(0,0,0,.55);
  color: #f5f5f5;
}
.hs-category-dropdown strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .5px;
}
.hs-category-dropdown div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hs-category-dropdown a {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #1a1d24;
  color: #e7e7ea;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  border: 1px solid transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background .15s, color .15s, transform .15s;
}
.hs-category-dropdown a:hover,
.hs-category-dropdown a.active {
  background: var(--hs-pink, #f2124f);
  color: #fff;
  transform: translateY(-1px);
}

.hs-notice {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  width: min(1068px, calc(100% - 56px));
  padding: 8px 0 7px;
  min-height: 48px;
}
.hs-notice-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2458, #ff5c91);
  box-shadow: 0 8px 18px rgba(255, 79, 139, .22);
  display: grid;
  place-items: center;
}
.hs-notice-badge svg {
  width: 21px;
  height: 21px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hs-notice-badge svg path:not(:first-child) {
  fill: none;
}
.hs-notice-track {
  min-width: 0;
  overflow: hidden;
}
.hs-notice p {
  margin: 0;
  display: inline-flex;
  gap: 42px;
  width: max-content;
  white-space: nowrap;
  color: #6f6670;
  font-size: 14px;
  line-height: 1.4;
  animation: hs-notice-scroll 18s linear infinite;
}
.hs-notice:hover p {
  animation-play-state: paused;
}
.hs-notice button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #777078;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.hs-notice button:hover {
  color: var(--hs-pink);
  background: rgba(255,79,139,.08);
}
@keyframes hs-notice-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 21px)); }
}

.hs-main { padding-bottom: 82px; }
.page-play .hs-header,
.page-play .hs-footer,
.page-play .hs-bottom-nav {
  display: none;
}
.page-play .hs-main {
  padding-bottom: 0;
}

.hs-hero {
  position: relative;
  min-height: min(620px, calc(100vh - 152px));
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hs-hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  transform: rotate(-7deg) scale(1.16);
  opacity: .46;
}
.hs-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12);
}
.hs-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,247,251,.36), rgba(255,247,251,.92) 76%, #fff 100%),
    linear-gradient(120deg, rgba(255,79,139,.24), rgba(73,214,208,.16));
}

.hs-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 64px 0 54px;
  text-align: center;
}

.hs-notice-card {
  width: min(320px, 86vw);
  min-height: 168px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 28px 20px;
  color: #fff;
  background: rgba(36, 31, 37, .78);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  box-shadow: var(--hs-shadow);
}
.hs-notice-card strong { font-size: 18px; }
.hs-notice-card small { color: rgba(255,255,255,.74); }

.hs-loader {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: var(--hs-cyan);
  border-radius: 50%;
  animation: hs-spin 1.1s linear infinite;
}
@keyframes hs-spin { to { transform: rotate(360deg); } }

.hs-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.hs-hero-brand p {
  margin: 0 0 4px;
  font-weight: 900;
  font-size: 22px;
}
.hs-hero-brand h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.16;
}

.hs-primary-link,
.hs-play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--hs-pink), var(--hs-coral));
  box-shadow: 0 12px 28px rgba(255, 79, 139, .28);
}

.hs-category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 0 4px;
  scrollbar-width: none;
}
.hs-category-strip::-webkit-scrollbar { display: none; }
.hs-category-strip a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--hs-line);
  box-shadow: 0 8px 20px rgba(87,39,66,.06);
}

.hs-subcats-wrap {
  padding: 18px 0 10px;
  min-height: 1px;
}
.hs-subcats-group { display: none; }
.hs-subcats-group[data-active] { display: grid; }
.hs-subcats,
.hs-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.hs-cat-grid a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 10px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 10px;
  background: #fff;
  color: #3a333d;
  font-size: 14px;
  font-weight: 500;
  border: 0;
  box-shadow: none;
  transition: background .15s, color .15s;
}
.hs-cat-grid a:hover {
  color: var(--hs-pink);
  background: #fafafa;
}
.hs-cat-grid a.active,
.hs-cat-grid a.current {
  background: #272229;
  color: #fff;
}
.hs-subcats a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 12px 14px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 12px;
  background: #fff;
  color: #2a242c;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(36,31,37,.06);
  box-shadow: 0 4px 14px rgba(36,31,37,.04);
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.hs-subcats a:hover {
  color: var(--hs-pink);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(242,18,79,.12);
}

.hs-section { padding: 24px 0; }
.hs-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.hs-section-head p,
.hs-page-title p {
  margin: 0 0 4px;
  color: var(--hs-pink);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
}
.hs-section-head h2,
.hs-page-title h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}
.hs-section-head > a {
  padding: 8px 12px;
  border-radius: 8px;
  background: #272229;
  color: #fff;
  font-weight: 800;
}

.hs-video-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  padding: 4px 0 16px;
  scrollbar-width: none;
}
.hs-video-tabs::-webkit-scrollbar { display: none; }
.hs-video-tabs a,
.hs-video-tabs button {
  flex: 0 0 auto;
  position: relative;
  border: 0;
  padding: 6px 0;
  background: transparent;
  color: #8a818b;
  font-size: 17px;
  cursor: pointer;
}
.hs-video-tabs a.active {
  color: var(--hs-pink);
}
.hs-video-tabs a.active:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--hs-pink);
  transform: translateX(-50%);
}
.hs-video-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hs-video-tabs button span {
  width: 16px;
  height: 16px;
  position: relative;
}
.hs-video-tabs button span:before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor, 0 8px 0 currentColor, 8px 8px 0 currentColor;
}

.hs-poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
/* 第一个海报跨满整行（独占大图） */
.hs-poster-grid > .hs-poster:first-child {
  grid-column: 1 / -1;
}
.hs-poster {
  min-width: 0;
  display: grid;
  gap: 8px;
}
/* 列表模式：每行一个，封面大图占满整宽 */
.hs-list-mode .hs-poster-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}
.hs-list-mode .hs-poster-grid > .hs-poster:first-child {
  grid-column: auto; /* 单列下取消第一个跨整行规则（本就单列） */
}
.hs-list-mode .hs-poster {
  grid-template-columns: 1fr;
  row-gap: 10px;
}
.hs-list-mode .hs-poster .hs-cover {
  aspect-ratio: 16 / 9;
  grid-row: auto;
}
.hs-list-mode .hs-poster strong {
  align-self: auto;
  font-size: 16px;
}
.hs-list-mode .hs-poster small {
  align-self: auto;
}
.hs-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #f2dfe8;
  box-shadow: 0 12px 28px rgba(87,39,66,.13);
}
.hs-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
.hs-poster:hover .hs-cover img { transform: scale(1.035); }
.hs-cover em {
  position: absolute;
  right: 7px;
  bottom: 7px;
  max-width: calc(100% - 14px);
  padding: 3px 6px;
  border-radius: 6px;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  background: rgba(36,31,37,.74);
}
.hs-poster strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--hs-ink);
  line-height: 1.35;
  font-size: 14px;
  font-weight: 800;
}
.hs-poster small {
  min-height: 22px;
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  overflow: hidden;
}
/* 最多显示前 4 个标签，多余隐藏 */
.hs-poster small b:nth-of-type(n+5) {
  display: none;
}
.hs-poster b,
.hs-detail-tags span,
.hs-brief-card p span {
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 6px;
  color: #8c3a5d;
  background: rgba(255, 79, 139, .10);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hs-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hs-channel-grid a {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--hs-line);
  box-shadow: 0 10px 24px rgba(87,39,66,.07);
}
.hs-channel-grid span { font-weight: 900; }
.hs-channel-grid small { color: var(--hs-muted); }

.hs-page-title {
  display: grid;
  gap: 10px;
  padding: 28px 0 10px;
}
.hs-page-title span { color: var(--hs-muted); }
.hs-back-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: #8c3a5d;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,79,139,.18);
  font-weight: 800;
}

.hs-filter-panel {
  display: grid;
  gap: 10px;
  padding: 10px 0 4px;
}
.hs-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hs-filter-row::-webkit-scrollbar { display: none; }
.hs-filter-row a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--hs-line);
  font-weight: 800;
}
.hs-filter-row a.active,
.hs-filter-row a.current {
  color: #fff;
  background: #272229;
}
.hs-filter-row.compact a { font-size: 13px; }

.hs-empty,
.hs-text-card {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--hs-line);
  color: var(--hs-muted);
}
.hs-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 0 28px;
}
.hs-pager a,
.hs-pager span {
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--hs-line);
  font-weight: 800;
}

.hs-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0;
}
.hs-detail-bg {
  position: absolute;
  inset: 0;
  opacity: .18;
  filter: blur(18px);
  transform: scale(1.08);
}
.hs-detail-bg img { width: 100%; height: 100%; object-fit: cover; }
.hs-detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,247,251,.86), rgba(255,255,255,.96));
}
.hs-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.hs-detail-poster {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--hs-shadow);
}
.hs-detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
}
.hs-detail-info h1 {
  margin: 14px 0 12px;
  font-size: 34px;
  line-height: 1.16;
}
.hs-detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hs-detail-desc {
  margin: 0 0 18px;
  max-width: 720px;
  color: var(--hs-muted);
  line-height: 1.8;
}
.hs-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hs-soft-button {
  min-height: 46px;
  border: 1px solid var(--hs-line);
  border-radius: 8px;
  padding: 0 18px;
  background: rgba(255,255,255,.85);
  color: var(--hs-ink);
  font-weight: 800;
  cursor: pointer;
}

.hs-source-block {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--hs-line);
  margin-bottom: 12px;
}
.hs-source-name { font-weight: 900; }
.hs-episode-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hs-episode-grid a {
  min-height: 36px;
  min-width: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff7fb;
  border: 1px solid rgba(255,79,139,.16);
  font-weight: 800;
}
.hs-episode-grid a.active {
  color: #fff;
  background: var(--hs-pink);
}

.hs-player-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  padding-top: 22px;
}
.hs-player-card,
.hs-player-side,
.hs-brief-card {
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--hs-line);
  box-shadow: 0 12px 30px rgba(87,39,66,.08);
}
.hs-player-card { overflow: hidden; }
.hs-player-title {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #272229;
  color: #fff;
}
.hs-player-title a {
  width: max-content;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}
.hs-player-title h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}
.hs-player-title span { color: rgba(255,255,255,.72); }
#dplayer {
  width: 100%;
  min-height: 420px;
  background: #000;
}
.hs-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.hs-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hs-player-side {
  padding: 14px;
  align-self: start;
}
.hs-source-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hs-source-tabs a {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff7fb;
  font-weight: 800;
}
.hs-source-tabs a.active {
  color: #fff;
  background: #272229;
}

.hs-play-view {
  background: #fff;
}
.hs-play-shell {
  padding-top: 0;
}
.hs-play-stage {
  margin-left: calc((100% - 100vw) / 2);
  width: 100vw;
  background: #000;
  position: relative;
}
.hs-play-stage #dplayer {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #000;
}
.hs-play-back {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.46);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.hs-play-back:hover {
  background: rgba(255,79,139,.9);
}
.hs-vip-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto auto auto auto;
  align-items: center;
  gap: 7px;
  min-height: 54px;
  padding: 9px 12px;
  color: #ffe3bd;
  background: linear-gradient(90deg, #b00012, #7b050c);
}
.hs-vip-strip strong {
  color: #ffd35b;
  font-size: 26px;
  font-style: italic;
}
.hs-vip-strip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hs-vip-strip em {
  min-width: 30px;
  padding: 5px 4px;
  border: 1px solid #f2ca75;
  border-radius: 4px;
  color: #fff;
  background: rgba(0,0,0,.32);
  font-style: normal;
  text-align: center;
}
.hs-vip-strip i {
  color: #f2ca75;
  font-style: normal;
}
.hs-vip-strip a {
  min-width: 92px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #8a1d14;
  background: #ffe0a4;
  font-weight: 900;
  text-align: center;
}
.hs-play-info {
  background: #fff;
  padding-bottom: 12px;
}
.hs-play-tabs {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 64px;
  border-bottom: 1px solid rgba(36,31,37,.08);
}
.hs-play-tabs > a,
.hs-play-tabs summary {
  position: relative;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: #8a818b;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}
.hs-play-tabs summary::-webkit-details-marker { display: none; }
.hs-play-tabs > a.active {
  color: var(--hs-ink);
  font-weight: 900;
}
.hs-play-tabs > a.active:after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--hs-pink);
}
.hs-play-tabs details {
  position: relative;
  margin-left: auto;
}
.hs-play-source-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  gap: 8px;
  min-width: 180px;
  padding: 10px;
  border: 1px solid rgba(36,31,37,.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(36,31,37,.16);
}
.hs-play-source-menu a {
  padding: 9px 10px;
  border-radius: 6px;
  background: #fff7fb;
}
.hs-play-source-menu a.active {
  color: #fff;
  background: var(--hs-pink);
}
.hs-play-info h1 {
  margin: 18px 0 10px;
  font-size: 20px;
  line-height: 1.45;
}
.hs-play-desc {
  margin: 0 0 18px;
  color: #524a54;
  line-height: 1.8;
}
.hs-play-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hs-play-tags a {
  padding: 6px 10px;
  border-radius: 6px;
  color: #e71955;
  background: #ffe9ef;
  font-weight: 800;
}
.hs-play-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #858196;
  margin-bottom: 20px;
}
.hs-play-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-bottom: 22px;
}
.hs-play-actions button {
  min-height: 58px;
  display: grid;
  justify-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #8a858c;
  cursor: pointer;
}
.hs-play-actions button span {
  color: #3c363e;
  font-size: 34px;
  line-height: 1;
}
.hs-play-actions button em {
  font-style: normal;
}
.hs-play-actions button.is-active span,
.hs-play-actions button.is-active em {
  color: var(--hs-pink);
}
.hs-play-comments {
  display: none;
  margin: 4px 0 24px;
  padding: 16px;
  border-radius: 8px;
  background: #fff7fb;
  color: var(--hs-muted);
}
.hs-play-comments:target {
  display: block;
}
.hs-play-related {
  padding: 18px 12px 34px;
  background: #fff7fb;
}
/* 相关推荐：固定一行两个，不应用首项跨整行规则 */
.hs-play-related .hs-poster-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hs-play-related .hs-poster-grid > .hs-poster:first-child {
  grid-column: auto;
}
.hs-play-related h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
}

.hs-brief-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-top: 16px;
}
.hs-brief-card img {
  width: 78px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}
.hs-brief-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}
.hs-brief-card p {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
}

.hs-footer {
  padding: 28px 0 88px;
  color: var(--hs-muted);
  text-align: center;
}
.hs-footer p { margin: 4px 0; }

.hs-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 45;
  transform: translateX(-50%);
  width: min(360px, calc(100% - 24px));
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(36,31,37,.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(36,31,37,.24);
}
.hs-bottom-nav a {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 4px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 800;
}
.hs-bottom-nav a span {
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.22);
}
.hs-bottom-nav a.active { color: #fff; }
.hs-bottom-nav a.active span { background: var(--hs-cyan); }

mark {
  color: #b91c5c;
  background: rgba(255,79,139,.16);
  border-radius: 4px;
}

@media (max-width: 980px) {
  .hs-poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hs-player-page { grid-template-columns: 1fr; }
  #dplayer { min-height: 320px; }
}

@media (max-width: 720px) {
  .hs-shell { width: min(100% - 22px, 560px); }
  .hs-header {
    display: flex;
    flex-direction: column;
    padding-top: max(0px, env(safe-area-inset-top));
    background: #fff;
  }
  .hs-notice {
    width: calc(100% - 32px);
    grid-template-columns: 36px minmax(0, 1fr) 28px;
    padding-top: 8px;
    padding-bottom: 7px;
  }
  .hs-notice p {
    font-size: 14px;
  }
  .hs-tabs-top {
    order: -1;
    width: 100%;
    padding: 0 12px;
    min-height: 72px;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid rgba(36,31,37,.08);
  }
  .hs-tabs-top .hs-tabs-scroll a {
    padding: 0 12px;
    min-height: 72px;
    display: inline-flex;
    align-items: center;
    border-radius: 0;
    border: 0;
    background: transparent;
    font-size: 18px;
    color: #201b22;
    position: relative;
  }
  .hs-tabs-top .hs-category-menu {
    position: static;
    margin-left: 0;
  }
  .hs-tabs-top .hs-category-menu summary {
    min-height: 72px;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #201b22;
    font-size: 18px;
  }
  .hs-tabs-top .hs-tabs-scroll a:nth-child(6n+1),
  .hs-tabs-top .hs-tabs-scroll a:hover,
  .hs-tabs-top .hs-category-menu[open] summary,
  .hs-tabs-top .hs-category-menu summary:hover {
    color: #f2124f;
  }
  .hs-tabs-top .hs-tabs-scroll a:nth-child(6n+1):after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: #f2124f;
  }
  .hs-tabs-top .hs-category-dropdown {
    left: 11px;
    right: 11px;
    top: 72px;
    width: auto;
    max-height: min(64vh, 520px);
    overflow-y: auto;
  }
  .hs-tabs-top .hs-category-dropdown div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hs-header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .hs-search {
    justify-self: stretch;
    position: relative;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    padding-right: 4px;
    overflow: hidden;
  }
  .hs-search button {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
  }
  .hs-brand {
    min-width: 48px;
    gap: 0;
  }
  .hs-brand-mark {
    width: 42px;
    height: 42px;
  }
  .hs-brand-text {
    display: none;
  }
  .hs-subcats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-top: 14px;
  }
  .hs-subcats a {
    min-height: 46px;
    padding: 7px 4px;
    font-size: 14px;
  }
  .hs-video-tabs {
    gap: 24px;
    padding-top: 0;
    padding-bottom: 12px;
  }
  .hs-video-tabs a,
  .hs-video-tabs button {
    font-size: 16px;
  }
  .hs-hero { min-height: min(560px, calc(100vh - 180px)); }
  .hs-hero-content { padding: 36px 0 38px; }
  .hs-hero-brand h1 { font-size: 24px; }
  .hs-notice-card { min-height: 154px; }
  .hs-poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hs-poster strong { min-height: 0; font-size: 13px; }
  .hs-poster small { min-height: 24px; }
  .hs-list-mode .hs-poster {
    grid-template-columns: 1fr;
  }
  .hs-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-detail-grid { grid-template-columns: 118px minmax(0, 1fr); gap: 14px; }
  .hs-detail-info h1 { font-size: 22px; }
  .hs-detail-desc { display: none; }
  .hs-detail-actions { grid-column: 1 / -1; }
  .hs-play-button, .hs-soft-button { flex: 1 1 130px; }
  #dplayer { min-height: 236px; }
  .hs-play-shell {
    width: 100%;
  }
  .hs-play-stage {
    margin-left: 0;
    width: 100%;
  }
  .hs-vip-strip {
    grid-template-columns: auto minmax(0, 1fr) auto auto auto auto auto;
    padding-left: 12px;
    padding-right: 12px;
  }
  .hs-vip-strip a {
    min-width: 76px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .hs-play-info {
    padding: 0 12px;
  }
  .hs-play-tabs {
    gap: 28px;
  }
  .hs-play-tabs > a,
  .hs-play-tabs summary {
    font-size: 17px;
  }
  .hs-play-info h1 {
    font-size: 18px;
  }
  .hs-section { padding: 18px 0; }
  .hs-bottom-nav { display: grid; }
}

@media (max-width: 390px) {
  .hs-detail-grid { grid-template-columns: 1fr; }
  .hs-detail-poster { width: min(210px, 72vw); }
}
