:root {
    --blue: #1688d3;
    --deep-blue: #0c6eb2;
    --sky: #eaf7ff;
    --cyan: #19b9c9;
    --orange: #ff8618;
    --red: #e85546;
    --green: #22a76a;
    --ink: #263241;
    --text: #43505d;
    --muted: #7c8894;
    --line: #dce6ef;
    --soft: #f4f8fb;
    --panel: #fff;
    --wrap: 1200px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--text);
    background: #f1f5f8;
    font: 14px/1.55 Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    letter-spacing: 0;
}

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

a:hover {
    color: var(--blue);
}

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

button {
    font: inherit;
}

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

.site-header {
    background: #fff;
}

.topbar {
    color: #657180;
    background: #f6f9fc;
    border-bottom: 1px solid var(--line);
}

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

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

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

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

.brand img {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    object-fit: cover;
}

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

.brand small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.brand-note {
    min-width: 0;
    padding: 12px 16px;
    border-left: 4px solid var(--orange);
    background: var(--sky);
}

.brand-note b,
.brand-note span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.brand-note b {
    color: var(--deep-blue);
}

.brand-note span {
    margin-top: 2px;
    color: #657180;
}

.main-nav {
    background: var(--blue);
}

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

.nav-toggle {
    display: none;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

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

.nav-links a.active,
.nav-links a:hover {
    color: #fff;
    background: var(--deep-blue);
}

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

.panel,
.module,
.friend-links,
.hot-panel {
    border: 1px solid var(--line);
    background: var(--panel);
}

.hot-panel {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
}

.hot-title {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(180deg, #ff9b21, var(--orange));
    font-size: 18px;
    font-weight: 900;
}

.hot-body {
    min-width: 0;
    padding: 15px 18px 12px;
}

.hot-apps {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px 10px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line);
}

.hot-apps a {
    min-width: 0;
    text-align: center;
}

.hot-apps img {
    width: 58px;
    height: 58px;
    margin: 0 auto 7px;
    border-radius: 13px;
    object-fit: cover;
}

.hot-apps span {
    display: block;
    max-width: 6em;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hot-tags {
    padding-top: 8px;
}

.hot-tags p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 6px 0;
}

.hot-tags b {
    min-width: 72px;
    color: var(--deep-blue);
}

.hot-tags a {
    color: #4b5865;
    white-space: nowrap;
}

.hero-layout {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 31% minmax(0, 1fr) 25%;
    gap: 16px;
}

.slider {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    height: 354px;
    min-height: 354px;
    overflow: hidden;
    background: #111820;
}

.slider .swiper-wrapper {
    height: 100%;
}

.slider .swiper-slide {
    display: none;
}

.slider .swiper-slide:first-child,
.slider .swiper-slide.swiper-slide-active {
    display: block;
}

.slide {
    min-width: 0;
    position: relative;
    height: 100%;
    opacity: 1;
    overflow: hidden;
}

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

.slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 58px 16px 16px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}

.slide-caption strong {
    display: block;
    font-size: 21px;
    line-height: 1.35;
}

.slide-caption span {
    display: inline-block;
    margin-top: 8px;
    color: #ffd65a;
    font-weight: 700;
}

.slider-dots {
    position: absolute;
    top: 14px;
    bottom: auto;
    left: auto;
    right: 14px;
    z-index: 2;
    width: auto;
    display: flex;
    gap: 8px;
}

.slider-dots .swiper-pagination-bullet {
    width: 28px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .55);
    opacity: 1;
    cursor: pointer;
}

.slider-dots .swiper-pagination-bullet-active {
    background: var(--orange);
}

.headline-news {
    min-width: 0;
    padding: 20px 24px;
}

.section-kicker {
    display: inline-block;
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.headline-news h1 {
    margin: 4px 0 14px;
    color: var(--deep-blue);
    font-size: 26px;
    line-height: 1.25;
    text-align: center;
}

.headline-news article {
    padding: 14px 0;
    border-top: 1px dashed var(--line);
    text-align: center;
}

.headline-news h2 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.4;
}

