:root {
  --e01-bg: #070d16;
  --e01-raised: #101820;
  --e01-input: #101820;
  --e01-line: #1b2838;
  --e01-text: #e8f4fb;
  --e01-muted: #8ea4b8;
  --e01-accent: #00a1d6;
  --e01-accent-soft: color-mix(in srgb, var(--e01-accent) 35%, transparent);
  --e01-on-accent: #070d16;
  --e01-header-bg: #070d16;
  --e01-header-text: #e8f4fb;
  --e01-header-input-bg: #ffffff;
  --e01-header-input-text: #0e1626;
  --e01-header-placeholder: #666666;
  --e01-score: #f5c518;
  --e01-measure: min(1600px, calc(100% - 48px));
}
body {
  margin: 0;
  background: var(--e01-bg);
  color: var(--e01-text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.e01-measure { width: var(--e01-measure); margin-inline: auto; }
.e01-top {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--e01-line);
}
.e01-mark { font-size: 1.125rem; font-weight: 700; color: var(--e01-header-text); }
.e01-search { margin-left: auto; display: flex; }
.e01-search input {
  height: 40px;
  border: 0;
  background: var(--e01-line);
  color: var(--e01-text);
  padding: 0 16px;
  width: min(220px, 40vw);
  border-radius: 999px 0 0 999px;
}
.e01-search input::placeholder { color: var(--e01-muted); }
.e01-search button {
  height: 40px;
  border: 0;
  background: var(--e01-accent);
  color: var(--e01-on-accent);
  padding: 0 16px;
  border-radius: 0 999px 999px 0;
}
.e01-entry {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  min-width: 0;
  padding: 16px 0;
}
.e01-entry a { color: var(--e01-muted); font-weight: 600; white-space: nowrap; }
.e01-page-title { font-size: 1.125rem; font-weight: 600; margin: 8px 0 16px; }
.e01-block { margin-bottom: 32px; }
.e01-block h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.e01-block h2 a { color: var(--e01-muted); font-size: 0.875rem; font-weight: 600; }
.e01-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.e01-wide {
  position: relative;
  flex: 0 0 360px;
  max-width: calc(100% - 48px);
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
}
.e01-row .e01-wide {
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: auto;
  max-width: 100%;
  flex: none;
}
.e01-row .e01-wide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.e01-wide:nth-child(6n + 1) { background: #1a4e6e; }
.e01-wide:nth-child(6n + 2) { background: #1a3e5c; }
.e01-wide:nth-child(6n + 3) { background: #245a62; }
.e01-wide:nth-child(6n + 4) { background: #3a4a6e; }
.e01-wide:nth-child(6n + 5) { background: #1e5a58; }
.e01-wide:nth-child(6n + 6) { background: #2a4068; }
.e01-wide:hover { filter: brightness(1.08); }
.e01-row .e01-wide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.78) 100%);
  z-index: 0;
  pointer-events: none;
}
.e01-wide span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.e01-score { color: var(--e01-score); }
.e01-filters { margin: 16px 0 32px; }
.e01-filter { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.e01-filter b { flex: 0 0 4em; font-weight: 600; padding-top: 4px; }
.e01-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.e01-chip {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--e01-muted);
  background: transparent;
  color: var(--e01-muted);
}
.e01-chip.is-on { background: var(--e01-accent); color: var(--e01-on-accent); border-color: transparent; }
.e01-stage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.e01-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1b2838;
  border: 1px solid var(--e01-muted);
}
.e01-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: var(--e01-accent);
  color: var(--e01-on-accent);
}
.e01-bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.e01-play-mini { width: 16px; height: 16px; background: var(--e01-accent); border-radius: 999px; }
.e01-track { flex: 1; height: 4px; background: var(--e01-muted); }
.e01-played { width: 28%; height: 4px; background: var(--e01-accent); }
.e01-time { color: #e8f4fb; font-size: 0.75rem; }
.e01-play-title { font-size: 1.75rem; font-weight: 700; margin: 0 0 8px; }
.e01-copy { font-size: 0.875rem; line-height: 1.6; }
.e01-eps { display: flex; flex-wrap: wrap; gap: 8px; }
.e01-ep {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--e01-muted);
  background: transparent;
  color: var(--e01-muted);
  white-space: nowrap;
  word-break: keep-all;
}
.e01-ep.is-on { background: var(--e01-accent); color: var(--e01-on-accent); border-color: transparent; }
.e01-foot { padding: 32px 0 48px; border-top: 1px solid var(--e01-line); }
.e01-foot a { color: var(--e01-muted); font-size: 0.75rem; margin-right: 12px; }
.e01-pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.e01-pager a, .e01-pager button {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--e01-muted);
  background: transparent;
  color: var(--e01-muted);
  white-space: nowrap;
}
.e01-pager a.is-on, .e01-pager button.is-on { background: var(--e01-accent); color: var(--e01-on-accent); border-color: transparent; }
@media (max-width: 800px) {
  .e01-filter { flex-direction: row; margin-bottom: 8px; }
}
@media (max-width: 900px) {
  .e01-stage { grid-template-columns: 1fr; }
}
.e01-top { height: auto; display: block; }
.e01-top-main { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-height: 64px; }
.e01-search { flex: 1 1 50%; max-width: 50%; margin-left: auto; min-width: 0; }
.e01-search input { flex: 1; width: auto; min-width: 0; }
.e01-search button { flex: none; white-space: nowrap; }
.e01-engines { flex: 1 0 100%; display: flex; gap: 8px; align-items: center; padding-bottom: 12px; }
.e01-engines button {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: var(--e01-line);
  color: var(--e01-header-text);
}
.e01-engines .is-on { background: var(--e01-accent); color: var(--e01-on-accent); }
.e01-engines input { height: 32px; width: 6em; border: 0; background: var(--e01-line); color: var(--e01-header-text); padding: 0 8px; }
.e01-chip { background: var(--e01-line); color: var(--e01-header-text); border-color: transparent; }
.e01-d5, .e01-d3 { display: flex; justify-content: center; gap: 16px; min-width: 0; overflow-x: auto; margin-bottom: 8px; }
.e01-dock { display: none; }
@media (min-width: 900px) {
  .e01-eps { gap: 16px; }
  .e01-ep { height: 36px; min-width: 72px; }
}
@media (max-width: 800px) {
  .e01-dock {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    position: fixed;
    right: 12px;
    top: 50%;
    z-index: 2147483646;
    transform: translateY(-50%);
    touch-action: none;
    cursor: grab;
  }
  .e01-dock-toggle {
    height: auto;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--e01-header-text);
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--e01-accent);
  }
  .e01-dock-panel { display: none; margin-bottom: 8px; background: var(--e01-header-bg); border: 1px solid var(--e01-line); padding: 8px; }
  .e01-dock.is-open .e01-dock-panel { display: flex; flex-direction: column; gap: 8px; }
  .e01-dock-panel a, .e01-dock-panel button { background: transparent; border: 0; color: var(--e01-header-text); text-align: left; }
}

