
:root{
  --primary:#0075CD;--primary-dark:#0057A0;--primary-deeper:#063A6E;
  --accent:#CBF700;--accent-text:#0A2A12;--bg:#061628;--bg-elevated:#0B2744;
  --surface:#0E3154;--text:#F4F8FC;--muted:#9BB4CC;--card:#0C2C4C;--border:#1A4A78;
  --header-h:64px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);
  font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.45}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
.wrap{width:min(1120px,100%);margin:0 auto;padding:0 14px}
.site-header{position:sticky;top:0;z-index:40;background:linear-gradient(180deg,var(--primary) 0%,var(--primary-dark) 100%);
  border-bottom:3px solid var(--accent);min-height:var(--header-h)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:var(--header-h);padding:8px 0}
.logo img{height:36px;width:auto}
@media(min-width:880px){.logo img{height:44px}}
.header-cta{display:flex;gap:8px;align-items:center}
.btn{display:inline-flex;align-items:center;justify-content:center;font-weight:800;border-radius:8px;
  padding:0 16px;min-height:44px;border:0;cursor:pointer;letter-spacing:.01em}
.btn-accent{background:var(--accent);color:var(--accent-text)}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.85)}
.btn-lg{min-height:48px;padding:0 22px;font-size:1.05rem}
/* §3.1 carousel — document flow, not covering cards */
.s2-carousel{position:relative;width:100%;margin:0 0 8px;border-bottom:3px solid var(--accent);background:var(--bg-elevated);overflow:hidden}
/* 390≤260px、1280≤440px（含底边），保证首屏露出第一排游戏卡 */
.s2-carousel{box-sizing:border-box;max-height:260px}
.s2-slide{display:none;position:relative;width:100%;height:257px;max-height:257px}
.s2-slide.is-active{display:block}
@media(min-width:880px){
  .s2-carousel{max-height:440px}
  .s2-slide{height:437px;max-height:437px}
}
.s2-slide-bg{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.s2-slide-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,22,40,.82),rgba(6,22,40,.4) 55%,rgba(6,22,40,.6));pointer-events:none}
/* 文字区左右 ≥56px，底部留指示点空间，避免与箭头/点重叠 */
.s2-slide-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:flex-end;
  gap:10px;padding:16px 56px 36px;max-width:100%;box-sizing:border-box}
/* Logo 原件高度：390≥32（用 40 更清晰）、1280≥48；深色底衬托可读 */
.s2-logo{height:40px;min-height:32px;width:auto;max-width:min(78%,260px);object-fit:contain;
  background:rgba(0,0,0,.6);padding:6px 10px;border-radius:8px;display:block}
@media(min-width:880px){
  .s2-logo{height:52px;min-height:48px;max-width:min(42%,300px);padding:8px 12px}
  .s2-slide-content{padding:20px 64px 40px;max-width:640px}
}
.s2-slide-title{margin:0;font-size:clamp(1.05rem,3.2vw,1.45rem);font-weight:800;text-shadow:0 1px 8px rgba(0,0,0,.5);max-width:36ch}
/* 不用侧中箭头：右下角小下一张 + 指示点 + 触屏滑动，不压 Logo/标题/CTA */
.s2-nav{display:none !important}
.s2-next-hit{position:absolute;z-index:4;right:10px;bottom:6px;width:28px;height:28px;border-radius:50%;
  border:0;background:rgba(0,0,0,.45);color:#fff;font-size:.9rem;cursor:pointer;line-height:1}
.s2-dots{position:absolute;left:48px;right:48px;bottom:10px;z-index:3;display:flex;gap:6px;justify-content:center;pointer-events:auto}
.s2-dots button{width:8px;height:8px;border-radius:50%;border:0;background:#4a6f92;padding:0;cursor:pointer}
.s2-dots button.is-active{background:var(--accent)}
.cats{display:flex;gap:4px;overflow-x:auto;padding:12px 0 0;border-bottom:1px solid var(--border);scrollbar-width:none}
.cats::-webkit-scrollbar{display:none}
.cats a{flex:0 0 auto;padding:10px 14px;color:var(--muted);font-weight:700;border-bottom:3px solid transparent;white-space:nowrap}
.cats a.active,.cats a:hover{color:#fff;border-bottom-color:var(--accent)}
.section{padding:18px 0 28px}
.section h2{margin:0 0 6px;font-size:1.25rem}
.section .sub{margin:0 0 14px;color:var(--muted);font-size:.92rem}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:520px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:720px){.grid{grid-template-columns:repeat(4,1fr);gap:14px}}
@media(min-width:1024px){.grid{grid-template-columns:repeat(6,1fr)}}
.card{background:var(--card);border:1px solid var(--border);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:100%}
.card .thumb{aspect-ratio:1/1;background:#082038;overflow:hidden}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .meta{padding:8px 8px 10px;display:flex;flex-direction:column;gap:2px;flex:1}
.card .title{font-size:.86rem;font-weight:750;line-height:1.25;min-height:2.5em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .prov{font-size:.72rem;color:var(--muted);min-height:1.1em}
.game-hero{display:grid;gap:16px;padding:18px 0}
@media(min-width:800px){.game-hero{grid-template-columns:320px 1fr;align-items:start}}
.game-cover{border-radius:12px;overflow:hidden;border:1px solid var(--border);aspect-ratio:1/1;background:var(--surface)}
.game-cover img{width:100%;height:100%;object-fit:cover}
.game-body h1{margin:0 0 6px;font-size:clamp(1.4rem,3vw,1.9rem)}
.game-body .prov{color:var(--muted);margin-bottom:12px}
.game-body .intro{color:#d7e6f4;font-size:.98rem;max-width:62ch}
.cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.s2-faq,.faq{padding:8px 0 24px}
.s2-faq details,.faq details{background:var(--bg-elevated);border:1px solid var(--border);border-radius:8px;padding:10px 12px;margin:0 0 8px}
.s2-faq summary,.faq summary{font-weight:700;cursor:pointer}
.s2-faq h2{margin:0 0 12px;font-size:1.25rem}
.site-footer{background:var(--primary-deeper);border-top:1px solid var(--border);padding:18px 0 88px;text-align:center;color:var(--muted);font-size:.85rem}
.bottom-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:flex;gap:8px;padding:8px 12px;
  background:rgba(6,22,40,.94);border-top:2px solid var(--accent)}
.bottom-bar .btn{flex:1}
@media(min-width:880px){.bottom-bar{display:none}.site-footer{padding-bottom:22px}}
.crumb{font-size:.82rem;color:var(--muted);margin:12px 0}
.crumb a{color:#cfe3f7;text-decoration:underline}
.empty{color:var(--muted);padding:20px 0}
.home-note{padding:4px 0 16px;color:var(--muted);font-size:.9rem}
.home-note p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
