:root {
  --b01-bg: #141414;
  --b01-raised: #1c1c1c;
  --b01-input: #2a2a2a;
  --b01-line: #2a2a2a;
  --b01-text: #ffffff;
  --b01-muted: #b3b3b3;
  --b01-accent: #406f7e;
  --b01-accent-soft: color-mix(in srgb, var(--b01-accent) 35%, transparent);
  --b01-on-accent: #ffffff;
  --b01-header-bg: #355e6b;
  --b01-header-text: #ffffff;
  --b01-header-input-bg: #ffffff;
  --b01-header-input-text: #111111;
  --b01-header-placeholder: #666666;
  --b01-score: #f5c518;
  --b01-measure: min(1600px, calc(100% - 48px));
}
body {
  margin: 0;
  background: var(--b01-bg);
  color: var(--b01-text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
a { color: inherit; text-decoration: none; }
.b01-measure { width: var(--b01-measure); margin-inline: auto; }
.b01-top {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--b01-line);
}
.b01-mark { font-size: 1.125rem; font-weight: 700; }
.b01-search { margin-left: auto; display: flex; }
.b01-search input {
  height: 40px;
  border: 0;
  background: var(--b01-input);
  color: var(--b01-text);
  padding: 0 16px;
  width: min(240px, 46vw);
  border-radius: 999px 0 0 999px;
}
.b01-search input::placeholder { color: var(--b01-muted); }
.b01-search button {
  height: 40px;
  border: 0;
  background: var(--b01-accent);
  color: var(--b01-on-accent);
  padding: 0 16px;
  border-radius: 0 999px 999px 0;
}
.b01-hero {
  position: relative;
  height: 420px;
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}
.b01-hero-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.b01-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.b01-slide:nth-child(6n + 1) { background-color: #5c3a3a; }
.b01-slide:nth-child(6n + 2) { background-color: #6b4545; }
.b01-slide:nth-child(6n + 3) { background-color: #3e4a5c; }
.b01-slide:nth-child(6n + 4) { background-color: #5a4030; }
.b01-slide:nth-child(6n + 5) { background-color: #4a3f55; }
.b01-slide:nth-child(6n + 6) { background-color: #3f4a45; }
.b01-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b01-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--b01-bg));
}
.b01-slide span,
.b01-slide strong {
  position: absolute;
  left: 24px;
  z-index: 1;
}
.b01-slide span { bottom: 64px; color: var(--b01-muted); font-size: 0.75rem; }
.b01-slide strong { bottom: 24px; font-size: 1.75rem; font-weight: 700; }
.b01-prev,
.b01-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
}
.b01-prev { left: 16px; }
.b01-next { right: 16px; }
.b01-cats {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  padding: 16px 0;
}
.b01-cats a { color: var(--b01-muted); font-weight: 600; white-space: nowrap; }
.b01-page-title { font-size: 1.125rem; font-weight: 600; margin: 8px 0 16px; }
.b01-block { margin-bottom: 32px; }
.b01-block h1 { margin: 0 0 8px; font-size: 1.75rem; font-weight: 700; }
.b01-block h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.b01-block h2 a { color: var(--b01-muted); font-size: 0.875rem; font-weight: 600; }
.b01-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
}
.b01-card {
  flex: 0 0 176px;
  max-width: 176px;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
}
.b01-poster {
  aspect-ratio: 2 / 3;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.b01-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b01-card:nth-child(6n + 1) .b01-poster { background: #5c3a3a; }
.b01-card:nth-child(6n + 2) .b01-poster { background: #6b4545; }
.b01-card:nth-child(6n + 3) .b01-poster { background: #3e4a5c; }
.b01-card:nth-child(6n + 4) .b01-poster { background: #5a4030; }
.b01-card:nth-child(6n + 5) .b01-poster { background: #4a3f55; }
.b01-card:nth-child(6n + 6) .b01-poster { background: #3f4a45; }
.b01-card:hover .b01-poster { filter: brightness(1.08); }
.b01-card strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 600;
}
.b01-card em,
.b01-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.b01-card em { color: var(--b01-muted); font-size: 0.75rem; font-style: normal; }
.b01-score { color: var(--b01-score); }
.b01-filters { margin: 16px 0 32px; }
.b01-filter { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.b01-filter b { flex: 0 0 4em; font-weight: 600; padding-top: 4px; }
.b01-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.b01-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--b01-muted);
  background: transparent;
  color: var(--b01-muted);
}
.b01-chip.is-on { background: var(--b01-accent); color: var(--b01-on-accent); border-color: transparent; }
.b01-stage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.b01-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--b01-input);
  border: 1px solid var(--b01-muted);
}
.b01-play-title { font-size: 1.75rem; font-weight: 700; margin: 0 0 8px; }
.b01-meta { color: var(--b01-muted); font-size: 0.875rem; }
.b01-copy { font-size: 0.875rem; line-height: 1.6; }
.b01-foot {
  width: var(--b01-measure);
  margin-inline: auto;
  padding: 32px 0 48px;
  border-top: 1px solid var(--b01-line);
  box-sizing: border-box;
}
.b01-foot a { color: var(--b01-muted); font-size: 0.75rem; margin-right: 12px; }
.b01-pager { display: flex; gap: 8px; margin: 24px 0 32px; }
.b01-pager button {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--b01-muted);
  background: transparent;
  color: var(--b01-muted);
}
.b01-pager button.is-on { background: var(--b01-accent); color: var(--b01-on-accent); border-color: transparent; }
.b01-eps { display: flex; flex-wrap: wrap; gap: 8px; }
.b01-ep {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: 0;
  border: 1px solid var(--b01-muted);
  background: transparent;
  color: var(--b01-muted);
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
  word-break: keep-all;
}
.b01-ep.is-on { background: var(--b01-accent); color: var(--b01-on-accent); border-color: transparent; }
@media (max-width: 800px) {
  .b01-filter { flex-direction: row; margin-bottom: 8px; }
}
@media (max-width: 900px) {
  .b01-stage { grid-template-columns: 1fr; }
}
.b01-measure { position: relative; padding-top: 108px; }
.b01-hero { margin-top: -108px; }
.b01-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: auto;
  display: block;
  background: transparent;
  border-bottom: 0;
}
.b01-top-main { height: 64px; display: flex; align-items: center; gap: 16px; }
.b01-find {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--b01-accent);
  color: var(--b01-on-accent);
}
.b01-search { display: none; margin-left: 8px; }
.b01-search.is-open { display: flex; }
.b01-engines { display: flex; gap: 16px; align-items: center; padding-bottom: 8px; }
.b01-engines button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--b01-header-text);
  font-size: 0.75rem;
  padding: 4px 0;
}
.b01-engines .is-on { border-bottom-color: var(--b01-accent); }
.b01-engines input {
  width: 6em;
  height: 28px;
  border: 0;
  border-bottom: 1px solid var(--b01-header-text);
  background: transparent;
  color: var(--b01-header-text);
}
.b01-d5 { display: flex; gap: 16px; min-width: 0; overflow-x: auto; margin-bottom: 8px; }
.b01-d5 a { white-space: nowrap; }
.b01-d3 { display: flex; gap: 16px; min-width: 0; overflow-x: auto; margin-bottom: 16px; }
.b01-d3 a { white-space: nowrap; }
.b01-dock { display: none; }
@media (min-width: 900px) {
  .b01-eps { gap: 16px; }
}
@media (max-width: 800px) {
  .b01-dock {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    left: 12px;
    top: 50%;
    bottom: auto;
    z-index: 2147483646;
    transform: translateY(-50%);
    touch-action: none;
    cursor: grab;
  }
  .b01-dock-panel { display: none; flex-direction: column; gap: 8px; margin-bottom: 8px; background: var(--b01-bg); border: 1px solid var(--b01-muted); padding: 12px; }
  .b01-dock.is-open .b01-dock-panel { display: flex; }
  .b01-dock-toggle { height: auto; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--b01-accent); color: var(--b01-on-accent); font-size: 1.125rem; font-weight: 600; box-shadow: none; }
  .b01-dock-panel a, .b01-dock-panel button { background: transparent; border: 0; color: var(--b01-text); text-align: left; }
}