.e01-mark { display: inline-flex; align-items: center; gap: 8px; }
.e01-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-block;
  background-color: var(--e01-header-text);
  -webkit-mask-image: var(--e01-logo-url);
  mask-image: var(--e01-logo-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  mask-mode: alpha;
  -webkit-mask-source-type: alpha;
}
.e01-top { background: var(--e01-header-bg); color: var(--e01-header-text); border-bottom: 1px solid var(--e01-line); }
.e01-top-main { height: 64px; min-height: 64px; flex-wrap: nowrap; }
.e01-top .e01-logo { padding: 0; }
.e01-pill { background: var(--e01-accent); color: var(--e01-on-accent); border-radius: 999px; padding: 4px 12px; font-size: 0.875rem; font-weight: 700; }
.e01-search { flex: 0 1 auto; max-width: none; display: flex; align-items: center; }
.e01-search input { background: var(--e01-header-input-bg); color: var(--e01-header-input-text); border-radius: 999px 0 0 999px; height: 40px; }
.e01-search input::placeholder { color: var(--e01-header-placeholder); }
.e01-search button { background: var(--e01-accent); color: var(--e01-on-accent); border-radius: 0 999px 999px 0; margin-left: 0; height: 40px; }
.e01-engines { flex: 0 1 auto; width: auto; padding: 0; }
.e01-engines button { height: auto; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--e01-header-text); }
.e01-engines .is-on { background: transparent; color: var(--e01-header-text); border-bottom-color: var(--e01-accent); }
.e01-engines input { background: transparent; color: var(--e01-header-text); border-bottom: 1px solid var(--e01-header-text); }
.e01-chip { height: 32px; border-radius: 999px; }
.e01-chip.is-on { background: var(--e01-accent); color: var(--e01-on-accent); }
.e01-ep { min-width: 44px; padding: 0 8px; white-space: nowrap; border-radius: 8px; }
.e01-ep.is-on { background: var(--e01-accent); color: var(--e01-on-accent); }
.e01-stage .e01-chips + .e01-chips { margin-top: 16px; }
.e01-stage .e01-eps { margin-top: 16px; gap: 12px; }
.e01-detail { display: grid; grid-template-columns: min(360px, 100%) 1fr; gap: 24px; margin: 24px 0; }
.e01-detail-poster { aspect-ratio: 16 / 9; background: #1a4e6e; }
.e01-go { display: inline-flex; align-items: center; margin: 8px 0 16px; padding: 0 16px; height: 40px; border: 0; border-radius: 999px; background: var(--e01-accent); color: var(--e01-on-accent); }
.e01-facts { margin: 0 0 8px; color: var(--e01-muted); font-size: 0.875rem; }
.e01-sheet { padding: 24px 0 8px; }
.e01-sheet h1 { margin: 0 0 12px; font-size: 1.75rem; font-weight: 700; }
a.e01-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) {
  .e01-detail { grid-template-columns: 1fr; }
}
.e01-blocklead { max-width: 36em; margin: 8px 0 4px; color: var(--e01-muted); font-size: 0.875rem; font-weight: 400; }
.e01-topic { margin: 0 0 48px; }
.e01-topic h2 { margin: 0 0 16px; }
.e01-topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.e01-topic-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 9; padding: 16px; overflow: hidden; background: #1b2838; }
.e01-topic-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.86) 100%); }
.e01-topic-card i, .e01-topic-card img { position: absolute; inset: 0; z-index: 0; margin: 0; width: 100%; height: 100%; object-fit: cover; background-color: #243447; background-position: center; background-size: cover; background-repeat: no-repeat; }
.e01-topic-card b, .e01-topic-card strong, .e01-topic-card span { position: relative; z-index: 2; }
.e01-topic-card b { display: block; color: #ffffff; font-size: 0.875rem; font-weight: 700; }
.e01-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); }
.e01-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) {
  .e01-top-main { height: auto; flex-wrap: wrap; }
  .e01-topic-grid, .e01-row { grid-template-columns: repeat(2, 1fr); }
}
.e01-top .e01-mark { font-size: 1.375rem; }
.e01-top-main { min-height: 80px; height: auto; }
.e01-engines button, .e01-engines input { font-size: 0.875rem; }
.e01-entry { gap: 20px; padding: 12px 0 20px; }
.e01-entry a { font-size: 1.125rem; padding: 10px 0; }
.e01-entry a:hover { color: var(--e01-header-text); }
.e01-entry a.is-on { color: var(--e01-header-text); box-shadow: inset 0 -2px 0 var(--e01-accent); }
@media (min-width: 801px) {
  .e01-top-main { min-height: 80px; height: auto; flex-wrap: nowrap; }
}
@media (max-width: 800px) {
  .e01-top-main { min-height: 0; height: auto; flex-wrap: wrap; row-gap: 12px; padding: 12px 0; }
  .e01-search, .e01-engines { flex: 1 0 100%; width: 100%; margin-left: 0; }
  .e01-search input { flex: 1; width: auto; }
}
.e01-talk { margin: 28px 0; }
.e01-talk h2 { margin: 0; font-size: 1.25rem; }
.e01-talk-head p { margin: 4px 0 12px; color: var(--e01-muted); }
.e01-talk ol { list-style: none; margin: 0 0 0 18px; padding: 0; border-left: 2px solid var(--e01-accent-soft); }
.e01-talk li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; margin: 0 0 16px -19px; }
.e01-talk i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--e01-accent);
  background-color: #1c2a3d;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.e01-talk time { display: block; color: var(--e01-accent); font-size: 0.75rem; }
