/* Image-led game discovery, with one shared visual system across both platforms. */
:root {
    --bg: #111318;
    --surface: #1a1d25;
    --surface-hi: #242832;
    --text: #f5f4fa;
    --muted: #a0a5b5;
    --line: #30333e;
    --accent: #baa6ff;
    --purple: #9276ed;
    --font: "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html { scroll-padding-top: 108px; }
body { font-size: 15px; }
.container, .header-inner { max-width: 1440px; padding-inline: 48px; }
.site-header { height: 84px; background: #14161cf5; border-color: #ffffff0d; backdrop-filter: blur(18px); }
.header-inner { gap: 72px; }
.brand { font-size: 24px; letter-spacing: -.5px; }
.brand small { font-size: 10px; letter-spacing: 1px; margin-top: 8px; }
.desktop-nav { gap: 36px; }
.desktop-nav a { font-size: 15px; }
.desktop-nav a.active { color: #e2d8ff; }
.desktop-nav a.active:after { left: 0; right: 0; height: 2px; background: var(--accent); }
.favorite-nav { min-height: 42px; background: #20232c; border-color: #353743; border-radius: 22px; font-size: 12px; }
.favorite-nav b { background: #373044; border-radius: 8px; }
.discovery-bar { margin: 38px 0 28px; gap: 32px; }
.discovery-bar .section-kicker { color: #b1a4c9; font-size: 12px; letter-spacing: .4px; }
.discovery-bar h1 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 650; letter-spacing: -.8px; margin: 9px 0 10px; }
.discovery-bar p { font-size: 13px; line-height: 1.8; }
.search-form { min-width: 340px; width: 360px; border-color: #363945; background: #1b1e26; border-radius: 28px; min-height: 52px; padding: 6px 6px 6px 18px; }
.search-form input { font-size: 13px; }
.search-form button { border-radius: 22px; padding: 10px 19px; font-size: 12px; color: #e6dcff; background: #373044; border-color: transparent; }
.search-form:focus-within { outline: 2px solid #bba6ff26; outline-offset: 3px; }
.showcase { grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr); gap: 20px; height: 450px; }
.hero-feature { border-radius: 18px; background-position: 64% center; }
.hero-shade { background: linear-gradient(90deg, #101317ed, #11131880 48%, #10131800 85%), linear-gradient(0deg, #0c1016d9, transparent 85%); }
.hero-content { max-width: 620px; padding: 38px 40px; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.editor-pick { color: #e5d6b4; background: #1a1916a8; border-color: #d9c99640; border-radius: 20px; font-size: 11px; padding: 7px 12px; margin-bottom: auto; }
.hero-english { display: none; }
.hero-content h2 { font-size: clamp(34px, 3.2vw, 48px); font-weight: 700; letter-spacing: -.6px; line-height: 1.35; margin: 22px 0 14px; text-wrap: balance; }
.hero-content>p { max-width: 35ch; font-size: 14px; line-height: 1.9; color: #d0d2da; margin-bottom: 16px; }
.hero-tags { gap: 7px; margin-bottom: 22px; }
.hero-tags span, .hero-tags a { font-size: 11px; padding: 4px 9px; border-radius: 5px; background: #14171d70; color: #d5d5df; }
.primary-button { min-height: 46px; border-radius: 24px; padding: 12px 23px; font-size: 13px; gap: 20px; background: #9b80ef; border-color: transparent; color: #fff; font-weight: 600; }
.primary-button:hover { background: #ac93f9; }
.secondary-button { min-height: 44px; border-radius: 24px; }
.side-features { gap: 20px; }
.side-feature { border-radius: 14px; background: var(--surface); }
.side-feature:after { background: linear-gradient(0deg, #0b0e16f5, #0b0e1670 45%, transparent 85%); }
.side-feature-content { left: 24px; right: 24px; bottom: 21px; }
.side-feature-content>span { color: #d5c8ed; font-size: 11px; }
.side-feature-content h2 { font-size: 23px; line-height: 1.4; letter-spacing: 0; margin: 6px 0 9px; }
.side-feature-content p { font-size: 11px; color: #b7bdcc; }
.quick-links { margin: 24px 0 46px; gap: 20px; }
.quick-links>a { border-radius: 12px; border-color: #ffffff09; padding: 20px 22px; background: #1a1d25; }
.quick-links>a:hover { border-color: #8874ae70; background: #20232d; }
.quick-icon { width: 45px; height: 45px; border-radius: 12px; }
.quick-links strong { font-size: 15px; margin-bottom: 7px; }
.quick-links div>span { font-size: 12px; }
.library-layout { grid-template-columns: minmax(0, 1fr) 278px; gap: 32px; margin-bottom: 64px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { font-size: 25px; letter-spacing: -.4px; font-weight: 650; }
.title-dot { display: none; }
.section-heading p { font-size: 12px; margin-top: 10px; line-height: 1.8; }
.result-count { font-size: 12px; background: #21242d; padding: 7px 11px; border-radius: 18px; color: #b4b8c7; }
.library-toolbar { align-items: center; border-bottom-color: #33353f; }
.library-tabs { gap: 27px; }
.library-tabs a { min-height: 44px; font-size: 14px; padding-bottom: 17px; }
.library-tabs a.active { color: #d6c8ff; }
.library-tabs a.active:after { background: #b49bf6; }
.sort-form select { font-size: 12px; max-width: 115px; padding: 7px 10px; border-radius: 8px; background: #20232b; border-color: #373944; }
.genre-filter { gap: 5px; margin: 18px 0 25px; }
.genre-filter>span { font-size: 12px; }
.genre-filter a { min-height: 34px; padding: 8px 11px; font-size: 12px; border-radius: 18px; }
.genre-filter a.active { color: #d9caff; background: #332c45; }
.game-grid { gap: 25px 20px; }
.game-card { display: flex; flex-direction: column; border-radius: 12px; background: #1a1d25; border-color: #ffffff09; }
.game-card:hover { border-color: #8e79bb80; }
.card-art { aspect-ratio: 460 / 235; flex-shrink: 0; }
.card-body { padding: 17px 16px 0; display: flex; flex-direction: column; flex: 1; }
.card-tags { gap: 9px; min-height: 17px; margin-bottom: 8px; }
.card-tags span { font-size: 10px; color: #b6a7d2; }
.card-body h3 { font-size: 16px; line-height: 1.65; margin-bottom: 9px; font-weight: 600; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-body>p { font-size: 12px; line-height: 1.85; min-height: 3.7em; color: #a5abba; margin-bottom: 16px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-meta { margin-top: auto; padding: 13px 0; font-size: 10px; border-top-color: #ffffff0b; gap: 10px; }
.card-meta>span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.card-meta time { flex-shrink: 0; color: #929bad; }
.platform-badge { background: #111722df; font-size: 10px; border-radius: 5px; left: 12px; bottom: 12px; padding: 5px 8px; }
.save-game { width: 36px; height: 36px; top: 10px; right: 10px; background: #111722c9; border: 1px solid #ffffff22; }
.save-game svg { width: 17px; height: 17px; }
.save-game[aria-pressed=true] { color: #ddcaff; background: #4c3c6d; }
.ranking-panel { background: #191c24; border-color: #ffffff09; border-radius: 12px; padding: 23px 19px 0; }
.aside-heading { margin-bottom: 24px; }
.aside-heading h2 { font-size: 17px; }
.aside-heading>span { font-size: 11px; }
.ranking-list { gap: 21px; }
.ranking-item { gap: 10px; }
.ranking-item img { width: 64px; height: 49px; border-radius: 6px; }
.ranking-item strong { font-size: 12px; margin-bottom: 8px; }
.ranking-item div>span { font-size: 10px; }
.rank-number { font-size: 15px; font-style: normal; font-weight: 500; width: 18px; }
.ranking-more { font-size: 12px; padding: 18px 0; margin-top: 23px; }
.discovery-note { background: #242031; border-color: #51426188; border-radius: 12px; padding: 25px 23px; margin-top: 21px; }
.discovery-note h3 { font-size: 17px; }
.discovery-note p { font-size: 12px; line-height: 1.95; }
.discovery-note a { font-size: 12px; }
.notice-panel { padding: 24px 6px; }
.notice-panel strong { font-size: 12px; }
.notice-panel p { font-size: 11px; line-height: 2; color: #929bad; }
.pagination { margin-top: 38px; gap: 16px; }
.pagination-direction { border-radius: 24px; background: #1b1e27; font-size: 12px; }
.pagination-pages { border-radius: 24px; padding: 5px; background: #1b1e27; border-color: #353743; }
.pagination-page { border-radius: 50%; min-width: 36px; }
.pagination-page.active { background: #a58aef; box-shadow: none; }
.pagination-caption { color: #989eaf; }
.breadcrumbs { font-size: 12px; margin: 28px 0; }
.article-hero { background: #1c1e28; border-color: #36333f; border-radius: 18px; }
.article-hero-copy { padding: 36px; }
.article-hero h1 { font-size: 36px; line-height: 1.5; letter-spacing: -.5px; }
.article-hero-copy>p { font-size: 14px; line-height: 2; color: #b1b8c9; }
.article-eyeline { font-size: 12px; }
.article-hero-actions { gap: 12px; }
.article-share { font-size: 12px; }
.game-facts { background: #1a1d25; padding-block: 24px; margin: 22px 0 24px; }
.game-facts dt { font-size: 12px; }
.game-facts dd { font-size: 13px; }
.article-jump { top: 96px; background: #1c1f27f5; border-color: #3c3847; padding: 19px 24px; border-radius: 12px; gap: 28px; }
.article-jump>a { font-size: 13px; }
.article-section { padding: 32px 36px; border-radius: 12px; background: #1a1d25; border-color: #ffffff09; }
.article-section-heading h2 { font-size: 23px; }
.article-section-heading>span { font-size: 11px; }
.game-prose { font-size: 15px; color: #bcc3d1; line-height: 2.1; }
.feature-notes p, .installation-steps p, .faq-section summary { font-size: 14px; }
.faq-section details>p { font-size: 13px; }
.requirements-table { font-size: 13px; }
.article-sidebar { top: 176px; }
.article-download { padding: 27px 24px; border-color: #6d578c; }
.download-heading h2 { font-size: 20px; }
.download-heading p, .resource-version p, .article-support p, .article-side-note ul { font-size: 12px; }
.resource-version strong { font-size: 14px; }
.article-side-note, .article-support { background: #1c1f28; }
.screenshot-button { border-radius: 10px; border-color: #ffffff15; }
.post-disclaimer { background: #211f2a; border-color: #484053; border-radius: 14px; }
.disclaimer-copy>p { font-size: 13px; line-height: 2.1; color: #b9b3c7; }
.disclaimer-highlights>span { font-size: 11px; padding: 7px 10px; }
.disclaimer-bottom, .disclaimer-policy { font-size: 11px; }
.disclaimer-bottom>a { font-size: 14px; }
.information-content { background: #1a1d25; }
.information-content p, .policy-list { font-size: 14px; line-height: 2.1; }
.information-content h2 { font-size: 22px; }
.policy-subnav>a { font-size: 12px; padding: 10px 15px; }
.site-directory { margin-top: 32px; }
.site-directory-links>a { color: #b0b3c3; }
.site-footer>div { color: #969dad; border-top-color: #30333e; }
.site-footer>div>a { color: #969dad; }
.favorites-dialog { background: #1d2029; border-color: #494251; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #c6b1ff; outline-offset: 4px; }

@media (max-width: 1200px) and (min-width: 851px) {
    .container, .header-inner { padding-inline: 32px; }
    .header-inner { gap: 40px; }
    .desktop-nav { gap: 25px; }
    .showcase { height: 420px; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
    .hero-content { padding: 30px; }
    .library-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .side-feature-content { left: 20px; right: 20px; }
    .side-feature-content h2 { font-size: 21px; }
    .quick-links>a { padding: 18px; gap: 12px; }
    .quick-links div>span { font-size: 11px; }
    .article-hero-copy { padding: 28px; }
    .article-hero h1 { font-size: 29px; }
    .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
    .article-section { padding: 28px; }
}
@media (max-width: 850px) and (min-width: 651px) {
    .container, .header-inner { padding-inline: 28px; }
    .header-inner { gap: 25px; }
    .brand { font-size: 21px; }
    .desktop-nav { gap: 20px; }
    .desktop-nav a { font-size: 13px; }
    .showcase { height: 390px; }
    .hero-content { padding: 26px; }
    .hero-content h2 { font-size: 34px; }
    .hero-content>p { font-size: 12px; }
    .side-feature-content { left: 16px; right: 16px; bottom: 16px; }
    .side-feature-content h2 { font-size: 18px; }
    .quick-links { gap: 12px; }
    .quick-links>a { padding: 15px; gap: 10px; }
    .quick-links div>span { display: none; }
    .quick-links strong { margin: 0; font-size: 14px; }
    .library-layout { display: block; }
    .library-aside { margin-top: 32px; }
    .ranking-list { display: grid; grid-template-columns: 1fr 1fr; }
    .search-form { min-width: 260px; width: 280px; }
    .article-hero-copy { padding: 25px; }
    .article-hero h1 { font-size: 27px; }
    .article-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
    html { scroll-padding-top: 90px; }
    .container, .header-inner { padding-inline: 20px; }
    .site-header { height: 74px; }
    .header-inner { gap: 12px; }
    .brand { font-size: 21px; gap: 9px; }
    .brand img { width: 34px; height: 34px; }
    .brand small { font-size: 8px; letter-spacing: .4px; margin-top: 6px; }
    .favorite-nav { width: 40px; height: 40px; min-height: 40px; padding: 9px; border-radius: 50%; position: relative; }
    .favorite-nav b { position: absolute; right: -4px; top: -3px; font-size: 9px; }
    .mobile-search { min-width: 40px; min-height: 40px; }
    .discovery-bar { display: block; margin: 27px 0 22px; }
    .discovery-bar .section-kicker { font-size: 11px; }
    .discovery-bar h1 { font-size: 27px; letter-spacing: -.6px; line-height: 1.5; margin: 9px 0; }
    .discovery-bar p { font-size: 12px; line-height: 1.8; }
    .search-form { width: 100%; min-width: 0; min-height: 48px; margin-top: 20px; }
    .search-form input { font-size: 12px; }
    .search-form button { font-size: 12px; padding: 9px 18px; }
    .showcase { display: block; height: auto; }
    .hero-feature { height: 386px; border-radius: 14px; background-position: 63% center; }
    .hero-shade { background: linear-gradient(0deg, #0b1018f5, #1017206b 74%), linear-gradient(90deg, #11172280, transparent); }
    .hero-content { padding: 24px; max-width: 100%; }
    .editor-pick { font-size: 10px; padding: 6px 10px; }
    .hero-content h2 { font-size: 34px; letter-spacing: -.7px; margin: 24px 0 12px; }
    .hero-content>p { font-size: 12px; line-height: 1.9; max-width: 26ch; margin-bottom: 13px; }
    .hero-tags { margin-bottom: 19px; gap: 6px; }
    .hero-tags span, .hero-tags a { font-size: 10px; padding: 4px 8px; }
    .hero-content .primary-button { font-size: 12px; min-height: 43px; padding: 10px 19px; }
    .side-features { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 145px; gap: 12px; margin-top: 12px; }
    .side-feature { border-radius: 10px; }
    .side-feature-content { left: 13px; right: 13px; bottom: 13px; }
    .side-feature-content h2 { font-size: 17px; line-height: 1.4; margin: 6px 0; }
    .side-feature-content>span { font-size: 9px; }
    .side-feature-content p { font-size: 9px; }
    .quick-links { gap: 10px; margin: 18px 0 35px; }
    .quick-links>a { padding: 16px 6px; flex-direction: column; gap: 10px; text-align: center; border-radius: 10px; }
    .quick-icon { width: 35px; height: 35px; border-radius: 10px; }
    .quick-links strong { font-size: 12px; margin: 0; }
    .quick-links div>span { display: none; }
    .library-layout { display: block; margin-bottom: 35px; }
    .section-heading { margin-bottom: 22px; }
    .section-heading h2 { font-size: 23px; }
    .section-heading p { font-size: 11px; margin-top: 7px; }
    .result-count { font-size: 10px; padding: 6px 9px; }
    .library-toolbar { align-items: center; gap: 8px; }
    .library-tabs { gap: 19px; min-width: 0; }
    .library-tabs a { font-size: 12px; padding: 12px 0 14px; min-height: 44px; }
    .sort-form { align-self: center; flex-shrink: 0; }
    .sort-form select { font-size: 10px; padding: 7px 4px; max-width: 80px; }
    .genre-filter { margin: 15px 0 20px; gap: 5px; padding-bottom: 3px; }
    .genre-filter>span { font-size: 11px; }
    .genre-filter a { font-size: 11px; min-height: 36px; padding: 9px 10px; }
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .game-card { border-radius: 10px; }
    .card-art { aspect-ratio: 1.6; }
    .card-body { padding: 13px 11px 0; }
    .card-tags { gap: 6px; margin-bottom: 6px; min-height: 14px; }
    .card-tags span { font-size: 9px; }
    .card-body h3 { font-size: 14px; line-height: 1.65; margin-bottom: 7px; }
    .card-body>p { font-size: 11px; line-height: 1.8; margin-bottom: 12px; }
    .card-meta { padding: 10px 0; font-size: 9px; gap: 5px; flex-wrap: wrap; }
    .card-meta>span { width: 100%; }
    .platform-badge { font-size: 9px; left: 8px; bottom: 8px; padding: 4px 6px; }
    .save-game { width: 34px; height: 34px; right: 7px; top: 7px; }
    .save-game svg { width: 16px; height: 16px; }
    .library-aside { display: block; margin-top: 34px; }
    .ranking-panel { padding: 22px 20px 0; }
    .ranking-list { gap: 19px; }
    .ranking-item { gap: 15px; }
    .ranking-item img { width: 78px; height: 47px; }
    .ranking-item strong { font-size: 13px; }
    .ranking-item div>span { font-size: 11px; }
    .discovery-note { padding: 24px; }
    .notice-panel p { font-size: 12px; }
    .pagination-direction { min-width: 44px; min-height: 44px; }
    .pagination-page { min-width: 34px; }
    .mobile-nav { background: #1a1d25f5; border-top-color: #343440; padding-top: 10px; }
    .mobile-nav a { font-size: 10px; min-height: 44px; gap: 6px; }
    .mobile-nav a.active { color: #cfbaff; }
    .mobile-nav a.active svg { filter: none; }
    .breadcrumbs { font-size: 11px; margin: 24px 0; }
    .article-hero-copy { padding: 25px 22px; }
    .article-hero h1 { font-size: 29px; line-height: 1.55; margin-top: 18px; }
    .article-hero-copy>p { font-size: 13px; }
    .article-eyeline { font-size: 10px; }
    .article-hero-actions .primary-button, .article-hero-actions .secondary-button { font-size: 12px; min-height: 44px; }
    .article-share { font-size: 11px; }
    .game-facts { margin: 18px 0; padding: 0; }
    .game-facts>div { padding: 15px 18px; }
    .game-facts dt { font-size: 10px; }
    .game-facts dd { font-size: 12px; }
    .article-jump { top: 84px; padding: 17px; gap: 24px; }
    .article-jump>a { font-size: 12px; }
    .article-layout { display: flex; gap: 18px; }
    .article-section { padding: 25px 21px; scroll-margin-top: 158px; }
    .article-section-heading h2 { font-size: 20px; }
    .article-section-heading>span { font-size: 10px; }
    .game-prose { font-size: 14px; line-height: 2.05; }
    .feature-notes p, .installation-steps p { font-size: 12px; }
    .faq-section summary { font-size: 13px; }
    .faq-section details>p { font-size: 12px; }
    .requirements-table { font-size: 11px; }
    .article-download { padding: 25px; }
    .article-mobilebar { background: #1a1d25f5; border-top-color: #484052; }
    .article-mobilebar>a { min-height: 44px; font-size: 13px; }
    .post-disclaimer { padding: 23px 21px; }
    .disclaimer-copy>p { font-size: 12px; line-height: 2.1; }
    .disclaimer-highlights>span { font-size: 10px; padding: 6px 8px; }
    .disclaimer-bottom, .disclaimer-policy { font-size: 10px; line-height: 1.9; }
    .disclaimer-bottom>a { font-size: 13px; overflow-wrap: anywhere; }
    .information-content p, .policy-list { font-size: 13px; line-height: 2.1; }
    .information-content h2 { font-size: 19px; }
    .site-directory-links { gap: 20px 0; }
    .site-directory-links>a { font-size: 11px; }
    .site-footer { padding-bottom: 110px; }
    .site-footer>div { font-size: 10px; flex-wrap: wrap; row-gap: 12px; }
}
@media (max-width: 374px) {
    .container, .header-inner { padding-inline: 16px; }
    .discovery-bar h1 { font-size: 25px; }
    .library-tabs { gap: 13px; }
    .library-tabs a { font-size: 11px; }
    .card-body { padding-inline: 10px; }
    .card-body h3 { font-size: 13px; }
    .side-feature-content h2 { font-size: 15px; }
}
.hero-content h2,.hero-content>p,.side-feature-content h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex-shrink:0}
.hero-content>.editor-pick,.hero-content>.primary-button,.hero-tags{flex-shrink:0}