.b01-mark { display: inline-flex; align-items: center; gap: 8px; }
.b01-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-block;
  background-color: var(--b01-header-text);
  -webkit-mask-image: var(--b01-logo-url);
  mask-image: var(--b01-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;
}

.b01-measure { padding-top: 80px; }
.b01-hero { margin-top: -80px; }
.b01-top { background: var(--b01-header-bg); color: var(--b01-header-text); }
.b01-top-main {
  width: var(--b01-measure);
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
  min-height: 64px;
  height: auto;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.b01-mark { background: transparent; color: var(--b01-header-text); padding: 0; }
.b01-find { display: none; }
.b01-search, .b01-search.is-open { display: flex; margin-left: auto; align-items: center; }
.b01-search input, .b01-search button { height: 40px; border-radius: 0; }
.b01-search input { background: var(--b01-header-input-bg); color: var(--b01-header-input-text); }
.b01-search input::placeholder { color: var(--b01-header-placeholder); }
.b01-search button { background: var(--b01-header-input-bg); color: var(--b01-header-search-text, var(--b01-accent)); margin-left: 0; }
.b01-engines button, .b01-engines input { white-space: nowrap; }
.b01-engines { width: auto; padding: 0; flex: 0 1 auto; }
.b01-engines button {
  border: 1px solid var(--b01-header-text);
  border-bottom: 1px solid var(--b01-header-text);
  background: transparent;
  color: var(--b01-header-text);
  padding: 4px 8px;
}
.b01-engines .is-on { background: var(--b01-header-text); color: var(--b01-accent); border-bottom-color: var(--b01-header-text); }
.b01-chip { border-radius: 8px; }
.b01-ep { min-width: 44px; padding: 0 8px; white-space: nowrap; border-radius: 0; }
.b01-stage .b01-chips + .b01-chips { margin-top: 16px; }
.b01-stage .b01-eps { margin-top: 16px; gap: 12px; }
.b01-blocklead { max-width: 36em; margin: 8px 0 4px; color: var(--b01-muted); font-size: 0.875rem; font-weight: 400; }
.b01-topic { margin: 0 0 48px; }
.b01-topic h2 { margin: 0 0 16px; }
.b01-topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.b01-topic-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 9; padding: 16px; overflow: hidden; background-color: var(--b01-raised); background-size: cover; background-position: center; background-repeat: no-repeat; }
.b01-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%); }
.b01-topic-card i, .b01-topic-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  object-fit: cover;
  background-color: #333333;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.b01-topic-card b, .b01-topic-card strong, .b01-topic-card span { position: relative; z-index: 2; }
