:root {
  --ink:#20252b; --muted:#7b8491; --line:#e8ebed; --surface:#f6f7f8;
  --accent:#008eff; --green:#008eff; --radius:8px; --container:1200px;
  color-scheme:light;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:90px; }
body { margin:0; background:#fff; color:var(--ink); font:15px/1.65 "PingFang SC","Microsoft YaHei",system-ui,sans-serif; }
a { color:inherit; text-decoration:none; }
button,input,select { font:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:default; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline:3px solid var(--green); outline-offset:4px; }
img { max-width:100%; }
.container { width:min(var(--container),calc(100% - 64px)); margin-inline:auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.icon { width:21px; height:21px; flex:none; vertical-align:middle; }
.skip-link { position:absolute; top:8px; left:20px; z-index:100; padding:10px 16px; color:#fff; background:var(--green); border-radius:6px; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; }
.skip-link:focus { width:auto; height:auto; clip:auto; clip-path:none; overflow:visible; }
.site-header { border-bottom:1px solid var(--line); background:#fff; position:sticky; top:0; z-index:30; }
.header-inner { min-height:72px; display:flex; align-items:center; gap:28px; }
.brand { display:flex; align-items:center; gap:8px; flex:none; max-width:270px; }
.brand strong { font-size:27px; line-height:1.2; letter-spacing:-1px; font-weight:800; }
.brand img { object-fit:contain; width:36px; height:36px; }
.brand-mark { display:block; width:22px; height:17px; flex:none; background:linear-gradient(115deg,transparent 20%,var(--accent) 21% 47%,transparent 48% 57%,var(--accent) 58% 84%,transparent 85%); }
.desktop-nav { display:flex; align-items:stretch; gap:26px; align-self:stretch; margin-left:auto; white-space:nowrap; }
.desktop-nav a { display:grid; align-items:center; border-bottom:3px solid transparent; padding-top:3px; font-size:17px; font-weight:500; }
.desktop-nav a:hover,.desktop-nav a[aria-current] { color:var(--green); }
.desktop-nav a[aria-current] { border-color:var(--accent); font-weight:700; }
.search-mini { display:flex; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); width:210px; min-width:150px; }
.search-mini input { border:0; width:100%; min-width:0; padding:9px 8px 9px 0; outline-offset:0; background:transparent; color:var(--ink); font-size:15px; }
.search-mini button { flex:none; width:39px; height:38px; display:grid; place-items:center; border:0; background:transparent; color:var(--muted); }
.icon-button { display:grid; place-items:center; width:40px; height:40px; padding:0; border:0; border-radius:7px; background:transparent; color:var(--ink); }
.icon-button:hover { background:var(--surface); }
.menu-toggle,.mobile-nav { display:none; }
.page-main { min-height:65vh; padding-block:32px 48px; }
.home-intro { margin-bottom:22px; }
.home-intro h1 { margin:0 0 6px; font-size:38px; font-weight:800; letter-spacing:-1px; line-height:1.3; }
.home-intro p { margin:0; font-size:19px; color:var(--muted); }
.home-sections { display:grid; grid-template-columns:1.35fr 1fr; gap:28px 30px; }
.home-section { min-width:0; }
.home-section-games,.home-section-banners { grid-column:1/-1; }
.section-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 14px; }
.section-head h2,.section-heading { display:flex; align-items:center; margin:0; font-size:25px; font-weight:750; line-height:1.4; }
.section-head h2::before,.section-heading::before { content:""; height:22px; width:6px; background:var(--accent); border-radius:2px; margin-right:10px; flex:none; }
.more-link,.text-link { color:var(--green); display:inline-flex; align-items:center; gap:6px; font-size:15px; white-space:nowrap; }
.more-link .icon,.text-link .icon { width:17px; height:17px; }
.more-link:hover,.text-link:hover { text-decoration:underline; text-underline-offset:4px; }
.home-banner-strip { display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#d3d8ce transparent; border-radius:var(--radius); }
.home-banner { display:block; flex:0 0 100%; height:210px; position:relative; overflow:hidden; border-radius:var(--radius); background:#1e2c24; scroll-snap-align:start; }
.home-banner img { display:block; width:100%; height:100%; object-fit:cover; }
.banner-caption { position:absolute; bottom:22px; left:26px; max-width:80%; color:#fff; text-shadow:0 2px 8px #000; }
.banner-caption strong { display:block; font-size:32px; line-height:1.4; overflow-wrap:anywhere; }
.banner-caption small { display:block; font-size:16px; margin-top:2px; }
.banner-caption>span { display:flex; align-items:center; gap:8px; font-size:16px; margin-top:8px; text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:7px; }
.game-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 16px; background:var(--surface); padding:4px 16px; border-radius:var(--radius); }
.game-card { min-width:0; border-bottom:1px solid var(--line); }
.game-card-link { display:flex; align-items:center; gap:15px; min-height:102px; padding:17px 0; }
.game-card img,.image-placeholder { display:grid; place-items:center; width:64px; height:64px; border-radius:14px; object-fit:cover; flex:none; background:#e5e9e1; color:var(--green); font-size:26px; font-weight:700; }
.game-card-body { min-width:0; flex:1; }
.game-card h3 { font-size:17px; font-weight:650; margin:0 0 5px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.game-card p { margin:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:var(--muted); font-size:14px; }
.card-cta { flex:none; display:inline-flex; align-items:center; justify-content:center; min-width:66px; min-height:34px; padding:4px 12px; border:1px solid var(--green); border-radius:7px; background:#fff; color:var(--green); font-size:15px; transition:background .15s; }
.game-card-link:hover .card-cta { background:var(--accent); color:var(--ink); border-color:var(--accent); }
.game-card-link:hover h3,.news-row:hover .news-title,.gift-row:hover .gift-row-title { color:var(--green); }
.list-panel,.panel { padding:6px 18px; border:1px solid var(--line); border-radius:var(--radius); min-width:0; }
.news-row,.gift-row { display:flex; align-items:center; gap:12px; padding:13px 0; border-bottom:1px solid var(--line); min-width:0; }
.news-row:last-child,.gift-row:last-child { border:0; }
.news-title,.gift-row-title { flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:16px; font-weight:400; }
.news-row time { color:var(--muted); font-size:14px; flex:none; }
.tag { display:inline-block; padding:1px 8px; border-radius:4px; font-size:14px; color:var(--green); background:#eaf6d7; white-space:nowrap; }
.tag-blue { color:#3175b9; background:#e8f2ff; }
.gift-row>.icon { color:var(--green); width:27px; height:27px; }
.empty { grid-column:1/-1; padding:36px 20px; text-align:center; color:var(--muted); font-size:16px; }
.empty a { color:var(--green); text-decoration:underline; }
.page-title { margin:0 0 24px; }
.page-title h1 { font-size:34px; margin:0 0 6px; line-height:1.4; }
.page-title p { color:var(--muted); margin:0; }
.toolbar { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin:0 0 22px; }
.toolbar input,.toolbar select { border:1px solid #dfe3e6; background:#fff; border-radius:7px; padding:9px 12px; color:var(--ink); font-size:16px; min-width:0; }
.toolbar input[type=search] { flex:1; max-width:380px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 18px; border:1px solid #86b42c; border-radius:8px; min-height:42px; color:var(--ink); background:#fff; font-size:16px; font-weight:650; }
.btn-primary { background:var(--accent); border-color:var(--accent); }
.btn:hover { background:#eaf6d7; }
.btn-primary:hover { background:#9bd92c; }
.filter-links { display:flex; flex-wrap:wrap; gap:8px; padding:0 0 24px; }
.filter-links a { padding:4px 12px; background:var(--surface); border-radius:5px; color:#5d6772; font-size:15px; }
.filter-links a[aria-current],.filter-links a:hover { background:#eaf6d7; color:var(--green); }
.result-summary { font-size:15px; color:var(--muted); margin:-8px 0 18px; }
.pagination { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center; margin:28px 0 0; font-size:15px; }
.pagination>a,.pagination>span { border:1px solid var(--line); border-radius:7px; padding:8px 12px; }
.pagination>a:hover { border-color:var(--green); color:var(--green); }
.pagination .page-position { border-color:transparent; }
.pagination .page-disabled { color:#a0a6ad; background:var(--surface); }
.pagination small { color:var(--muted); }
.breadcrumb { display:flex; gap:8px; align-items:center; font-size:14px; color:var(--muted); margin-bottom:20px; flex-wrap:wrap; }
.breadcrumb a:hover { color:var(--green); }
.breadcrumb .icon { width:12px; height:12px; }
.detail-hero { display:flex; align-items:center; gap:24px; background:var(--surface); border-radius:var(--radius); padding:24px; margin-bottom:24px; }
.detail-logo img,.detail-logo .image-placeholder { width:112px; height:112px; border-radius:20px; object-fit:cover; display:block; }
.detail-main { flex:1; min-width:0; }
.detail-hero h1 { margin:0 0 7px; font-size:34px; line-height:1.35; overflow-wrap:anywhere; }
.detail-version { margin:0 0 10px; font-size:19px; color:#697482; }
.chips { display:flex; align-items:center; gap:6px; flex-wrap:wrap; color:var(--muted); font-size:15px; }
.chips span { background:#e9edf0; border-radius:5px; padding:1px 8px; color:#697482; }
.download-box { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; max-width:430px; }
.download-box .btn { min-height:48px; }
.download-note { color:var(--muted); margin:0; font-size:16px; }
.detail-banner { margin:0 0 24px; overflow:hidden; border-radius:var(--radius); max-height:260px; }
.detail-banner img { display:block; width:100%; max-height:260px; object-fit:cover; }
.detail-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(280px,1fr); align-items:start; gap:28px; }
.detail-body,.detail-aside { min-width:0; }
.detail-aside>.aside-panel { margin-bottom:22px; }
.aside-panel { border:1px solid var(--line); border-radius:var(--radius); padding:18px; }
.aside-panel .section-heading { font-size:21px; margin-bottom:8px; }
.aside-panel .game-card-link { min-height:92px; gap:12px; }
.aside-panel .game-card img { width:58px; height:58px; }
.aside-panel .card-cta { min-width:50px; padding:4px 8px; }
.aside-panel .news-row { flex-wrap:wrap; gap:6px; }
.aside-panel .news-title { white-space:normal; flex-basis:calc(100% - 60px); font-size:15px; }
.detail-tabs { display:flex; gap:28px; border-bottom:1px solid var(--line); margin:0 0 24px; overflow-x:auto; white-space:nowrap; }
.detail-tabs a { padding:8px 0 12px; font-size:16px; }
.detail-tabs a:first-child { color:var(--green); border-bottom:3px solid var(--accent); }
.content-section { margin:0 0 30px; scroll-margin-top:92px; }
.content-section>.section-heading { margin-bottom:16px; font-size:24px; }
.rich-text { color:#4b5560; font-size:17px; line-height:1.95; overflow-wrap:anywhere; }
.rich-text p { margin:0 0 16px; }
.rich-text h2,.rich-text h3,.rich-text h4 { color:var(--ink); margin:22px 0 12px; line-height:1.5; }
.rich-text h2 { font-size:24px; }.rich-text h3 { font-size:21px; }.rich-text h4 { font-size:19px; }
.rich-text a { color:var(--green); text-decoration:underline; }
.rich-text img { max-width:100%; height:auto; display:block; margin:16px auto; }
.rich-text table { display:block; overflow-x:auto; max-width:100%; border-collapse:collapse; font-size:16px; margin:18px 0; }
.rich-text td,.rich-text th { padding:8px 12px; border:1px solid #dfe3e6; min-width:70px; }
.rich-text th { background:var(--surface); }
.rich-text ul,.rich-text ol { padding-left:24px; }
.rich-text blockquote { margin:16px 0; border-left:3px solid var(--accent); padding:8px 16px; background:var(--surface); }
.gallery-frame { position:relative; }
.screenshots { display:flex; gap:14px; overflow-x:auto; padding-bottom:10px; scroll-snap-type:x mandatory; scrollbar-width:thin; }
.screenshots a { flex:none; scroll-snap-align:start; display:block; }
.screenshots img { height:270px; width:auto; max-width:75vw; object-fit:contain; border-radius:8px; background:var(--surface); display:block; }
.gallery-control { position:absolute; top:calc(50% - 20px); z-index:2; background:#fff; border:1px solid var(--line); border-radius:50%; width:36px; height:36px; display:grid; place-items:center; box-shadow:0 2px 8px #0001; }
.gallery-control[data-scroll="-1"] { left:8px; transform:rotate(180deg); }.gallery-control[data-scroll="1"] { right:8px; }
.gift-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.gift-card { border:1px solid var(--line); border-radius:var(--radius); padding:20px; min-width:0; }
.gift-card:hover { border-color:#a5c568; }
.gift-card-head { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.gift-card-head>.icon { color:var(--green); width:30px; height:30px; }
.gift-card h2 { font-size:19px; margin:12px 0 6px; }
.gift-card p { color:var(--muted); font-size:15px; margin:0 0 18px; min-height:42px; overflow-wrap:anywhere; }
.gift-card footer { display:flex; justify-content:space-between; align-items:center; gap:10px; border-top:1px solid var(--line); padding-top:12px; font-size:14px; color:var(--muted); }
.gift-status { padding:1px 8px; border-radius:4px; background:#eaf6d7; color:var(--green); font-size:14px; }
.gift-status-muted { color:#727c85; background:var(--surface); }
.gift-detail { max-width:860px; margin-inline:auto; }
.gift-detail .section-heading { margin:24px 0 14px; }
.gift-meta { display:flex; flex-wrap:wrap; gap:8px 24px; color:var(--muted); font-size:15px; margin:18px 0 24px; }
.gift-meta dt { font-weight:400; }.gift-meta dd { margin:0; color:var(--ink); }
.code-box { display:flex; flex-wrap:wrap; align-items:center; gap:16px; padding:20px; border:1px dashed #91b953; border-radius:var(--radius); background:#f5faed; margin:20px 0 8px; }
.code-box strong { flex:1; min-width:0; overflow-wrap:anywhere; font:700 22px/1.5 ui-monospace,monospace; letter-spacing:1px; user-select:all; }
.code-box>span { color:var(--green); font-size:15px; }
.copy-result { min-height:24px; font-size:15px; color:var(--green); }
.notice { padding:16px 20px; background:var(--surface); border-left:3px solid var(--accent); font-size:16px; color:#56616b; margin:18px 0; }
.article { max-width:860px; margin-inline:auto; }
.article h1 { font-size:34px; line-height:1.45; margin:12px 0; overflow-wrap:anywhere; }
.article-meta { display:flex; flex-wrap:wrap; gap:12px; align-items:center; font-size:15px; color:var(--muted); }
.article-summary { padding:16px 0; margin:16px 0 24px; border-block:1px solid var(--line); color:#77818d; }
.article-content { margin-top:28px; }
.article .content-section { margin-top:36px; }
.ranking-list { border:1px solid var(--line); border-radius:var(--radius); padding:0 20px; }
.ranking-row { display:flex; align-items:center; gap:20px; padding:18px 0; border-bottom:1px solid var(--line); }
.ranking-row:last-child { border:0; }
.rank-no { font:700 22px/1 system-ui,sans-serif; color:#9ca4ad; width:32px; text-align:center; flex:none; }
.ranking-row:nth-child(-n+3) .rank-no { color:var(--green); }
.ranking-row img { width:60px; height:60px; object-fit:cover; border-radius:13px; flex:none; }
.ranking-info { min-width:0; flex:1; }.ranking-info strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:18px; }
.ranking-info small { color:var(--muted); font-size:14px; }.ranking-heat { font-size:15px; color:var(--green); flex:none; text-align:right; }
.opening-table { width:100%; border-collapse:collapse; font-size:16px; }
.opening-table th { text-align:left; font-size:14px; font-weight:500; color:var(--muted); background:var(--surface); }
.opening-table td,.opening-table th { padding:15px; border-bottom:1px solid var(--line); }
.opening-table a { color:var(--green); }.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); }
.search-section { margin:28px 0; }.search-section>.section-heading { margin-bottom:16px; }
.site-footer { border-top:1px solid var(--line); padding:24px 0; }
.footer-inner { display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.footer-brand strong { font-size:21px; }.footer-brand .brand-mark { width:18px; height:14px; }
.footer-inner nav { display:flex; flex-wrap:wrap; gap:16px; margin-left:auto; font-size:14px; color:var(--muted); }
.footer-inner p { margin:0; width:100%; color:#8a939f; font-size:13px; text-align:center; }
.site-menu { border:0; border-radius:14px; width:min(420px,calc(100% - 32px)); padding:20px 24px; color:var(--ink); box-shadow:0 20px 90px #0002; }
.site-menu::backdrop { background:#17201266; }
.menu-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }.menu-heading h2 { font-size:22px; margin:0; }
.site-menu nav>a { display:flex; justify-content:space-between; align-items:center; padding:14px 0; border-bottom:1px solid var(--line); font-size:18px; }.site-menu nav>a[aria-current] { color:var(--green); }
body.menu-is-open { overflow:hidden; }
@media(min-width:1101px) { .game-grid .game-card:nth-last-child(-n+3) { border-bottom:0; } }
@media(max-width:1100px) {
  .desktop-nav { display:none; }.menu-toggle { display:grid; }.search-mini { margin-left:auto; width:240px; }
  .game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.detail-hero { flex-wrap:wrap; }.download-box { max-width:none; justify-content:flex-start; }
  .detail-layout { grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr); }.detail-hero h1 { font-size:30px; }
}
@media(max-width:700px) {
  html { scroll-padding-top:130px; }.container { width:calc(100% - 32px); }.header-inner { gap:8px; padding-block:12px; min-height:110px; flex-wrap:wrap; }
  .brand { max-width:calc(100% - 60px); }.brand strong { font-size:25px; }.brand img { width:30px; height:30px; }.brand-mark { width:20px; height:15px; }
  .menu-toggle { margin-left:auto; }.search-mini { order:3; flex-basis:100%; width:100%; margin:2px 0 0; }.search-mini input { font-size:16px; padding-block:8px; }
  .page-main { padding-block:25px 32px; min-height:55vh; }.home-intro { margin-bottom:20px; }.home-intro h1 { font-size:32px; letter-spacing:-.8px; max-width:340px; }.home-intro p { font-size:16px; line-height:1.8; margin-top:8px; }
  .home-sections { grid-template-columns:minmax(0,1fr); gap:26px; }.home-section { grid-column:1; }.section-head { margin-bottom:12px; }.section-head h2,.section-heading { font-size:23px; }
  .home-banner { height:166px; }.banner-caption { left:16px; bottom:16px; }.banner-caption strong { font-size:26px; }.banner-caption small { font-size:14px; }.banner-caption>span { font-size:14px; margin-top:6px; }
  .game-grid { grid-template-columns:minmax(0,1fr); padding:0 14px; }.game-card-link { min-height:92px; padding:14px 0; gap:13px; }.game-card:last-child { border:0; }.game-card h3 { font-size:17px; }.game-card p { font-size:14px; }.card-cta { min-width:60px; min-height:34px; padding:5px 10px; }
  .list-panel,.panel { padding:4px 12px; }.news-row { gap:8px; padding:12px 0; }.news-title,.gift-row-title { font-size:15px; }.news-row time { font-size:13px; }.tag { padding:1px 6px; font-size:13px; }.gift-row { gap:10px; }.gift-row .text-link { font-size:14px; }.gift-row .text-link .icon { display:none; }
  .page-title h1 { font-size:30px; }.page-title p { font-size:16px; }.toolbar { gap:8px; }.toolbar input[type=search] { max-width:none; flex-basis:calc(100% - 85px); width:calc(100% - 85px); }.toolbar select { flex:1; }.toolbar .btn { padding:9px 15px; }.filter-links { gap:7px; padding-bottom:18px; }.filter-links a { font-size:14px; padding:4px 10px; }
  .breadcrumb { font-size:13px; margin-bottom:16px; }.detail-hero { gap:16px; padding:18px; margin-bottom:18px; }.detail-logo img,.detail-logo .image-placeholder { width:78px; height:78px; border-radius:16px; }.detail-main { flex-basis:calc(100% - 100px); }.detail-hero h1 { font-size:25px; }.detail-version { font-size:15px; margin-bottom:8px; }.chips { font-size:13px; }.chips span { padding:1px 6px; }
  .download-box { flex-basis:100%; width:100%; gap:8px; }.download-box .btn { flex:1; padding:9px 10px; min-height:44px; font-size:15px; }.download-box .icon { width:17px; height:17px; }.detail-banner { margin-bottom:20px; }.detail-banner img { max-height:180px; }
  .detail-layout { grid-template-columns:minmax(0,1fr); gap:16px; }.detail-tabs { gap:24px; margin-bottom:20px; }.detail-tabs a { font-size:15px; }.content-section { scroll-margin-top:130px; }.rich-text { font-size:16px; line-height:1.9; }.content-section>.section-heading { font-size:22px; }.screenshots img { height:230px; max-width:80vw; }.aside-panel { padding:14px; }
  .gift-grid { grid-template-columns:minmax(0,1fr); gap:12px; }.gift-card { padding:16px; }.gift-card p { min-height:0; }.gift-meta { gap:10px 20px; }.code-box { padding:16px; gap:12px; }.code-box strong { font-size:21px; }.code-box .btn { width:100%; }
  .article h1 { font-size:28px; }.article-summary { font-size:16px; }.ranking-list { padding:0 12px; }.ranking-row { gap:12px; padding:15px 0; }.ranking-row img { width:48px; height:48px; border-radius:11px; }.ranking-info strong { font-size:16px; }.rank-no { width:24px; font-size:21px; }.ranking-heat { font-size:13px; }.opening-table td,.opening-table th { padding:12px 10px; font-size:14px; }.opening-table { min-width:420px; }
  .site-footer { padding:22px 0 calc(90px + env(safe-area-inset-bottom,0px)); }.footer-inner { justify-content:center; gap:18px; }.footer-brand { display:none; }.footer-inner nav { justify-content:center; margin:0; gap:10px 18px; font-size:13px; }.footer-inner p { font-size:12px; line-height:1.8; }
  .mobile-nav { display:flex; align-items:stretch; position:fixed; inset:auto 0 0; min-height:64px; padding-bottom:env(safe-area-inset-bottom,0px); z-index:40; border-top:1px solid var(--line); background:#fffffff7; backdrop-filter:blur(10px); }
  .mobile-nav>a,.mobile-nav>button { display:flex; flex:1; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:8px 0; color:#747e8b; background:transparent; border:0; font-size:13px; }
  .mobile-nav .icon { width:23px; height:23px; }.mobile-nav [aria-current],.mobile-nav button[aria-expanded=true] { color:var(--green); }.mobile-nav a[aria-current] .icon { stroke-width:2.2; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none!important; } }

/* Reference structure: blue masthead, separate navigation, gray canvas and white modules. */
body { background:#f6f6f6; font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif; font-size:16px; }
.site-header { position:static; background:#008eff; border:0; }
.header-inner { min-height:96px; color:#fff; }
.brand { max-width:460px; }.brand strong { font-size:36px; letter-spacing:0; }.brand-mark { display:none; }
.search-mini { margin-left:auto; width:300px; background:#fff; border:0; border-radius:24px; overflow:hidden; }
.search-mini button { color:#fff; background:#99cfff; order:2; width:56px; }.search-mini input { padding:9px 16px; font-size:16px; }
.site-nav { background:#fff; border-bottom:1px solid #ddd; }
.site-nav .desktop-nav { display:flex; min-height:50px; gap:58px; margin-inline:auto; overflow-x:auto; scrollbar-width:none; }
.site-nav .desktop-nav::-webkit-scrollbar { display:none; }.desktop-nav a { border-bottom:0; padding:0; font-size:18px; font-weight:400; flex:none; }.desktop-nav a[aria-current] { font-weight:400; }
.page-main { padding-block:24px 40px; }.page-title h1 { font-size:28px; }.page-title p { font-size:15px; }
.portal-layout { display:grid; grid-template-columns:minmax(0,804px) minmax(300px,1fr); gap:30px; align-items:start; }
.portal-main,.portal-aside { min-width:0; }.home-section { margin-bottom:22px; }
.section-head h2,.section-heading { font-size:20px; font-weight:700; }.section-head h2::before,.section-heading::before { display:none; }.section-head { margin-bottom:12px; }.more-link { color:#969da5; font-size:14px; gap:0; }.more-link .icon { width:13px; height:13px; }
.home-banner { height:auto; aspect-ratio:804/388; border-radius:0; }.home-banner-strip { border-radius:0; gap:10px; }
.banner-caption { bottom:0; left:0; padding:14px 18px; width:100%; max-width:none; background:linear-gradient(transparent,#000b); text-shadow:0 1px 3px #000; }
.banner-caption strong { font-size:19px; }.banner-caption small { font-size:14px; }.banner-caption>span { display:none; }
.banner-carousel { position:relative; }.banner-dots { display:flex; position:absolute; right:12px; bottom:10px; gap:0; }.banner-dots button { border:0; background:transparent; padding:10px 5px; min-width:26px; min-height:30px; }.banner-dots span { display:block; background:#ffffff80; width:7px; height:7px; border-radius:6px; }.banner-dots [aria-pressed=true] span { background:#fff; width:18px; }
.game-grid { background:#fff; padding:12px; gap:4px 20px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.game-card { border:0; }.game-card-link { min-height:92px; padding:8px 0; gap:10px; }.game-card img,.image-placeholder { width:72px; height:72px; border-radius:13px; }
.game-card h3 { font-size:16px; font-weight:400; margin-bottom:4px; }.game-card p { color:#999fa8; font-size:14px; line-height:1.6; }.game-card .card-version { color:#ff9800; }
.home-section-games .card-cta { display:none; }.card-cta { border:1px solid #008eff; color:#fff; background:#008eff; font-size:14px; border-radius:7px; min-width:62px; min-height:30px; padding:3px 8px; }.game-card-link:hover .card-cta { background:#087fdc; color:#fff; border-color:#087fdc; }
.portal-site-card { background:#fff; border-radius:8px; padding:20px; margin-bottom:20px; }.portal-site-card h2 { font-size:26px; margin:0; }.portal-site-card p { color:var(--muted); font-size:15px; margin:4px 0 18px; }.portal-site-card .text-link { display:flex; margin-top:12px; }
.aside-panel,.portal-aside .home-section { padding:20px; background:#fff; border:0; border-radius:8px; margin-bottom:20px; }.aside-panel .section-head,.portal-aside .home-section>.section-head { padding-bottom:12px; border-bottom:1px solid var(--line); }.aside-panel .section-head h2 { font-size:20px; }
.portal-aside .filter-links { gap:12px 14px; padding:4px 0 0; }.filter-links a { background:#f4f5f7; color:#777f89; border-radius:3px; font-size:14px; }.filter-links a[aria-current],.filter-links a:hover { background:#e8f4ff; color:#008eff; }
.portal-aside .list-panel { border:0; padding:0; }.portal-aside .news-row { gap:6px; padding:10px 0; }.portal-aside .news-title { font-size:14px; }.portal-aside .news-row time { font-size:12px; }.portal-aside .gift-row { font-size:14px; }.portal-aside .gift-row .text-link { font-size:13px; }.portal-aside .gift-row .icon { width:20px; height:20px; }
.sidebar-rank { display:flex; align-items:center; gap:12px; padding:15px 0; }.sidebar-rank .rank-no { font-size:20px; width:20px; }.sidebar-rank:nth-of-type(-n+3) .rank-no { color:#ff8a00; }.sidebar-rank img { width:58px; height:58px; border-radius:12px; object-fit:cover; }.sidebar-rank>div { min-width:0; }.sidebar-rank strong { display:block; font-size:16px; font-weight:400; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }.sidebar-rank small { display:block; font-size:14px; color:#ff6060; margin-top:4px; }
.library-grid { padding:20px; gap:20px; }.game-card-detailed { border:1px solid #e1edf5; padding:10px; border-radius:8px; }.game-card-detailed .game-card-link { padding:0; align-items:flex-start; position:relative; min-height:88px; }.game-card-detailed img { width:88px; height:88px; border-radius:14px; }.game-card-detailed h3 { padding-right:55px; }.game-card-detailed .card-cta { position:absolute; right:0; top:0; }.game-card-detailed .game-card-body { padding-top:2px; }.game-card-detailed .card-description { font-size:14px; min-height:36px; margin:8px 0 0; color:#65788e; white-space:normal; }
.btn-primary { background:#008eff; color:#fff; border-color:#008eff; }.btn { border-color:#99cfff; color:#008eff; font-size:15px; }.btn:hover { background:#e8f4ff; }.btn-primary:hover { background:#087fdc; color:#fff; }.btn-primary { color:#fff; }
.detail-hero,.detail-banner,.detail-tabs,.detail-body,.article,.gift-detail,.ranking-list,.table-wrap,.news-list,.search-section,.gift-card { background:#fff; }.detail-hero { border-radius:8px; }.detail-hero h1 { font-size:30px; }.detail-body { padding:20px; border-radius:8px; }.detail-aside .aside-panel { background:#fff; }.detail-tabs a:first-child { color:#008eff; border-color:#008eff; }
.article,.gift-detail { padding:28px; border-radius:8px; }.article h1 { font-size:30px; }.search-section { padding:20px; border-radius:8px; }.search-section .game-grid { padding:0; }.list-panel,.panel { background:#fff; }.tag { background:#eef5fc; color:#5e8bad; }.tag-blue { background:#e8f4ff; color:#008eff; }.gift-status { color:#008eff; background:#e8f4ff; }.gift-status-muted { color:#8d959e; background:#f4f5f7; }.code-box { background:#f1f8ff; border-color:#9acfff; }.notice { background:#f3f7fb; border-color:#008eff; }
.rich-text blockquote { background:#f4f8fc; border-color:#008eff; }.site-footer { background:#444; border:0; color:#c5c5c5; }.footer-inner nav,.footer-inner p { color:#b1b1b1; }.footer-brand strong { font-size:25px; }
.collections-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }.collection-card { display:block; background:#fff; border-radius:8px; overflow:hidden; border:1px solid #eee; }.collection-card>img { width:100%; height:160px; object-fit:cover; display:block; }.collection-card>div { padding:18px; }.collection-card h2 { font-size:21px; margin:0 0 8px; }.collection-card p { font-size:15px; margin:0 0 12px; color:var(--muted); }.collection-cover { max-height:300px; width:100%; object-fit:cover; border-radius:8px; margin-bottom:20px; }
.detail-body>.detail-hero { padding:0; background:transparent; flex-wrap:wrap; }.detail-body>.detail-hero .detail-main h1 { font-size:27px; }.detail-body>.detail-hero .detail-version { color:#ff9800; font-size:17px; }.detail-body>.detail-hero .download-box { flex-basis:100%; width:100%; max-width:none; justify-content:center; margin-top:12px; }.detail-body>.detail-banner { max-height:none; }.detail-body>.detail-banner img { max-height:none; object-fit:contain; }
@media(max-width:1100px) { .site-nav .desktop-nav { gap:38px; }.portal-layout { grid-template-columns:minmax(0,1fr) 290px; gap:20px; }.portal-main .game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.menu-toggle { color:#fff; }.menu-toggle:hover { background:#ffffff20; }.game-card-detailed h3 { padding-right:0; }.game-card-detailed .card-cta { position:static; margin-left:auto; }.game-card-detailed .game-card-link { flex-wrap:wrap; }.game-card-detailed .game-card-body { flex-basis:calc(100% - 100px); }.game-card-detailed .card-cta { display:none; } }
@media(max-width:700px) {
 .header-inner { min-height:108px; padding-block:13px; }.brand strong { font-size:28px; }.search-mini { width:100%; flex-basis:100%; order:3; }.search-mini button { background:#a4d4ff; }.site-nav .desktop-nav { gap:24px; min-height:44px; }.site-nav .desktop-nav a { font-size:16px; min-height:44px; }.site-header .brand { max-width:calc(100% - 55px); }.site-header .brand strong { font-size:27px; }
 .portal-layout { grid-template-columns:minmax(0,1fr); gap:0; }.portal-site-card { display:none; }.portal-main .game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.home-section { margin-bottom:20px; }.home-section-games { background:#fff; padding:14px 12px; border-radius:8px; }.home-section-games>.section-head { border-bottom:1px solid #eee; padding-bottom:10px; margin-bottom:4px; }.home-section-games .game-grid { padding:0; gap:8px 12px; }.home-section-games .game-card-link { min-height:80px; gap:8px; }.home-section-games .game-card img,.home-section-games .image-placeholder { width:48px; height:48px; border-radius:10px; }.home-section-games .game-card h3 { font-size:14px; }.home-section-games .game-card p { font-size:12px; }.home-section-games .card-cta { display:none; }.section-head h2,.section-heading { font-size:20px; }.home-banner { height:auto; aspect-ratio:2.1; border-radius:8px; }.banner-caption { padding:10px 12px; }.banner-caption strong { font-size:17px; }.banner-caption small { font-size:13px; }
 .portal-aside .aside-panel,.portal-aside .home-section { padding:16px; }.portal-aside .filter-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.portal-aside .filter-links a { text-align:center; padding:6px 2px; font-size:14px; }.portal-aside .news-row { padding:12px 0; }.portal-aside .news-title { font-size:15px; }.portal-aside .sidebar-rank { padding:10px 0; }.sidebar-rank img { width:46px; height:46px; }
 .library-grid { grid-template-columns:minmax(0,1fr); padding:12px; gap:12px; }.game-card-detailed .game-card-link { flex-wrap:nowrap; align-items:center; }.game-card-detailed .game-card-body { flex:1; min-width:0; }.game-card-detailed h3 { padding:0; }.game-card-detailed img { width:72px; height:72px; }.game-card-detailed .card-cta { display:inline-flex; }.game-card-detailed .card-description { min-height:0; }.detail-body { padding:16px; }.article,.gift-detail { padding:18px; }.article h1 { font-size:26px; }.detail-hero h1 { font-size:24px; }.site-footer { padding-bottom:calc(88px + env(safe-area-inset-bottom,0px)); }.footer-brand { display:flex; }.footer-brand strong { font-size:22px; }.collections-grid { grid-template-columns:minmax(0,1fr); gap:16px; }.collection-card>img { height:180px; }.mobile-nav [aria-current],.mobile-nav button[aria-expanded=true] { color:#008eff; }
 .site-nav .desktop-nav { gap:12px; }.site-nav .desktop-nav a { font-size:14px; }.home-section-games .game-card h3 { font-size:15px; }.home-section-games .game-card p { font-size:13px; }.portal-aside { display:flex; flex-direction:column; }.portal-aside .home-ranking { order:5; }
}
