:root {
  --bg: #07090f;
  --surface: #0d111b;
  --surface-2: #121827;
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.18);
  --text: #f4f7fb;
  --muted: #8d97a9;
  --lime: #8ee0ae;
  --violet: #8367ff;
  --orange: #ff8a36;
  --cyan: #5eead4;
  --wrap: 1220px;
  --mono: "SFMono-Regular", Consolas, monospace;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }
.ticker { border-bottom: 1px solid var(--line); background: #131715; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.ticker .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 32px; gap: 15px; }
.ticker .wrap > span { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); font-family: var(--mono); }
.ticker .wrap > span i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.ticker .wrap > div { display: flex; gap: 18px; align-items: center; }
.ticker a { display: inline-flex; align-items: center; gap: 4px; color: var(--text); }
.ticker .icon { width: 12px; height: 12px; }
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(7,9,15,.82); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.head-inner { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo strong { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--lime); color: #131715; font-size: 14px; letter-spacing: -.08em; }
.logo > span { font-size: 19px; line-height: 1.05; font-weight: 900; letter-spacing: -.05em; }
.logo small { display: block; color: var(--muted); font-family: var(--mono); font-size: 7px; letter-spacing: .15em; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 25px; font-size: 13px; }
.nav a { padding: 28px 0; color: var(--muted); border-bottom: 2px solid transparent; transition: .2s; }
.nav a:hover, .nav a.active { color: var(--text); border-color: var(--lime); }
.head-search { margin-left: auto; width: 210px; display: flex; align-items: center; height: 36px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.035); }
.head-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); padding: 0 10px; font-size: 11px; }
.head-search input::placeholder { color: #667083; }
.head-search button { border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; padding: 0 10px; }
.head-download { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 13px; border-radius: 7px; background: var(--lime); color: #131715; font-size: 11px; font-weight: 900; white-space: nowrap; }
.hero { position: relative; min-height: 610px; overflow: hidden; border-bottom: 1px solid var(--line); background: #252a26; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, #07090f 0%, rgba(7,9,15,.92) 35%, rgba(7,9,15,.28) 70%, rgba(7,9,15,.7) 100%), var(--hero); background-size: cover; background-position: center; transform: scale(1.03); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 68% 30%, rgba(131,103,255,.25), transparent 35%), radial-gradient(circle at 15% 85%, rgba(213,255,69,.12), transparent 30%); pointer-events: none; }
.hero-glow { position: absolute; width: 420px; height: 420px; right: 8%; top: 3%; border-radius: 50%; background: rgba(131,103,255,.18); filter: blur(90px); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 55px; align-items: center; min-height: 610px; padding-top: 35px; padding-bottom: 35px; }
.hero-copy { max-width: 670px; }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; font-weight: 600; }
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 15px var(--lime); }
.hero h1 { margin: 14px 0 12px; max-width: 720px; font-size: clamp(38px, 5.3vw, 76px); line-height: .98; letter-spacing: -.08em; font-weight: 900; }
.hero-copy > p { max-width: 540px; margin: 0 0 16px; color: #b6bece; font-size: 14px; line-height: 1.8; }
.hero-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.hero-tags span, .app-tags span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; color: #c7cfdd; background: rgba(255,255,255,.035); font-size: 9px; }
.hero-actions { display: flex; gap: 10px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 17px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 800; }
.btn.lime { background: var(--lime); color: #131715; }
.btn.lime:hover { background: #e5ff87; }
.btn.ghost { border-color: var(--line-strong); background: rgba(255,255,255,.04); color: var(--text); }
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn.large { min-height: 50px; padding: 0 24px; }
.btn.full { width: 100%; }
.btn.muted { background: #222936; color: #7d8798; }
.hero-stats { display: flex; gap: 32px; margin-top: 31px; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats b { color: var(--text); font-family: var(--mono); font-size: 17px; }
.hero-stats small { color: var(--muted); font-size: 9px; }
.hero-chart { align-self: center; padding: 18px 18px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(10,13,21,.72); backdrop-filter: blur(18px); box-shadow: 0 25px 60px rgba(0,0,0,.35); }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.chart-head span { color: var(--lime); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.chart-head b { font-size: 12px; }
.chart-row { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.chart-row b { width: 22px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.chart-row:nth-of-type(-n+3) b { color: var(--lime); }
.chart-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.chart-row em { color: var(--muted); font-size: 9px; font-style: normal; }
.chart-more { display: flex; justify-content: space-between; align-items: center; padding-top: 13px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.chart-more:hover { color: var(--lime); }
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--lime); color: #131715; }
.marquee-track { display: flex; gap: 25px; align-items: center; width: max-content; padding: 9px 0; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: 10px; font-weight: 900; white-space: nowrap; }
.marquee-track b { font-size: 11px; font-weight: 700; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.section { padding-top: 60px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head h2 { margin: 5px 0 0; font-size: clamp(23px, 2.5vw, 34px); letter-spacing: -.06em; font-weight: 900; }
.section-head > a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.section-head > a:hover { color: var(--lime); }
.bento { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: 13px; min-height: 400px; }
.poster { position: relative; display: block; overflow: hidden; min-height: 220px; border: 1px solid var(--line); border-radius: 13px; background: #101522; }
.poster-img { position: absolute; inset: 0; display: block; background: #101522; }
.poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.poster:hover .poster-img img { transform: scale(1.05); }
.poster-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,7,12,.96) 0%, rgba(4,7,12,.15) 68%); }
.poster-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; color: #fff; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.poster-top span:last-child { color: var(--lime); }
.poster-copy { position: absolute; left: 18px; right: 18px; bottom: 17px; display: flex; flex-direction: column; gap: 2px; }
.poster-copy b { font-size: 22px; letter-spacing: -.04em; }
.poster-copy small { color: #c4ccd9; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.poster-copy em { display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; color: var(--lime); font-family: var(--mono); font-size: 9px; font-style: normal; }
.poster.bento-big { min-height: 400px; }
.bento-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 13px; }
.bento-stack .mini-row { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.signal { display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; border: 1px solid rgba(213,255,69,.3); border-radius: 13px; background: linear-gradient(135deg, rgba(213,255,69,.1), rgba(131,103,255,.08)); }
.signal > span { color: var(--lime); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.signal strong { margin: 3px 0 0; color: var(--lime); font-family: var(--mono); font-size: 29px; }
.signal p { margin: 0; color: var(--muted); font-size: 9px; }
.signal-bars { display: flex; gap: 3px; height: 20px; margin-top: 10px; align-items: end; }
.signal-bars i { flex: 1; background: var(--lime); opacity: .8; }
.signal-bars i:nth-child(1) { height: 35%; } .signal-bars i:nth-child(2) { height: 60%; } .signal-bars i:nth-child(3) { height: 45%; } .signal-bars i:nth-child(4) { height: 90%; } .signal-bars i:nth-child(5) { height: 70%; }
.mini-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mini-rank { width: 20px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.mini-icon { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; }
.mini-copy { flex: 1; min-width: 0; }
.mini-copy b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }
.mini-copy small { display: block; color: var(--muted); font-size: 9px; }
.mini-arrow { display: flex; color: var(--muted); }
.split-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 50px; }
.chart-board, .latest-board { min-width: 0; }
.big-rank { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.big-rank > b { width: 24px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.big-rank:nth-of-type(-n+3) > b { color: var(--lime); }
.big-rank-icon { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.big-rank > span { flex: 1; min-width: 0; }
.big-rank strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.big-rank small { display: block; color: var(--muted); font-size: 9px; }
.big-rank em { color: var(--lime); font-family: var(--mono); font-size: 9px; font-style: normal; white-space: nowrap; }
.big-rank em i { color: var(--muted); font-style: normal; }
.latest-board .mini-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.category { display: grid; grid-template-columns: 31px 1fr auto; grid-template-rows: auto auto; gap: 1px 8px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); transition: .2s; }
.category:hover { border-color: var(--tone); transform: translateY(-2px); }
.category > span { grid-row: 1 / 3; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; background: color-mix(in srgb, var(--tone) 16%, transparent); color: var(--tone); font-weight: 900; }
.category b { font-size: 11px; }
.category small { color: var(--muted); font-size: 8px; }
.category .icon { grid-column: 3; grid-row: 1 / 3; color: var(--muted); width: 14px; }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); transition: .2s; min-width: 0; }
.tile:hover { border-color: var(--line-strong); background: var(--surface-2); }
.tile-icon { position: relative; display: block; width: 48px; height: 48px; flex: 0 0 auto; }
.tile-icon img, .tile-icon .icon-fallback { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.tile-icon i { position: absolute; left: 3px; bottom: 3px; padding: 1px 3px; border-radius: 2px; background: rgba(0,0,0,.72); color: #fff; font-size: 6px; font-style: normal; }
.tile-copy { min-width: 0; flex: 1; }
.tile-copy b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.tile-copy small { display: block; color: var(--muted); font-size: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tile-copy em { display: block; margin-top: 2px; color: var(--lime); font-family: var(--mono); font-size: 8px; font-style: normal; }
.software-grid .tile-copy em { color: var(--violet); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust > div { display: flex; align-items: center; gap: 10px; padding: 4px 18px; border-right: 1px solid var(--line); }
.trust > div:last-child { border: 0; }
.trust .icon { color: var(--lime); width: 22px; height: 22px; }
.trust span { display: flex; flex-direction: column; gap: 1px; }
.trust b { font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.trust small { color: var(--muted); font-size: 8px; }
.trust-num { color: var(--lime); font-family: var(--mono); font-size: 24px; font-weight: 800; }
.page-intro { position: relative; padding: 75px 0 42px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 75% 20%, rgba(131,103,255,.22), transparent 32%), #252a26; }
.page-intro::after { content: "01"; position: absolute; right: 7%; bottom: -37px; color: rgba(255,255,255,.035); font-size: 220px; font-weight: 900; line-height: 1; pointer-events: none; }
.page-intro h1 { position: relative; z-index: 1; margin: 8px 0 7px; font-size: clamp(34px, 5vw, 64px); letter-spacing: -.08em; line-height: 1; }
.page-intro p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chips button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--muted); font-size: 10px; }
.chips button:hover, .chips button.active { border-color: var(--lime); color: var(--lime); background: rgba(213,255,69,.06); }
#list-search { width: 210px; height: 33px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 10px; font-size: 10px; outline: 0; }
.list-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.empty { padding: 60px 0; color: var(--muted); text-align: center; font-family: var(--mono); font-size: 11px; }
.ambient { position: absolute; z-index: -1; left: 0; right: 0; height: 500px; background-image: linear-gradient(180deg, rgba(7,9,15,.4), var(--bg)), var(--ambient); background-size: cover; background-position: center 25%; filter: saturate(.7); opacity: .5; }
.crumb { position: relative; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding-top: 23px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.crumb a:hover { color: var(--lime); }
.crumb b { color: var(--text); font-weight: 500; }
.app-hero { position: relative; display: flex; align-items: center; gap: 23px; padding-top: 52px; }
.app-icon { width: 142px; height: 142px; flex: 0 0 auto; padding: 8px; border: 1px solid var(--line-strong); border-radius: 27px; background: rgba(18,24,39,.85); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.app-icon img, .app-icon .icon-fallback { width: 100%; height: 100%; border-radius: 20px; object-fit: cover; }
.app-head { min-width: 0; flex: 1; }
.app-head h1 { margin: 7px 0 6px; font-size: clamp(30px, 4.5vw, 56px); line-height: 1; letter-spacing: -.08em; }
.app-head > p { max-width: 700px; margin: 0 0 11px; color: #b8c0ce; font-size: 13px; }
.app-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 11px; }
.app-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.download-box { flex: 0 0 auto; text-align: right; }
.download-box small { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; }
.shot-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.shot { display: block; width: 240px; height: 137px; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.04); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; padding-top: 45px; }
.prose { color: #aeb8c9; font-size: 13px; line-height: 2; }
.prose p { margin: 0 0 12px; }
.install-notes { color: var(--muted); font-size: 12px; }
.article-gap { margin-top: 28px; }
.detail-aside { display: flex; flex-direction: column; gap: 11px; }
.glass { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.info { padding: 16px; }
.info h3 { margin: 0 0 9px; font-size: 13px; }
.info dl { margin: 0; }
.info dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.info dl div:last-child { border: 0; }
.info dt { color: var(--muted); }
.info dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.verify { padding: 14px; }
.verify > span { display: flex; align-items: center; gap: 5px; color: var(--lime); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; }
.verify p { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.8; }
.poster-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.poster-small { min-height: 180px; }
.poster-small .poster-copy b { font-size: 15px; }
.poster-small .poster-copy small { font-size: 8px; }
.poster-small .poster-copy em { font-size: 8px; }
.chart-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.chart-column { padding: 15px; }
.chart-column .big-rank { padding: 9px 0; }
.chart-column .section-head { margin-bottom: 5px; }
.search-page { max-width: 950px; }
.search-big { display: flex; gap: 8px; margin-bottom: 24px; }
.search-big input { flex: 1; height: 48px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--text); padding: 0 15px; outline: 0; font-size: 13px; }
.search-big button { border: 0; border-radius: 7px; background: var(--lime); color: #131715; padding: 0 18px; font-weight: 800; font-size: 12px; }
.search-big button .icon { vertical-align: -3px; }
.foot { margin-top: 70px; padding: 36px 0 82px; border-top: 1px solid var(--line); background: #131715; }
.foot-grid { display: flex; align-items: flex-start; gap: 45px; }
.foot-grid > div:first-child { max-width: 400px; }
.foot p { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.foot-links { display: flex; gap: 16px; color: var(--muted); font-size: 10px; }
.foot-links a:hover { color: var(--lime); }
.foot-meta { margin-left: auto; display: flex; flex-direction: column; gap: 6px; color: #5f6a7c; font-family: var(--mono); font-size: 8px; text-align: right; }
.bottom-nav { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(2,4,8,.76); backdrop-filter: blur(8px); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(370px, 100%); padding: 27px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); box-shadow: 0 35px 90px rgba(0,0,0,.6); text-align: center; }
.modal-close { position: absolute; right: 12px; top: 12px; border: 0; background: transparent; color: var(--muted); }
.modal-kicker { color: var(--lime); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.modal-icon { width: 62px; height: 62px; margin: 14px auto 10px; overflow: hidden; border-radius: 14px; }
.modal-icon img, .modal-icon .icon-fallback { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; }
.modal-card h3 { margin: 0; font-size: 18px; }
.modal-card > p { color: var(--muted); font-size: 10px; }
.trust-line { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 11px; color: #657085; font-size: 8px; }
@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) 290px; gap: 25px; }
  .hero { min-height: 560px; }
  .hero-grid { min-height: 560px; }
  .tile-grid, .list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav { gap: 15px; }
  .head-search { width: 170px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 28px); }
  .ticker { display: none; }
  .head-inner { min-height: 62px; gap: 10px; }
  .nav, .head-search, .head-download { display: none; }
  .head-inner .logo { margin-right: auto; }
  .hero { min-height: 0; }
  .hero::before { background-image: linear-gradient(0deg, #07090f 5%, rgba(7,9,15,.4) 60%, rgba(7,9,15,.2)), var(--hero); }
  .hero-grid { display: block; min-height: 0; padding: 120px 0 27px; }
  .hero-copy { max-width: none; }
  .hero h1 { max-width: 360px; font-size: 38px; line-height: .98; }
  .hero-copy > p { max-width: 340px; font-size: 12px; }
  .hero-chart { display: none; }
  .hero-stats { gap: 22px; margin-top: 23px; }
  .hero-stats b { font-size: 15px; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .btn { flex: 1; }
  .marquee-track { padding: 8px 0; }
  .section { padding-top: 35px; }
  .section-head h2 { font-size: 24px; }
  .bento { grid-template-columns: 1fr; min-height: 0; }
  .poster.bento-big { min-height: 280px; }
  .bento-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .signal { display: none; }
  .bento-stack .mini-row { padding: 11px; }
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .tile-grid, .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, 1fr); margin-top: 38px; }
  .trust > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 5px; }
  .trust > div:nth-child(3), .trust > div:nth-child(4) { border-bottom: 0; }
  .page-intro { padding: 50px 0 28px; }
  .page-intro h1 { font-size: 38px; }
  .filter-bar { align-items: flex-start; flex-direction: column; }
  #list-search { width: 100%; }
  .app-hero { align-items: flex-start; flex-wrap: wrap; gap: 15px; padding-top: 30px; }
  .app-icon { width: 90px; height: 90px; border-radius: 20px; padding: 5px; }
  .app-icon img, .app-icon .icon-fallback { border-radius: 16px; }
  .app-head { flex: 1; min-width: 0; }
  .app-head h1 { font-size: 30px; }
  .app-head > p { font-size: 11px; }
  .download-box { width: 100%; text-align: left; }
  .download-box .btn { width: 100%; }
  .shot { width: 200px; height: 114px; }
  .detail-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; }
  .detail-aside { display: grid; grid-template-columns: 1fr 1fr; }
  .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .poster-small { min-height: 150px; }
  .chart-columns { grid-template-columns: 1fr; }
  .foot { padding-bottom: 90px; }
  .foot-grid { flex-direction: column; gap: 18px; }
  .foot-meta { margin-left: 0; text-align: left; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; justify-content: space-around; padding: 9px 10px max(9px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(8,11,18,.96); backdrop-filter: blur(14px); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); font-size: 8px; }
  .bottom-nav a.active { color: var(--lime); }
  .bottom-nav .icon { width: 17px; height: 17px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 32px; }
  .hero-tags span { font-size: 8px; }
  .hero-actions .btn { min-height: 38px; font-size: 11px; }
  .tile-grid { gap: 6px; }
  .tile { padding: 7px; gap: 7px; }
  .tile-icon { width: 42px; height: 42px; }
  .tile-copy b { font-size: 10px; }
  .tile-copy small, .tile-copy em { font-size: 7.5px; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster-small { min-height: 170px; }
  .detail-aside { grid-template-columns: 1fr; }
  .filter-bar .chips { gap: 4px; }
  .chips button { font-size: 9px; padding: 5px 7px; }
  .section-head > a { font-size: 8px; }
  .category { padding: 8px; }
  .category > span { width: 26px; height: 26px; font-size: 10px; }
  .category b { font-size: 10px; }
  .bottom-nav { padding-bottom: max(7px, env(safe-area-inset-bottom)); }
}

/* ---------- light editorial theme + readable Chinese typography ---------- */
:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --surface-2: #f7f8f7;
  --line: #e5e6e5;
  --line-strong: #c9c1b2;
  --text: #131715;
  --muted: #746e62;
  --lime: #23c268;
  --violet: #d9822b;
  --orange: #d9822b;
  --cyan: #0d9b6c;
}
body { background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.7; }
.wrap { width: min(calc(100% - 56px), var(--wrap)); }
.ticker { background: #11100e; color: #b8b2a6; font-size: 12px; letter-spacing: .02em; }
.ticker .wrap { min-height: 36px; }
.ticker .wrap > span { color: #8ee0ae; font-size: 11px; }
.ticker .wrap > div { gap: 22px; }
.ticker a { color: #f6f2e8; font-size: 12px; }
.site-head { background: rgba(243,241,234,.92); border-color: var(--line); }
.head-inner { min-height: 82px; gap: 34px; }
.logo strong { background: #23c268; color: #fff; width: 40px; height: 40px; }
.logo > span { color: var(--text); font-size: 21px; }
.logo small { color: var(--muted); font-size: 8px; }
.nav { gap: 28px; font-size: 15px; }
.nav a { padding: 30px 0; color: #7a7d7a; }
.nav a:hover, .nav a.active { color: #23c268; border-color: #23c268; }
.head-search { background: #ffffff; border-color: var(--line); width: 230px; height: 40px; border-radius: 8px; }
.head-search input { color: var(--text); font-size: 13px; }
.head-search input::placeholder { color: #9b9487; }
.head-download { background: #23c268; color: #fff; height: 40px; border-radius: 8px; font-size: 13px; padding: 0 15px; box-shadow: 0 5px 14px rgba(35,194,104,.18); }
.hero { min-height: 620px; border-color: #131715; }
.hero::before { background-image: linear-gradient(90deg, #1d211e 0%, rgba(11,11,10,.93) 36%, rgba(11,11,10,.28) 72%, rgba(11,11,10,.55) 100%), var(--hero); }
.hero .kicker { color: #8ee0ae; font-size: 11px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.2vw, 72px); }
.hero-copy > p { color: #d1cdc4; font-size: 16px; line-height: 1.8; }
.hero-tags span { border-color: rgba(255,255,255,.26); color: #f1eee6; background: rgba(255,255,255,.08); font-size: 11px; padding: 5px 9px; }
.hero .btn.lime { background: #8ee0ae; color: #111; }
.hero .btn.ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hero-stats { gap: 38px; margin-top: 33px; }
.hero-stats b { color: #fff; font-size: 20px; }
.hero-stats small { color: #a9a397; font-size: 11px; }
.hero-chart { background: rgba(12,12,11,.72); border-color: rgba(255,255,255,.23); }
.chart-head span { font-size: 9px; color: #8ee0ae; }
.chart-head b { font-size: 14px; }
.chart-row { padding: 11px 0; border-color: rgba(255,255,255,.12); }
.chart-row b { font-size: 11px; color: #9f9a90; }
.chart-row span { font-size: 12px; }
.chart-row em { font-size: 11px; color: #a9a397; }
.chart-more { font-size: 10px; color: #b8b2a6; }
.marquee { background: #8ee0ae; color: #131715; border-color: #8ee0ae; }
.marquee-track { padding: 11px 0; }
.marquee-track span { font-size: 11px; }
.marquee-track b { font-size: 13px; }
.section { padding-top: 66px; }
.section-head { margin-bottom: 22px; }
.section-head h2 { color: var(--text); font-size: clamp(28px, 2.8vw, 38px); margin-top: 6px; }
.section-head .eyebrow, .eyebrow { font-size: 10px; color: #23c268; letter-spacing: .08em; }
.section-head > a { font-size: 11px; color: #766f63; letter-spacing: 0; }
.section-head > a:hover { color: #23c268; }
.bento { gap: 14px; }
.poster { border-color: var(--line); background: #1a1a18; }
.bento-stack .mini-row { background: #ffffff; border-color: var(--line); padding: 18px; }
.mini-copy b { font-size: 15px; }
.mini-copy small { font-size: 11px; color: var(--muted); }
.mini-rank { font-size: 11px; }
.mini-icon { width: 42px; height: 42px; }
.signal { background: linear-gradient(135deg, #eaf7ef, #fff4ec); border-color: #9fe3ba; }
.signal > span { color: #23c268; font-size: 9px; }
.signal strong { color: #23c268; font-size: 34px; }
.signal p { color: #5f5a51; font-size: 11px; line-height: 1.6; }
.signal-bars i { background: #23c268; }
.split-section { gap: 46px; }
.big-rank { padding: 13px 0; border-color: var(--line); }
.big-rank > b { font-size: 12px; color: #7a7d7a; }
.big-rank:nth-of-type(-n+3) > b { color: #d9822b; }
.big-rank-icon { width: 45px; height: 45px; }
.big-rank strong { font-size: 15px; }
.big-rank small { font-size: 11px; color: var(--muted); }
.big-rank em { font-size: 11px; color: #23c268; }
.big-rank em i { color: #8d877b; }
.category { background: #ffffff; border-color: var(--line); padding: 13px; border-radius: 10px; }
.category b { font-size: 13px; }
.category small { font-size: 10px; color: var(--muted); }
.category > span { width: 34px; height: 34px; font-size: 13px; }
.category .icon { color: #8f887c; }
.tile { background: #ffffff; border-color: var(--line); padding: 11px; border-radius: 10px; }
.tile:hover { border-color: #9fe3ba; background: #fff; box-shadow: 0 7px 18px rgba(35,30,20,.05); }
.tile-icon { width: 54px; height: 54px; }
.tile-copy b { font-size: 14px; color: var(--text); }
.tile-copy small { font-size: 10px; color: var(--muted); }
.tile-copy em { font-size: 10px; color: #23c268; }
.software-grid .tile-copy em { color: #d9822b; }
.trust { border-color: var(--line); margin-top: 66px; padding: 23px 0; }
.trust > div { border-color: var(--line); padding: 4px 20px; }
.trust .icon { color: #23c268; }
.trust b { font-size: 9px; color: var(--text); }
.trust small { font-size: 9px; color: var(--muted); }
.trust-num { font-size: 26px; color: #23c268; }
.page-intro { padding: 80px 0 48px; background: radial-gradient(circle at 78% 12%, rgba(35,194,104,.10), transparent 30%), radial-gradient(circle at 20% 100%, rgba(10,172,60,.08), transparent 35%), #f4f4f4; border-color: var(--line); }
.page-intro::after { color: rgba(10,172,60,.06); }
.page-intro h1 { color: var(--text); font-size: clamp(40px, 5.4vw, 68px); }
.page-intro p { color: var(--muted); font-size: 15px; }
.filter-bar { margin-bottom: 22px; }
.chips { gap: 7px; }
.chips button { padding: 8px 13px; border-color: var(--line); color: #7a7d7a; background: #ffffff; font-size: 12px; border-radius: 6px; }
.chips button:hover, .chips button.active { border-color: #23c268; color: #23c268; background: #eaf7ef; }
#list-search { background: #ffffff; border-color: var(--line); color: var(--text); width: 230px; height: 38px; font-size: 12px; }
.list-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ambient { height: 480px; background-image: linear-gradient(180deg, rgba(243,241,234,.18), var(--bg)), var(--ambient); opacity: .38; }
.crumb { padding-top: 26px; color: #837c70; font-size: 10px; }
.crumb b { color: #37332c; }
.app-hero { padding-top: 48px; gap: 26px; }
.app-icon { width: 150px; height: 150px; padding: 8px; background: #ffffff; border-color: #d2cabc; border-radius: 30px; box-shadow: 0 18px 42px rgba(36,30,20,.15); }
.app-icon img, .app-icon .icon-fallback { border-radius: 23px; }
.app-head h1 { font-size: clamp(34px, 4.5vw, 58px); color: var(--text); }
.app-head > p { color: #5f5a51; font-size: 15px; }
.app-tags span { border-color: #e2e4e2; color: #5f5a51; background: #ffffff; font-size: 11px; padding: 5px 9px; }
.app-meta { color: var(--muted); font-size: 11px; gap: 18px; }
.download-box .btn.lime { background: #23c268; color: #fff; }
.download-box small { color: var(--muted); font-size: 10px; }
.shot { border-color: #e2e4e2; border-radius: 10px; background: #ffffff; }
.detail-grid { grid-template-columns: minmax(0,1fr) 320px; gap: 44px; padding-top: 50px; }
.prose { color: #3e403f; font-size: 15px; line-height: 2; }
.install-notes { color: #7a7d7a; font-size: 14px; }
.glass { background: #ffffff; border-color: var(--line); }
.info { padding: 19px; }
.info h3 { font-size: 15px; }
.info dl div { font-size: 12px; padding: 9px 0; border-color: var(--line); }
.verify { padding: 17px; }
.verify > span { color: #0d8a5e; font-size: 9px; }
.verify p { color: var(--muted); font-size: 11px; }
.poster-small { border-radius: 12px; }
.poster-small .poster-copy b { font-size: 17px; }
.poster-small .poster-copy small { font-size: 10px; }
.poster-small .poster-copy em { font-size: 10px; }
.chart-column { background: #ffffff; border-color: var(--line); padding: 18px; }
.chart-column .big-rank { border-color: var(--line); }
.chart-column .big-rank strong { color: var(--text); }
.search-big input { background: #ffffff; border-color: #cfc7b9; color: var(--text); font-size: 15px; height: 52px; }
.search-big button { background: #23c268; color: #fff; font-size: 14px; }
.foot { background: #131715; color: #f6f2e8; border-color: #2a2823; padding: 42px 0 88px; }
.foot .logo > span { color: #f6f2e8; }
.foot p { color: #a49d90; font-size: 12px; }
.foot-links { color: #b7b0a3; font-size: 12px; gap: 20px; }
.foot-meta { color: #7d766b; font-size: 10px; }
.bottom-nav { background: rgba(20,19,16,.97); border-color: #2c2a25; }
.bottom-nav a { color: #7a7d7a; font-size: 10px; }
.bottom-nav a.active { color: #8ee0ae; }
.modal { background: rgba(16,15,12,.68); }
.modal-card { background: #ffffff; border-color: #e2e4e2; }
.modal-card h3 { color: var(--text); }
.modal-card > p { color: var(--muted); font-size: 11px; }
.modal-kicker { color: #23c268; font-size: 9px; }
.modal-card .btn.lime { background: #23c268; color: #fff; }
.trust-line { color: #817a6e; font-size: 9px; }

/* comments */
.comments-section { width: min(calc(100% - 56px), var(--wrap)); margin: 58px auto 0; padding-top: 34px; border-top: 1px solid var(--line); }
.comments-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.comments-head h2 { margin: 6px 0 0; font-size: 30px; letter-spacing: -.05em; }
.comment-score { display: flex; align-items: baseline; gap: 8px; }
.comment-score strong { color: #23c268; font-size: 34px; letter-spacing: -.04em; }
.comment-score span { color: var(--muted); font-size: 12px; }
.comments-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 36px; align-items: start; }
.comment-list { min-width: 0; }
.comment { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: var(--avatar); color: #fff; font-size: 16px; font-weight: 800; }
.comment-body { flex: 1; min-width: 0; }
.comment-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.comment-top b { font-size: 14px; }
.comment-top span { color: #ff8a00; font-size: 12px; letter-spacing: 1px; }
.comment-top time { margin-left: auto; color: #9b9488; font-size: 10px; }
.comment-body p { margin: 5px 0 0; color: #514c44; font-size: 14px; line-height: 1.8; }
.comment-empty { padding: 30px 0; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.comment-form { position: sticky; top: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #ffffff; }
.comment-form h3 { margin: 0 0 13px; font-size: 16px; }
.form-row { display: flex; gap: 8px; margin-bottom: 8px; }
.form-row input, .form-row select { min-width: 0; height: 38px; border: 1px solid #e2e4e2; border-radius: 6px; background: #faf8f2; color: var(--text); padding: 0 9px; font-size: 12px; outline: 0; }
.form-row input { flex: 1; }
.form-row select { width: 102px; color: #b86c00; }
.comment-form textarea { width: 100%; min-height: 100px; resize: vertical; border: 1px solid #e2e4e2; border-radius: 6px; background: #faf8f2; color: var(--text); padding: 10px; font-size: 13px; outline: 0; }
.comment-form textarea:focus, .form-row input:focus { border-color: #23c268; background: #fff; }
.comment-form .btn { width: 100%; margin-top: 9px; min-height: 42px; }
.btn.blue { background: #23c268; color: #fff; }
.form-note { margin: 9px 0 0; color: #928b7e; font-size: 10px; line-height: 1.6; }
@media (max-width: 800px) {
  .wrap, .comments-section { width: calc(100% - 28px); }
  .head-inner { min-height: 68px; }
  .head-search { display: none; }
  .site-head { background: rgba(243,241,234,.96); }
  .hero { min-height: 0; }
  .hero h1 { font-size: 38px; }
  .hero-copy > p { font-size: 14px; }
  .hero-stats b { font-size: 17px; }
  .hero-stats small { font-size: 10px; }
  .hero-tags span { font-size: 10px; }
  .section { padding-top: 40px; }
  .section-head h2 { font-size: 26px; }
  .bento-stack .mini-row { padding: 12px; }
  .mini-copy b { font-size: 13px; }
  .tile { padding: 9px; }
  .tile-icon { width: 47px; height: 47px; }
  .tile-copy b { font-size: 12px; }
  .tile-copy small { font-size: 9px; }
  .tile-copy em { font-size: 9px; }
  .category b { font-size: 11px; }
  .page-intro { padding: 55px 0 32px; }
  .page-intro h1 { font-size: 40px; }
  .page-intro p { font-size: 13px; }
  .app-head h1 { font-size: 32px; }
  .app-head > p { font-size: 13px; }
  .app-meta { font-size: 10px; }
  .app-tags span { font-size: 10px; }
  .app-icon { width: 96px; height: 96px; border-radius: 22px; }
  .app-icon img, .app-icon .icon-fallback { border-radius: 17px; }
  .detail-grid { gap: 22px; padding-top: 32px; }
  .prose { font-size: 14px; }
  .install-notes { font-size: 13px; }
  .comments-section { margin-top: 38px; padding-top: 26px; }
  .comments-head h2 { font-size: 25px; }
  .comments-layout { grid-template-columns: 1fr; gap: 20px; }
  .comment-form { position: static; }
  .comment-body p { font-size: 13px; }
  .bottom-nav a { font-size: 10px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 31px; }
  .hero-copy > p { font-size: 13px; }
  .hero-actions .btn { font-size: 13px; }
  .tile-copy b { font-size: 11px; }
  .tile-copy small { font-size: 8.5px; }
  .tile-copy em { font-size: 8.5px; }
  .tile-icon { width: 43px; height: 43px; }
  .comments-head { align-items: flex-start; }
  .comment-score strong { font-size: 28px; }
  .comment-score span { font-size: 10px; }
  .comment-top time { width: 100%; margin-left: 0; }
}

/* hero contrast + title balance */
.hero-chart { color: #f5f1e8; }
.chart-head b { color: #f5f1e8; }
.chart-row span { color: #f5f1e8; }
.chart-row b { color: #a9a397; }
.chart-row em { color: #b9b2a5; }
.chart-more { color: #d2cbbd; }
.hero h1 { max-width: 700px; font-size: clamp(38px, 4.7vw, 64px); line-height: 1.03; text-wrap: balance; }

@media (max-width: 800px) { .hero h1 { font-size: 36px; max-width: 340px; } }
@media (max-width: 520px) { .hero h1 { font-size: 31px; } }

/* ---------- game portal additions ---------- */
.platform-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 18px; }
.platform-card { display: flex; align-items: center; gap: 13px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 12px; background: #ffffff; transition: .2s; }
.platform-card:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(35,30,20,.08); border-color: #b9c4e9; }
.platform-card > span:nth-child(2) { flex: 1; min-width: 0; }
.platform-card em { display: block; color: #8c8578; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; font-style: normal; }
.platform-card b { display: block; color: var(--text); font-size: 15px; }
.platform-card small { display: block; color: var(--muted); font-size: 11px; }
.platform-card strong { color: #817a6e; }
.platform-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 11px; background: #eaf7ef; color: #23c268; }
.platform-card.pc .platform-icon { background: #fff3e8; color: #d9822b; }
.platform-card.ios .platform-icon { background: #f1f0ed; color: #131715; }
.platform-icon .icon { width: 22px; height: 22px; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.game-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #ffffff; transition: .2s; }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(35,30,20,.09); border-color: #c4cdef; }
.game-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #ddd7ca; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.game-card:hover .game-cover img { transform: scale(1.04); }
.game-rating { position: absolute; right: 8px; top: 8px; padding: 3px 6px; border-radius: 4px; background: rgba(15,14,12,.74); color: #8ee0ae; font-family: var(--mono); font-size: 9px; }
.platform-badge { position: absolute; left: 8px; top: 8px; padding: 3px 6px; border-radius: 4px; background: #23c268; color: #fff; font-family: var(--mono); font-size: 8px; letter-spacing: .04em; }
.platform-badge.pc { background: #d9822b; }
.platform-badge.ios { background: #131715; color: #fff; }
.game-info { display: flex; flex-direction: column; flex: 1; padding: 11px 12px 12px; }
.game-info h3 { margin: 0; font-size: 15px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-info p { min-height: 34px; margin: 4px 0 7px; color: var(--muted); font-size: 11px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-meta { display: flex; justify-content: space-between; gap: 6px; color: #8b8478; font-size: 9px; }
.game-actions { display: flex; gap: 6px; margin-top: 9px; }
.game-detail, .game-download { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 31px; padding: 0 9px; border-radius: 5px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.game-detail { border: 1px solid #e2e4e2; color: #5f594f; }
.game-download { flex: 1; background: #23c268; color: #fff; }
.game-download.pc { background: #d9822b; }
.game-download.ios { background: #131715; }
.game-download .icon { width: 13px; height: 13px; }
.compact-grid .game-cover { aspect-ratio: 2 / 1; }
.section-note { margin: -10px 0 14px; color: #8b8478; font-size: 12px; }
.mini-game { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.mini-game-icon { width: 43px; height: 43px; flex: 0 0 auto; border-radius: 9px; object-fit: cover; }
.mini-game > span { min-width: 0; flex: 1; }
.mini-game b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.mini-game small { display: block; color: var(--muted); font-size: 10px; }
.mini-game em { color: #ba7100; font-family: var(--mono); font-size: 10px; font-style: normal; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #ffffff; }
.news-cover { display: block; aspect-ratio: 16/9; overflow: hidden; background: #ddd; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.news-card:hover img { transform: scale(1.04); }
.news-copy { display: block; padding: 10px; }
.news-copy em { display: block; color: #23c268; font-family: var(--mono); font-size: 8px; font-style: normal; letter-spacing: .05em; }
.news-copy b { display: block; margin: 3px 0; font-size: 12px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-copy small { color: #928b7e; font-size: 9px; }
.thread-list { display: flex; flex-direction: column; }
.thread-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.thread-row img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; }
.thread-row > span { flex: 1; min-width: 0; }
.thread-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.thread-row small { display: block; color: var(--muted); font-size: 9px; }
.thread-row em { display: inline-flex; align-items: center; gap: 3px; color: #8c8578; font-size: 9px; font-style: normal; }
.thread-row .icon { width: 13px; height: 13px; }
.community-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 25px; border: 1px solid #cbd3f0; border-radius: 12px; background: linear-gradient(135deg,#eaf7ef,#fdf5e8); }
.community-cta h2 { margin: 7px 0; font-size: 26px; letter-spacing: -.05em; }
.community-cta p { margin: 0 0 15px; color: #7a7d7a; font-size: 12px; line-height: 1.8; }
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.news-list-card { display: flex; gap: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #ffffff; }
.news-list-card > img { width: 150px; height: 100px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; }
.news-list-card > span { min-width: 0; }
.news-list-card em { color: #23c268; font-family: var(--mono); font-size: 8px; font-style: normal; }
.news-list-card b { display: block; margin: 4px 0; font-size: 14px; line-height: 1.45; }
.news-list-card p { margin: 0 0 5px; color: var(--muted); font-size: 11px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list-card small { color: #7a7d7a; font-size: 9px; }
.article-head { padding: 55px 0 0; }
.article-head h1 { max-width: 850px; margin: 9px 0; font-size: clamp(30px,4vw,50px); line-height: 1.15; letter-spacing: -.06em; }
.article-head p { color: var(--muted); font-size: 11px; }
.article-head img { width: 100%; max-height: 430px; margin-top: 20px; object-fit: cover; border-radius: 12px; }
.article-body { max-width: 850px; padding-top: 30px; color: #3e403f; font-size: 15px; line-height: 2; }
.article-body p { margin: 0 0 17px; }
.community-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 35px; }
.thread-cards { display: flex; flex-direction: column; gap: 8px; }
.thread-card { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #ffffff; }
.thread-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: #23c268; color: #fff; font-weight: 800; }
.thread-avatar.large { width: 52px; height: 52px; font-size: 20px; }
.thread-main { flex: 1; min-width: 0; }
.thread-main b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-main p { margin: 3px 0; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-main small { color: #9b9488; font-size: 9px; }
.thread-stats { text-align: center; color: #8c8578; }
.thread-stats em { display: block; font-family: var(--mono); font-size: 15px; font-style: normal; }
.thread-stats small { font-size: 8px; }
.glass-side { padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: #ffffff; }
.glass-side h3 { margin: 0 0 8px; font-size: 14px; }
.glass-side p { margin: 0 0 13px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.glass-side .btn { width: 100%; }
.thread-detail { display: flex; gap: 20px; padding-top: 42px; }
.thread-detail > div { flex: 1; min-width: 0; }
.thread-detail h1 { margin: 8px 0; font-size: 32px; letter-spacing: -.05em; }
.thread-author { color: #8c8578; font-size: 11px; }
.reply-box { margin-top: 30px; }
.reply-box h2 { font-size: 20px; }
.reply { padding: 13px 0; border-top: 1px solid var(--line); }
.reply b { font-size: 12px; }
.reply p { margin: 4px 0 0; color: #5b554b; font-size: 13px; }
.rank-tabs { display: flex; gap: 8px; padding-top: 0; }
.rank-tabs a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 5px; color: #5f594f; font-size: 11px; background: #ffffff; }
.rank-tabs a:hover { border-color: #23c268; color: #23c268; }
.rank-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.rank-column { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #ffffff; }
.detail-badges { display: flex; align-items: center; gap: 8px; }
.detail-badges .platform-badge { position: static; }
.detail-badges .eyebrow { color: #23c268; }

/* www/m variant */
.variant-m .wrap { width: min(calc(100% - 28px), 480px); }
.variant-m .nav, .variant-m .head-search, .variant-m .head-download { display: none; }
.variant-m .head-inner { min-height: 68px; }
.variant-m .hero-grid { display: block; min-height: 0; padding: 110px 0 30px; }
.variant-m .hero { min-height: 0; }
.variant-m .hero-chart { display: none; }
.variant-m .hero h1 { font-size: 34px; max-width: 330px; }
.variant-m .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.variant-m .game-info h3 { font-size: 13px; }
.variant-m .game-info p { font-size: 10px; }
.variant-m .game-actions { flex-direction: column; }
.variant-m .game-detail { display: none; }
.variant-m .game-download { width: 100%; }
.variant-m .platform-strip { grid-template-columns: 1fr; gap: 7px; }
.variant-m .platform-card { padding: 10px 12px; }
.variant-m .news-grid { grid-template-columns: 1fr 1fr; }
.variant-m .news-list { grid-template-columns: 1fr; }
.variant-m .news-list-card > img { width: 110px; height: 80px; }
.variant-m .split-section { grid-template-columns: 1fr; gap: 30px; }
.variant-m .rank-columns { grid-template-columns: 1fr; }
.variant-m .community-layout { grid-template-columns: 1fr; }
.variant-m .community-side { display: none; }
.variant-m .community-cta { margin-top: 30px; }
.variant-m .thread-detail { display: block; padding-top: 30px; }
.variant-m .thread-detail .thread-avatar.large { margin-bottom: 12px; }
.variant-m .thread-detail h1 { font-size: 26px; }
.variant-m .article-head { padding-top: 38px; }
.variant-m .article-head h1 { font-size: 28px; }
.variant-m .bottom-nav { display: flex; }
.variant-m .foot { padding-bottom: 90px; }
@media (max-width: 800px) {
  .platform-strip { grid-template-columns: 1fr; gap: 7px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .game-info h3 { font-size: 13px; }
  .game-info p { font-size: 10px; }
  .game-actions { flex-direction: column; }
  .game-detail { display: none; }
  .game-download { width: 100%; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .news-list-card > img { width: 110px; height: 80px; }
  .rank-columns { grid-template-columns: 1fr; }
  .community-layout { grid-template-columns: 1fr; }
  .community-side { display: none; }
  .thread-card { padding: 11px; }
  .thread-main b { font-size: 12px; }
  .article-head { padding-top: 38px; }
  .article-head h1 { font-size: 28px; }
  .game-meta { font-size: 8px; }
  .game-download { font-size: 9px; }
}

/* fixed mobile navigation guard */
.variant-m .bottom-nav {
  display: flex !important;
  position: fixed !important;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  justify-content: space-around;
  padding: 9px 10px max(9px, env(safe-area-inset-bottom));
  border-top: 1px solid #2c2a25;
  background: rgba(20,19,16,.97);
  backdrop-filter: blur(14px);
}
@media (max-width: 800px) {
  .bottom-nav {
    display: flex !important;
    position: fixed !important;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    justify-content: space-around;
    padding: 9px 10px max(9px, env(safe-area-inset-bottom));
    border-top: 1px solid #2c2a25;
    background: rgba(20,19,16,.97);
  }
}

.m-nav { display: none; }
.m-nav a { flex: 1; padding: 6px 2px; color: #7a7d7a; font-size: 12px; text-align: center; border-bottom: 2px solid transparent; }
.m-nav a.active { color: #23c268; border-color: #23c268; }
.variant-m .m-nav { display: flex; align-items: center; justify-content: space-around; padding: 7px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #ffffff; }
@media (max-width: 800px) {
  .m-nav { display: flex; align-items: center; justify-content: space-around; padding: 7px 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #ffffff; }
}

/* 3387-style green portal home */
.portal-shell { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 16px; padding-top: 22px; }
.portal-main { padding: 18px; border: 1px solid #e5e6e5; border-radius: 16px; background: #fff; }
.portal-section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 13px; }
.portal-section-head h1 { display: flex; align-items: center; gap: 6px; margin: 0; color: #131715; font-size: 21px; letter-spacing: -.04em; }
.portal-section-head h1 .icon { color: #23c268; width: 21px; height: 21px; }
.portal-section-head h1 span { color: #9a9b9a; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.portal-section-head > a { display: inline-flex; align-items: center; gap: 3px; color: #789281; font-size: 11px; }
.portal-section-head > a:hover { color: #23c268; }
.portal-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr); gap: 10px; }
.portal-banner { position: relative; display: block; min-height: 315px; overflow: hidden; border-radius: 10px; background-image: var(--cover); background-position: center; background-size: cover; }
.portal-banner-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,36,25,.9), rgba(9,36,25,.1) 68%, rgba(9,36,25,.2)); }
.portal-banner-copy { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 3px; }
.portal-banner-copy em { align-self: flex-start; padding: 3px 7px; border-radius: 3px; background: #8ee0ae; color: #131715; font-size: 10px; font-style: normal; font-weight: 700; }
.portal-banner-copy b { margin-top: 4px; color: #fff; font-size: 30px; letter-spacing: -.05em; line-height: 1.15; }
.portal-banner-copy small { color: #d5e8dc; font-size: 12px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-banner-copy i { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: #8ee0ae; font-size: 11px; font-style: normal; }
.portal-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.portal-mini { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 9px; border: 1px solid #e2f0e6; border-radius: 9px; background: #fbfefb; transition: .2s; }
.portal-mini:hover { border-color: #8ee0ae; transform: translateY(-2px); }
.portal-mini-img { display: block; width: 65px; height: 65px; margin-bottom: 6px; overflow: hidden; border-radius: 13px; }
.portal-mini-img img, .portal-mini-img .icon-fallback { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.portal-mini b { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: #131715; font-size: 12px; }
.portal-mini small { color: #23c268; font-size: 10px; }
.portal-mini em { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9a9b9a; font-size: 9px; font-style: normal; }
.portal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.portal-tags a { padding: 5px 10px; border: 1px solid #e2f0e6; border-radius: 4px; background: #f7f8f7; color: #3e403f; font-size: 10px; }
.portal-tags a:first-child { border-color: #23c268; background: #23c268; color: #fff; }
.portal-side { display: flex; flex-direction: column; gap: 12px; }
.portal-box { padding: 18px; border: 1px solid #e5e6e5; border-radius: 15px; background: linear-gradient(160deg,#fff,#f0faf3); }
.portal-box .eyebrow { color: #23c268; }
.portal-box > b { display: block; margin: 6px 0 3px; color: #131715; font-size: 21px; letter-spacing: -.04em; }
.portal-box > p { margin: 0 0 12px; color: #7a7d7a; font-size: 11px; }
.portal-box-btn { display: flex; align-items: center; justify-content: center; min-height: 39px; border-radius: 6px; background: #23c268; color: #fff; font-size: 12px; font-weight: 800; }
.portal-box-links { display: flex; justify-content: space-around; margin-top: 10px; }
.portal-box-links a { color: #4b6b58; font-size: 10px; }
.portal-side-tags { padding: 15px; border: 1px solid #e5e6e5; border-radius: 12px; background: #fff; }
.portal-side-tags > b { display: block; margin-bottom: 9px; color: #131715; font-size: 13px; }
.portal-side-tags > div { display: flex; flex-wrap: wrap; gap: 5px; }
.portal-side-tags a { padding: 4px 8px; border-radius: 4px; background: #f0faf3; color: #3e403f; font-size: 10px; }
.portal-section { padding-top: 28px; }
.portal-free-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.portal-free-card { display: flex; gap: 10px; min-width: 0; padding: 11px; border: 1px solid #e5e6e5; border-radius: 10px; background: #fff; }
.portal-free-cover { position: relative; width: 150px; height: 92px; flex: 0 0 auto; overflow: hidden; border-radius: 7px; }
.portal-free-cover img { width: 100%; height: 100%; object-fit: cover; }
.portal-free-cover em { position: absolute; left: 5px; top: 5px; padding: 2px 5px; border-radius: 3px; background: #8ee0ae; color: #131715; font-size: 8px; font-style: normal; }
.portal-free-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.portal-free-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #131715; font-size: 13px; }
.portal-free-info small { margin: 2px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7a7d7a; font-size: 10px; }
.portal-free-info i { color: #23c268; font-size: 9px; font-style: normal; }
.portal-rank-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg,#f0faf3,#fffdf0); }
.portal-rank-card { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px; border: 1px solid #e2f0e6; border-radius: 8px; background: #fff; }
.portal-rank-no { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; background: #23c268; color: #fff; font-family: var(--mono); font-size: 10px; }
.portal-rank-cover { width: 68px; height: 46px; flex: 0 0 auto; overflow: hidden; border-radius: 5px; }
.portal-rank-cover img { width: 100%; height: 100%; object-fit: cover; }
.portal-rank-info { min-width: 0; }
.portal-rank-info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #131715; font-size: 12px; }
.portal-rank-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7a7d7a; font-size: 9px; }
.portal-latest-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.portal-latest { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 10px; border: 1px solid #e5e6e5; border-radius: 8px; background: #fff; }
.portal-latest-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; }
.portal-latest > span { flex: 1; min-width: 0; }
.portal-latest b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #131715; font-size: 12px; }
.portal-latest small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7a7d7a; font-size: 9px; }
.portal-latest em { color: #23c268; font-size: 9px; font-style: normal; }
.portal-latest .icon { color: #a7a8a7; width: 14px; }
.portal-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) 1fr; gap: 10px; }
.portal-news { overflow: hidden; border: 1px solid #e5e6e5; border-radius: 10px; background: #fff; }
.portal-news img { display: block; width: 100%; height: 105px; object-fit: cover; }
.portal-news > span { display: block; padding: 8px 10px; }
.portal-news em { color: #23c268; font-size: 8px; font-style: normal; }
.portal-news b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #131715; font-size: 11px; line-height: 1.5; }
.portal-community { display: flex; flex-direction: column; justify-content: center; padding: 17px; border: 1px solid #b8dfc3; border-radius: 10px; background: linear-gradient(135deg,#eaf7ef,#fdf5e8); }
.portal-community b { margin: 4px 0; color: #131715; font-size: 22px; letter-spacing: -.05em; }
.portal-community p { margin: 0 0 8px; color: #7a7d7a; font-size: 10px; line-height: 1.7; }
.portal-community > span:last-child { color: #23c268; font-size: 10px; font-weight: 700; }
@media (max-width: 1000px) {
  .portal-shell { grid-template-columns: 1fr; }
  .portal-side { display: grid; grid-template-columns: 1fr 1fr; }
  .portal-free-grid { grid-template-columns: 1fr 1fr; }
  .portal-news-grid { grid-template-columns: repeat(3,1fr); }
  .portal-community { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .portal-shell { padding-top: 12px; gap: 10px; }
  .portal-main { padding: 12px; }
  .portal-section-head h1 { font-size: 18px; }
  .portal-section-head h1 span { display: none; }
  .portal-hero-grid { grid-template-columns: 1fr; }
  .portal-banner { min-height: 230px; }
  .portal-banner-copy b { font-size: 24px; }
  .portal-mini-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .portal-mini { padding: 6px 4px; }
  .portal-mini-img { width: 48px; height: 48px; border-radius: 10px; margin-bottom: 3px; }
  .portal-mini b { font-size: 10px; }
  .portal-mini em { display: none; }
  .portal-side { display: none; }
  .portal-free-grid { grid-template-columns: 1fr; }
  .portal-free-cover { width: 120px; height: 80px; }
  .portal-rank-grid { grid-template-columns: 1fr 1fr; padding: 10px; }
  .portal-rank-cover { width: 55px; height: 40px; }
  .portal-rank-info b { font-size: 11px; }
  .portal-latest-list { grid-template-columns: 1fr; }
  .portal-news-grid { grid-template-columns: 1fr 1fr; }
  .portal-community { grid-column: 1 / -1; }
  .portal-section { padding-top: 22px; }
}
@media (max-width: 420px) {
  .portal-mini-grid { grid-template-columns: 1fr 1fr; }
  .portal-mini-img { width: 56px; height: 56px; }
  .portal-rank-grid { grid-template-columns: 1fr; }
  .portal-news-grid { grid-template-columns: 1fr; }
}

/* Restore the source site's Chinese font stack and readable type scale. */
body,
button,
input,
select,
textarea {
  font-family: "Microsoft YaHei", "Microsoft Yahei", SimSun, Tahoma, Helvetica, Arial, sans-serif;
}
body {
  font-size: 14px;
  line-height: 1.6;
}
.logo > span { font-size: 22px; }
.logo small { font-size: 10px; }
.nav { font-size: 16px; }
.nav a { font-weight: 500; }
.head-search input { font-size: 13px; }
.head-download { font-size: 13px; }
.ticker { font-size: 12px; }
.ticker .wrap > span { font-size: 11px; }
.ticker .wrap > div { font-size: 12px; }
.portal-section-head h1 { font-size: 26px; font-weight: 700; }
.portal-section-head h1 span { font-size: 13px; }
.portal-section-head > a { font-size: 12px; }
.portal-banner-copy em { font-size: 12px; }
.portal-banner-copy b { font-size: 30px; }
.portal-banner-copy small { font-size: 14px; }
.portal-banner-copy i { font-size: 13px; }
.portal-mini b { font-size: 14px; }
.portal-mini small { font-size: 12px; }
.portal-mini em { font-size: 11px; }
.portal-tags a { font-size: 12px; }
.portal-box .eyebrow { font-size: 11px; }
.portal-box > b { font-size: 22px; }
.portal-box > p { font-size: 12px; }
.portal-box-btn { font-size: 14px; }
.portal-box-links a { font-size: 12px; }
.portal-side-tags > b { font-size: 14px; }
.portal-side-tags a { font-size: 12px; }
.portal-free-info b { font-size: 15px; }
.portal-free-info small { font-size: 12px; }
.portal-free-info i { font-size: 11px; }
.portal-free-cover em { font-size: 11px; }
.portal-rank-info b { font-size: 14px; }
.portal-rank-info small { font-size: 11px; }
.portal-rank-no { font-size: 11px; }
.portal-latest b { font-size: 14px; }
.portal-latest small { font-size: 11px; }
.portal-latest em { font-size: 11px; }
.portal-news em { font-size: 10px; }
.portal-news b { font-size: 13px; }
.portal-community b { font-size: 24px; }
.portal-community p { font-size: 12px; }
.portal-community > span:last-child { font-size: 12px; }
.page-intro h1 { font-size: 48px; }
.page-intro p { font-size: 14px; }
.eyebrow { font-size: 11px; }
.chips button { font-size: 12px; }
#list-search { font-size: 13px; }
.game-info h3 { font-size: 15px; }
.game-info p { font-size: 12px; }
.game-meta { font-size: 11px; }
.game-detail, .game-download { font-size: 12px; }
.app-head > p { font-size: 14px; }
.app-tags span { font-size: 12px; }
.app-meta { font-size: 12px; }
.prose { font-size: 14px; line-height: 1.9; }
.install-notes { font-size: 13px; }
.info dl div { font-size: 12px; }
.comment-body p { font-size: 13px; }
.comment-top b { font-size: 14px; }
.comment-top span, .comment-top time { font-size: 11px; }
.comment-form h3 { font-size: 16px; }
.comment-form textarea, .form-row input, .form-row select { font-size: 13px; }
.foot p, .foot-links { font-size: 12px; }
.foot-meta { font-size: 10px; }
.bottom-nav a { font-size: 11px; }
.m-nav a { font-size: 13px; }
@media (max-width: 800px) {
  body { font-size: 14px; }
  .nav { font-size: 15px; }
  .portal-section-head h1 { font-size: 21px; }
  .portal-section-head h1 span { font-size: 12px; }
  .portal-banner-copy b { font-size: 25px; }
  .portal-banner-copy small { font-size: 12px; }
  .portal-mini b { font-size: 12px; }
  .portal-mini small { font-size: 11px; }
  .portal-free-info b { font-size: 14px; }
  .portal-rank-info b { font-size: 13px; }
  .portal-latest b { font-size: 13px; }
  .game-info h3 { font-size: 14px; }
  .app-head h1 { font-size: 30px; }
  .prose { font-size: 14px; }
  .foot p, .foot-links { font-size: 11px; }
}
@media (max-width: 520px) {
  .portal-section-head h1 { font-size: 20px; }
  .portal-banner-copy b { font-size: 23px; }
  .portal-mini b { font-size: 12px; }
  .portal-free-info b { font-size: 13px; }
}

/* Exact font metrics sampled from 3387.com */
html,
body,
button,
input,
select,
textarea {
  font-family: "Microsoft Yahei", simsun, Tahoma, Helvetica, Arial !important;
}
body {
  font-size: 11.2px !important;
  line-height: normal !important;
  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
}
.nav a {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: normal !important;
}
.head-search input { font-size: 13px !important; }
.head-download { font-size: 14px !important; }
.ticker { font-size: 11.2px !important; }
.portal-section-head h1 {
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: normal !important;
}
.portal-section-head h1 span { font-size: 12px !important; font-weight: 400 !important; }
.portal-section-head > a { font-size: 11.2px !important; }
.portal-banner-copy b { font-size: 32px !important; line-height: normal !important; }
.portal-banner-copy small { font-size: 14px !important; }
.portal-banner-copy em, .portal-banner-copy i { font-size: 11.2px !important; }
.portal-mini b { font-size: 18px !important; font-weight: 700 !important; line-height: normal !important; }
.portal-mini small { font-size: 11.2px !important; }
.portal-mini em { font-size: 11.2px !important; }
.portal-free-info b { font-size: 18px !important; font-weight: 700 !important; line-height: normal !important; }
.portal-free-info small, .portal-free-info i { font-size: 11.2px !important; }
.portal-rank-info b { font-size: 18px !important; font-weight: 700 !important; line-height: normal !important; }
.portal-rank-info small { font-size: 11.2px !important; }
.portal-latest b { font-size: 18px !important; font-weight: 700 !important; line-height: normal !important; }
.portal-latest small, .portal-latest em { font-size: 11.2px !important; }
.portal-tags a { font-size: 11.2px !important; }
.portal-box > b { font-size: 24px !important; }
.portal-box > p, .portal-box-links a { font-size: 11.2px !important; }
.portal-box-btn { font-size: 14px !important; }
.portal-side-tags a { font-size: 11.2px !important; }
.portal-free-cover em, .portal-rank-no { font-size: 11.2px !important; }
.portal-news b { font-size: 13px !important; }
.portal-community b { font-size: 24px !important; }
.portal-community p, .portal-community > span:last-child { font-size: 11.2px !important; }
.page-intro h1 { font-size: 32px !important; line-height: normal !important; }
.page-intro p { font-size: 11.2px !important; }
.chips button, #list-search { font-size: 12px !important; }
.game-info h3 { font-size: 18px !important; font-weight: 700 !important; line-height: normal !important; }
.game-info p { font-size: 11.2px !important; }
.game-meta { font-size: 11.2px !important; }
.game-detail, .game-download { font-size: 12px !important; }
.app-head h1 { font-size: 32px !important; line-height: normal !important; }
.app-head > p { font-size: 13px !important; }
.app-tags span, .app-meta { font-size: 11.2px !important; }
.prose { font-size: 13px !important; line-height: 1.9 !important; }
.install-notes { font-size: 11.2px !important; }
.info dl div { font-size: 11.2px !important; }
.comment-body p { font-size: 13px !important; }
.foot p, .foot-links { font-size: 11.2px !important; }
@media (max-width: 800px) {
  .portal-section-head h1 { font-size: 24px !important; }
  .portal-banner-copy b { font-size: 26px !important; }
  .portal-mini b, .portal-free-info b, .portal-rank-info b, .portal-latest b, .game-info h3 { font-size: 15px !important; }
  .page-intro h1, .app-head h1 { font-size: 28px !important; }
  .nav a { font-size: 16px !important; }
}
@media (max-width: 520px) {
  .portal-section-head h1 { font-size: 22px !important; }
  .portal-banner-copy b { font-size: 24px !important; }
  .portal-mini b, .portal-free-info b, .portal-rank-info b, .portal-latest b, .game-info h3 { font-size: 14px !important; }
}

/* 3387-style detail page */
.detail-crumb { display: flex; gap: 6px; align-items: center; padding-top: 18px; color: #7a7d7a; font-size: 11px; }
.detail-crumb a:hover { color: #23c268; }
.detail-crumb b { color: #131715; font-weight: 400; }
.detail-3387 { padding-top: 14px; }
.detail-top { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 16px; }
.detail-media { position: relative; min-height: 390px; overflow: hidden; border-radius: 14px; background: #102d21; }
.detail-media > img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; display: block; }
.detail-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,35,23,.65), transparent 55%); pointer-events: none; }
.detail-play { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.9); color: #23c268; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.detail-play .icon { width: 24px; height: 24px; margin-left: 3px; }
.detail-media-label { position: absolute; right: 13px; bottom: 12px; z-index: 2; padding: 3px 7px; border-radius: 3px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; }
.detail-buy { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 20px; border: 1px solid #e5e6e5; border-radius: 14px; background: #fff; text-align: center; }
.detail-buy-icon { width: 110px; height: 110px; padding: 5px; border-radius: 22px; background: #f4f4f4; }
.detail-buy-icon img, .detail-buy-icon .icon-fallback { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; }
.detail-buy h1 { margin: 12px 0 7px; color: #131715; font-size: 24px; line-height: 1.2; letter-spacing: -.04em; }
.detail-buy-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.detail-buy-tags span { padding: 3px 6px; border-radius: 3px; background: #eaf7ef; color: #23c268; font-size: 10px; }
.detail-buy-line { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; }
.detail-buy-line b { color: #23c268; font-size: 17px; }
.detail-buy-line span { color: #7a7d7a; font-size: 11px; }
.detail-buy-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 43px; border-radius: 6px; background: #23c268; color: #fff; font-size: 15px; font-weight: 700; }
.detail-buy-btn:hover { background: #0aac3c; }
.detail-buy > small { margin-top: 8px; color: #9a9b9a; font-size: 10px; }
.detail-tabs { display: flex; justify-content: center; gap: 0; margin-top: 12px; }
.detail-tabs button { min-width: 105px; padding: 9px 18px; border: 1px solid #e5e6e5; background: #f7f8f7; color: #3e403f; font-size: 13px; }
.detail-tabs button:first-child { border-radius: 6px 0 0 6px; }
.detail-tabs button:last-child { border-radius: 0 6px 6px 0; }
.detail-tabs button.active { border-color: #23c268; background: #23c268; color: #fff; }
.detail-3387-columns { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; padding-top: 16px; }
.detail-3387-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.detail-box { padding: 19px 20px; border: 1px solid #e5e6e5; border-radius: 12px; background: #fff; }
.detail-box > h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; color: #131715; font-size: 20px; line-height: 1.2; letter-spacing: -.03em; }
.detail-box > h2 > i { width: 4px; height: 18px; border-radius: 2px; background: #23c268; }
.detail-copy { color: #7a7d7a; font-size: 13px; line-height: 1.9; }
.detail-copy p { margin: 0 0 10px; }
.detail-note { margin: 11px 0 0; padding-top: 10px; border-top: 1px solid #eceeec; color: #9a9b9a; font-size: 10px; line-height: 1.7; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.benefit-list > div { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 5px; background: #f7f8f7; }
.benefit-list b { flex: 0 0 auto; color: #23c268; font-size: 11px; }
.benefit-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3e403f; font-size: 11px; }
.guide-list { display: flex; flex-direction: column; }
.guide-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #eceeec; }
.guide-row:last-child { border: 0; }
.guide-row img { width: 92px; height: 58px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; }
.guide-row > span { min-width: 0; }
.guide-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #131715; font-size: 12px; }
.guide-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9a9b9a; font-size: 10px; }
.detail-3387-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 94px; }
.side-box { padding: 17px; border: 1px solid #e5e6e5; border-radius: 12px; background: #fff; text-align: center; }
.side-box .eyebrow { color: #23c268; }
.side-box h2 { margin: 4px 0; color: #131715; font-size: 20px; letter-spacing: -.04em; }
.side-box p { margin: 0 0 12px; color: #7a7d7a; font-size: 10px; }
.fake-qr { width: 114px; height: 114px; margin: 0 auto 7px; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 10px; border: 1px solid #e5e6e5; background: #f7f8f7; }
.fake-qr i { display: block; background: #23c268; opacity: .72; }
.fake-qr i:nth-child(2), .fake-qr i:nth-child(4), .fake-qr i:nth-child(8) { opacity: .2; }
.side-box > small { display: block; margin-bottom: 10px; color: #9a9b9a; font-size: 9px; }
.side-box-btn { display: flex; align-items: center; justify-content: center; min-height: 37px; border-radius: 5px; background: #23c268; color: #fff; font-size: 13px; font-weight: 700; }
.side-collect { display: flex; align-items: center; justify-content: center; min-height: 33px; margin-top: 7px; border: 1px solid #8ee0ae; border-radius: 5px; color: #23c268; font-size: 12px; }
.side-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; border: 1px solid #e5e6e5; border-radius: 10px; background: #fff; }
.side-links a { padding: 5px; border-radius: 4px; background: #f7f8f7; color: #3e403f; font-size: 10px; text-align: center; }
.detail-3387 .comments-section { width: auto; margin: 0; padding: 0; border: 0; }
.detail-3387 .comments-head { margin-bottom: 6px; }
.detail-3387 .comments-head h2 { font-size: 15px; }
.detail-3387 .comments-head .eyebrow, .detail-3387 .comments-head .comment-score { display: none; }
.detail-3387 .comments-layout { grid-template-columns: 1fr; gap: 8px; }
.detail-3387 .comment-form { position: static; padding: 12px; border-radius: 8px; background: #f7f8f7; }
.detail-3387 .comment-form h3 { font-size: 13px; }
.detail-3387 .comment { padding: 10px 0; }
.detail-3387 .comment-avatar { width: 32px; height: 32px; font-size: 13px; }
.detail-3387 .comment-body p { font-size: 12px; }
@media (max-width: 900px) {
  .detail-top { grid-template-columns: 1fr; }
  .detail-media, .detail-media > img { min-height: 260px; }
  .detail-buy { align-items: flex-start; text-align: left; padding: 15px; }
  .detail-buy-icon { width: 78px; height: 78px; border-radius: 17px; }
  .detail-buy h1 { font-size: 21px; margin-top: 0; }
  .detail-buy-tags { justify-content: flex-start; }
  .detail-buy-btn { width: 100%; }
  .detail-3387-columns { grid-template-columns: 1fr; }
  .detail-3387-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .side-box { display: none; }
  .detail-buy-line { margin: 7px 0; }
  .detail-tabs button { min-width: 30%; font-size: 12px; }
}
@media (max-width: 520px) {
  .detail-3387 { padding-top: 8px; }
  .detail-top { gap: 9px; }
  .detail-media, .detail-media > img { min-height: 205px; }
  .detail-box { padding: 13px; }
  .detail-box > h2 { font-size: 18px; }
  .benefit-list { grid-template-columns: 1fr; }
  .detail-3387-side { grid-template-columns: 1fr; }
  .detail-tabs button { min-width: 0; flex: 1; padding: 8px 5px; }
}

/* source detail content */
.detail-media { display: block; }
.source-stats { display: flex; gap: 18px; justify-content: center; margin: 5px 0 12px; }
.source-stats div { display: flex; flex-direction: column; gap: 1px; }
.source-stats b { color: #23c268; font-size: 17px; font-weight: 700; }
.source-stats small { color: #7a7d7a; font-size: 10px; }
.source-html { color: #3e403f; font-size: 13px; line-height: 1.9; }
.source-html p { margin: 0 0 10px; }
.source-html img { max-width: 100%; border-radius: 6px; }
.source-info-list { display: flex; flex-direction: column; gap: 13px; }
.source-info { padding-left: 10px; border-left: 2px solid #8ee0ae; }
.source-info h3 { margin: 0 0 4px; color: #131715; font-size: 15px; }
.source-info .source-html { font-size: 12px; line-height: 1.8; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tool-item { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 5px; background: #f7f8f7; }
.tool-item img { width: 30px; height: 30px; border-radius: 5px; }
.tool-item span { min-width: 0; }
.tool-item b { display: block; color: #131715; font-size: 12px; }
.tool-item small { display: block; color: #7a7d7a; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-reviews { display: flex; flex-direction: column; }
.source-review { display: flex; gap: 10px; padding: 13px 0; border-bottom: 1px solid #eceeec; }
.source-review:last-child { border-bottom: 0; }
.review-avatar { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #e5e6e5; }
.review-main { min-width: 0; flex: 1; }
.review-head { display: flex; align-items: center; gap: 10px; }
.review-head b { color: #131715; font-size: 13px; }
.review-head span { margin-left: auto; color: #9a9b9a; font-size: 10px; }
.review-main p { margin: 5px 0 7px; color: #3e403f; font-size: 12px; line-height: 1.8; }
.review-images { display: flex; gap: 5px; }
.review-images img { width: 92px; height: 58px; border-radius: 4px; object-fit: cover; }
.kaifu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.kaifu-row { display: flex; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 4px; background: #f7f8f7; }
.kaifu-row b { color: #3e403f; font-size: 11px; font-weight: 400; }
.kaifu-row span { color: #7a7d7a; font-size: 10px; white-space: nowrap; }
.source-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.source-shots img { width: 100%; aspect-ratio: 16/9; border-radius: 5px; object-fit: cover; }
.detail-3387 .comments-section { margin-top: 10px; padding-top: 10px; border-top: 1px solid #eceeec; }
@media (max-width: 800px) {
  .source-stats { justify-content: flex-start; margin-top: 7px; }
  .source-shots { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: 1fr; }
  .kaifu-list { grid-template-columns: 1fr; }
  .source-info h3 { font-size: 14px; }
}

/* 3839 hot-rank gradient system + layout polish */
:root {
  --brand-gradient: linear-gradient(110deg, #dfff78 0%, #8ee45f 38%, #23c268 100%);
  --brand-gradient-strong: linear-gradient(135deg, #2fd477 0%, #23c268 48%, #0aac3c 100%);
  --brand-gradient-soft: linear-gradient(180deg, #f2ffd7 0%, #effbf3 55%, #ffffff 100%);
  --card-radius: 10px;
  --section-gap: 26px;
}
.logo strong,
.head-download,
.portal-box-btn,
.detail-buy-btn,
.side-box-btn,
.game-download,
.portal-banner-copy em,
.portal-tags a:first-child,
.portal-rank-no,
.detail-box > h2 > i {
  background: var(--brand-gradient-strong);
}
.logo strong,
.head-download,
.portal-box-btn,
.detail-buy-btn,
.side-box-btn,
.game-download {
  box-shadow: 0 5px 14px rgba(10, 172, 60, .16);
}
.head-download:hover,
.portal-box-btn:hover,
.detail-buy-btn:hover,
.side-box-btn:hover,
.game-download:hover {
  filter: brightness(1.05);
}
.portal-tags a:first-child { color: #fff; }
.portal-main {
  border-color: #dfe6df;
  box-shadow: 0 4px 18px rgba(23, 48, 36, .04);
}
.portal-side { position: sticky; top: 88px; }
.portal-box {
  border-color: #d9e8dc;
  background: var(--brand-gradient-soft);
}
.portal-section { padding-top: var(--section-gap); }
.portal-section-head { margin-bottom: 14px; }
.portal-section-head h1 {
  position: relative;
  min-height: 28px;
  padding-bottom: 5px;
}
.portal-section-head h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-gradient);
}
.portal-section-head h1 .icon { color: #23c268; }
.portal-free-grid { gap: 12px; }
.portal-free-card {
  min-height: 118px;
  align-items: center;
  border-color: #e1e8e1;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.portal-free-card:hover {
  transform: translateY(-2px);
  border-color: #9fe3ba;
  box-shadow: 0 8px 20px rgba(35, 194, 104, .08);
}
.portal-free-cover { width: 150px; height: 96px; }
.portal-free-info b { line-height: 1.35; }
.portal-free-info small { line-height: 1.5; }
.portal-latest-list { gap: 8px; }
.portal-latest {
  min-height: 58px;
  border-color: #e5e9e5;
  transition: background .2s, border-color .2s;
}
.portal-latest:hover { background: #f8fff9; border-color: #a9e6bd; }
.portal-latest > span { line-height: 1.45; }
.portal-latest em { margin-left: auto; padding-left: 8px; white-space: nowrap; }
.portal-latest .icon { margin-left: 4px; }
.game-grid { gap: 12px; align-items: stretch; }
.game-card {
  height: 100%;
  border-color: #e2e8e2;
  border-radius: var(--card-radius);
  box-shadow: 0 3px 12px rgba(23, 48, 36, .035);
}
.game-cover { aspect-ratio: 16 / 8.6; }
.game-info { padding: 11px 12px 12px; }
.game-info h3 { margin-bottom: 2px; }
.game-info p { min-height: 35px; margin-bottom: 8px; }
.game-meta { margin-top: auto; }
.game-actions { margin-top: 10px; }
.game-card:hover { box-shadow: 0 10px 24px rgba(35, 194, 104, .10); border-color: #a9e6bd; }
.game-detail { border-color: #dce3dc; }
.game-detail:hover { border-color: #23c268; color: #23c268; }
.chips button.active, .chips button:hover { background: var(--brand-gradient-strong); border-color: #23c268; color: #fff; }
.page-intro { background: var(--brand-gradient-soft); border-bottom-color: #dfe8df; }
.page-intro::after { color: rgba(35, 194, 104, .055); }
.detail-media { border-radius: var(--card-radius); }
.detail-buy { border-color: #dfe8df; border-radius: var(--card-radius); }
.detail-tabs button { background: #f7faf7; border-color: #dfe8df; }
.detail-tabs button.active { background: var(--brand-gradient-strong); border-color: #23c268; }
.detail-3387-main { gap: 12px; }
.detail-box { border-color: #e1e8e1; border-radius: var(--card-radius); }
.detail-3387-side { top: 88px; }
.side-box { border-color: #dfe8df; border-radius: var(--card-radius); }
.side-links { border-color: #e1e8e1; }
.source-info { border-left-color: #8ee45f; }
.source-html p:last-child { margin-bottom: 0; }
.source-review { gap: 12px; }
.review-head { margin-bottom: 2px; }
.foot { background: #131715; }

@media (max-width: 1000px) {
  .portal-side { position: static; }
}
@media (max-width: 800px) {
  .portal-section { padding-top: 22px; }
  .portal-section-head h1 { min-height: 24px; }
  .portal-free-card { min-height: 106px; }
  .portal-free-cover { width: 118px; height: 78px; }
  .game-grid { gap: 8px; }
  .game-card { border-radius: 8px; }
  .detail-3387-side { position: static; }
}

/* detail screenshot frame, carousel and lightbox */
.detail-media {
  position: relative;
  min-height: 0;
  max-height: 430px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #102d21;
}
.detail-gallery-track { position: absolute; inset: 0; }
.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.gallery-slide.active { opacity: 1; pointer-events: auto; }
.detail-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(8, 28, 19, .38), transparent);
  pointer-events: none;
}
.media-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 6px;
  background: rgba(16, 38, 27, .55);
  color: #fff;
  opacity: .82;
  transition: background .2s, opacity .2s;
}
.media-arrow:hover { background: rgba(10, 172, 60, .9); opacity: 1; }
.media-arrow.prev { left: 10px; }
.media-arrow.next { right: 10px; }
.media-arrow.next .icon { transform: rotate(180deg); }
.media-expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 5px;
  background: rgba(16, 38, 27, .55);
  color: #fff;
}
.media-expand .icon { width: 15px; height: 15px; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 48px;
  background: rgba(6, 12, 9, .9);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 4px;
  object-fit: contain;
  background: #0b1510;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.lightbox-close { top: 18px; right: 22px; width: 38px; height: 38px; border-radius: 50%; font-size: 25px; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; width: 44px; height: 62px; margin-top: -31px; font-size: 38px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox button:hover { background: #23c268; }
@media (max-width: 800px) {
  .detail-media { max-height: 250px; }
  .media-arrow { width: 30px; height: 42px; margin-top: -21px; }
  .media-arrow.prev { left: 7px; }
  .media-arrow.next { right: 7px; }
  .media-expand { right: 7px; bottom: 7px; }
  .lightbox { padding: 14px; }
  .lightbox-prev, .lightbox-next { width: 34px; height: 50px; margin-top: -25px; font-size: 30px; }
}

/* keep portrait screenshots fully visible inside the 16:9 frame */
.gallery-slide { object-fit: contain; background: #0c1510; }

.media-arrow.prev .icon { transform: rotate(180deg); }
.media-arrow.next .icon { transform: none; }

/* editor pick modules replace game-box modules */
.portal-picks {
  padding: 14px;
  border: 1px solid #dfe8df;
  border-radius: 10px;
  background: var(--brand-gradient-soft);
}
.portal-picks-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.portal-picks-head .eyebrow { font-size: 9px; letter-spacing: .04em; }
.portal-picks-head b { color: #131715; font-size: 18px; }
.portal-picks-head a { margin-left: auto; color: #23c268; font-size: 11px; }
.portal-pick { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(35,194,104,.12); }
.portal-pick img { width: 54px; height: 38px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; }
.portal-pick span { flex: 1; min-width: 0; }
.portal-pick b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #131715; font-size: 12px; }
.portal-pick small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7a7d7a; font-size: 10px; }
.portal-pick em { color: #23c268; font-size: 10px; font-style: normal; white-space: nowrap; }
.side-picks { padding: 15px; border: 1px solid #dfe8df; border-radius: 10px; background: #fff; }
.side-picks .portal-picks-head b { font-size: 18px; }
.side-pick { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #edf3ed; }
.side-pick img { width: 52px; height: 38px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; }
.side-pick span { flex: 1; min-width: 0; }
.side-pick b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #131715; font-size: 12px; }
.side-pick small { display: block; color: #7a7d7a; font-size: 10px; }
.side-pick em { display: flex; color: #9a9b9a; }
.side-pick .icon { width: 13px; height: 13px; }
@media (max-width: 800px) {
  .portal-picks { padding: 12px; }
  .portal-picks-head b { font-size: 16px; }
  .portal-pick img { width: 50px; height: 36px; }
}

/* larger editor recommendation module */
.portal-shell { grid-template-columns: minmax(0, 1fr) 320px; }
.portal-picks {
  padding: 16px;
  border-radius: 12px;
}
.portal-picks-head {
  gap: 9px;
  margin-bottom: 5px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(35,194,104,.16);
}
.portal-picks-head .eyebrow { font-size: 10px; }
.portal-picks-head b { font-size: 21px; line-height: 1.2; }
.portal-picks-head a { font-size: 12px; }
.portal-pick {
  gap: 11px;
  padding: 10px 0;
}
.portal-pick img {
  width: 82px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}
.portal-pick b { font-size: 14px; line-height: 1.4; }
.portal-pick small { margin-top: 2px; font-size: 11px; line-height: 1.5; }
.portal-pick em { font-size: 12px; }
.detail-3387-columns { grid-template-columns: minmax(0,1fr) 320px; }
.side-picks { padding: 17px; border-radius: 12px; }
.side-picks .portal-picks-head b { font-size: 21px; }
.side-pick { gap: 11px; padding: 11px 0; }
.side-pick img { width: 78px; height: 54px; border-radius: 6px; }
.side-pick b { font-size: 14px; }
.side-pick small { font-size: 11px; }
.side-pick .icon { width: 15px; height: 15px; }
@media (max-width: 1000px) {
  .portal-shell { grid-template-columns: 1fr; }
  .portal-side { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .detail-3387-columns { grid-template-columns: 1fr; }
  .side-picks { display: none; }
  .portal-picks-head b { font-size: 18px; }
  .portal-pick img { width: 70px; height: 48px; }
  .portal-pick b { font-size: 13px; }
}

/* frontend finishing: pagination, blur fill, nav gradient */
.nav a { position: relative; }
.nav a.active { border-color: transparent; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
}
.detail-media-blur {
  position: absolute;
  inset: -22px;
  z-index: 0;
  background-position: center;
  background-size: cover;
  filter: blur(18px) brightness(.42);
  transform: scale(1.08);
  pointer-events: none;
}
.detail-gallery-track { z-index: 1; }
.detail-media::after { z-index: 2; pointer-events: none; }
.media-arrow, .media-expand { z-index: 4; }
.load-more {
  display: block;
  min-width: 190px;
  margin: 18px auto 0;
  padding: 9px 22px;
  border: 1px solid #b9e3c7;
  border-radius: 6px;
  background: #f2fff6;
  color: #23c268;
  font-size: 12px;
  font-weight: 700;
}
.load-more:hover { background: var(--brand-gradient-strong); border-color: #23c268; color: #fff; }
.game-card[hidden] { display: none; }
@media (max-width: 800px) {
  .load-more { margin-top: 14px; }
}

/* clean module panels for free and latest sections */
.portal-module {
  margin-top: 22px;
  padding: 20px 22px 22px;
  border: 1px solid #e0e8e0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(23, 48, 36, .035);
}
.portal-module + .portal-module { margin-top: 20px; }
.portal-module .portal-section-head {
  margin-bottom: 17px;
  padding-bottom: 0;
}
.portal-module .portal-section-head h1 { font-size: 24px !important; }
.portal-free-grid { gap: 14px; }
.portal-free-card {
  min-height: 142px;
  padding: 12px;
  border-radius: 8px;
  border-color: #e3eae3;
  align-items: center;
}
.portal-free-cover {
  width: 188px;
  height: 118px;
  border-radius: 7px;
}
.portal-free-info { padding: 2px 0; }
.portal-free-info b { font-size: 18px !important; line-height: 1.35 !important; }
.portal-free-info small { margin: 5px 0 6px; font-size: 11.2px !important; line-height: 1.6 !important; }
.portal-free-info i { font-size: 11.2px !important; }
.portal-latest-list { grid-template-columns: 1fr 1fr; gap: 9px; }
.portal-latest {
  min-height: 66px;
  padding: 10px 12px;
  border-radius: 7px;
  border-color: #e4ebe5;
  background: #fbfdfb;
}
.portal-latest-icon { width: 48px; height: 48px; border-radius: 8px; }
.portal-latest b { font-size: 17px !important; line-height: 1.35 !important; }
.portal-latest small { margin-top: 2px; font-size: 11.2px !important; line-height: 1.5 !important; }
.portal-latest em { font-size: 11.2px !important; }
.portal-latest .icon { width: 15px; height: 15px; }
@media (max-width: 800px) {
  .portal-module { margin-top: 16px; padding: 14px; border-radius: 10px; }
  .portal-module .portal-section-head { margin-bottom: 12px; }
  .portal-module .portal-section-head h1 { font-size: 21px !important; }
  .portal-free-grid { gap: 8px; }
  .portal-free-card { min-height: 108px; padding: 9px; }
  .portal-free-cover { width: 122px; height: 82px; }
  .portal-free-info b { font-size: 14px !important; }
  .portal-latest-list { grid-template-columns: 1fr; gap: 7px; }
  .portal-latest { min-height: 58px; padding: 8px 10px; }
  .portal-latest-icon { width: 42px; height: 42px; }
  .portal-latest b { font-size: 14px !important; }
}

/* 01PLAYER brand mark */
.logo-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(35, 194, 104, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo:hover .logo-mark {
  transform: translateY(-1px) rotate(-2deg);
  box-shadow: 0 6px 16px rgba(35, 194, 104, .26);
}
.foot .logo-mark { box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
@media (max-width: 520px) {
  .logo-mark { width: 37px; height: 37px; border-radius: 10px; }
}

/* full logo lockup: icon + 01玩家 + domain */
.logo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.05;
}
.logo-copy b {
  color: #131715;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.logo-copy b em {
  color: #23c268;
  font-style: normal;
}
.logo-copy small {
  margin-top: 3px;
  color: #7a7d7a;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
}
.foot .logo-copy b { color: #f6f2e8; }
.foot .logo-copy b em { color: #8ee45f; }
.foot .logo-copy small { color: #a49d90; }
@media (max-width: 520px) {
  .logo-copy b { font-size: 19px; }
  .logo-copy small { font-size: 8px; }
}

/* light green backdrop for portrait screenshots */
.detail-media {
  background: linear-gradient(135deg, #eefbf1 0%, #d8f3df 52%, #bfe9cb 100%);
}
.detail-media-blur {
  opacity: .42;
  filter: blur(24px) saturate(.72) brightness(1.12);
}
.gallery-slide {
  background: transparent;
}
.detail-media::after {
  height: 22%;
  background: linear-gradient(0deg, rgba(10, 58, 36, .22), transparent);
}