.b01-topic-card b { display: block; color: #ffffff; font-size: 0.875rem; font-weight: 700; }
.b01-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); }
.b01-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) {
  .b01-topic-grid { grid-template-columns: repeat(2, 1fr); }
}

.b01-top .b01-mark { font-size: 1.375rem; }
.b01-top-main { min-height: 80px; align-items: center; }
.b01-engines button, .b01-engines input { font-size: 0.875rem; }
.b01-cats { gap: 12px; padding: 8px 0 20px; }
.b01-cats a { font-size: 1.125rem; padding: 8px 14px; border-radius: 999px; }
.b01-cats a:hover { background: var(--b01-accent-soft); color: var(--b01-on-accent); }
.b01-cats a.is-on, .b01-cats a.is-on:hover { background: var(--b01-accent); color: var(--b01-on-accent); }
@media (min-width: 801px) {
  .b01-top-main { min-height: 80px; height: auto; }
  .b01-search { min-width: 0; flex: 1 1 12em; }
  .b01-engines { min-width: 0; flex: 1 1 auto; }
}
@media (max-width: 800px) {
  .b01-top { position: static; }
  .b01-measure { padding-top: unset; }
  .b01-hero { margin-top: 0; }
  .b01-top-main { min-height: 0; height: auto; flex-wrap: wrap; row-gap: 12px; padding: 12px 0; }
  .b01-top .b01-mark, .b01-search, .b01-search.is-open, .b01-engines { flex: 1 0 100%; width: 100%; margin-left: 0; }
  .b01-search input { flex: 1; width: auto; }
}
.b01-talk { margin: 28px 0 8px; }
.b01-talk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.b01-talk h2 { margin: 0; font-size: 1.25rem; }
.b01-talk-head p { margin: 0; color: var(--b01-muted); font-size: 0.875rem; }
.b01-talk ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.b01-talk li { display: flex; gap: 12px; padding: 12px 14px; background: var(--b01-raised); border-left: 3px solid var(--b01-accent); }
.b01-talk i { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background-color: #333; background-image: none; background-size: cover; background-position: center; background-repeat: no-repeat; }
.b01-talk p { margin: 0; }
.b01-talk strong { font-size: 0.875rem; }
.b01-talk time { margin-left: 8px; color: var(--b01-muted); font-size: 0.75rem; }
.b01-talk li span { display: block; margin-top: 4px; line-height: 1.5; }
.b01-talk b { color: var(--b01-score); }
a.b01-chip {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
  line-height: 1;
}
a.b01-ep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  text-decoration: none;
  white-space: nowrap;
}
.b01-detail {
  display: grid;
  grid-template-columns: 176px 1fr;
  gap: 24px;
  margin: 24px 0;
}
.b01-detail-poster { width: 176px; background: #5c3a3a; }
.b01-go {
  display: inline-block;
  margin: 8px 0 16px;
  padding: 0 16px;
  height: 40px;
  line-height: 40px;
  border-radius: 8px;
  background: var(--b01-accent);
  color: var(--b01-on-accent);
  text-decoration: none;
}
.b01-facts { margin: 0 0 8px; color: var(--b01-muted); font-size: 0.875rem; }
.b01-sheet { padding: 24px 0 8px; }
.b01-sheet h1 { margin: 0 0 12px; font-size: 1.75rem; font-weight: 700; }
@media (max-width: 900px) {
  .b01-detail { grid-template-columns: 1fr; }
}
.b01-engine-box { display: inline-flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; }
.b01-engines button.b01-engine-go {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 28px; padding: 0; margin: 0;
  border: 0; border-radius: 0; background: var(--b01-accent); color: var(--b01-on-accent); flex: 0 0 auto;
}
.b01-search button { display: inline-flex; align-items: center; justify-content: center; }
.b01-search button svg,
.b01-engine-go svg {
  width: 16px; height: 16px; display: block; flex: 0 0 auto;
}
.b01-engines input, .b01-engines-bar input {
  width: auto;
  min-width: 0;
  max-width: 16em;
  flex: 1 1 8em;
}
@media (max-width: 800px) {
  .b01-engines, .b01-engines-bar {
    flex-wrap: wrap;
    row-gap: 8px;
    min-width: 0;
    max-width: 100%;
  }
  .b01-engine-box {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }
  .b01-engines input, .b01-engines-bar input {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }
}

@media (max-width: 800px) {
  .b01-dock {
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 4px;
    left: 0; right: auto; align-items: flex-start;
  }
  .b01-dock-panel { max-height: calc(100vh - 120px); overflow: auto; margin: 0 0 8px 10px; }
  .b01-dock-toggle {
    width: 22px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0 100% 100% 0;
    background: var(--b01-accent);
    font-size: 0;
    line-height: 0;
    box-shadow: none;
    cursor: pointer;
  }
  .b01-dock-hide { display: none; }
  .b01-dock.is-placed { transform: none; }
  .b01-dock.is-docked { left: 0; right: auto; align-items: flex-start; transform: translateY(-50%); }
  .b01-dock.is-placed.is-docked { transform: none; }
  .b01-dock.is-docked .b01-dock-panel,
  .b01-dock.is-docked .b01-dock-toggle { display: none; }
  .b01-dock-hide {
    align-self: flex-start;
    box-sizing: border-box;
    width: 36px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--b01-accent);
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
  }
}