.headline-news p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin: 8px 0 0;
    color: var(--muted);
}

.text-list,
.date-list,
.news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.text-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    padding-top: 6px;
    border-top: 1px dashed var(--line);
}

.text-list li,
.date-list li {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 32px;
    border-bottom: 1px solid #edf2f6;
}

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

.text-list time,
.date-list time {
    flex: 0 0 auto;
    color: #be6a62;
    font-size: 12px;
}

.side-updates {
    min-width: 0;
}

.tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 2px solid var(--blue);
}

.tabs button {
    min-width: 0;
    height: 46px;
    border: 0;
    color: var(--ink);
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}

.tabs button.is-active {
    color: var(--blue);
    background: var(--sky);
}

.date-list {
    display: none;
    padding: 9px 14px 12px;
}

.date-list.is-active {
    display: block;
}

.module {
    margin-top: 16px;
}

.module-head {
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(120px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, #f8fbfd);
}

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

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

.segmented {
    min-width: 0;
    max-height: 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    overflow: hidden;
}

.segmented button {
    flex: 0 0 auto;
    max-width: 96px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--line);
    color: #4a5968;
    background: #fff;
    border-radius: 18px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.segmented button.active {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}

.more-link {
    color: var(--deep-blue);
    font-weight: 700;
    white-space: nowrap;
}

.section-panels {
    padding: 16px;
}

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

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

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

.software-card img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
}

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

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

.software-card p,
.software-card span {
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.software-card p {
    min-height: 42px;
    color: #596675;
    -webkit-line-clamp: 2;
}

.software-card span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    -webkit-line-clamp: 1;
}

.download-btn {
    width: 56px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--orange);
    border-radius: 3px;
    font-weight: 700;
    white-space: nowrap;
}

.download-btn:hover {
    color: #fff;
    background: var(--red);
}

.download-btn.app {
    background: var(--green);
}

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

.feature-article {
    min-width: 0;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    background: #fff;
}

.feature-article img {
    width: 150px;
    height: 118px;
    object-fit: cover;
}

.feature-article span,
.news-list b {
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
}

.feature-article h3 {
    margin: 8px 0 8px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

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

.news-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px 58px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 58px;
    border-bottom: 1px solid #edf2f6;
}

.news-list time {
    color: var(--muted);
    font-size: 12px;
}

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

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

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

.rank-board h3 {
    margin: 0;
    padding: 11px 14px;
    color: var(--deep-blue);
    font-size: 18px;
    border-bottom: 1px solid var(--line);
    background: var(--sky);
}

.rank-board ol {
    margin: 0;
    padding: 8px 12px 12px;
    list-style: none;
}

.rank-board li {
    min-width: 0;
    display: grid;
    grid-template-columns: 24px 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    border-bottom: 1px solid #edf2f6;
}

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

.rank-board i {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #a7b5c2;
    border-radius: 50%;
    font-style: normal;
    font-weight: 700;
}

.rank-board li:nth-child(1) i {
    background: var(--red);
}

.rank-board li:nth-child(2) i {
    background: var(--orange);
}

.rank-board li:nth-child(3) i {
    background: var(--green);
}

.rank-board img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    object-fit: cover;
}

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

.rank-board a {
    color: var(--ink);
    font-weight: 700;
}

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

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

.topic-cover {
    display: block;
    width: 142px;
}

.topic-cover img,
.topic-card > img {
    width: 142px;
    height: 118px;
    object-fit: cover;
}

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

.topic-card span {
    color: var(--orange);
    font-size: 12px;
}

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

.topic-card p {
    margin: 0 0 10px;
    color: #596675;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.included-icons {
    display: flex;
    gap: 6px;
}

.included-icons img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    object-fit: cover;
}

.friend-links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 13px 16px;
}

