:root {
    --blue: #d9251d;
    --cyan: #ff7a1a;
    --green: #f3a51b;
    --orange: #ff6b1a;
    --red: #b5161c;
    --violet: #7f2416;
    --ink: #241412;
    --text: #4a2d26;
    --muted: #85665b;
    --line: rgba(181, 42, 24, .16);
    --panel: rgba(255, 252, 248, .94);
    --soft: #fff3e6;
    --wrap: 1200px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 235, 214, .94) 0, rgba(255, 247, 237, .96) 38%, rgba(255, 252, 248, .98) 100%),
    url("../image/pgamebg.png") center top / cover no-repeat fixed;
    font: 14px/1.6 Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    letter-spacing: 0;
}

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

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

button {
    font: inherit;
}

.wrap {
    width: min(var(--wrap), calc(100% - 24px));
    margin: 0 auto;
}

.site-header {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 34px rgba(31, 61, 112, .12);
}

.utility-bar {
    color: #fff;
    background: linear-gradient(90deg, #1c7df2, #16bdd4, #22b86b);
}

.utility-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.utility-inner span,
.utility-inner a {
    min-width: 0;
}

.utility-inner a {
    font-weight: 700;
}

.brand-band {
    border-bottom: 1px solid var(--line);
}

.brand-row {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, var(--blue) 0 45%, var(--green) 45% 74%, var(--orange) 74%);
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(28, 125, 242, .24);
}

.brand-text {
    min-width: 0;
}

.brand strong {
    display: block;
    color: var(--ink);
    font-size: 32px;
    line-height: 1;
}

.brand em {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-style: normal;
}

.site-header .main-nav {
    background: #fff;
}

.nav-inner {
    min-height: 50px;
}

.nav-toggle {
    display: none;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 8px 0;
    list-style: none;
}

.nav-links li {
    min-width: 0;
}

.nav-links a {
    min-width: 0;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-links li.active a,
.nav-links a.active,
.nav-links a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

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

.headline-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--line);
}

.headline-links a {
    min-width: 0;
    padding: 11px 14px;
    background: rgba(255, 255, 255, .9);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.headline-links b {
    color: var(--blue);
}

.hero-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 320px;
    gap: 16px;
}

.focus,
.weekly-card,
.news-rail,
.module,
.friend-links {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 14px 34px rgba(29, 61, 112, .08);
}

.news-rail {
    background: #fff;
}

.focus {
    position: relative;
    min-height: 330px;
    overflow: hidden;
}

.focus-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
}

.focus-slide.active {
    opacity: 1;
}

.focus-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focus-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 5px;
    padding: 56px 18px 18px;
    color: #fff;
    background: linear-gradient(transparent, rgba(10, 16, 28, .82));
}

.focus-caption strong {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 24px;
}

.focus-caption span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.focus-dots {
    position: absolute;
    right: 16px;
    bottom: 18px;
    display: flex;
    gap: 7px;
}

.focus-dots button {
    width: 24px;
    height: 6px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .76);
    cursor: pointer;
}

.focus-dots button.active {
    background: var(--orange);
}

.weekly-card {
    padding: 18px;
}

.weekly-text {
    display: block;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--line);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.weekly-card h1 {
    margin: 8px 0;
    color: var(--ink);
    font-size: 25px;
    line-height: 1.25;
}

.weekly-card p {
    margin: 0;
    color: var(--muted);
}

.mini-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
    padding-top: 16px;
}

.mini-icon-grid a {
    min-width: 0;
    text-align: center;
}

.mini-icon-grid img {
    width: 68px;
    height: 68px;
    margin: 0 auto 7px;
    object-fit: cover;
}

.mini-icon-grid span,
.software-card h3,
.software-card a,
.rank-list a,
.collection-card h3,
.footer-col a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-rail {
    padding: 14px;
}

.feature-news {
    display: grid;
    gap: 12px;
}

.feature-news img {
    width: 100%;
    height: 118px;
    object-fit: cover;
}

.feature-news h2 {
    margin: 7px 0 6px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.35;
}

.feature-news h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feature-news p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.compact-news-list {
    margin-top: 13px;
    border-top: 1px dashed var(--line);
}

.compact-news-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-height: 37px;
    border-bottom: 1px dashed var(--line);
}

.compact-news-list time {
    color: var(--red);
    font-weight: 700;
}

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

.compact-news-list li,
.rank-news-list a,
.topic-news-links a,
.article-side-news li,
.article-side-topic a {
    min-width: 0;
    overflow: hidden;
}

.rank-news-list strong,
.topic-news-links span,
.article-side-news a,
.article-side-topic span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.module {
    margin-top: 16px;
    padding: 18px;
}

.module-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(28, 125, 242, .16);
}

.module-head.simple {
    grid-template-columns: minmax(0, 1fr) auto;
}

.software-module .module-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.software-module .module-head > div:first-child {
    min-width: 0;
}

.software-module .module-head .segmented {
    grid-column: auto;
    width: auto;
    min-width: 0;
    max-width: none;
}

.software-module .module-head .more-link {
    justify-self: start;
}

.module-head h2 {
    margin: 3px 0 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.2;
}

.segmented {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    overflow: visible;
    padding-bottom: 2px;
}

.segmented button {
    flex: 0 0 auto;
    min-width: 80px;
    height: 34px;
    border: 1px solid var(--line);
    color: var(--text);
    background: #fff;
    cursor: pointer;
}

.segmented button.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 8px 18px rgba(28, 125, 242, .2);
}

.more-link {
    display: inline-grid;
    place-items: center;
    min-width: 58px;
    height: 32px;
    padding: 0 12px;
    color: var(--blue);
    background: #edf6ff;
    font-weight: 700;
}

.section-panels {
    padding-top: 16px;
}

.software-grid {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.software-grid.active {
    display: grid;
}

.software-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 58px;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
}

.software-icon {
    width: 64px;
    height: 64px;
    object-fit: cover;
    overflow: hidden;
}