@media (max-width: 800px) {
  .b01-dock.is-docked .b01-dock-hide {
    width: 14px;
    height: 28px;
    border-radius: 0 14px 14px 0;
    background: var(--b01-accent);
    border: 0;
    box-shadow: none;
    clip-path: none;
    font-size: 0;
    line-height: 0;
    touch-action: none;
    cursor: grab;
  }
}
@media (max-width: 800px) {
  .b01-topic-card { padding: 10px; }
  .b01-topic-card b { font-size: 0.75rem; }
  .b01-topic-card strong { font-size: 1rem; line-height: 1.2; margin: 2px 0; }
  .b01-topic-card span { font-size: 0.75rem; line-height: 1.35; }
}
.b01-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 32px;
}
.b01-pager a { color: var(--b01-muted); }
.b01-pager a.is-on { color: var(--b01-text); font-weight: 700; }
.b01-filter-toggle {
  display: none;
  height: 36px;
  margin: 0 0 12px;
  padding: 0 14px;
  border: 1px solid var(--b01-muted);
  border-radius: 8px;
  background: transparent;
  color: var(--b01-text);
  font-size: 0.875rem;
}
@media (min-width: 801px) {
  .b01-filter-toggle { display: none !important; }
}
@media (max-width: 800px) {
  .b01-filter-toggle { display: inline-flex; align-items: center; }
  .b01-filters:not(.is-open) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .b01-filters:not(.is-open) .b01-filter-toggle { margin-bottom: 0; }
  .b01-filters:not(.is-open) .b01-filter b { display: none; }
  .b01-filters:not(.is-open) .b01-filter { display: contents; }
  .b01-filters:not(.is-open) .b01-chips { display: contents; }
  .b01-filters:not(.is-open) .b01-chip:not(.is-on) { display: none; }
  .b01-filters.is-open .b01-filter {
    flex-wrap: nowrap;
    align-items: center;
  }
  .b01-filters.is-open .b01-filter b { flex: 0 0 3em; }
  .b01-filters.is-open .b01-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    min-width: 0;
  }
  .b01-filters.is-open .b01-chip { flex: 0 0 auto; }
  .b01-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 12px;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 8px;
  }
  .b01-card {
    flex: none;
    width: auto;
    max-width: none;
  }
}
/* theme_b x1：PC 卡加宽仍横滑；窄屏仍两列，只加 gap。d5/d3 芯片，引擎胶囊。 */
@media (min-width: 801px) {
  .b01-card { flex: 0 0 220px; max-width: 220px; }
  .b01-engines button {
    border: 1px solid var(--b01-header-text);
    border-radius: 999px;
    padding: 4px 10px;
  }
  .b01-engines .is-on {
    background: var(--b01-header-text);
    color: var(--b01-header-bg);
    border-color: var(--b01-header-text);
  }
}
@media (max-width: 800px) {
  .b01-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 16px;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .b01-card { flex: none; width: auto; max-width: none; }
  .b01-engines button {
    border: 1px solid var(--b01-header-text);
    border-radius: 999px;
    padding: 4px 10px;
  }
  .b01-engines .is-on {
    background: var(--b01-header-text);
    color: var(--b01-header-bg);
    border-color: var(--b01-header-text);
  }
}
.b01-d5.is-chips,
.b01-d3.is-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: visible;
}
.b01-d5.is-chips a,
.b01-d3.is-chips a {
  white-space: nowrap;
  border: 1px solid var(--b01-line);
  border-radius: 999px;
  padding: 4px 10px;
}
.b01-d3.is-chips::before {
  content: "友链";
  font-weight: 700;
  margin-right: 8px;
}