.friend-links strong {
    color: var(--deep-blue);
}

.friend-links a {
    color: #5b6672;
}

.site-footer {
    color: #dce7ef;
    background: #1d3548;
}

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

.site-footer h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 18px;
}

.site-footer p {
    margin: 0;
    max-width: 520px;
}

.site-footer a {
    display: inline-block;
    margin: 0 16px 8px 0;
    color: #dce7ef;
}

.site-footer h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 18px;
}

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

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

.breadcrumb span::before {
    content: "/";
    margin-right: 8px;
    color: #a8b4bf;
}

.list-page,
.detail-page,
.news-list-page,
.article-page,
.rank-page,
.topic-list-page,
.topic-detail-page,
.sitemap-page,
.about-page {
    padding-top: 16px;
}

.detail-page {
    --detail-side-width: 340px;
}

.category-panel,
.resource-panel,
.detail-main-card,
.download-card,
.rank-page-panel,
.topic-detail-head,
.about-panel {
    border: 1px solid var(--line);
    background: #fff;
}

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

.category-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 44px;
    border-bottom: 1px dashed var(--line);
}

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

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

.category-scroll {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.category-scroll a,
.news-filter a,
.rank-tabs a,
.about-tabs a {
    display: inline-grid;
    place-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid var(--line);
    color: #526273;
    background: #fff;
    border-radius: 16px;
    font-weight: 700;
}

.category-scroll a.active,
.category-scroll a:hover,
.news-filter a.active,
.rank-tabs a.active,
.about-tabs a.active {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}

.list-head,
.rank-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, #f8fbfd);
}

.list-head h1,
.rank-page-head h1 {
    margin: 2px 0 0;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.2;
}

.resource-list,
.article-list,
.collection-list,
.included-list {
    padding: 16px;
}

.resource-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 96px;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #edf2f6;
}

.resource-item:last-child {
    border-bottom: 0;
}

.resource-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
}

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

.resource-main h2,
.article-row h2,
.collection-row h2,
.included-item h3 {
    margin: 0;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.35;
}

.resource-main p,
.article-row p,
.collection-row p,
.included-item p {
    margin: 6px 0;
    color: #596675;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.resource-meta,
.rank-main-info div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 12px;
}

.resource-download,
.rank-main-action,
.topic-download,
.collection-action,
.error-action {
    display: grid;
    place-items: center;
    min-height: 34px;
    color: #fff;
    background: var(--orange);
    border-radius: 3px;
    font-weight: 900;
    white-space: nowrap;
}

.resource-download:hover,
.rank-main-action:hover,
.topic-download:hover,
.collection-action:hover,
.error-action:hover {
    color: #fff;
    background: var(--red);
}

.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid var(--line);
}

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

.pager a.active {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}

.pager .disabled {
    color: #a3adb8;
    background: #f4f7fa;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--detail-side-width, 340px);
    gap: 16px;
    align-items: stretch;
}

.detail-main-card {
    min-width: 0;
    display: block;
    padding: 18px;
    border: 1px solid var(--line);
    background: #fff;
}

.detail-summary {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 54px;
}

.detail-icon {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    object-fit: cover;
}

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

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

.detail-meta span {
    padding: 4px 9px;
    color: var(--deep-blue);
    background: var(--sky);
    border: 1px solid #cfebfb;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.detail-info-panel {
    border: 1px solid var(--line);
    background: #f8fbfd;
}

.detail-info-panel span {
    min-width: 0;
    padding: 10px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-info-panel span:nth-child(4n) {
    border-right: 0;
}

.detail-info-panel b,
.detail-info-panel em {
    display: block;
    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: 700;
}

.download-card {
    position: relative;
    align-self: stretch;
    min-height: 100%;
    height: 100%;
    padding: 26px 22px 22px;
    overflow: hidden;
    border: 1px solid #cfe0ee;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 58%, #eef7fd 100%);
    box-shadow: 0 18px 46px rgba(25, 117, 179, .09);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.download-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
}

.download-card > * {
    position: relative;
    z-index: 1;
}

.download-card-head {
    display: grid;
    gap: 8px;
}

.download-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: 30px;
    line-height: 1.15;
}

