.fz-list-page {
  --fz-page-bg:
    linear-gradient(45deg, rgba(255, 255, 255, 0.018) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.018) 50%, rgba(255, 255, 255, 0.018) 75%, transparent 75%, transparent) 0 0 / 18px 18px,
    linear-gradient(180deg, #2d2d2f 0%, #252528 100%);
  background: var(--fz-page-bg);
  color: #14202a;
  overflow-x: hidden;
}

#top {
  display: none;
}

html,
body.fz-list-page {
  background: var(--fz-page-bg);
}

body.fz-list-page:not(.takefu-shell-ready)::before {
  display: none;
  height: 0;
  border: 0;
  content: none;
}

body.fz-list-page.takefu-shell-ready {
  background: var(--fz-page-bg) !important;
  padding-top: 0;
}

body.fz-list-page .takefu-shell-header {
  margin: 0;
}

.fz-list-page .fz-main {
  padding: 18px 0 72px;
  background: var(--fz-page-bg);
}

.fz-list-page.takefu-shell-ready .fz-main {
  margin-top: 0;
}

.fz-list-page .fz-wrap {
  width: min(1292px, calc(100% - 32px));
  margin: 0 auto;
}

.fz-breadcrumb,
.fz-hero,
.fz-list {
  border: 1px solid #dfe7e3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 28px rgba(24, 37, 44, 0.05);
}

.fz-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 16px;
  padding: 0 20px;
  color: #52626e;
  font-size: 14px;
}

.fz-breadcrumb a {
  color: #17252f;
}

.fz-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
  padding: 26px 28px;
}

.fz-kicker {
  display: block;
  margin-bottom: 10px;
  color: #8a6a35;
  font-size: 13px;
  font-weight: 800;
}

.fz-hero h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
}

.fz-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #52626e;
  font-size: 15px;
  line-height: 1.8;
}

.fz-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.fz-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid #cfd7dd;
  border-radius: 999px;
  background: #f7f8f5;
  color: #8a6a35;
  font-size: 13px;
  font-weight: 800;
}

.fz-list {
  padding: 24px;
}

.fz-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.fz-list-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.fz-list-head p {
  margin: 7px 0 0;
  color: #63727d;
  font-size: 14px;
  line-height: 1.7;
}

.fz-count {
  flex: 0 0 auto;
  color: #63727d;
  font-size: 13px;
  font-weight: 800;
}

.fz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.fz-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e8e5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(22, 35, 42, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.fz-card-link {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 14px 42px 14px 14px;
  color: inherit;
}

.fz-card:hover,
.fz-card:focus-within {
  border-color: #f0a27b;
  box-shadow: 0 12px 24px rgba(22, 35, 42, 0.08);
}

.fz-card-logo,
.fz-card-logo img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
}

.fz-card-logo {
  display: block;
  overflow: hidden;
  background: #e9efec;
}

.fz-card-logo img {
  display: block;
  object-fit: cover;
}

.fz-card-logo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e2dc;
  background: #f4f8f5;
  color: #66747c;
  font-size: 23px;
}

.fz-card-logo--empty i {
  line-height: 1;
}

.fz-card-body {
  display: block;
  min-width: 0;
}

.fz-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 5px;
  color: #17202a;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fz-card-body > span {
  display: -webkit-box;
  overflow: hidden;
  color: #62717d;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fz-card-open {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #5f6d78;
  font-size: 21px;
  line-height: 1;
  text-align: center;
  transition: color 0.16s ease;
}

.fz-card-link:hover .fz-card-open,
.fz-card-link:focus-visible .fz-card-open {
  color: #8a6a35;
}

.fz-card-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 14px 14px 84px;
  margin-top: -4px;
}

.fz-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #dce6e0;
  border-radius: 999px;
  background: #f8fbf9;
  color: #1f4d3a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.fz-card-action:hover,
.fz-card-action:focus-visible {
  border-color: #1f8f61;
  background: #1f8f61;
  color: #fff;
}

.fz-card-action--read {
  color: #5f6d78;
}

.fz-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
}

.fz-article-card {
  min-width: 0;
}