.e01-talk strong { display: inline-block; margin: 2px 0; font-size: 0.875rem; }
.e01-talk li span { display: block; line-height: 1.5; }
.e01-talk b { color: var(--e01-score); }
.e01-engine-box { display: inline-flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; }
.e01-engines button.e01-engine-go {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; margin: 0;
  border: 0; border-radius: 999px; background: var(--e01-accent); color: var(--e01-on-accent); flex: 0 0 auto;
}
.e01-search button { display: inline-flex; align-items: center; justify-content: center; }
.e01-search button svg,
.e01-engine-go svg {
  width: 16px; height: 16px; display: block; flex: 0 0 auto;
}
.e01-engines input, .e01-engines-bar input {
  width: auto;
  min-width: 0;
  max-width: 16em;
  flex: 1 1 8em;
}
@media (max-width: 800px) {
  .e01-engines, .e01-engines-bar {
    flex-wrap: wrap;
    row-gap: 8px;
    min-width: 0;
    max-width: 100%;
  }
  .e01-engine-box {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }
  .e01-engines input, .e01-engines-bar input {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }
}

@media (max-width: 800px) {
  .e01-dock {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 4px;
    right: 12px; left: auto; align-items: flex-end;
  }
  .e01-dock-panel { max-height: calc(100vh - 120px); overflow: auto; margin: 0 0 8px; }
  .e01-dock.is-placed { transform: none; }
  .e01-dock.is-docked { right: 0; left: auto; align-items: flex-end; transform: translateY(-50%); }
  .e01-dock.is-placed.is-docked { transform: none; }
  .e01-dock.is-docked .e01-dock-panel,
  .e01-dock.is-docked .e01-dock-toggle { display: none; }
  .e01-dock-hide {
    align-self: flex-end;
    box-sizing: border-box;
    width: 36px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--e01-accent);
    font-size: 16px;
    line-height: 22px;
    box-shadow: none;
    text-align: center;
    cursor: pointer;
  }
}