.download-card p {
    margin: 0;
    color: #6d7c8c;
    font-size: 14px;
    line-height: 1.75;
}

.download-state-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.download-card[data-mobile-download-card] .download-state-grid {
    grid-template-columns: 1fr;
}

.platform-download {
    min-width: 0;
    min-height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .24);
    background: linear-gradient(135deg, #21b474, #169a5c);
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(34, 167, 106, .22);
    font-weight: 900;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.platform-download:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(34, 167, 106, .28);
    filter: brightness(1.02);
}

.platform-download.ios {
    background: linear-gradient(135deg, #1c9be7, #0c6eb2);
    box-shadow: 0 12px 24px rgba(22, 136, 211, .22);
}

.platform-download.ios:hover {
    box-shadow: 0 16px 30px rgba(22, 136, 211, .28);
}

.platform-download.unavailable {
    color: #758493;
    border-color: #dbe5ee;
    background: linear-gradient(180deg, #f4f7fa, #e9eef3);
    box-shadow: none;
    cursor: not-allowed;
}

.platform-download.unavailable:hover {
    color: #758493;
    transform: none;
    box-shadow: none;
    filter: none;
}

.platform-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    font-size: 14px;
}

.platform-text {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.platform-text strong,
.platform-text em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.platform-text strong {
    font-size: 16px;
}

.platform-text em {
    opacity: .78;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.platform-download.unavailable .platform-icon {
    background: #d8e0e7;
}

.platform-download.unavailable .platform-text em {
    color: #8b99a8;
}

.download-card-tip {
    padding-top: 2px;
    color: #8190a0;
    font-size: 12px;
}

.news-list-layout,
.detail-layout,
.article-layout,
.rank-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--detail-side-width, 310px);
    gap: 16px;
    margin-top: 16px;
}

.news-list-sidebar,
.detail-content,
.detail-sidebar,
.article-content-stack,
.article-side {
    min-width: 0;
}

.news-list-sidebar .module,
.detail-sidebar .module,
.article-side .module {
    margin-top: 0;
    margin-bottom: 16px;
}

.sidebar-rank-list {
    margin: 0;
    padding: 12px 16px 16px;
    list-style: none;
}

.sidebar-rank-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 24px 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 9px;
    padding: 9px 0;
    border-bottom: 1px solid #edf2f6;
}

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

.sidebar-rank-list b {
    grid-row: 1 / 3;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--orange);
    border-radius: 50%;
    font-size: 12px;
}

.sidebar-rank-list img {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    object-fit: cover;
}

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

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

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

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

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

.screenshot-swiper {
    position: relative;
    min-height: 360px;
    padding: 34px 64px 56px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 28%, #ffffff 0, #f5fbff 45%, #eef6fc 100%);
    perspective: 1200px;
}

.screenshot-swiper .swiper-wrapper {
    min-height: 270px;
    align-items: center;
}

.screenshot-swiper .swiper-slide {
    width: 300px;
    max-width: 72vw;
    opacity: .46;
    transition: opacity .35s ease, transform .35s ease, filter .35s ease;
    filter: saturate(.8);
}

.screenshot-swiper .swiper-slide-active {
    opacity: 1;
    filter: saturate(1);
}

.screenshot-swiper .swiper-slide img {
    width: 100%;
    height: 220px;
    border: 1px solid #cfdfeb;
    border-radius: 12px;
    box-shadow: 0 22px 44px rgba(12, 110, 178, .22);
    object-fit: cover;
}

.screenshot-swiper .swiper-button-prev,
.screenshot-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    border: 1px solid #cfe0ee;
    border-radius: 50%;
    color: var(--deep-blue);
    background: #fff;
    box-shadow: 0 8px 22px rgba(12, 110, 178, .14);
}