.fz-article-link {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 14px;
  min-height: 146px;
  padding: 14px;
  border: 1px solid #e1e8e5;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 18px rgba(22, 35, 42, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.fz-article-link:hover,
.fz-article-link:focus-visible {
  border-color: #f0a27b;
  box-shadow: 0 12px 24px rgba(22, 35, 42, 0.08);
}

.fz-article-cover {
  display: block;
  overflow: hidden;
  width: 124px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #e9efec;
}

.fz-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fz-article-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.fz-article-content h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 8px;
  color: #17202a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fz-article-content > span {
  display: -webkit-box;
  overflow: hidden;
  color: #62717d;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fz-article-content em {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  margin-top: auto;
  color: #8a6a35;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.fz-article-content em::after {
  margin-left: 6px;
  font-family: FontAwesome;
  font-size: 12px;
  content: "\f105";
}

/* 文章列表分页：与任务攻略列表共用同一套胶囊分页组件（结构一致，仅配色随页面主题） */
.pglist.fz-pagelist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 28px 0 4px;
  padding: 0;
  text-align: center;
  clear: both;
  color: #6b6b6b;
  font-size: 13px;
}

.pglist.fz-pagelist[hidden] {
  display: none;
}

.pglist.fz-pagelist > strong {
  display: none;
}

.pglist.fz-pagelist .task-list-pager__summary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 11px;
  border: 1px solid #e8e8ed;
  border-radius: 7px;
  background: #fff;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.2;
}

.pglist.fz-pagelist .task-list-pager__pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pglist.fz-pagelist .task-list-pager__pages li {
  min-height: 0;
  margin: 0;
  padding: 0;
  line-height: normal;
}

