:root{
  --bg:#fff;--bg-alt:#f5f5f7;--text:#1d1d1f;--text-2:#6e6e73;--hairline:#d2d2d7;
  --blue:#0071e3;--link:#0066cc;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--font);font-size:17px;line-height:1.47059;letter-spacing:-.022em;color:var(--text);background:var(--bg);
  -webkit-font-smoothing:antialiased}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.wrap{max-width:1024px;margin:0 auto;padding:0 22px}

/* 导航：44px，半透明磨砂，吸顶 */
.site-header{position:sticky;top:0;z-index:10;background:rgba(251,251,253,.8);backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.08)}
.site-header .wrap{display:flex;justify-content:space-between;align-items:center;height:44px}
.logo{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;letter-spacing:-.022em;color:var(--text)}
.logo img{width:28px;height:28px;border-radius:7px}
.logo:hover{text-decoration:none}
.site-header nav a{font-size:12px;letter-spacing:-.01em;color:var(--text)}

/* 首屏：居中 */
.hero{text-align:center;padding:56px 0 32px}
h1{font-size:56px;line-height:1.07143;font-weight:600;letter-spacing:-.005em}
.tagline{max-width:692px;margin:12px auto 0;font-size:21px;line-height:1.381;letter-spacing:.011em;color:var(--text-2)}

/* 游戏 */
/* 游戏区照《AI游戏站实战手册》：宽 100%，高 100vh、最高 600px；手机（≤640px）高 70vh；iframe 铺满，游戏自己适配。
   不会自适应的固定尺寸游戏（data-frame）由页面脚本等比缩放进来，居中。 */
.stage{margin:0 auto}
.player{height:100vh;max-height:600px}
@media (max-width:640px){.player{height:70vh;max-height:none}}
.player{position:relative;width:100%;background:#000;border-radius:18px;overflow:hidden;
  box-shadow:0 2px 6px rgba(0,0,0,.06),0 24px 60px rgba(0,0,0,.18)}
.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff}
.player iframe[data-frame]:not([data-frame=""]){inset:auto;transform-origin:0 0}
/* 手机上（以及不支持元素全屏的 iPhone）铺满整个屏幕，右上角 × 关闭 */
.stage .player.expanded{position:fixed;inset:0;z-index:100;width:100vw;height:100dvh;max-height:none;border-radius:0}
.close-btn{display:none;position:absolute;z-index:2;top:12px;right:12px;width:36px;height:36px;font:inherit;font-size:24px;line-height:36px;
  color:#fff;background:rgba(0,0,0,.55);border:0;border-radius:50%;cursor:pointer}
.player.expanded .close-btn,.player:fullscreen .close-btn{display:block}
.player-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:16px}
.credit{font-size:14px;color:var(--text-2)}
.fs-btn{display:flex;align-items:center;gap:8px;flex:none;padding:10px 20px;font:inherit;font-size:17px;color:var(--text);
  background:#e8e8ed;border:0;border-radius:980px;cursor:pointer}
.fs-btn:hover{background:#dcdce1}
.fs-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* 正文：阅读区 692px，截图区更宽 */
article{padding:24px 0 8px}
article>section{max-width:692px;margin:0 auto 48px}
article>section.shots-section{max-width:none}
h2{font-size:40px;line-height:1.1;font-weight:600;letter-spacing:0;margin-bottom:20px}
.shots-section h2{max-width:692px;margin-left:auto;margin-right:auto}
article p{margin-bottom:14px}
article ul,article ol{padding-left:22px;margin-bottom:14px}
article li{margin-bottom:6px}
article b{font-weight:600}

.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.shots img{border-radius:18px;background:var(--bg-alt)}
figcaption{font-size:14px;line-height:1.43;letter-spacing:-.016em;color:var(--text-2);margin-top:10px;text-align:center}

/* FAQ：细线分隔的折叠列表 */
details{border-bottom:1px solid var(--hairline)}
details:first-of-type{border-top:1px solid var(--hairline)}
summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;
  font-size:19px;font-weight:600;letter-spacing:.012em;cursor:pointer}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:24px;font-weight:300;color:var(--text-2);transition:transform .2s}
details[open] summary::after{transform:rotate(45deg)}
details p{padding:0 0 18px;color:var(--text-2)}

/* 更多游戏 */
#more-games{padding:56px 0 24px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}
.card{display:block;color:var(--text)}
.card:hover{text-decoration:none}
.card-img{aspect-ratio:16/10;object-fit:cover;width:100%;border-radius:18px}
.card-name{display:block;padding-top:10px;font-size:17px;font-weight:600}

/* 广告位 */
.ad{margin:24px auto;text-align:center;overflow:hidden}
.ad-top{display:none}
@media (min-width:768px){.ad-top{display:block}.ad-top_mobile{display:none}}
/* 侧栏广告固定在视口右侧，不占正文宽度，正文始终和导航对齐 */
.side{display:none}
@media (min-width:1300px){.side:not(:empty){display:block;position:fixed;top:68px;right:24px;width:160px}}

/* 法务页 */
.legal{max-width:692px;padding-top:56px;padding-bottom:56px}
.legal h1{font-size:40px;line-height:1.1;margin-bottom:24px}
.legal p{margin-bottom:14px}

/* 页脚 */
.site-footer{background:var(--bg-alt);padding:20px 0 28px;font-size:12px;line-height:1.33;letter-spacing:-.01em;color:var(--text-2)}
.site-footer nav{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--hairline)}
.site-footer nav a{color:#424245}

@media (max-width:734px){
  body{font-size:17px}
  .hero{padding:40px 0 24px}
  h1{font-size:40px;line-height:1.1}
  .tagline{font-size:19px;line-height:1.42}
  h2{font-size:28px;line-height:1.14}
  .player{border-radius:12px}
}
@media (prefers-reduced-motion:reduce){summary::after{transition:none}}
