:root {
  --h01-bg: #101218;
  --h01-text: #f3f4f6;
  --h01-muted: #9aa3b2;
  --h01-accent: #3dd68c;
  --h01-panel: #1a1e27;
  --h01-line: #2a3140;
  --h01-measure: min(1600px, calc(100% - 48px));
}
body {
  margin: 0;
  background: var(--h01-bg);
  color: var(--h01-text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.h01-measure { width: var(--h01-measure); margin-inline: auto; }
.h01-top { border-bottom: 1px solid var(--h01-line); }
.h01-top-main { min-height: 64px; display: flex; align-items: center; gap: 16px; }
.h01-mark { font-size: 1.125rem; font-weight: 700; white-space: nowrap; }
.h01-mark span { color: var(--h01-accent); }
.h01-nav { display: flex; gap: 16px; min-width: 0; overflow-x: auto; }
.h01-nav a { color: var(--h01-muted); white-space: nowrap; padding: 8px 0; }
.h01-nav a.is-on { color: var(--h01-text); font-weight: 700; box-shadow: inset 0 -2px 0 var(--h01-accent); }
.h01-search { margin-left: auto; display: flex; }
.h01-search input {
  height: 36px;
  width: min(220px, 36vw);
  border: 0;
  border-radius: 999px 0 0 999px;
  background: var(--h01-panel);
  color: var(--h01-text);
  padding: 0 14px;
}
.h01-search button {
  height: 36px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: #242a36;
  color: var(--h01-text);
  padding: 0 14px;
}
.h01-engines { display: flex; gap: 12px; align-items: center; padding: 0 0 10px; font-size: 0.75rem; }
.h01-engines button { background: transparent; border: 0; color: var(--h01-muted); font-size: 0.75rem; padding: 0; }
.h01-engines .is-on { color: var(--h01-accent); }
.h01-engines input,
.h01-engines-bar input {
  width: auto;
  min-width: 0;
  max-width: 16em;
  flex: 1 1 8em;
  height: 24px;
  border: 0;
  border-bottom: 1px solid var(--h01-muted);
  background: transparent;
  color: var(--h01-text);
}
.h01-page-title { font-size: 1.125rem; font-weight: 600; margin: 16px 0; }
.h01-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 260px;
  gap: 24px;
  align-items: center;
  background: var(--h01-panel);
  border-radius: 16px;
  padding: 32px;
  margin: 24px 0;
}
.h01-kicker { margin: 0; color: var(--h01-accent); font-size: 0.75rem; }
.h01-feature-name { font-size: 2.5rem; line-height: 1.15; margin: 8px 0; }
.h01-tags { margin: 0 0 8px; color: var(--h01-muted); font-size: 0.75rem; }
.h01-lead { margin: 0 0 16px; max-width: 36em; color: var(--h01-text); font-size: 0.875rem; line-height: 1.6; }
.h01-go {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--h01-accent);
  color: #102018;
  font-weight: 700;
}
.h01-picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.h01-pick {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #4a5568;
  cursor: pointer;
}
.h01-pick.is-on { background: var(--h01-accent); }
.h01-poster {
  position: relative;
  display: block;
  width: min(100%, 240px);
  margin-inline: auto;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #3a2a28;
}
.h01-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.h01-news { align-self: stretch; border-left: 1px solid var(--h01-line); padding-left: 16px; }
.h01-news h2 { font-size: 1rem; margin: 0 0 8px; }
.h01-news ul { list-style: none; margin: 0; padding: 0; }
.h01-news li { padding: 10px 0; border-bottom: 1px solid var(--h01-line); font-size: 0.875rem; }
.h01-news time { display: block; color: var(--h01-muted); font-size: 0.75rem; margin-bottom: 4px; }
.h01-entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.h01-entry { display: block; background: var(--h01-panel); border-radius: 12px; padding: 16px; }
.h01-entry strong { display: block; margin-bottom: 8px; }
.h01-entry span { color: var(--h01-muted); font-size: 0.75rem; }
.h01-block { margin-bottom: 32px; }
.h01-block h2 { display: flex; justify-content: space-between; font-size: 1.125rem; margin: 0 0 16px; }
.h01-block h2 a { color: var(--h01-muted); font-size: 0.875rem; font-weight: 600; }
.h01-row { display: flex; flex-wrap: wrap; gap: 16px; }
.h01-tile { flex: 0 0 180px; max-width: 200px; min-width: 0; }
.h01-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
}
.h01-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.h01-tile:nth-child(6n + 1) .h01-pic { background: #3a2a28; }
.h01-tile:nth-child(6n + 2) .h01-pic { background: #2c3a4a; }
.h01-tile:nth-child(6n + 3) .h01-pic { background: #3a3048; }
.h01-tile:nth-child(6n + 4) .h01-pic { background: #243e3a; }
.h01-tile:nth-child(6n + 5) .h01-pic { background: #4a3228; }
.h01-tile:nth-child(6n + 6) .h01-pic { background: #2a3348; }
.h01-tile strong { display: block; margin-top: 8px; font-size: 0.875rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h01-tile em { display: block; margin-top: 4px; color: var(--h01-muted); font-size: 0.75rem; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h01-filters { margin-bottom: 24px; }
.h01-filter { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.h01-filter b { flex: 0 0 4em; font-weight: 600; padding-top: 6px; }
.h01-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.h01-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 0;
  background: var(--h01-panel);
  color: var(--h01-muted);
}
.h01-chip.is-on { background: var(--h01-accent); color: #102018; }
.h01-stage { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin: 16px 0 32px; }
.h01-player { position: relative; aspect-ratio: 16 / 9; background: #0e1016; border: 1px solid var(--h01-line); border-radius: 12px; }
.h01-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: var(--h01-accent);
  color: #102018;
  font-size: 1.25rem;
}
.h01-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; }
.h01-play-mini { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--h01-accent); }
.h01-track { flex: 1; height: 4px; background: #2a3140; }
.h01-played { width: 28%; height: 4px; background: var(--h01-accent); }
.h01-time { color: var(--h01-text); font-size: 0.75rem; }
.h01-play-title { font-size: 1.75rem; margin: 0 0 8px; }
.h01-copy { font-size: 0.875rem; line-height: 1.6; }
.h01-stage .h01-go { margin: 8px 0 16px; }
.h01-stage .h01-chips { width: 100%; margin: 12px 0; }
.h01-score { color: var(--h01-accent); font-weight: 700; }
.h01-eps { display: flex; flex-wrap: wrap; gap: 8px; }
.h01-ep {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: 8px;
  border: 0;
  background: var(--h01-panel);
  color: var(--h01-text);
  white-space: nowrap;
  word-break: keep-all;
}
.h01-ep.is-on { background: var(--h01-accent); color: #102018; }
.h01-pager { display: flex; gap: 8px; margin: 8px 0 32px; }
.h01-pager a,
.h01-pager button {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 0;
  background: var(--h01-panel);
  color: var(--h01-muted);
  display: inline-flex;
  align-items: center;
}
.h01-pager a.is-on,
.h01-pager button.is-on { background: var(--h01-accent); color: #102018; }
.h01-foot { padding: 32px 0 48px; border-top: 1px solid var(--h01-line); }
.h01-foot a { color: var(--h01-muted); font-size: 0.75rem; margin-right: 12px; }
.h01-d5, .h01-d3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; min-width: 0; margin-bottom: 8px; }
.h01-d5 a, .h01-d3 a { white-space: nowrap; margin-right: 0; }
.h01-dock { display: none; }
@media (min-width: 900px) {
  .h01-eps { gap: 16px; }
}
@media (max-width: 900px) {
  .h01-feature, .h01-stage, .h01-entries { grid-template-columns: 1fr; }
  .h01-entries { display: none; }
  .h01-news { border-left: 0; padding-left: 0; border-top: 1px solid var(--h01-line); padding-top: 16px; }
}
@media (max-width: 800px) {
  .h01-filter { flex-direction: row; margin-bottom: 8px; }
  .h01-dock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    right: 12px;
    top: 50%;
    left: auto;
    z-index: 2147483646;
    transform: translateY(-50%);
    touch-action: none;
    cursor: grab;
  }
  .h01-dock-toggle { height: auto; padding: 10px 0; border: 0; border-radius: 0; background: transparent; color: #3dd68c; font-size: 1.125rem; font-weight: 700; box-shadow: inset 0 -2px 0 #3dd68c; }
  .h01-dock-panel { display: none; margin-top: 8px; background: var(--h01-panel); border: 1px solid var(--h01-line); padding: 12px; }
  .h01-dock.is-open .h01-dock-panel { display: flex; flex-direction: column; gap: 8px; }
  .h01-dock-panel a, .h01-dock-panel button { background: transparent; border: 0; color: var(--h01-text); text-align: left; }
}

.h01-mark { display: inline-flex; align-items: center; gap: 8px; }
.h01-logo { width: 28px; height: 28px; flex: 0 0 28px; filter: invert(1); }
.h01-top { border-bottom: 2px solid #3dd68c; }
.h01-top-main { min-height: 64px; }
.h01-mark { position: relative; }
.h01-mark::after { content: ""; position: absolute; left: 36px; right: 0; bottom: -4px; height: 2px; background: #3dd68c; }
.h01-nav a.is-on { box-shadow: none; color: #3dd68c; font-weight: 700; }
.h01-search input, .h01-search button {
  height: 40px;
  border: 0;
  border-bottom: 1px solid #3dd68c;
  border-radius: 0;
  background: transparent;
  color: #f3f4f6;
}
.h01-search input::placeholder {
  color: var(--h01-muted);
  opacity: 1;
}
.h01-engines { padding: 0; }
.h01-engines .is-on { color: #3dd68c; }
.h01-chip, .h01-chip.is-on {
  display: inline-flex;
  align-items: center;
  height: 32px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #9aa3b2;
}
.h01-chip.is-on { color: #3dd68c; border-bottom-color: #3dd68c; font-weight: 700; }
.h01-ep { min-width: 44px; padding: 0 8px; white-space: nowrap; border-radius: 0; background: transparent; border-bottom: 2px solid transparent; }
.h01-ep.is-on { background: transparent; color: #3dd68c; border-bottom-color: #3dd68c; font-weight: 700; }
.h01-blocklead { max-width: 36em; margin: 8px 0 4px; color: #9aa3b2; font-size: 0.875rem; font-weight: 400; }
.h01-topic { margin: 0 0 48px; }
.h01-topic h2 { margin: 0 0 16px; }
.h01-topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h01-topic-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 9; padding: 16px; overflow: hidden; background: #1a1e27; }
.h01-topic-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.86) 100%); }
.h01-topic-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.h01-topic-card b, .h01-topic-card strong, .h01-topic-card span { position: relative; z-index: 1; }
.h01-topic-card b { display: block; color: #ffffff; font-size: 0.875rem; font-weight: 700; }
.h01-topic-card strong { display: block; margin: 4px 0; color: #ffffff; font-size: 1.5rem; font-weight: 700; line-height: 1.25; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.h01-topic-card span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #ffffff; font-size: 1rem; font-weight: 600; line-height: 1.45; text-shadow: 0 1px 4px rgba(0,0,0,.75); }
@media (max-width: 800px) {
  .h01-top-main { height: auto; flex-wrap: wrap; }
  .h01-topic-grid { grid-template-columns: repeat(2, 1fr); }
}
.h01-top .h01-mark { font-size: 1.375rem; }
.h01-top-main { min-height: 80px; }
.h01-nav { flex: 1; min-width: 0; gap: 20px; }
.h01-nav a { font-size: 1.125rem; padding: 10px 0; }
.h01-nav a:hover { color: #f3f4f6; }
.h01-top .h01-nav a.is-on, .h01-top .h01-nav a.is-on:hover { color: #3dd68c; font-weight: 700; box-shadow: inset 0 -2px 0 #3dd68c; }
.h01-engines button { font-size: 0.875rem; }
@media (max-width: 800px) {
  .h01-top-main { min-height: 0; height: auto; flex-wrap: wrap; row-gap: 12px; padding: 12px 0; }
  .h01-top .h01-mark, .h01-nav, .h01-search, .h01-engines { flex: 1 0 100%; width: 100%; margin-left: 0; }
  .h01-search input { flex: 1; width: auto; }
}
.h01-engine-box { display: inline-flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; }
.h01-engines button.h01-engine-go {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 28px; padding: 0; margin: 0;
  border: 0; border-bottom: 1px solid #3dd68c; border-radius: 0;
  background: transparent; color: #f3f4f6; flex: 0 0 auto;
}
.h01-search button { display: inline-flex; align-items: center; justify-content: center; }
.h01-search button svg,
.h01-engine-go svg {
  width: 16px; height: 16px; display: block; flex: 0 0 auto;
}
.h01-engines input, .h01-engines-bar input {
  width: auto;
  min-width: 0;
  max-width: 16em;
  flex: 1 1 8em;
  font-size: 0.875rem;
}
@media (max-width: 800px) {
  .h01-engines, .h01-engines-bar {
    flex-wrap: wrap;
    row-gap: 8px;
    min-width: 0;
    max-width: 100%;
  }
  .h01-engine-box {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }
  .h01-engines input, .h01-engines-bar input {
    width: auto;
    min-width: 0;
    max-width: 16em;
    flex: 1 1 auto;
  }
}

@media (max-width: 800px) {
  .h01-dock {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 4px;
    left: 12px; right: auto; align-items: flex-start;
  }
  .h01-dock-panel { max-height: calc(100vh - 120px); overflow: auto; margin: 0 0 8px; }
  .h01-dock.is-placed { transform: none; }
  .h01-dock.is-docked { left: 0; right: auto; align-items: flex-start; transform: translateY(-50%); }
  .h01-dock.is-placed.is-docked { transform: none; }
  .h01-dock.is-docked .h01-dock-panel,
  .h01-dock.is-docked .h01-dock-toggle { display: none; }
  .h01-dock-hide {
    align-self: flex-start;
    box-sizing: border-box;
    width: 36px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #3dd68c;
    font-size: 16px;
    line-height: 22px;
    box-shadow: none;
    text-align: center;
    cursor: pointer;
  }
}

@media (max-width: 800px) {
  .h01-dock.is-docked .h01-dock-hide {
    width: 8px;
    height: 28px;
    border-radius: 0 999px 999px 0;
    background: #3dd68c;
    border: 0;
    box-shadow: none;
    clip-path: none;
    font-size: 0;
    line-height: 0;
    touch-action: none;
    cursor: grab;
  }
}
@media (max-width: 800px) {
  .h01-topic-card { padding: 10px; }
  .h01-topic-card b { font-size: 0.75rem; }
  .h01-topic-card strong { font-size: 1rem; line-height: 1.2; margin: 2px 0; }
  .h01-topic-card span { font-size: 0.75rem; line-height: 1.35; }
}
.h01-stage .h01-chips + .h01-chips { margin-top: 16px; }
.h01-stage .h01-eps { margin-top: 16px; gap: 12px; }
.h01-detail { display: grid; grid-template-columns: 176px 1fr; gap: 24px; margin: 24px 0; }
.h01-detail-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #3a2a28;
  border-radius: 12px;
}
.h01-detail-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.h01-facts { margin: 0 0 8px; color: var(--h01-muted); font-size: 0.875rem; }
.h01-sheet { padding: 24px 0 8px; }
.h01-sheet h1 { margin: 0 0 12px; font-size: 1.75rem; font-weight: 700; }
a.h01-ep { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; box-sizing: border-box; text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) {
  .h01-detail { grid-template-columns: 1fr; }
  .h01-detail-poster { max-width: 176px; }
}

.h01-filter-toggle {
  display: none;
  height: 36px;
  margin: 0 0 12px;
  padding: 0 14px;
  border: 1px solid var(--h01-muted);
  border-radius: 8px;
  background: transparent;
  color: var(--h01-text);
  font-size: 0.875rem;
}
@media (min-width: 801px) {
  .h01-filter-toggle { display: none !important; }
}
@media (max-width: 800px) {
  .h01-filter-toggle { display: inline-flex; align-items: center; }
  .h01-filters:not(.is-open) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .h01-filters:not(.is-open) .h01-filter-toggle { margin-bottom: 0; }
  .h01-filters:not(.is-open) .h01-filter b { display: none; }
  .h01-filters:not(.is-open) .h01-filter { display: contents; }
  .h01-filters:not(.is-open) .h01-chips { display: contents; }
  .h01-filters:not(.is-open) .h01-chip:not(.is-on) { display: none; }
  .h01-filters.is-open .h01-filter {
    flex-wrap: nowrap;
    align-items: center;
  }
  .h01-filters.is-open .h01-filter b { flex: 0 0 3em; }
  .h01-filters.is-open .h01-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    min-width: 0;
  }
  .h01-filters.is-open .h01-chip { flex: 0 0 auto; }
}
