:root{
  --bg:#fff8f2;
  --fg:#1c1230;
  --muted:#6b6080;
  --line:#1c1230;
  --accent:#fb923c;
  --accent-2:#a855f7;
  --accent-3:#22d3ee;
  --gap:18px;
  --radius:10px;
  --shadow:6px 6px 0 #1c1230;
  --font:"Segoe UI", "Microsoft YaHei", sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:var(--font);font-size:17px;line-height:2;color:var(--fg);background:var(--bg)}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,ul,ol{margin:0}
.sunpgplayqq-top{background:var(--line);color:#fff;padding:10px 18px 12px;display:grid;gap:8px;border-bottom:5px solid var(--accent-2)}
.sunpgplayqq-brand{font-size:22px;font-weight:600;letter-spacing:1px}
.sunpgplayqq-brand a{font-size:22px;color:#fff}
.sunpgplayqq-top a{color:#fff;font-size:14px;padding:2px 0;border-bottom:2px solid transparent}
.sunpgplayqq-top a:hover{border-bottom-color:var(--accent-3)}
.sunpgplayqq-top a:focus-visible{outline:2px solid var(--accent-3);outline-offset:2px}
.nav-links{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;gap:4px 20px;justify-content:start;overflow-x:auto}
.sunpgplayqq-page{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,0.62fr);grid-template-areas:"hero hero hero" "intro intro note" "news stats guide" "news feats guide" "faq faq faq" "dl dl contact";gap:16px 16px;max-width:1180px;margin:0 auto;padding:22px 18px 40px}
#hero{grid-area:hero}
#intro{grid-area:intro}
#news-list{grid-area:news}
#data-stats{grid-area:stats}
#features{grid-area:feats}
#game-guide{grid-area:guide}
#faq{grid-area:faq}
#app-download{grid-area:dl}
#contact{grid-area:contact}
.sunpgplayqq-note{grid-area:note}
#hero{position:relative;padding:24px 176px 24px 24px;border:3px solid var(--line);border-radius:12px;background:linear-gradient(120deg,var(--accent),var(--accent-2));color:#fff;box-shadow:var(--shadow)}
#hero h1{margin:0;font-size:30px;font-weight:400;line-height:1.5}
.sunpgplayqq-herotext{columns:2;column-gap:26px;margin:14px 0 0;font-size:17px;line-height:2}
.sunpgplayqq-herofig{position:absolute;right:16px;bottom:16px;margin:0;width:128px}
.sunpgplayqq-herofig img{width:128px;height:128px;border:3px solid var(--line);border-radius:8px;background:#fff}
.sunpgplayqq-block{border:3px solid var(--line);border-radius:var(--radius);background:#fff;padding:14px;box-shadow:var(--shadow)}
.sunpgplayqq-block h2{margin:0 0 8px;font-size:22px;font-weight:400;line-height:1.6;color:#fff;background:var(--accent-2);display:inline-block;padding:2px 10px;border-radius:6px}
.sunpgplayqq-block p{font-size:17px;line-height:2}
.sunpgplayqq-block:hover{box-shadow:8px 8px 0 var(--accent)}
#data-stats h2{background:#0e9bb0}
#features h2{background:var(--accent)}
#game-guide h2{background:#7c3aed}
#app-download h2{background:#0e9bb0}
#contact h2{background:var(--accent)}
.sunpgplayqq-fig{margin:10px 0 0;width:100%}
.sunpgplayqq-fig img{width:88px;height:88px;border:3px solid var(--line);border-radius:6px;background:#fff}
.sunpgplayqq-note{border:3px solid var(--line);border-radius:var(--radius);background:#fde8d7;padding:12px;box-shadow:var(--shadow);display:grid;gap:8px;align-content:start}
.sunpgplayqq-note img{width:96px;height:96px;border:3px solid var(--line);border-radius:6px;background:#fff}
.sunpgplayqq-note p{font-size:14px;line-height:1.9;color:var(--muted)}
#news-list{border:3px solid var(--line);border-radius:var(--radius);background:#fff;padding:14px;box-shadow:var(--shadow)}
#news-list h2{margin:0 0 10px;font-size:22px;font-weight:400;line-height:1.6;color:#fff;background:var(--accent);display:inline-block;padding:2px 10px;border-radius:6px}
.sunpgplayqq-newsl{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.sunpgplayqq-newsrow{display:grid;grid-template-columns:92px minmax(0,1fr);gap:2px 14px;padding:10px;border-radius:8px;background:#fff7ef;transition:transform .15s ease, box-shadow .15s ease}
.sunpgplayqq-newsrow time{grid-column:1;grid-row:1 / span 2;font-size:14px;line-height:1.8;color:var(--muted);border-left:4px solid var(--accent-2);padding-left:8px}
.sunpgplayqq-newsrow h3{grid-column:2;grid-row:1;font-size:17px;font-weight:600;line-height:1.7}
.sunpgplayqq-newsrow p{grid-column:2;grid-row:2;font-size:14px;line-height:1.9;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sunpgplayqq-newsrow:hover{transform:translate(-2px,-2px);box-shadow:4px 4px 0 var(--accent-2)}
.sunpgplayqq-newsrow:nth-child(even){background:#f4ecff}
.sunpgplayqq-table{width:100%;border-collapse:collapse;margin-top:10px;font-size:14px;line-height:1.8}
.sunpgplayqq-table th,.sunpgplayqq-table td{border:2px solid var(--line);padding:6px 8px;text-align:left}
.sunpgplayqq-table th{background:var(--accent-3);font-weight:600}
.sunpgplayqq-table tbody tr:nth-child(even){background:#fff1e4}
#faq{display:grid;gap:12px}
#faq h2{font-size:22px;font-weight:400;line-height:1.6;color:#fff;background:var(--accent-2);display:inline-block;padding:2px 10px;border-radius:6px;justify-self:start}
.sunpgplayqq-qacard{background:#fff3e6;border-radius:8px;padding:10px 14px;border:2px solid var(--line)}
.sunpgplayqq-qacard summary{cursor:pointer;font-size:17px;line-height:1.8;list-style:none}
.sunpgplayqq-qacard summary::-webkit-details-marker{display:none}
.sunpgplayqq-qacard summary:hover{color:var(--accent-2)}
.sunpgplayqq-qacard[open]{background:#fff;box-shadow:4px 4px 0 var(--accent)}
.sunpgplayqq-qacard p{margin-top:8px;font-size:14px;line-height:2;color:var(--muted)}
.sunpgplayqq-btn{display:inline-block;margin-top:10px;padding:6px 16px;background:var(--accent);color:var(--fg);border:3px solid var(--line);border-radius:8px;font-size:14px;line-height:1.8;box-shadow:4px 4px 0 var(--line);transition:transform .12s ease, box-shadow .12s ease}
.sunpgplayqq-btn:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--line)}
.sunpgplayqq-btn:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--line)}
.sunpgplayqq-foot{background:var(--line);color:#fff;margin-top:30px;padding:24px 18px 30px;display:grid;gap:4px;font-size:14px;line-height:1.9;border-top:6px solid var(--accent)}
.sunpgplayqq-foot a{color:#ffd7b0;border-bottom:1px solid transparent}
.sunpgplayqq-foot a:hover{border-bottom-color:var(--accent-3)}
@media (max-width:1024px){
  .sunpgplayqq-page{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"hero hero" "intro note" "news stats" "news feats" "guide guide" "faq faq" "dl contact";padding:18px 14px 32px}
  #hero{padding-right:150px}
  .sunpgplayqq-herotext{columns:1}
  #hero h1{font-size:26px}
}
@media (max-width:720px){
  .sunpgplayqq-page{grid-template-columns:minmax(0,1fr);grid-template-areas:"hero" "intro" "note" "news" "stats" "feats" "guide" "faq" "dl" "contact";gap:14px}
  #hero{padding:18px 18px 150px}
  #hero h1{font-size:22px}
  .sunpgplayqq-herofig{right:auto;left:18px;bottom:18px}
  .sunpgplayqq-newsrow{grid-template-columns:minmax(0,1fr)}
  .sunpgplayqq-newsrow time,.sunpgplayqq-newsrow h3,.sunpgplayqq-newsrow p{grid-column:1;grid-row:auto}
  .nav-links{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));overflow-x:visible}
  .sunpgplayqq-block h2,#news-list h2,#faq h2{font-size:22px}
}
/* 图片按原尺寸显示，不放大 */
img[src^="/img/"]{max-width:256px;max-height:256px;width:auto;height:auto;object-fit:contain;display:inline-block;}