.software-body {
    min-width: 0;
}

.software-card h3 {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: 16px;
}

.software-card p {
    display: -webkit-box;
    min-height: 40px;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.meta-row {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.meta-row span {
    max-width: 100%;
    padding: 2px 7px;
    color: #47617f;
    background: var(--soft);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 68px;
    height: 34px;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-size: 13px;
    font-weight: 800;
}

.download-btn--unavailable {
    cursor: default;
    color: #8f97a3;
    background: #eef1f5;
    box-shadow: none;
}

.download-btn.app {
    background: linear-gradient(135deg, var(--green), var(--cyan));
}

.btn-mark {
    width: 9px;
    height: 9px;
    display: inline-block;
    background: #fff;
    box-shadow: 4px 0 0 rgba(255, 255, 255, .7);
}

.news-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding-top: 16px;
}

.main-article {
    min-width: 0;
    display: grid;
    grid-template-rows: 170px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.main-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-article div {
    min-width: 0;
    padding: 13px;
}

.main-article span {
    color: var(--blue);
    font-weight: 800;
}

.main-article h3 {
    margin: 7px 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
}

.main-article h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.main-article p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 12px;
    align-self: stretch;
}

.news-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 8px 10px;
    align-content: start;
    padding: 13px;
    border: 1px solid var(--line);
    background: #fff;
}

.news-list time {
    color: var(--red);
    font-weight: 700;
}

