:root {
    --paper-bg: #fff0de;
    --paper: #fff8ef;
    --paper-soft: #ffe1bf;
    --ink: #24150f;
    --muted: #7a5847;
    --line: #3a2017;
    --hairline: rgba(125, 70, 43, .24);
    --red: #ef4e23;
    --red-dark: #9f2418;
    --blue-gray: #6f564e;
    --green-ink: #8d3a22;
    --column-gap: 18px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
    background: radial-gradient(circle at 14px 18px, rgba(239, 78, 35, .08) 0 1px, transparent 1.5px) 0 0 / 36px 36px,
    linear-gradient(135deg, rgba(255, 138, 48, .15), transparent 28%, transparent 72%, rgba(159, 36, 24, .08)),
    linear-gradient(90deg, rgba(239, 78, 35, .06), transparent 24%, transparent 76%, rgba(58, 32, 23, .04)),
  var(--paper-bg);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: 14px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
    color: var(--red);
}

img {
  display: block;
  max-width: 100%;
}

svg {
    width: 1em;
    height: 1em;
    stroke-width: 1.9;
}

.container-xl {
    max-width: 1300px;
}

.top-strip {
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    background: #f7dec5;
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
}

.utility-links a {
    position: relative;
    padding-left: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.utility-links a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 12px;
    background: var(--hairline);
    transform: translateY(-50%);
}

.brand-zone {
    padding: 24px 0 20px;
    background: var(--paper);
}

.brand {
  min-width: 0;
}

.brand-mark {
    width: min(485px, 52vw);
    height: auto;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: transparent;
}

.brand-logo {
    width: 100%;
    height: 100px;
    max-width: 485px;
    object-fit: contain;
    background: transparent;
}

.brand-copy strong {
  display: block;
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    font-weight: 900;
    line-height: .95;
  letter-spacing: 0;
}

.brand-copy small {
  display: block;
    margin-top: 8px;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
  font-weight: 700;
    letter-spacing: 5px;
}

.brand-tags {
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.brand-tags a,
.archive-stamp {
  display: inline-flex;
  align-items: center;
    min-height: 32px;
    padding: 5px 11px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
    color: var(--ink);
  font-weight: 700;
}

.archive-stamp {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.main-nav {
    border-top: 3px double var(--line);
    border-bottom: 3px double var(--line);
    background: var(--paper);
}

.main-nav .nav-link {
    min-height: 42px;
  display: grid;
  place-items: center;
    border-right: 1px solid var(--hairline);
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: #fff;
    background: var(--red);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
    gap: 8px;
    margin: 8px 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper-soft);
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-weight: 800;
}

.page {
    padding: 18px 0 32px;
}

.archive-panel,
.shelf-panel,
.friend-links {
    border: 1px solid var(--line);
    background: rgba(255, 248, 239, .95);
}

.hot-shelf {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: stretch;
    padding: 14px;
}

.shelf-label {
    display: grid;
    place-items: center;
    min-height: 126px;
    padding: 12px;
    border-right: 1px solid var(--line);
    color: var(--red);
    font-size: 24px;
  font-weight: 900;
    letter-spacing: 0;
  text-align: center;
  writing-mode: vertical-rl;
}

.hot-content {
    min-width: 0;
    padding-left: 16px;
}

.hot-icon-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--hairline);
}

.hot-icon-grid a {
  min-width: 0;
    padding: 7px 4px 0;
    color: var(--ink);
  text-align: center;
}

.hot-icon-grid img {
    width: 52px;
    height: 52px;
    margin: 0 auto 7px;
    border: 1px solid var(--line);
    border-radius: 50%;
  object-fit: cover;
    filter: saturate(.92) contrast(.98);
}