.screenshot-swiper .swiper-button-prev::after,
.screenshot-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 900;
}

.screenshot-swiper .swiper-pagination {
    bottom: 16px;
}

.screenshot-swiper .swiper-pagination-bullet {
    background: #b9cddd;
}

.screenshot-swiper .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 8px;
    background: var(--orange);
}

.rich-text {
    padding: 18px;
    color: #4f5d6b;
    font-size: 15px;
    line-height: 1.8;
}

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

.article-extra-block {
    border: 1px solid var(--line);
    background: #fff;
}

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

.article-extra-grid a {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 6px 10px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f6;
}

.article-extra-grid span {
    grid-column: 1 / -1;
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
}

.article-extra-grid strong {
    min-width: 0;
    color: var(--ink);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.article-extra-grid time {
    color: #b66a60;
    text-align: right;
}

.article-download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 14px 18px 18px;
}

.article-download-grid a,
.topic-mini-list a {
    min-width: 0;
    display: grid;
    align-items: center;
    gap: 10px;
}

.article-download-grid a {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 66px;
    padding: 8px;
    border: 1px solid #e8f0f6;
    background: #fbfdff;
}

.article-download-grid img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.article-download-grid strong,
.article-download-grid em,
.topic-mini-list strong,
.topic-mini-list em {
    min-width: 0;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.article-download-grid strong,
.topic-mini-list strong {
    color: var(--ink);
    font-weight: 900;
}

.article-download-grid em,
.topic-mini-list em {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.topic-mini-list {
    padding: 12px 16px 16px;
}

.topic-mini-list a {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 10px 0;
    border-bottom: 1px solid #edf2f6;
}

.topic-mini-list a:last-child {
    border-bottom: 0;
}

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

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

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

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

.detail-news-card span,
.article-row span,
.collection-row span {
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
}

.detail-news-card strong {
    display: block;
    padding: 8px 10px 12px;
    color: var(--ink);
    line-height: 1.45;
}

.detail-news-card span {
    display: block;
    padding: 8px 10px 0;
}

.apk-info {
    margin: 0;
    padding: 12px 16px 16px;
}

.apk-info div {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #edf2f6;
}

.apk-info div:last-child {
    border-bottom: 0;
}

.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(--deep-blue);
    background: none;
    font-weight: 900;
    cursor: pointer;
}

.related-list,
.side-news-list {
    margin: 0;
    padding: 12px 16px 16px;
    list-style: none;
}

.related-list a {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    border-bottom: 1px solid #edf2f6;
}

.related-list img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    object-fit: cover;
}

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

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

.detail-rank-list,
.rank-side-list {
    margin: 0;
    padding: 12px 16px 16px;
    list-style: none;
    counter-reset: rank;
}

.detail-rank-list li,
.rank-side-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    border-bottom: 1px solid #edf2f6;
}

.detail-rank-list img,
.rank-side-list img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
}

.detail-rank-list a,
.rank-side-list a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ink);
    font-weight: 700;
}

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

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 28, 40, .46);
}

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

.permission-modal {
    width: min(560px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

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

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

.modal-close {
    width: 32px;
    height: 32px;
    border: 0;
    color: #fff;
    background: var(--blue);
    cursor: pointer;
}

.permission-list {
    padding: 14px 16px;
}

.permission-list div {
    padding: 10px 0;
    border-bottom: 1px solid #edf2f6;
}

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

.permission-list span {
    margin-top: 3px;
    color: var(--muted);
}

.news-filter,
.rank-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f6;
}

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

.article-row img {
    width: 180px;
    height: 118px;
    object-fit: cover;
}

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

.article-head {
    padding: 20px 24px 12px;
    border-bottom: 1px solid var(--line);
}

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

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 10px;
    color: var(--muted);
}

.side-news-list li {
    min-width: 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #edf2f6;
}