.news-list span {
    color: var(--muted);
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-list a {
    grid-column: 1 / -1;
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-list p {
    grid-column: 1 / -1;
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #8a97ab;
    font-size: 13px;
    line-height: 1.55;
    min-height: calc(13px * 1.55 * 2);
    max-height: calc(13px * 1.55 * 2);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.rank-board {
    min-width: 0;
    border: 1px solid var(--line);
    background: #fff;
}

.rank-board h3 {
    margin: 0;
    padding: 12px 14px;
    border-bottom: 2px solid rgba(28, 125, 242, .16);
    color: var(--ink);
    font-size: 18px;
}

.rank-list {
    padding: 0 14px 12px;
    counter-reset: rank;
}

.rank-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 26px 44px minmax(0, 1fr) 68px 62px;
    gap: 9px;
    align-items: center;
    min-height: 54px;
    border-bottom: 1px dashed var(--line);
    counter-increment: rank;
}

.rank-list li::before {
    content: counter(rank);
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #a7b4c6;
    font-weight: 900;
}

.rank-list li:nth-child(-n+3)::before {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.rank-list img {
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.rank-list span,
.rank-list em {
    min-width: 0;
    color: var(--muted);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-list em {
    color: var(--orange);
    font-style: normal;
    text-align: right;
}

.rank-page-panel {
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 14px 34px rgba(29, 61, 112, .08);
}

.rank-page-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(28, 125, 242, .16);
}

.rank-page-head h1 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.2;
}

.rank-tabs {
    min-width: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.rank-tabs a {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-weight: 900;
}

.rank-tabs a.active,
.rank-tabs a:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.rank-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 16px;
    align-items: start;
    padding-top: 16px;
}

.rank-primary-board,
.rank-side,
.rank-main-info,
.rank-main-info div,
.rank-side-card,
.rank-side-list li {
    min-width: 0;
}

.rank-primary-board {
    border: 1px solid var(--line);
    background: #fff;
}

.rank-board-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: #f8fbff;
}

.rank-board-head span,
.rank-board-head em {
    color: var(--blue);
    font-weight: 900;
}

.rank-board-head strong {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.rank-board-head em {
    font-style: normal;
    white-space: nowrap;
}

.rank-main-list {
    margin: 0;
    padding: 0 16px 8px;
    list-style: none;
}

.rank-main-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px 64px minmax(0, 1fr) 88px 74px;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}

.rank-main-list li:last-child {
    border-bottom: 0;
}

.rank-main-num {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #a7b4c6;
    font-weight: 900;
}

.rank-main-list li:nth-child(1) .rank-main-num {
    background: linear-gradient(135deg, var(--red), var(--orange));
}

.rank-main-list li:nth-child(2) .rank-main-num {
    background: linear-gradient(135deg, var(--orange), #ffc247);
}

.rank-main-list li:nth-child(3) .rank-main-num {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.rank-main-list img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.rank-main-info {
    display: grid;
    gap: 6px;
}

.rank-main-info a {
    min-width: 0;
    overflow: hidden;
    color: var(--ink);
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 19px;
    font-weight: 900;
}

.rank-main-info p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-main-info div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rank-main-info span {
    min-width: 0;
    max-width: 120px;
    padding: 4px 7px;
    overflow: hidden;
    color: var(--text);
    background: #eef5ff;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 800;
}

.rank-main-stat {
    display: grid;
    gap: 3px;
    text-align: right;
}

.rank-main-stat span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.rank-main-stat strong {
    color: var(--orange);
    font-size: 18px;
}

.rank-main-action {
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    font-weight: 900;
}

.rank-primary-board .pager {
    padding-bottom: 18px;
}

.rank-side {
    display: grid;
    gap: 12px;
}

.rank-side-card {
    padding: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.rank-side-card header {
    display: grid;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.rank-side-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: 20px;
}

.rank-side-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 12px 0 0;
    list-style: none;
    counter-reset: rank-side;
}

.rank-side-list li {
    display: grid;
    grid-template-columns: 28px 42px minmax(0, 1fr) 52px;
    gap: 8px;
    align-items: center;
    counter-increment: rank-side;
}

.rank-side-list li::before {
    content: counter(rank-side);
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #a7b4c6;
    font-size: 12px;
    font-weight: 900;
}

.rank-side-list li:nth-child(-n+3)::before {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.rank-side-list img {
    width: 42px;
    height: 42px;
    object-fit: cover;
}

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

.rank-side-list a {
    color: var(--ink);
    font-weight: 900;
}

.rank-side-list span {
    color: var(--orange);
    text-align: right;
    font-size: 12px;
    font-weight: 900;
}

.rank-extra-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
    margin-top: 16px;
}

.rank-news-list,
.rank-topic-list {
    display: grid;
    gap: 10px;
    padding-top: 16px;
}

.rank-news-list a,
.rank-topic-list a {
    min-width: 0;
    display: grid;
    align-items: center;
    border: 1px solid var(--line);
    background: #fff;
}

.rank-news-list a {
    grid-template-columns: 132px 82px minmax(0, 1fr);
    gap: 10px;
}

.rank-news-list img {
    width: 132px;
    height: 78px;
    object-fit: cover;
}

.rank-news-list span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.rank-news-list strong {
    display: -webkit-box;
    min-width: 0;
    padding-right: 12px;
    overflow: hidden;
    color: var(--ink);
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-topic-list a {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
}

.rank-topic-list img {
    width: 112px;
    height: 72px;
    object-fit: cover;
}

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

.rank-topic-list span {
    color: var(--ink);
    font-weight: 900;
}

.rank-topic-list em {
    grid-column: 2;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 16px;
}

.collection-card {
    min-width: 0;
    display: grid;
    grid-template-rows: 138px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.collection-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-body {
    min-width: 0;
    padding: 14px;
}

.collection-type {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.collection-card h3 {
    margin: 6px 0;
    color: var(--ink);
    font-size: 18px;
}

.collection-card p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.included-icons {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.included-icons img {
    width: 38px;
    height: 38px;
    max-width: 100%;
    object-fit: cover;
}

.topic-list-panel {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 14px 34px rgba(29, 61, 112, .08);
}

.topic-detail-hero,
.topic-software-panel {
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(29, 61, 112, .08);
}

.topic-list-panel {
    padding: 18px;
}

.topic-list-head {
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(28, 125, 242, .16);
}

.topic-list-head h1 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.2;
}

.topic-list-stack {
    display: grid;
    gap: 14px;
    padding-top: 16px;
}

.topic-list-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 96px;
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.topic-list-cover {
    min-width: 0;
    overflow: hidden;
}

.topic-list-cover img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.topic-list-body,
.topic-list-meta,
.topic-included a {
    min-width: 0;
}

.topic-list-body {
    display: grid;
    align-content: center;
    gap: 9px;
}

.topic-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.topic-list-meta span,
.topic-list-meta em,
.topic-list-meta time {
    padding: 4px 8px;
    color: var(--text);
    background: #eef5ff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.topic-list-meta span {
    color: var(--blue);
}

.topic-list-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.28;
}

.topic-list-card h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-list-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-included {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.topic-included a {
    display: grid;
    gap: 5px;
    justify-items: center;
    padding: 8px 4px;
    background: #f8fbff;
}

.topic-included img {
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.topic-included span {
    max-width: 100%;
    overflow: hidden;
    color: var(--text);
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 800;
}

.topic-more {
    align-self: center;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    font-weight: 900;
}

.topic-extra-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.topic-mini-links,
.topic-news-links {
    display: grid;
    gap: 10px;
    padding-top: 16px;
}

.topic-mini-links a,
.topic-news-links a {
    min-width: 0;
    display: grid;
    align-items: center;
    border: 1px solid var(--line);
    background: #fff;
}

.topic-mini-links a {
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 10px;
    padding: 12px;
}

.topic-mini-links span,
.topic-mini-links em {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.topic-mini-links span {
    color: var(--ink);
    font-weight: 900;
}

.topic-mini-links em {
    color: var(--orange);
    text-align: right;
    font-style: normal;
    font-weight: 900;
}

.topic-news-links a {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
}

.topic-news-links img {
    width: 120px;
    height: 72px;
    object-fit: cover;
}

.topic-news-links span {
    display: -webkit-box;
    min-width: 0;
    padding-right: 12px;
    overflow: hidden;
    color: var(--ink);
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-detail-hero {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 18px;
}

.topic-detail-hero > img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.topic-detail-intro {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 12px;
}

.topic-detail-intro h1 {
    margin: 0;
    color: var(--ink);
    font-size: 36px;
    line-height: 1.2;
}

.topic-detail-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.topic-detail-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border: 1px solid var(--line);
    background: #fff;
}

.topic-detail-meta div {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 12px;
    border-right: 1px solid var(--line);
}

.topic-detail-meta div:last-child {
    border-right: 0;
}

.topic-detail-meta dt,
.topic-detail-meta dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.topic-detail-meta dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.topic-detail-meta dd {
    color: var(--ink);
    font-weight: 900;
}

.topic-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 16px;
    align-items: start;
    margin-top: 16px;
}

.topic-software-panel {
    min-width: 0;
    padding: 18px;
}

.topic-software-list {
    display: grid;
    gap: 12px;
    padding-top: 16px;
}

.topic-software-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 78px;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border: 1px solid var(--line);
    background: #fff;
}

.topic-software-item > img {
    width: 76px;
    height: 76px;
    object-fit: cover;
}

.topic-software-info {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.topic-software-info h3 {
    margin: 0;
    color: var(--ink);
    font-size: 20px;
}

.topic-software-info h3 a {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.topic-software-info p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-software-info div {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.topic-software-info span {
    min-width: 0;
    max-width: 116px;
    padding: 4px 7px;
    overflow: hidden;
    color: var(--text);
    background: #eef5ff;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 800;
}

.topic-download {
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    font-weight: 900;
}

.topic-detail-side {
    min-width: 0;
    display: grid;
    gap: 12px;
}

.topic-side-card {
    padding: 14px;
    background: transparent;
}

.topic-side-info {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-top: 14px;
}

.topic-side-info div {
    min-width: 0;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
    padding-bottom: 9px;
    border-bottom: 1px dashed var(--line);
}

.topic-side-info div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.topic-side-info dt,
.topic-side-info dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.topic-side-info dt {
    color: var(--muted);
    font-weight: 800;
}

.topic-side-info dd {
    color: var(--ink);
    font-weight: 900;
}

.topic-side-list,
.topic-side-news {
    display: grid;
    gap: 10px;
    padding-top: 14px;
}

.topic-side-list a,
.topic-side-news a {
    min-width: 0;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    background: #fff;
}

.topic-side-list img,
.topic-side-news img {
    width: 90px;
    height: 62px;
    object-fit: cover;
}

.topic-side-list span,
.topic-side-list em,
.topic-side-news span {
    min-width: 0;
    overflow: hidden;
}

.topic-side-list span,
.topic-side-news span {
    display: -webkit-box;
    color: var(--ink);
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-side-list em {
    grid-column: 2;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.sitemap-panel,
.about-panel {
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 14px 34px rgba(29, 61, 112, .08);
}

.sitemap-head,
.about-head {
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(28, 125, 242, .16);
}

.sitemap-head h1,
.about-head h1 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.2;
}

.sitemap-stack {
    display: grid;
    gap: 12px;
    padding-top: 16px;
}

.sitemap-section {
    min-width: 0;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.sitemap-section h2 {
    margin: 0;
    color: var(--ink);
    font-size: 21px;
}

.sitemap-links {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.sitemap-links a {
    min-width: 0;
    padding: 8px 10px;
    overflow: hidden;
    color: var(--text);
    background: #f8fbff;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.sitemap-links a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.about-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 16px;
}

.about-tabs a {
    padding: 8px 13px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-weight: 900;
}

.about-tabs a.active,
.about-tabs a:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.about-rich {
    padding-top: 18px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.9;
}

.error-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(28, 125, 242, .16), transparent 36%),
    linear-gradient(315deg, rgba(34, 184, 107, .16), transparent 40%),
    linear-gradient(180deg, #eef7ff 0, #fff7ec 100%);
}

.error-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.error-panel {
    width: min(560px, 100%);
    padding: 32px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 44px rgba(29, 61, 112, .14);
    text-align: center;
}

.error-code {
    display: grid;
    place-items: center;
    width: 170px;
    height: 112px;
    margin: 0 auto 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    font-size: 45px;
    font-weight: 900;
    letter-spacing: 0;
}

.error-code.server {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.error-panel h1 {
    margin: 10px 0 8px;
    color: var(--ink);
    font-size: 32px;
    line-height: 1.2;
}

.error-panel p {
    margin: 0 auto;
    max-width: 430px;
    color: var(--muted);
    font-size: 15px;
}

.error-action {
    width: 132px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 22px auto 0;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--green));
    font-weight: 900;
}

.friend-links {
    margin-top: 16px;
    padding: 16px 18px;
}

.friend-links h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 20px;
}

.friend-links div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.friend-links a {
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 26px 0;
}

.footer-brand,
.footer-col {
    min-width: 0;
}

.footer-brand strong {
    color: var(--ink);
    font-size: 22px;
}

.footer-brand p {
    margin: 8px 0 0;
    color: var(--muted);
}

.footer-col h3 {
    margin: 0 0 9px;
    color: var(--ink);
    font-size: 16px;
}

.footer-col a {
    display: block;
    color: var(--muted);
    line-height: 1.9;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--blue);
    font-weight: 700;
}

.breadcrumb a::after {
    content: "/";
    margin-left: 8px;
    color: #a1adc0;
}

.category-panel,
.resource-panel,
.detail-hero {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 14px 34px rgba(29, 61, 112, .08);
}

.category-panel {
    display: grid;
    gap: 1px;
    overflow: hidden;
    background: var(--line);
}

.category-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .92);
}

.category-row .label {
    color: var(--ink);
    font-weight: 900;
}

.category-scroll {
    min-width: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.category-scroll a {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-weight: 700;
}

.category-scroll a.active,
.category-scroll a:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.resource-panel {
    margin-top: 16px;
    padding: 18px;
}

.list-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: end;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(28, 125, 242, .16);
}

.list-head h1 {
    margin: 3px 0 0;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.2;
}

.list-head p {
    margin: 0;
    color: var(--muted);
}

.resource-list {
    display: grid;
    gap: 12px;
    padding-top: 16px;
}

.resource-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 96px;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.resource-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.resource-main {
    min-width: 0;
}

.resource-main h2 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 19px;
}

.resource-main h2 a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.resource-main p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.resource-meta {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
}

.resource-meta span {
    max-width: 100%;
    padding: 2px 7px;
    color: #47617f;
    background: var(--soft);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.resource-download {
    display: inline-grid;
    place-items: center;
    width: 96px;
    height: 36px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-weight: 900;
}

.resource-download.app {
    background: linear-gradient(135deg, var(--green), var(--cyan));
}

.resource-download--unavailable {
    cursor: default;
    color: #8f97a3;
    background: #eef1f5;
}

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

.pager a,
.pager span {
    min-width: 36px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-weight: 800;
}

.pager a.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.pager .disabled {
    color: #a1adc0;
    background: #f4f7fb;
}

.news-index-panel,
.article-panel {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 14px 34px rgba(29, 61, 112, .08);
}

.news-index-panel {
    padding: 18px;
}

.news-index-head {
    align-items: center;
}

.news-filter {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.news-filter a {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-weight: 800;
}

.news-filter a.active,
.news-filter a:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.article-list {
    display: grid;
    gap: 12px;
    padding-top: 16px;
}

.article-list-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 13px;
    border: 1px solid var(--line);
    background: #fff;
}

.article-thumb {
    min-width: 0;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 138px;
    object-fit: cover;
}

.article-list-body {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 8px;
}

.article-meta,
.article-info {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
}

.article-meta span,
.article-info span:first-child {
    color: var(--blue);
    font-weight: 900;
}

.article-list-body h2 {
    margin: 0;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.35;
}

.article-list-body h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-list-body p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-feature-row,
.article-related {
    margin-top: 16px;
}

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

.article-main,
.article-sidebar {
    min-width: 0;
}

.article-sidebar {
    display: grid;
    gap: 12px;
}

.article-side-card {
    padding: 14px;
    background: #fff;
}

.article-side-news {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px 0 0;
    list-style: none;
    counter-reset: article-side-news;
}

.article-side-news li {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line);
    counter-increment: article-side-news;
}

.article-side-news li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.article-side-news span,
.article-side-news time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.article-side-news span {
    color: var(--blue);
}

.article-side-news a {
    min-width: 0;
    overflow: hidden;
    color: var(--ink);
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.article-side-rank {
    display: grid;
    gap: 10px;
    padding-top: 14px;
    counter-reset: article-side-rank;
}

.article-side-rank a {
    min-width: 0;
    display: grid;
    grid-template-columns: 30px 46px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--line);
    background: #fff;
    counter-increment: article-side-rank;
}

.article-side-rank a::before {
    content: counter(article-side-rank);
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.article-side-rank a:nth-child(1)::before {
    background: var(--red);
}

.article-side-rank a:nth-child(2)::before {
    background: var(--orange);
}

.article-side-rank a:nth-child(3)::before {
    background: var(--cyan);
}

.article-side-rank img {
    width: 46px;
    height: 46px;
    object-fit: cover;
}

.article-side-rank strong,
.article-side-rank span {
    min-width: 0;
    grid-column: 3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.article-side-rank strong {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.2;
}

.article-side-rank span {
    color: var(--muted);
    font-size: 12px;
}

.article-side-topic {
    display: grid;
    gap: 10px;
    padding-top: 14px;
}

.article-side-topic a {
    min-width: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    background: #fff;
}

.article-side-topic img {
    width: 92px;
    height: 62px;
    object-fit: cover;
}

.article-side-topic span {
    display: -webkit-box;
    min-width: 0;
    padding-right: 10px;
    overflow: hidden;
    color: var(--ink);
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.news-pick-grid a {
    min-width: 0;
    display: grid;
    grid-template-rows: 122px auto minmax(0, 1fr);
    gap: 8px;
    border: 1px solid var(--line);
    background: #fff;
}

.news-pick-grid img {
    width: 100%;
    height: 122px;
    object-fit: cover;
}

.news-pick-grid span {
    padding: 0 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.news-pick-grid strong {
    display: -webkit-box;
    min-width: 0;
    min-height: 48px;
    padding: 0 12px 12px;
    overflow: hidden;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-panel {
    padding: 22px;
}

.article-head {
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 2px solid rgba(28, 125, 242, .16);
}

.article-head h1 {
    margin: 0;
    color: var(--ink);
    font-size: 34px;
    line-height: 1.25;
}

.article-rich {
    padding-top: 18px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.9;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
    align-items: stretch;
    padding: 18px;
}

.detail-main-card {
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 14px 18px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    background: #fff;
}

.detail-icon {
    width: 126px;
    height: 126px;
    object-fit: cover;
}

.detail-title-block {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.detail-title-block h1 {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 32px;
    line-height: 1.2;
}

.detail-meta {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-meta span {
    max-width: 100%;
    padding: 4px 8px;
    color: #47617f;
    background: var(--soft);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detail-info-panel {
    min-width: 0;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--line);
}

.detail-info-panel span {
    min-width: 0;
    display: grid;
    gap: 2px;
    min-height: 54px;
    align-content: center;
    padding: 7px 9px;
    background: #f8fbff;
}

.detail-info-panel b,
.detail-info-panel em {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.detail-info-panel b {
    color: var(--muted);
    font-size: 12px;
}

.detail-info-panel em {
    color: var(--ink);
    font-style: normal;
    font-weight: 800;
}

.download-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--line);
    background: #fff;
    box-sizing: border-box;
}

.download-card h2 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 22px;
}

.download-card p {
    margin: 0;
    color: var(--muted);
}

.download-state-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}

.platform-download {
    min-width: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    font-weight: 900;
    text-align: center;
}

.platform-download.ios {
    background: linear-gradient(135deg, var(--blue), var(--violet));
}

.platform-download.unavailable {
    color: #6f7b8f;
    background: #eef2f7;
    cursor: not-allowed;
}

.platform-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: currentColor;
}

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

.detail-content,
.detail-sidebar {
    min-width: 0;
}

.detail-page .detail-sidebar {
    width: auto;
    display: grid;
    gap: 16px;
    align-content: start;
    padding-top: 16px;
}

.detail-page .detail-sidebar .module {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line);
}

.detail-page .detail-sidebar .module-head {
    margin: 0 0 14px;
    padding-bottom: 12px;
}

.detail-page .detail-sidebar .module-head h2 {
    font-size: 20px;
}

.detail-section .module-head {
    margin-bottom: 16px;
}

.detail-screenshot-section {
    overflow: hidden;
}

.detail-screenshot-shell {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.detail-screenshot-swiper {
    width: 100%;
    padding: 16px 0 28px;
    overflow: visible;
}

.detail-screenshot-slide {
    width: 380px;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .15);
}

.detail-screenshot-slide img {
    display: block;
    width: 100%;
    height: 214px;
    object-fit: cover;
}

.detail-screenshot-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .12);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.detail-screenshot-nav:hover {
    transform: scale(1.05);
    background: #fff;
}

.detail-screenshot-prev {
    left: 8px;
}

.detail-screenshot-next {
    right: 8px;
}

.detail-screenshot-prev::before,
.detail-screenshot-next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    border-top: 2px solid var(--blue);
    border-right: 2px solid var(--blue);
}

.detail-screenshot-prev::before {
    transform: rotate(-135deg) translate(2px, -2px);
}

.detail-screenshot-next::before {
    transform: rotate(45deg) translate(-2px, 2px);
}

.detail-screenshot-pagination {
    position: relative;
    bottom: 0;
    margin-top: 8px;
}

.detail-screenshot-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    opacity: .35;
    background: var(--blue);
    transition: width .2s ease, opacity .2s ease;
}

.detail-screenshot-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--blue));
}

.detail-screenshot-swiper.is-single-slide .detail-screenshot-nav,
.detail-screenshot-swiper.is-single-slide .detail-screenshot-pagination {
    display: none;
}

.rich-text {
    color: var(--text);
}

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

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

.detail-page .rich-text h3 {
    font-size: 21px;
    line-height: 3.5;
}

.detail-page .rich-text img,
.detail-page .rich-text video,
.detail-page .rich-text iframe,
.article-page .article-rich img,
.article-page .article-rich video,
.article-page .article-rich iframe {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 12px auto;
}

.apk-info {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
}

.apk-info div {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line);
}

.apk-info dt {
    color: var(--muted);
}

.apk-info dd {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.text-action {
    border: 0;
    padding: 0;
    color: var(--blue);
    background: transparent;
    cursor: pointer;
    font-weight: 900;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
}

.related-list a {
    min-width: 0;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line);
}

.related-list img {
    grid-row: 1 / 3;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.related-list span,
.related-list em {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.related-list span {
    color: var(--ink);
    font-weight: 900;
}

.related-list em {
    color: var(--muted);
    font-style: normal;
}

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

.detail-news-card {
    min-width: 0;
    display: grid;
    grid-template-rows: 118px auto minmax(0, 1fr);
    gap: 8px;
    border: 1px solid var(--line);
    background: #fff;
}

.detail-news-card img {
    width: 100%;
    height: 118px;
    object-fit: cover;
}

.detail-news-card span {
    padding: 0 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.detail-news-card strong {
    display: -webkit-box;
    min-width: 0;
    min-height: 48px;
    padding: 0 12px 12px;
    overflow: hidden;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.detail-rank-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: detail-rank;
}

.detail-rank-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 28px 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 4px 9px;
    align-items: center;
    min-height: 66px;
    border-bottom: 1px dashed var(--line);
    counter-increment: detail-rank;
}

.detail-rank-list li::before {
    content: counter(detail-rank);
    grid-column: 1;
    grid-row: 1 / 3;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #a7b4c6;
    font-weight: 900;
}

.detail-rank-list li:nth-child(-n+3)::before {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.detail-rank-list img {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    object-fit: cover;
}

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

.detail-rank-list a {
    color: var(--ink);
    font-weight: 800;
}

.detail-rank-list span {
    grid-column: 3;
    color: var(--muted);
    font-size: 12px;
}

.topic-mini-list {
    display: grid;
    gap: 10px;
    margin-top: 0;
}

.topic-mini-list a {
    min-width: 0;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    background: #fff;
}

.topic-mini-list img {
    width: 86px;
    height: 58px;
    object-fit: cover;
}

.topic-mini-list span {
    min-width: 0;
    padding-right: 10px;
    overflow: hidden;
    color: var(--ink);
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 900;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(10, 16, 28, .52);
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-backdrop .permission-modal {
    display: block;
    position: relative;
    inset: auto;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(720px, calc(100vh - 40px));
    overflow: auto;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 48px rgba(10, 16, 28, .22);
    transition: none;
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

.modal-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
}

.modal-close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-size: 22px;
}

.permission-list {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.permission-list div {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line);
}

.permission-list strong {
    color: var(--ink);
}

.permission-list span {
    color: var(--muted);
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .focus {
        min-height: 360px;
    }

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

    .compact-news-list {
        margin-top: 0;
    }

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

    .detail-hero,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .rank-page-layout,
    .rank-extra-grid {
        grid-template-columns: 1fr;
    }

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

    .topic-list-card {
        grid-template-columns: 220px minmax(0, 1fr) 90px;
    }

    .topic-detail-hero {
        grid-template-columns: 320px minmax(0, 1fr);
    }

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

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

@media (max-width: 820px) {
    .brand-row {
        min-height: 0;
        display: grid;
        padding: 14px 0;
    }

    .nav-toggle {
        width: 100%;
        height: 44px;
        display: flex;
        align-items: center;
        gap: 9px;
        border: 0;
        color: var(--ink);
        background: transparent;
        font-weight: 800;
    }

    .hamburger {
        width: 18px;
        height: 12px;
        display: inline-block;
        border-top: 2px solid var(--blue);
        border-bottom: 2px solid var(--blue);
        position: relative;
    }

    .hamburger::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 3px;
        border-top: 2px solid var(--blue);
    }

    .nav-links {
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 0 10px;
    }

    .nav-links.open {
        display: grid;
    }

    .headline-links {
        grid-template-columns: 1fr;
    }

    .module-head {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .segmented {
        grid-column: 1 / -1;
        order: 3;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .rank-board-grid {
        grid-template-columns: 1fr;
    }

    .rank-page-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .rank-tabs {
        justify-content: flex-start;
    }

    .rank-side {
        grid-template-columns: 1fr;
    }

    .topic-list-card {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .topic-more {
        grid-column: 2;
        width: 96px;
        justify-self: start;
    }

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

    .topic-detail-hero > img {
        height: 220px;
        min-height: 0;
    }

    .topic-detail-side {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .topic-side-info div {
        grid-template-columns: 1fr;
    }

    .topic-side-list a,
    .topic-side-news a {
        grid-template-columns: 1fr;
    }

    .topic-side-list img,
    .topic-side-news img {
        width: 100%;
        height: 86px;
    }

    .sitemap-section {
        grid-template-columns: 1fr;
        gap: 10px;
    }

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

    .rank-main-list li {
        grid-template-columns: 44px 58px minmax(0, 1fr) 72px;
    }

    .rank-main-list img {
        width: 58px;
        height: 58px;
    }

    .rank-main-stat {
        display: none;
    }

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

    .collection-card {
        grid-template-columns: 220px minmax(0, 1fr);
        grid-template-rows: auto;
    }

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

    .list-head,
    .resource-item {
        grid-template-columns: 1fr;
    }

    .news-index-head {
        align-items: start;
    }

    .news-filter {
        justify-content: flex-start;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

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

    .article-side-news li {
        grid-template-columns: 1fr 42px;
    }

    .article-side-news span {
        display: none;
    }

    .article-list-item {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .article-thumb img {
        height: 126px;
    }

    .news-pick-grid {
        grid-template-columns: 1fr;
    }

    .resource-download {
        width: 120px;
        justify-self: start;
    }

    .detail-screenshot-shell {
        max-width: 100%;
    }

    .detail-screenshot-slide {
        width: 320px;
    }

    .detail-screenshot-slide img {
        height: 180px;
    }

    .detail-screenshot-nav {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }
}

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

    .wrap {
        width: calc(100% - 20px);
    }

    .utility-inner {
        min-height: 32px;
    }

    .brand-mark {
        width: 50px;
        height: 50px;
        font-size: 29px;
    }

    .brand strong {
        font-size: 27px;
    }

    .page {
        padding-top: 12px;
    }

    .hero-grid {
        gap: 12px;
    }

    .focus {
        min-height: 248px;
    }

    .focus-caption {
        padding: 42px 14px 14px;
    }

    .focus-caption strong {
        font-size: 20px;
    }

    .weekly-card,
    .news-rail,
    .module,
    .friend-links {
        padding: 14px;
    }

    .weekly-card h1 {
        font-size: 22px;
    }

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

    .mini-icon-grid img {
        width: 68px;
        height: 68px;
    }

    .news-rail {
        display: block;
    }

    .compact-news-list {
        margin-top: 12px;
    }

    .news-list {
        grid-template-columns: 1fr;
    }

    .news-index-panel,
    .article-panel {
        padding: 14px;
    }

    .article-list-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 11px;
    }

    .article-thumb img {
        height: 152px;
    }

    .article-list-body h2 {
        font-size: 18px;
    }

    .article-head h1 {
        font-size: 25px;
    }

    .article-rich {
        font-size: 14px;
        line-height: 1.85;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-side-card {
        padding: 12px;
    }

    .article-side-news li {
        grid-template-columns: 58px minmax(0, 1fr) 40px;
        gap: 7px;
    }

    .article-side-news span {
        display: block;
    }

    .article-side-rank a {
        grid-template-columns: 28px 44px minmax(0, 1fr);
    }

    .article-side-topic a {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .article-side-topic img {
        width: 86px;
        height: 58px;
    }

    .module-head,
    .module-head.simple {
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding-bottom: 12px;
    }

    .module-head h2 {
        font-size: 22px;
    }

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

    .software-card {
        grid-template-columns: 72px minmax(0, 1fr) 62px;
        gap: 10px;
        padding: 11px;
    }

    .download-btn {
        width: 62px;
    }

    .category-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }

    .news-list li {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 8px 10px;
        padding: 11px;
    }

    .news-list a {
        grid-column: 1 / -1;
    }

    .rank-list li {
        grid-template-columns: 26px 40px minmax(0, 1fr) 58px;
    }

    .rank-page-panel {
        padding: 14px;
    }

    .topic-list-panel,
    .topic-detail-hero,
    .topic-software-panel,
    .sitemap-panel,
    .about-panel {
        padding: 14px;
    }

    .sitemap-head h1,
    .about-head h1 {
        font-size: 27px;
    }

    .about-rich {
        font-size: 14px;
        line-height: 1.85;
    }

    .error-panel {
        padding: 22px 18px;
    }

    .error-code {
        width: 138px;
        height: 92px;
        font-size: 38px;
    }

    .error-panel h1 {
        font-size: 26px;
    }

    .topic-list-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }

    .topic-list-cover img {
        height: 158px;
        min-height: 0;
    }

    .topic-list-card h2 {
        font-size: 21px;
    }

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

    .topic-more {
        grid-column: auto;
    }

    .topic-news-links a {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .topic-news-links img {
        width: 104px;
        height: 68px;
    }

    .topic-detail-intro h1 {
        font-size: 27px;
    }

    .topic-detail-intro p {
        font-size: 14px;
    }

    .topic-detail-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topic-detail-meta div {
        border-bottom: 1px solid var(--line);
    }

    .topic-detail-meta div:nth-child(2n) {
        border-right: 0;
    }

    .topic-detail-meta div:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .topic-software-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }

    .topic-software-item > img {
        width: 64px;
        height: 64px;
    }

    .topic-software-info h3 {
        font-size: 18px;
    }

    .topic-download {
        grid-column: 2;
        width: 72px;
        height: 32px;
        justify-self: start;
    }

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

    .topic-side-info div {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .topic-side-list a,
    .topic-side-news a {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .topic-side-list img,
    .topic-side-news img {
        width: 90px;
        height: 62px;
    }

    .rank-page-head h1 {
        font-size: 27px;
    }

    .rank-board-head {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 12px;
    }

    .rank-main-list {
        padding: 0 12px 8px;
    }

    .rank-main-list li {
        grid-template-columns: 38px 54px minmax(0, 1fr);
        gap: 9px;
    }

    .rank-main-num {
        width: 34px;
        height: 34px;
    }

    .rank-main-list img {
        width: 54px;
        height: 54px;
    }

    .rank-main-info a {
        font-size: 17px;
    }

    .rank-main-info p {
        -webkit-line-clamp: 1;
    }

    .rank-main-action {
        grid-column: 3;
        width: 72px;
        height: 32px;
        justify-self: start;
    }

    .rank-news-list a {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .rank-news-list img {
        width: 104px;
        height: 70px;
        grid-row: span 2;
    }

    .rank-news-list span,
    .rank-news-list strong {
        grid-column: 2;
    }

    .rank-list img {
        width: 40px;
        height: 40px;
    }

    .rank-list span {
        display: none;
    }

    .detail-main-card {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .detail-icon {
        width: 78px;
        height: 78px;
    }

    .detail-title-block h1 {
        font-size: 25px;
    }

    .detail-info-panel {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-state-grid {
        grid-template-columns: 1fr;
    }

    .detail-news-grid {
        grid-template-columns: 1fr;
    }

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

    .collection-cover {
        height: 130px;
    }

    .included-icons {
        grid-template-columns: repeat(6, minmax(0, 38px));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        padding: 18px 0;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        display: none;
    }
}

@media (max-width: 420px) {
    .nav-links {
        grid-template-columns: 1fr;
    }

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

    .software-card {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .software-icon {
        width: 68px;
        height: 68px;
    }

    .download-btn {
        grid-column: 2;
        width: 78px;
        justify-self: start;
    }

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

    .rank-tabs a {
        padding: 7px 10px;
    }

    .rank-main-info div {
        gap: 4px;
    }

    .rank-main-info span {
        max-width: 96px;
        padding: 3px 6px;
    }

    .rank-topic-list a {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .rank-topic-list img {
        width: 96px;
        height: 64px;
    }

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

    .topic-detail-meta div,
    .topic-detail-meta div:nth-child(2n),
    .topic-detail-meta div:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .topic-detail-meta div:last-child {
        border-bottom: 0;
    }

    .topic-software-info p {
        -webkit-line-clamp: 1;
    }

    .sitemap-links {
        grid-template-columns: 1fr;
    }

    .about-tabs a {
        padding: 7px 10px;
    }
}

/* PC 热血竞技换肤覆盖：只调整色彩、背景、边框和阴影，不改变排版尺寸。 */
.site-header {
    background: rgba(255, 252, 248, .95) !important;
    box-shadow: 0 12px 34px rgba(154, 47, 18, .14) !important;
}

.utility-bar {
    background: linear-gradient(90deg, #8e1117, var(--blue), var(--cyan), var(--green)) !important;
}

.brand-mark {
    background: linear-gradient(135deg, var(--red) 0 44%, var(--orange) 44% 72%, var(--green) 72%) !important;
    box-shadow: 0 10px 24px rgba(217, 37, 29, .26) !important;
}

.main-nav {
    background: #fffaf5 !important;
}

.nav-links a.active,
.nav-links a:hover,
.segmented button.active,
.segmented button:hover,
.category-scroll a.active,
.category-scroll a:hover,
.about-tabs a.active,
.about-tabs a:hover,
.rank-tabs a.active,
.rank-tabs a:hover,
.pager a.active,
.pager span.active,
.page-btn.active {
    border-color: transparent !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
    box-shadow: 0 8px 18px rgba(217, 37, 29, .2) !important;
}

.headline-links,
.focus,
.weekly-card,
.news-rail,
.module,
.software-card,
.news-feature-card,
.collection-card,
.rank-board,
.rank-page-panel,
.rank-primary-board,
.rank-side-card,
.rank-news-list a,
.rank-topic-list a,
.detail-main-card,
.download-card,
.detail-info-panel,
.detail-section,
.apk-card,
.related-card,
.rank-mini-card,
.topic-mini-card,
.topic-detail-hero,
.topic-software-panel,
.topic-side-card,
.about-panel,
.sitemap-panel,
.error-panel,
.friend-links {
    border-color: var(--line) !important;
    background-color: var(--panel) !important;
    box-shadow: 0 14px 34px rgba(154, 47, 18, .08) !important;
}

.weekly-card,
.detail-hero,
.topic-detail-hero,
.error-panel {
    background: linear-gradient(135deg, rgba(255, 244, 232, .94), rgba(255, 252, 248, .96)),
    url("../image/pgamebg.png") center / cover no-repeat !important;
}

.section-kicker,
.more-link,
.breadcrumb a,
.software-body h3 a:hover,
.news-list a:hover,
.compact-news-list a:hover,
.rank-side-list a:hover,
.detail-rank-list a:hover,
.topic-mini-list a:hover,
.sitemap-links a:hover,
.about-tabs a {
    color: var(--blue) !important;
}

.module-head,
.rank-board-head,
.download-card h2,
.detail-section .module-head,
.topic-software-panel .module-head {
    border-color: rgba(217, 37, 29, .16) !important;
}

.software-body h3,
.software-body h3 a,
.news-feature-card h3,
.news-feature-card h3 a,
.collection-body h3,
.collection-body h3 a,
.rank-board h3,
.rank-list a,
.rank-main-info a,
.rank-side-list a,
.detail-title-block h1,
.module-head h2,
.topic-detail-intro h1 {
    color: var(--ink) !important;
}

.meta-row span,
.resource-meta span,
.rank-main-info span,
.collection-type,
.news-feature-card span,
.rank-news-list span,
.detail-info-panel div,
.topic-detail-meta div,
.apk-meta span,
.tag {
    border-color: rgba(217, 37, 29, .14) !important;
    background-color: #fff4e8 !important;
    color: #8d3d22 !important;
}

.download-btn,
.resource-download,
.rank-main-action,
.topic-download,
.platform-download.android,
.platform-download.ios,
.apk-download,
.rank-download-btn {
    border-color: transparent !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--orange), var(--red)) !important;
    box-shadow: 0 8px 18px rgba(217, 37, 29, .28) !important;
}

.download-btn.app,
.app-module .download-btn,
.app-collection-section .collection-type {
    background: linear-gradient(135deg, var(--green), var(--orange)) !important;
    color: #fff !important;
}

.focus-dots button.active,
.rank-main-num,
.rank-list li:nth-child(-n+3)::before,
.back-to-top {
    background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
    color: #fff !important;
}

.footer {
    border-top-color: var(--line) !important;
    background: #2a1714 !important;
    color: #d7b9a7 !important;
}

.footer a,
.footer-links a,
.footer-icp a {
    color: #f2c7a4 !important;
}

.footer a:hover,
.footer-links a:hover,
.footer-icp a:hover {
    color: #ffd37a !important;
}