.hot-icon-grid span,
.category-rail span {
  display: block;
  min-width: 0;
  overflow: hidden;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-ledger {
    padding-top: 10px;
}

.tag-ledger p {
  display: flex;
    flex-wrap: wrap;
  align-items: center;
    gap: 7px 12px;
    margin: 8px 0;
}

.tag-ledger b {
  display: inline-flex;
    min-width: 44px;
  justify-content: center;
    padding: 2px 8px;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
}

.tag-ledger a {
  min-width: 0;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.first-grid,
.category-rail,
.module-block,
.topic-duo,
.friend-links {
    margin-top: 18px;
}

.archive-panel {
    padding: 16px;
}

.focus-panel {
    padding: 10px;
}

.focus-swiper,
.focus-slide {
    min-height: 418px;
}

.focus-swiper {
  overflow: hidden;
    border: 1px solid var(--line);
    background: var(--ink);
}

.focus-slide {
  position: relative;
  overflow: hidden;
}

.focus-slide img {
  width: 100%;
  height: 100%;
    min-height: 418px;
  object-fit: cover;
    filter: grayscale(.18) contrast(1.05);
}

.focus-caption {
  position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: rgba(255, 248, 239, .95);
    color: var(--ink);
}

.label-code {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 3px 7px;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.focus-caption h1,
.focus-caption h2 {
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 900;
    line-height: 1.14;
    overflow-wrap: anywhere;
}

.focus-caption p {
    display: -webkit-box;
  margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.swiper-pagination-bullet {
    width: 18px;
    height: 5px;
    border: 1px solid var(--line);
  border-radius: 0;
    background: var(--paper);
  opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--red);
}

.module-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
    padding-bottom: 9px;
    border-bottom: 3px double var(--line);
}

.module-head h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 900;
    line-height: 1.05;
}

.module-head > a {
    flex: 0 0 auto;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.lead-news {
  display: block;
    margin-bottom: 11px;
    padding: 14px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.lead-news span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 2px 7px;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.lead-news strong,
.lead-news small {
    display: block;
    min-width: 0;
}

.lead-news strong {
    font-size: 20px;
    line-height: 1.24;
}

.lead-news small {
    margin-top: 8px;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.news-list,
.compact-rank,
.rank-list,
.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-list li {
  display: grid;
    grid-template-columns: minmax(4.4em, max-content) minmax(0, 1fr) 48px;
    gap: 9px;
  align-items: center;
    min-height: 32px;
    border-bottom: 1px dotted var(--hairline);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.news-list em {
    display: inline-flex;
    justify-content: center;
    padding: 1px 4px;
    border: 1px solid rgba(239, 78, 35, .32);
    color: var(--red);
    font-size: 12px;
    font-style: normal;
    line-height: 1.2;
    white-space: nowrap;
}

.news-list a,
.compact-rank a,
.rank-list a,
.rank-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

time {
    color: var(--red-dark);
    font-size: 12px;
    text-align: right;
}

.archive-tabs {
    gap: 7px;
}

.archive-tabs .nav-link {
    border: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
  font-weight: 800;
}

.archive-tabs .nav-link.active {
    background: var(--ink);
    color: #fff;
}

.rank-board-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    max-width: 72%;
}

.module-head .rank-board-tabs .nav-link {
    min-height: 32px;
    padding: 5px 9px;
    line-height: 1.2;
}

.release-tabs-content {
    padding-top: 11px;
}

.compact-rank {
    counter-reset: compact;
}

.compact-rank li {
    position: relative;
  display: grid;
    grid-template-columns: 40px minmax(0, 1fr) max-content;
    gap: 9px;
  align-items: center;
    min-height: 54px;
    padding: 8px 8px 8px 30px;
    border-bottom: 1px dotted var(--hairline);
    counter-increment: compact;
}

.compact-rank li::before {
    content: counter(compact);
    position: absolute;
    left: 0;
    top: 15px;
    width: 20px;
    height: 20px;
  display: grid;
  place-items: center;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.compact-rank img {
    width: 40px;
    height: 40px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
  object-fit: cover;
}

.compact-rank span {
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
}

.category-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    background: var(--paper);
}

.category-rail a {
    min-width: 0;
    min-height: 102px;
    padding: 14px;
    border-right: 1px solid var(--hairline);
    color: var(--ink);
}

.category-rail a:last-child {
    border-right: 0;
}

.category-rail svg {
    margin-bottom: 8px;
    color: var(--red);
}

.category-rail b {
  display: block;
    margin-bottom: 4px;
    font-size: 17px;
  font-weight: 900;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--hairline);
    border-left: 1px solid var(--hairline);
}

.resource-card {
  display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 54px;
    gap: 12px;
  align-items: center;
  min-width: 0;
    min-height: 124px;
    padding: 14px;
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: #fff8ef;
}

.resource-card img {
    width: 58px;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 50%;
  object-fit: cover;
    filter: saturate(.9);
}

.resource-card div {
  min-width: 0;
}

.resource-card h3 {
    margin: 0 0 5px;
  overflow: hidden;
    font-size: 18px;
  font-weight: 900;
    line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-card p {
  display: -webkit-box;
    margin: 0 0 7px;
  overflow: hidden;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resource-card span {
    display: block;
    overflow: hidden;
    color: var(--blue-gray);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resource-card > a {
    display: grid;
    place-items: center;
    min-height: 32px;
    padding: 0 8px;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
    font-weight: 800;
  text-align: center;
}

.resource-card > a:hover,
.resource-card > a:focus {
    background: var(--red);
    color: #fff;
}

.news-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 16px;
}

.cover-card {
    position: relative;
    display: block;
    min-height: 224px;
    overflow: hidden;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--paper-soft);
}

.cover-card img {
  width: 100%;
    height: 100%;
    min-height: 202px;
  object-fit: cover;
    filter: grayscale(.2) contrast(1.05);
}

.cover-card span {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: rgba(255, 248, 239, .95);
    color: var(--ink);
  font-weight: 900;
}

.two-column {
  display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.rank-board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rank-board {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.rank-board h3 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    color: var(--red);
    font-size: 20px;
  font-weight: 900;
}

.rank-list {
    counter-reset: rank;
}

.rank-list li {
    position: relative;
  display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  align-items: center;
    min-height: 66px;
    padding: 9px 12px 9px 32px;
    border-bottom: 1px dotted var(--hairline);
    counter-increment: rank;
}

.rank-list li::before {
    content: counter(rank);
    position: absolute;
    left: 0;
    top: 21px;
    width: 22px;
    height: 22px;
  display: grid;
  place-items: center;
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.rank-list li:nth-child(-n + 3)::before {
    border-color: var(--red);
    color: var(--red);
}

.rank-list img {
    width: 44px;
    height: 44px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    object-fit: cover;
}

.rank-list div {
    min-width: 0;
}

.rank-list a,
.rank-list span {
    display: block;
}

.rank-list a {
  font-weight: 900;
}

.rank-list span {
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
}

.topic-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.topic-duo .module-block {
    margin-top: 0;
}

.topic-grid {
  display: grid;
    gap: 10px;
}

.topic-card {
  display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 13px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.topic-card img {
    width: 100%;
    height: 98px;
  object-fit: cover;
    filter: grayscale(.2) contrast(1.05);
}

.topic-card div {
  min-width: 0;
}

.topic-card h3 {
    display: -webkit-box;
    margin: 0 0 6px;
    overflow: hidden;
    font-size: 18px;
  font-weight: 900;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-card p {
  display: -webkit-box;
    margin: 0 0 7px;
  overflow: hidden;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-card span {
    display: inline-flex;
    padding: 2px 7px;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 15px;
    padding: 14px 16px;
}

.friend-links strong {
    color: var(--red);
    font-size: 17px;
}

.friend-links a {
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.site-footer {
    padding: 28px 0;
    border-top: 3px double var(--line);
    background: var(--paper);
    color: var(--ink);
}

.footer-brand {
    margin-bottom: 8px;
    color: var(--red);
    font-size: 30px;
    font-weight: 900;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
}

.site-footer p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.site-footer li + li {
    margin-top: 6px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 16px;
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
}

.inner-page {
    min-height: 62vh;
}

.breadcrumb-line {
  display: flex;
  flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
}

.breadcrumb-line a::after,
.breadcrumb-line span::after {
  content: "/";
    margin-left: 8px;
    color: rgba(125, 70, 43, .35);
}

.breadcrumb-line span:last-child::after,
.breadcrumb-line a:last-child::after {
    content: "";
  margin: 0;
}

.page-title-block,
.category-panel,
.list-board,
.article-list-board,
.rank-main-board,
.simple-page {
    padding: 18px;
}

.page-title-block {
    margin-bottom: 16px;
    border-top: 3px double var(--line);
}

.page-title-block h1,
.article-head h1,
.collection-hero h1,
.simple-page h1,
.module-head h1 {
    margin: 8px 0 8px;
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    font-weight: 900;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.page-title-block p,
.collection-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.module-head span,
.module-head button {
    border: 1px solid var(--hairline);
    background: #fff8ef;
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.module-head span {
    padding: 5px 9px;
}

.module-head button {
    padding: 5px 9px;
}

.line-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 13px;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-weight: 800;
    white-space: nowrap;
}

.line-button:hover,
.line-button:focus {
    background: var(--red);
    color: #fff;
}

.category-panel {
    margin-bottom: 16px;
}

.category-row {
  display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  align-items: start;
    padding: 12px 0;
    border-bottom: 1px dotted var(--hairline);
}

.category-row:first-child {
    padding-top: 0;
}

.category-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.category-row strong {
    color: var(--red);
    font-size: 16px;
}

.category-row div,
.filter-bar {
    min-width: 0;
  display: flex;
  flex-wrap: wrap;
    gap: 8px;
}

.category-row a,
.filter-bar a,
.about-links a {
  display: inline-flex;
  align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.category-row a.active,
.filter-bar a.active,
.about-links a.active {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.list-feed,
.article-feed,
.collection-list,
.sitemap-stack {
  display: grid;
    gap: 12px;
}

.list-item,
.article-row,
.included-item {
    min-width: 0;
  display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
  align-items: center;
    padding: 14px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.list-item img,
.included-item img {
    width: 72px;
    height: 72px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
  object-fit: cover;
}

.list-item div,
.article-row div,
.included-item div,
.collection-body {
    min-width: 0;
}

.list-item h2,
.article-row h2,
.included-item h2 {
    margin: 0 0 6px;
    font-size: 20px;
  font-weight: 900;
    line-height: 1.25;
}

.list-item p,
.article-row p,
.included-item p {
    margin: 0 0 6px;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.list-item span,
.article-row span,
.included-item span,
.collection-meta,
.article-head .label-code {
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.pager a {
  min-width: 38px;
    min-height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 5px 10px;
    border: 1px solid var(--line);
    background: #fff8ef;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-weight: 800;
}

.pager a.active,
.pager a:hover,
.pager a:focus {
    background: var(--red);
    color: #fff;
}

.detail-grid,
.detail-content-grid,
.rank-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
}

.detail-grid > *,
.detail-content-grid > *,
.rank-page-grid > *,
.detail-article-stack {
    min-width: 0;
}

.detail-article-stack {
  display: grid;
    gap: 14px;
}

.detail-article-stack > *,
.detail-content-grid .module-block,
.detail-content-grid .swiper,
.detail-content-grid .swiper-wrapper,
.detail-content-grid .swiper-slide {
    min-width: 0;
    max-width: 100%;
}

.detail-main,
.download-card,
.article-detail,
.side-card,
.collection-hero,
.included-list {
    padding: 16px;
}

.detail-identity {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 15px;
  align-items: center;
    margin-bottom: 14px;
}

.detail-identity img {
    width: 92px;
    height: 92px;
    border: 1px solid var(--line);
    border-radius: 50%;
  object-fit: cover;
}

.detail-identity h1 {
    margin: 6px 0;
    font-size: clamp(1.5rem, 2.7vw, 2.3rem);
    font-weight: 900;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.meta-tags,
.collection-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.meta-tags span,
.collection-meta span {
    padding: 3px 7px;
    border: 1px solid var(--hairline);
    background: var(--paper-soft);
}

.info-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--hairline);
}

.info-matrix div {
  min-width: 0;
    padding: 10px;
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.info-matrix dt {
    margin-bottom: 3px;
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
  font-weight: 800;
}

.info-matrix dd {
    margin: 0;
    font-weight: 800;
}

.download-card .module-head {
    margin-bottom: 12px;
}

.download-state-grid {
  display: grid;
    gap: 10px;
}

.download-state {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 4px 9px;
  align-items: center;
    padding: 12px;
    border: 1px solid var(--red);
    background: #fff8ef;
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 900;
}

.download-state small {
    grid-column: 2;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.download-state.is-disabled {
    border-color: var(--hairline);
    color: var(--muted);
    background: var(--paper-soft);
}

.screenshot-swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  overflow: hidden;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.screenshot-slide img {
  width: 100%;
    height: 280px;
  object-fit: cover;
}

.screenshot-dots {
    position: static;
    padding: 8px 0;
}

.rich-text {
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 15px;
}

.rich-text p {
    margin: 0 0 12px;
}

.rich-text p:last-child {
    margin-bottom: 0;
}

.rich-text img {
    margin: 12px auto;
}

.detail-page .intro-section .detail-content.rich h3 {
    position: relative;
    margin: 20px 0 12px;
    padding-left: 14px;
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.35;
}

.detail-page .intro-section .detail-content.rich h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    width: 4px;
    height: 1.1em;
    border: 1px solid var(--red);
    background: var(--red);
}

.detail-page .intro-section .detail-content.rich h3::after {
    content: "";
    position: absolute;
    left: 7px;
    top: calc(.18em + 12px);
    width: 4px;
    height: 4px;
    border: 1px solid var(--red);
    background: var(--paper);
}

.side-stack {
    display: grid;
    gap: 14px;
}

.side-card h2 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    color: var(--red);
    font-size: 20px;
  font-weight: 900;
}

.side-news {
    display: grid;
    gap: 9px;
}

.side-news li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 8px;
    padding-bottom: 9px;
    border-bottom: 1px dotted var(--hairline);
}

.side-news a {
    min-width: 0;
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-news time {
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    text-align: right;
}

.apk-info-grid,
.topic-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--hairline);
}

.apk-info-grid div,
.topic-fact-grid div {
    min-width: 0;
    padding: 10px;
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: #fff8ef;
}

.apk-info-grid dt,
.topic-fact-grid dt {
    margin-bottom: 4px;
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.apk-info-grid dd,
.topic-fact-grid dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-weight: 800;
}

.aux-grid,
.topic-extra-grid {
  display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.topic-extra-grid {
    margin-top: 16px;
}

.aux-card,
.topic-info-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.topic-info-card .module-head {
    margin-bottom: 12px;
}

.aux-card h3 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    color: var(--red);
    font-size: 20px;
    font-weight: 900;
}

.mini-resource-grid {
  display: grid;
    gap: 9px;
}

.mini-resource-grid.is-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-resource {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--hairline);
    background: var(--paper);
}

.mini-resource img {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
  object-fit: cover;
}

.mini-resource span,
.mini-resource small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-resource span {
    font-weight: 900;
}

.mini-resource small {
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
}

.image-link-list {
  display: grid;
    gap: 9px;
}

.image-link-list.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-link-list a,
.topic-mini-card {
    min-width: 0;
  display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  align-items: center;
    padding: 10px;
    border: 1px solid var(--hairline);
    background: var(--paper);
}

.image-link-list.is-grid a {
    grid-template-columns: 1fr;
}

.image-link-list img,
.topic-mini-card img {
    width: 100%;
  height: 58px;
    border: 1px solid var(--hairline);
  object-fit: cover;
}

.image-link-list.is-grid img {
    height: 92px;
}

.image-link-list span,
.topic-mini-card span,
.topic-mini-card small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-link-list span,
.topic-mini-card span {
    display: -webkit-box;
    font-weight: 900;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-mini-card small {
    display: block;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    white-space: nowrap;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.related-news-grid a {
    min-width: 0;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.related-news-grid img {
    width: 100%;
    height: 112px;
    border: 1px solid var(--hairline);
    object-fit: cover;
}

.related-news-grid span,
.related-news-grid small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-news-grid span {
    display: -webkit-box;
  font-weight: 900;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-news-grid small {
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    white-space: nowrap;
}

.topic-mini-list {
    display: grid;
    gap: 9px;
}

.permission-modal {
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
}

.permission-list {
    display: grid;
    gap: 10px;
}

.permission-list p {
  margin: 0;
    padding: 10px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.permission-list strong,
.permission-list span {
    display: block;
}

.article-row {
    grid-template-columns: 168px minmax(0, 1fr);
}

.article-row img {
    width: 168px;
    height: 106px;
    border: 1px solid var(--hairline);
    object-fit: cover;
}

.strategy-articles-section {
    display: grid;
    gap: 12px;
}

.strategy-article-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.article-thumbnail,
.article-content-info {
    min-width: 0;
}

.article-thumbnail img {
    width: 168px;
    height: 106px;
    border: 1px solid var(--hairline);
    object-fit: cover;
}

.article-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
}

.article-excerpt {
    margin: 0;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.article-head {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 3px double var(--line);
}

.article-rich {
    max-width: 820px;
}

.rank-main-board {
    padding: 16px;
}

.rank-table {
    display: grid;
    gap: 8px;
    counter-reset: none;
}

.rank-table li {
  display: grid;
    grid-template-columns: 34px 58px minmax(0, 1fr) 42px;
    gap: 12px;
  align-items: center;
    min-height: 78px;
    padding: 12px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
}

.rank-table i,
.rank-table b {
  display: grid;
  place-items: center;
    font-style: normal;
    font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 900;
}

.rank-table i {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
}

.rank-table li:nth-child(-n + 3) i {
    border-color: var(--red);
    color: var(--red);
}

.rank-table img {
    width: 58px;
    height: 58px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
  object-fit: cover;
}

.rank-table div {
  min-width: 0;
}

.rank-table a {
  display: block;
    overflow: hidden;
    font-size: 18px;
  font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-table span {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-table b {
    min-height: 30px;
    border: 1px solid var(--red);
    color: var(--red);
    font-size: 13px;
}

.collection-card,
.collection-hero {
  display: grid;
    grid-template-columns: 230px minmax(0, 1fr) auto;
    gap: 16px;
  align-items: center;
    padding: 14px;
}

.collection-card > img,
.collection-hero > img {
  width: 100%;
    height: 145px;
    border: 1px solid var(--hairline);
  object-fit: cover;
}

.collection-card h2 {
    margin: 0 0 7px;
    font-size: 24px;
    font-weight: 900;
}

.collection-card p {
    margin: 0 0 9px;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.collection-icons {
  display: flex;
  flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.collection-icons img {
    width: 36px;
    height: 36px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
  object-fit: cover;
}

.collection-hero {
    grid-template-columns: 360px minmax(0, 1fr);
    margin-bottom: 16px;
}

.collection-hero > img {
    height: 220px;
}

.included-list .module-head {
    margin-bottom: 12px;
}

.included-item + .included-item {
    margin-top: 10px;
}

.sitemap-row {
  display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px;
}

.sitemap-row h2 {
    margin: 0;
    color: var(--red);
    font-size: 24px;
  font-weight: 900;
}

.sitemap-row div {
  display: flex;
  flex-wrap: wrap;
    gap: 8px;
}

.sitemap-row a {
    padding: 5px 10px;
    border: 1px solid var(--hairline);
    background: #fff8ef;
    font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 800;
}

.simple-page {
    max-width: 920px;
}

.simple-page h1 {
    border-bottom: 3px double var(--line);
    padding-bottom: 10px;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.error-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
    padding: 20px;
    background: radial-gradient(circle at 14px 18px, rgba(239, 78, 35, .08) 0 1px, transparent 1.4px) 0 0 / 38px 38px,
    var(--paper-bg);
}

.error-page {
    width: min(100%, 560px);
}

.error-card {
    padding: 34px;
    border: 3px double var(--line);
    background: var(--paper);
  text-align: center;
}

.error-card span {
    display: block;
    color: var(--red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4rem, 16vw, 7rem);
    font-weight: 900;
    line-height: .9;
}

.error-card h1 {
    margin: 16px 0 10px;
    font-size: clamp(1.45rem, 4vw, 2.2rem);
  font-weight: 900;
    overflow-wrap: anywhere;
}

.error-card p {
    margin: 0 0 18px;
    color: var(--muted);
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.error-card a {
    display: inline-flex;
    padding: 8px 18px;
    border: 1px solid var(--red);
    color: var(--red);
    font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .hot-icon-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

    .resource-grid,
    .rank-board-grid,
    .detail-grid,
    .detail-content-grid,
    .rank-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

    .category-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-rail a {
        border-bottom: 1px solid var(--hairline);
  }

    .topic-duo,
    .news-layout,
    .collection-card,
    .related-news-grid,
    .image-link-list.is-grid {
        grid-template-columns: 1fr;
  }

    .topic-extra-grid {
    grid-template-columns: 1fr;
  }

    .collection-card > img {
        height: 180px;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 13px;
  }

    .brand-zone {
        padding: 18px 0;
  }

    .brand-mark {
        width: min(320px, 82vw);
        height: auto;
    }

    .brand-logo {
        max-width: 320px;
    }

    .brand-copy small {
        letter-spacing: 2px;
    }

    .brand-tags {
    width: 100%;
  }

    .rank-board-tabs {
        max-width: 100%;
        justify-content: flex-start;
    }

    .brand-tags a,
    .archive-stamp {
        max-width: 100%;
    }

    .hot-shelf {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .shelf-label {
        min-height: 42px;
        margin-bottom: 12px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        writing-mode: horizontal-tb;
    }

    .hot-content {
        padding-left: 0;
    }

  .hot-icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
  }

    .first-grid,
    .category-rail,
    .module-block,
    .topic-duo,
    .friend-links {
        margin-top: 14px;
  }

    .archive-panel {
        padding: 13px;
  }

    .focus-panel {
        padding: 8px;
  }

    .focus-swiper,
  .focus-slide,
  .focus-slide img {
        min-height: 382px;
  }

    .focus-caption {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 13px;
  }

    .category-rail,
    .resource-grid,
    .rank-board-grid,
    .two-column,
    .detail-grid,
    .detail-content-grid,
    .rank-page-grid,
    .info-matrix,
    .apk-info-grid,
    .topic-fact-grid,
    .aux-grid,
    .mini-resource-grid.is-wide,
    .collection-hero,
    .sitemap-row {
    grid-template-columns: 1fr;
    }

    .article-row {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .article-row img,
    .article-thumbnail img {
        width: 120px;
        height: 76px;
    }

    .strategy-article-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .article-title {
        font-size: 18px;
  }

    .category-rail a {
        min-height: 92px;
        border-right: 0;
    }

    .resource-card {
        grid-template-columns: 56px minmax(0, 1fr);
        padding: 13px;
    }

    .resource-card img {
        width: 56px;
        height: 56px;
    }

    .resource-card > a {
        grid-column: 1 / -1;
    }

    .news-list li {
        grid-template-columns: minmax(4.4em, max-content) minmax(0, 1fr) 44px;
    }

    .topic-card {
        grid-template-columns: 108px minmax(0, 1fr);
        padding: 11px;
    }

  .topic-card img {
      height: 90px;
  }

    .page-title-block,
    .category-panel,
    .list-board,
    .article-list-board,
    .rank-main-board,
    .simple-page,
    .detail-main,
    .download-card,
    .article-detail,
    .side-card,
    .collection-hero,
    .included-list {
        padding: 13px;
    }

    .list-item,
    .included-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
    }

    .category-row {
        grid-template-columns: 4.5em minmax(0, 1fr);
        gap: 8px 10px;
        align-items: start;
        padding: 10px 0;
    }

    .category-row strong {
        grid-column: auto;
        padding-top: 5px;
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .category-row div {
        grid-column: auto;
        gap: 6px;
    }

    .category-row a {
        min-height: 28px;
        padding: 4px 7px;
        font-size: 13px;
    }

    .list-item img,
    .included-item img {
        width: 56px;
        height: 56px;
    }

    .list-item .line-button,
    .included-item .line-button {
        grid-column: 1 / -1;
  }

    .detail-identity {
        grid-template-columns: 72px minmax(0, 1fr);
  }

    .detail-identity img {
    width: 72px;
    height: 72px;
  }

    .rank-table li {
        grid-template-columns: 30px 48px minmax(0, 1fr);
    }

    .rank-table b {
        grid-column: 1 / -1;
        justify-self: start;
        padding: 3px 10px;
    }

    .rank-table img {
        width: 48px;
        height: 48px;
    }

    .collection-card {
        padding: 12px;
  }

    .collection-card > img,
    .collection-hero > img {
        height: 150px;
  }

    .collection-card .line-button {
        justify-self: stretch;
  }

    .image-link-list a,
    .topic-mini-card {
        grid-template-columns: 72px minmax(0, 1fr);
  }

    .image-link-list.is-grid a {
        grid-template-columns: 1fr;
    }

    .related-news-grid img,
    .image-link-list.is-grid img {
        height: 126px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
    .container-xl {
        padding-right: 10px;
        padding-left: 10px;
  }

    .strategy-article-card {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .article-thumbnail img {
        width: 104px;
        height: 66px;
    }

  .hot-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

    .topic-card {
    grid-template-columns: 1fr;
  }

    .topic-card img {
        height: 128px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
  }
}