.side-news-list time {
    flex: 0 0 auto;
    color: #b66a60;
}

.rank-page-panel {
    padding-bottom: 0;
}

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

.rank-board-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 2px solid var(--blue);
    background: var(--sky);
}

.rank-board-head span,
.rank-board-head strong,
.rank-board-head em {
    display: block;
}

.rank-board-head span {
    color: var(--deep-blue);
    font-size: 18px;
    font-weight: 900;
}

.rank-board-head strong,
.rank-board-head em {
    color: var(--muted);
    font-weight: 400;
}

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

.rank-main-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px 58px minmax(0, 1fr) 82px 64px;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f6;
}

.rank-main-num {
    color: var(--orange);
    font-size: 20px;
    font-weight: 900;
}

.rank-main-list img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-main-info {
    min-width: 0;
}

.rank-main-info > a {
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
}

.rank-main-info p {
    margin: 4px 0;
    color: #596675;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-main-stat {
    text-align: center;
}

.rank-main-stat span,
.rank-main-stat strong {
    display: block;
}

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

.rank-main-stat strong {
    color: var(--deep-blue);
}

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

.rank-side-card header {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--sky);
}

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

.collection-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 96px;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #edf2f6;
}

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

.collection-cover {
    display: block;
    width: 210px;
}

.collection-cover img,
.collection-row > img {
    width: 210px;
    height: 126px;
    object-fit: cover;
}

.collection-row-main {
    min-width: 0;
}

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

.collection-icons img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
}

.collection-action {
    width: 96px;
    justify-self: end;
}

.topic-detail-head {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
}

.topic-detail-head > img {
    width: 320px;
    height: 190px;
    object-fit: cover;
}

.topic-detail-head h1 {
    margin: 4px 0 10px;
    color: var(--ink);
    font-size: 30px;
}

.topic-detail-head p {
    margin: 0 0 12px;
    color: #596675;
}

.topic-detail-head dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.topic-detail-head dl div {
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--soft);
}

.topic-detail-head dt,
.topic-detail-head dd {
    margin: 0;
}

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

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

.included-list {
    display: grid;
    gap: 12px;
}

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

.included-item > img {
    width: 66px;
    height: 66px;
    border-radius: 14px;
}

.included-item div {
    min-width: 0;
}

.included-item span {
    color: var(--muted);
    font-size: 12px;
}

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

.sitemap-page {
    padding-top: 14px;
}

.sitemap-page .module {
    margin-top: 0;
}

.sitemap-page .module-head {
    min-height: 84px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #fff, #f9fbfd);
}

.sitemap-page .module-head h1 {
    margin: 2px 0 0;
    color: var(--ink);
    font-size: 26px;
    line-height: 1.2;
}

.sitemap-list section {
    min-height: 92px;
    padding: 15px 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.sitemap-list h2 {
    margin: 0 0 10px;
    color: var(--deep-blue);
    font-size: 20px;
}

.sitemap-list p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0;
}

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

.about-content h1 {
    margin: 4px 0 12px;
    color: var(--ink);
    font-size: 30px;
}

.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #eaf7ff, #f1f5f8);
}

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

.error-panel {
    padding: 36px 28px;
    border: 1px solid var(--line);
    background: #fff;
    text-align: center;
    box-shadow: 0 16px 42px rgba(15, 45, 82, .12);
}

.error-code {
    color: var(--blue);
    font-size: 82px;
    line-height: 1;
    font-weight: 900;
}

.error-code.server {
    color: var(--orange);
}

.error-panel h1 {
    margin: 10px 0;
    color: var(--ink);
    font-size: 28px;
}

.error-panel p {
    margin: 0 auto 18px;
    max-width: 380px;
    color: var(--muted);
}

.error-action {
    width: 128px;
    margin: 0 auto;
}

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

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .slider {
        height: 320px;
        min-height: 320px;
    }

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

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

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