.pglist.fz-pagelist .task-list-pager__pages a,
.pglist.fz-pagelist .task-list-pager__pages span,
.pglist.fz-pagelist .task-list-pager__pages button {
  box-sizing: border-box;
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #e8e8ed;
  border-radius: 10px;
  background: #fff;
  color: #222226;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

/* shell 层用 `a { color: var(--tf-plum) !important }` 把所有链接刷成品牌红；
   分页按钮属于控件而非正文链接，这里显式恢复中性色/蓝色，保持与任务攻略列表一致。 */
.pglist.fz-pagelist .task-list-pager__pages a {
  color: #222226 !important;
}

.pglist.fz-pagelist .task-list-pager__pages a:hover,
.pglist.fz-pagelist .task-list-pager__pages a:focus-visible {
  border-color: #3b82f6;
  background: #fff;
  color: #3b82f6 !important;
  outline: 0;
}

.pglist.fz-pagelist .task-list-pager__pages .hover,
.pglist.fz-pagelist .task-list-pager__pages [aria-current="page"] {
  border-color: #3b82f6;
  background: #3b82f6;
  color: #fff;
  font-weight: 900;
  box-shadow: none;
}

.pglist.fz-pagelist .task-list-pager__pages [aria-disabled="true"] {
  border-color: #e8e8ed;
  background: #f5f6f7;
  color: #b0b3bb;
}

.pglist.fz-pagelist .task-list-pager__ellipsis {
  border-color: transparent;
  background: transparent;
  color: #b0b3bb;
}

/* 客户端分页时隐藏非当前页卡片（卡片自身 display 会覆盖 [hidden]，这里显式补上） */
.fz-article-grid > [hidden],
.fz-grid > [hidden],
.map-grid > [hidden] {
  display: none;
}

@media (max-width: 760px) {
  .pglist.fz-pagelist {
    gap: 8px;
    margin-top: 18px;
  }

  .pglist.fz-pagelist .task-list-pager__pages a,
  .pglist.fz-pagelist .task-list-pager__pages span,
  .pglist.fz-pagelist .task-list-pager__pages button {
    min-width: 40px;
    min-height: 44px;
    font-size: 13px;
    padding: 0 8px;
  }
}

@media (max-width: 1080px) {
  .fz-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fz-article-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (max-width: 760px) {
  body.fz-list-page:not(.takefu-shell-ready)::before,
  body.fz-list-page::before {
    display: none;
    height: 0;
    border: 0;
    content: none;
  }

  .fz-list-page.takefu-shell-ready .fz-main {
    margin-top: 0;
  }

  .fz-list-page .fz-main {
    padding-top: 4px;
  }

  .fz-list-page .fz-wrap {
    width: calc(100% - 14px);
  }

  .fz-breadcrumb {
    min-height: 28px;
    margin-bottom: 4px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
  }

  .fz-hero {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 7px;
    padding: 10px 12px;
  }

  .fz-kicker {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .fz-hero h1 {
    font-size: 25px;
  }

  .fz-hero p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .fz-hero-tags {
    justify-content: flex-start;
    gap: 6px;
  }

  .fz-hero-tags span {
    min-height: 24px;
    padding: 0 8px;
    font-size: 12px;
  }

  .fz-list {
    padding: 10px;
  }

  .fz-list-head {
    display: block;
    margin-bottom: 7px;
  }

  .fz-list-head h2 {
    font-size: 20px;
  }

  .fz-list-head p {
    display: none;
  }

  .fz-count {
    display: block;
    margin-top: 5px;
    font-size: 12px;
  }

  /* 2026-09-26 移动端优化：桌面 4 列在手机上塌成 1 列会把页面拉长近 2 倍，
     手机保持 2 列并收紧间距。 */
  .fz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* 2026-09-26 移动端优化：文章卡片列表桌面 3 列、手机原先塌成 1 列，
     手机保持 2 列（列表块 2922px → 1975px）。 */
  .fz-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .fz-article-link {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 108px;
    padding: 10px;
  }

  .fz-article-cover {
    width: 88px;
  }

  .fz-article-content h3 {
    font-size: 16px;
    line-height: 1.28;
    -webkit-line-clamp: 2;
  }

  .fz-article-content > span {
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  .fz-card-link {
    min-height: 74px;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 10px 36px 10px 10px;
  }

  .fz-card-logo,
  .fz-card-logo img {
    width: 52px;
    height: 52px;
  }

  .fz-card h3 {
    font-size: 16px;
    margin-bottom: 3px;
  }

  .fz-card-body > span {
    -webkit-line-clamp: 1;
  }

  body.fz-list-page .footer-nav-buttons {
    right: 8px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    gap: 0;
  }

  body.fz-list-page .footer-nav-buttons #backbottom,
  body.fz-list-page .footer-nav-buttons .footer-bilibili {
    display: none !important;
  }

  body.fz-list-page .footer-nav-buttons #backtop {
    width: 38px;
    height: 38px;
    border-radius: 19px;
    font-size: 18px;
    line-height: 38px;
  }
}

/* 2026-06-30 premium list palette */
.fz-breadcrumb,
.fz-hero,
.fz-list,
.fz-card {
  border-color: #cfd7dd;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,248,248,0.92));
}

.fz-kicker,
.fz-card-link:hover .fz-card-open,
.fz-card-link:focus-visible .fz-card-open {
  color: #8a6a35;
}

.fz-hero-tags span,
.fz-card-action {
  border-color: #cfd7dd;
  background: #f5f7f7;
  color: #304854;
}

.fz-card:hover,
.fz-card:focus-within {
  border-color: rgba(123, 189, 205, 0.58);
  box-shadow: 0 14px 30px rgba(23, 33, 42, 0.11);
}

.fz-card-action:hover,
.fz-card-action:focus-visible {
  border-color: rgba(201, 155, 79, 0.56);
  background: linear-gradient(180deg, #e7d4a5, #c99b4f);
  color: #141518;
}

/* 2026-06-30 premium dark panels */
.fz-breadcrumb,
.fz-hero,
.fz-list,
.fz-card {
  border-color: rgba(155, 166, 178, 0.2);
  background: linear-gradient(180deg, rgba(38, 44, 51, 0.98), rgba(24, 28, 33, 0.98));
  color: #e8edf1;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.fz-hero h1,
.fz-list-head h2,
.fz-card h3 {
  color: #f3f4ef;
}

.fz-breadcrumb,
.fz-breadcrumb a,
.fz-hero p,
.fz-list-head p,
.fz-count,
.fz-card-body > span {
  color: #aeb8bf;
}

.fz-hero-tags span,
.fz-card-action,
.fz-card-logo--empty {
  border-color: rgba(155, 166, 178, 0.2);
  background: rgba(48, 56, 66, 0.9);
  color: #e8edf1;
}

.fz-card:hover,
.fz-card:focus-within {
  border-color: rgba(123, 189, 205, 0.46);
  background: linear-gradient(180deg, rgba(43, 51, 60, 0.98), rgba(27, 32, 38, 0.98));
}

/* 2026-06-30 premium tactical list foreground */
body.fz-list-page {
  --fz-panel: rgba(18, 24, 30, 0.98);
  --fz-panel-2: rgba(31, 41, 50, 0.96);
  --fz-line: rgba(183, 197, 210, 0.16);
  --fz-line-strong: rgba(214, 224, 232, 0.26);
  --fz-text: #f4f7f8;
  --fz-muted: #a9b7c2;
  --fz-cold: #8bb7c6;
  --fz-gold: #c8aa6e;
}

.fz-breadcrumb,
.fz-hero,
.fz-list,
.fz-card {
  border-color: var(--fz-line) !important;
  background: linear-gradient(180deg, rgba(31, 41, 50, 0.94), rgba(18, 24, 30, 0.98)) !important;
  color: #e9eff3 !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.fz-hero h1,
.fz-list-head h2,
.fz-card h3 {
  color: var(--fz-text) !important;
}

.fz-breadcrumb,
.fz-breadcrumb a,
.fz-hero p,
.fz-list-head p,
.fz-count,
.fz-card-body > span {
  color: var(--fz-muted) !important;
}

.fz-kicker,
.fz-card-link:hover .fz-card-open,
.fz-card-link:focus-visible .fz-card-open {
  color: var(--fz-gold) !important;
}

.fz-hero-tags span,
.fz-card-action,
.fz-card-logo--empty {
  border-color: rgba(183, 197, 210, 0.18) !important;
  background: rgba(31, 41, 50, 0.88) !important;
  color: #e9eff3 !important;
}

.fz-card:hover,
.fz-card:focus-within {
  border-color: rgba(139, 183, 198, 0.46) !important;
  background: linear-gradient(180deg, rgba(36, 48, 58, 0.98), rgba(20, 27, 34, 0.99)) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(139, 183, 198, 0.08) !important;
}

.fz-card-action:hover,
.fz-card-action:focus-visible {
  border-color: rgba(218, 196, 138, 0.42) !important;
  background: linear-gradient(180deg, #dac48a, #b99656) !important;
  color: #101318 !important;
}

/* 2026-06-30 align list/cards with /html/sy/ palette */
body.fz-list-page {
  --fz-panel: rgba(255, 255, 255, 0.9);
  --fz-panel-2: #f7faf7;
  --fz-line: #dfe8e2;
  --fz-line-strong: #cfd7dd;
  --fz-text: #17242c;
  --fz-muted: #64737d;
  --fz-cold: #53636c;
  --fz-gold: #8a6a35;
  --fz-shadow: 0 12px 28px rgba(24, 37, 44, 0.06);
  color: #33434d;
}

.fz-breadcrumb,
.fz-hero,
.fz-list,
.fz-card {
  border-color: var(--fz-line) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #33434d !important;
  box-shadow: var(--fz-shadow) !important;
}

.fz-article-link {
  border-color: var(--fz-line) !important;
  background: #fff !important;
  color: #33434d !important;
  box-shadow: 0 8px 18px rgba(22, 35, 42, 0.04) !important;
}

.fz-hero h1,
.fz-list-head h2,
.fz-card h3,
.fz-article-content h3 {
  color: var(--fz-text) !important;
}

.fz-breadcrumb,
.fz-hero p,
.fz-list-head p,
.fz-count,
.fz-card-body > span,
.fz-article-content > span {
  color: var(--fz-muted) !important;
}

.fz-breadcrumb a {
  color: var(--fz-text) !important;
}

.fz-kicker,
.fz-article-content em,
.fz-card-link:hover .fz-card-open,
.fz-card-link:focus-visible .fz-card-open {
  color: var(--fz-gold) !important;
}

.fz-hero-tags span,
.fz-card-action,
.fz-card-logo--empty {
  border-color: var(--fz-line-strong) !important;
  background: #f7f8f5 !important;
  color: var(--fz-gold) !important;
}

.fz-card-logo,
.fz-article-cover {
  background: #e5ece8 !important;
}

.fz-card:hover,
.fz-card:focus-within,
.fz-article-link:hover,
.fz-article-link:focus-visible {
  border-color: #efb18f !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 16px 32px rgba(24, 37, 44, 0.1) !important;
}

.fz-card-action:hover,
.fz-card-action:focus-visible {
  border-color: var(--fz-gold) !important;
  background: var(--fz-gold) !important;
  color: #fff !important;
}

/* 分页样式见文件上方 .pglist.fz-pagelist（与任务攻略列表统一，已移除旧的 !important 覆盖） */