@media (max-width: 800px) {
  .e01-dock.is-docked .e01-dock-hide {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--e01-accent);
    border: 0;
    box-shadow: none;
    clip-path: none;
    font-size: 0;
    line-height: 0;
    touch-action: none;
    cursor: grab;
  }
}
@media (max-width: 800px) {
  .e01-topic-card { padding: 10px; }
  .e01-topic-card b { font-size: 0.75rem; }
  .e01-topic-card strong { font-size: 1rem; line-height: 1.2; margin: 2px 0; }
  .e01-topic-card span { font-size: 0.75rem; line-height: 1.35; }
}

.e01-filter-toggle {
  display: none;
  height: 36px;
  margin: 0 0 12px;
  padding: 0 14px;
  border: 1px solid var(--e01-muted);
  border-radius: 8px;
  background: transparent;
  color: var(--e01-text);
  font-size: 0.875rem;
}
@media (min-width: 801px) {
  .e01-filter-toggle { display: none !important; }
}
@media (max-width: 800px) {
  .e01-filter-toggle { display: inline-flex; align-items: center; }
  .e01-filters:not(.is-open) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .e01-filters:not(.is-open) .e01-filter-toggle { margin-bottom: 0; }
  .e01-filters:not(.is-open) .e01-filter b { display: none; }
  .e01-filters:not(.is-open) .e01-filter { display: contents; }
  .e01-filters:not(.is-open) .e01-chips { display: contents; }
  .e01-filters:not(.is-open) .e01-chip:not(.is-on) { display: none; }
  .e01-filters.is-open .e01-filter {
    flex-wrap: nowrap;
    align-items: center;
  }
  .e01-filters.is-open .e01-filter b { flex: 0 0 3em; }
  .e01-filters.is-open .e01-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    min-width: 0;
  }
  .e01-filters.is-open .e01-chip { flex: 0 0 auto; }
}
/* theme_e x1：PC 三列 16:9 折行；窄屏仍两列。d5/d3 芯片；引擎胶囊。 */
@media (min-width: 801px) {
  .e01-row { grid-template-columns: repeat(3, 1fr); }
}
.e01-d5.is-chips,
.e01-d3.is-chips {
  flex-wrap: wrap;
  overflow-x: visible;
  gap: 8px;
}
.e01-d5.is-chips a,
.e01-d3.is-chips a {
  white-space: nowrap;
  border: 1px solid var(--e01-line);
  border-radius: 999px;
  padding: 4px 10px;
}
.e01-engines.is-pills button:not(.e01-engine-go) {
  border: 0;
  border-bottom: 0;
  border-radius: 999px;
  background: var(--e01-raised);
  color: var(--e01-header-text);
  padding: 4px 12px;
}
.e01-engines.is-pills button.is-on:not(.e01-engine-go) {
  background: var(--e01-accent);
  color: var(--e01-on-accent);
  border-bottom-color: transparent;
  font-weight: 700;
}
@media (max-width: 800px) {
  .e01-row { grid-template-columns: repeat(2, 1fr); }
  .e01-engines.is-pills {
    flex-wrap: wrap;
  }
}