@media (max-width: 760px) {
    .wrap {
        width: min(100% - 20px, var(--wrap));
    }

    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 7px 0;
        gap: 2px;
    }

    .brand-row {
        min-height: 86px;
    }

    .brand-note {
        display: none;
    }

    .brand img {
        width: 54px;
        height: 54px;
    }

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

    .nav-inner {
        padding: 8px 0;
    }

    .nav-toggle {
        width: 100%;
        min-height: 39px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, .38);
        color: #fff;
        background: var(--deep-blue);
        font-weight: 700;
    }

    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        width: 17px;
        height: 2px;
    display: block;
        background: #fff;
    }

    .nav-toggle span {
    position: relative;
    }

    .nav-toggle span::before,
    .nav-toggle span::after {
        content: "";
    position: absolute;
        left: 0;
    }

    .nav-toggle span::before {
        top: -6px;
    }

    .nav-toggle span::after {
        top: 6px;
    }

    .nav-links {
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, .25);
    }

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

    .nav-links a {
        min-height: 40px;
        font-size: 15px;
    }

    .hot-panel {
        grid-template-columns: 1fr;
    }

    .hot-title {
        min-height: 44px;
    }

    .hot-body {
        padding: 14px 12px;
    }

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

    .hero-layout,
    .news-layout,
    .rank-grid,
    .topic-grid {
        grid-template-columns: 1fr;
    }

    .slider {
        height: 260px;
        min-height: 260px;
    }

    .slide-caption strong {
        font-size: 18px;
    }

    .headline-news {
        padding: 17px 14px;
    }

    .headline-news h1 {
        font-size: 22px;
    }

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

    .module-head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 10px;
    }

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

    .segmented {
        justify-content: flex-start;
    }

    .software-card {
        grid-template-columns: 66px minmax(0, 1fr) 52px;
        gap: 10px;
        min-height: 94px;
        padding: 10px;
    }

    .software-card img {
        width: 62px;
        height: 62px;
    }

    .download-btn {
        width: 48px;
        height: 30px;
    }

    .feature-article,
    .topic-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .feature-article img,
    .topic-cover,
    .topic-cover img,
    .topic-card > img {
        width: 112px;
        height: 98px;
    }

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

    .rank-board span {
        display: none;
    }

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

@media (max-width: 420px) {
    .hot-apps img {
        width: 54px;
        height: 54px;
    }

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

    .feature-article img,
    .topic-cover,
    .topic-cover img,
    .topic-card > img {
        width: 100%;
        height: 150px;
    }

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

@media (max-width: 1080px) {
    .detail-hero,
    .news-list-layout,
    .detail-layout,
    .article-layout,
    .rank-page-layout {
        grid-template-columns: 1fr;
    }

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

    .download-card {
        position: static;
        min-height: auto;
        height: auto;
    }

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

    .collection-cover,
    .collection-cover img {
        width: 180px;
        height: 108px;
    }

    .collection-action {
        grid-column: 2;
        width: 96px;
        justify-self: start;
    }
}

@media (max-width: 760px) {
    .category-row,
    .resource-item,
    .article-row,
    .collection-row,
    .topic-detail-head,
    .rank-main-list li {
        grid-template-columns: 1fr;
    }

    .category-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .category-scroll a,
    .news-filter a,
    .rank-tabs a {
        flex: 0 0 auto;
    }

    .list-head,
    .rank-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-item {
        position: relative;
        padding-left: 82px;
    }

    .resource-icon {
        position: absolute;
        top: 14px;
        left: 0;
        width: 66px;
        height: 66px;
    }

    .resource-download,
    .collection-action {
        width: 96px;
    }

    .detail-info-panel,
    .screenshot-strip,
    .detail-news-grid,
    .article-extra-grid,
    .article-download-grid,
    .topic-detail-head dl,
    .rank-side {
        grid-template-columns: 1fr;
    }

    .detail-main-card {
        padding: 14px;
    }

    .detail-summary {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 24px;
    }

    .detail-icon {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

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

    .detail-info-panel span,
    .detail-info-panel span:nth-child(4n) {
        border-right: 0;
    }

    .screenshot-strip img {
        height: 170px;
    }

    .screenshot-swiper {
        min-height: 250px;
        padding: 18px 38px 38px;
    }

    .screenshot-swiper .swiper-wrapper {
        min-height: 196px;
    }

    .screenshot-swiper .swiper-slide {
        width: min(72vw, 260px);
    }

    .screenshot-swiper .swiper-slide img {
        height: 166px;
    }

    .article-row img,
    .collection-cover,
    .collection-cover img,
    .collection-row > img,
    .topic-detail-head > img {
        width: 100%;
        height: 170px;
    }

    .rank-main-stat {
        text-align: left;
    }

    .rank-main-action {
        width: 64px;
    }

    .collection-action {
        grid-column: auto;
    }

    .included-item {
        grid-template-columns: 58px minmax(0, 1fr) 54px;
        gap: 10px;
    }

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

    .topic-download {
        min-height: 32px;
    }
}

@media (max-width: 420px) {
    .resource-item {
        padding-left: 0;
    }

    .resource-icon {
        position: static;
    }

    .included-item {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .topic-download {
        grid-column: 2;
        width: 54px;
    }

    .screenshot-swiper {
        padding: 16px 30px 36px;
    }

    .screenshot-swiper .swiper-button-prev,
    .screenshot-swiper .swiper-button-next {
        width: 28px;
        height: 28px;
    }

    .article-extra-grid a {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-extra-grid time {
        text-align: left;
    }
}

/* 模板与样式兼容补丁 */
.hot-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding-top: 8px;
}

.hot-software-links {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px 14px;
    align-items: center;
    padding-top: 10px;
}

.hot-software-links a {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-list span,
.date-list span {
    flex: 0 0 auto;
    color: #be6a62;
    font-size: 12px;
}

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

.news-list time {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.software-card h3 a {
    color: inherit;
}

.software-card h3 a:hover {
    color: var(--blue);
}

.detail-info-panel > dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    width: 100%;
}

.detail-info-panel dl div {
    min-width: 0;
    padding: 10px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-info-panel dl div:nth-child(4n) {
    border-right: 0;
}

.detail-info-panel dt,
.detail-info-panel dd {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

.detail-info-panel dd {
    color: var(--ink);
    font-weight: 700;
}

.detail-title-block p {
    margin: 0;
    color: #596675;
}

@media (max-width: 760px) {
    .hot-software-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pager span.active {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}

.sitemap-list h3 {
    margin: 0 0 12px;
    color: var(--deep-blue);
    font-size: 22px;
    line-height: 1.25;
}

.sitemap-list a {
    display: inline-block;
    margin: 0 18px 8px 0;
    color: var(--ink);
    font-weight: 400;
    line-height: 1.6;
    white-space: nowrap;
}

.sitemap-list a:hover {
    color: var(--blue);
}

.rich-text img {
    max-width: 100%;
    height: auto;
    margin: 8px auto;
}

.rich-text a {
    color: var(--deep-blue);
    text-decoration: underline;
}

.article-meta span,
.detail-meta span {
    white-space: nowrap;
}

.friend-links strong {
    margin-right: 4px;
}

.app-module .download-btn,
.app-topic-module .download-btn {
    background: var(--green);
}

.site-footer .footer-grid section a {
    display: block;
    margin: 0 0 8px;
}

@media (max-width: 760px) {
    .detail-info-panel > dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-info-panel dl div:nth-child(2n),
    .detail-info-panel dl div:nth-child(4n) {
        border-right: 0;
    }
}

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

    .detail-info-panel > dl {
        grid-template-columns: 1fr;
    }

    .detail-info-panel dl div,
    .detail-info-panel dl div:nth-child(2n),
    .detail-info-panel dl div:nth-child(4n) {
        border-right: 0;
    }
}
