:root{color-scheme:dark;--bg:#050711;--panel:#12182b;--text:#eef2ff;--muted:#aeb9d4;--gold:#ffad28;--line:#30394f;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{margin:0;min-height:100vh;color:var(--text);background:radial-gradient(ellipse at 78% 0%,#172142 0,transparent 560px),linear-gradient(150deg,#0b1021,#050711 640px);-webkit-tap-highlight-color:transparent}
.wrap{max-width:1184px;margin:auto;padding:0 clamp(14px,3.5vw,42px) max(32px,env(safe-area-inset-bottom))}
a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #64dfff;outline-offset:3px}
header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;border-bottom:1px solid #2a3249;padding:8px 0}
.brand{display:flex;gap:9px;align-items:center;font-size:15px;font-weight:750}
.mark{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#ffd169,#ff922e);box-shadow:0 4px 14px #ff9a2e38}.mark svg{width:19px;height:19px}
.back{min-height:44px;display:inline-flex;align-items:center;gap:6px;color:#bbc7e4;font-size:13px}.back span{font-size:18px}
.heading{display:flex;align-items:baseline;gap:12px;margin:26px 0 16px}.heading h1{margin:0;font-size:clamp(24px,4vw,36px);letter-spacing:.03em;line-height:1.2}.total{color:#a6b4d2;font-size:13px;white-space:nowrap}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,205px),1fr));gap:12px;align-items:stretch}
.game{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0;padding:15px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,#182037,#0f1526);box-shadow:0 5px 16px #01030b25}
.game-top{display:flex;align-items:center;gap:10px;min-width:0}.game img{width:44px;height:44px;flex:none;border-radius:11px;object-fit:contain;background:#f1f0ec}
.game h2{margin:0;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.game p{margin:0;color:var(--muted);font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.feature{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:216px;margin-bottom:14px;border:1px solid #9d7844;border-radius:18px;background:linear-gradient(110deg,#211e22 0%,#28232a 50%,#322630 100%);box-shadow:0 8px 30px #0003}
.feature::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 82% 65%,#c0823a45,transparent 52%),repeating-linear-gradient(128deg,transparent 0 24px,#ffd69508 24px 25px)}
.feature-copy{width:65%;z-index:1;padding:24px clamp(16px,3.8vw,44px)}
.modes{margin:0 0 8px;color:#ffd386;font-size:12px;font-weight:650;letter-spacing:.06em}
.feature h2{margin:0;font-size:clamp(25px,4.3vw,45px);line-height:1.18;letter-spacing:.025em;color:#fff7df}
.feature .desc{margin:9px 0 14px;font-size:14px;line-height:1.5;color:#ded3c2}
.play{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:0 15px;border-radius:9px;background:linear-gradient(135deg,#ffd57c,#ffb446);color:#30200f;font-size:14px;font-weight:750}
.play i{font-size:11px;font-style:normal}
.art{position:absolute;right:3%;top:50%;height:120%;width:36%;transform:translateY(-50%);object-fit:contain;pointer-events:none}
@media(hover:hover){.game:hover,.game:focus-visible{border-color:#5c9db5;background:#1b2741}.feature:hover{border-color:#ffd284}.back:hover{color:white}}
@media(max-width:600px){
 header{min-height:53px}.heading{margin:20px 0 12px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .feature{min-height:178px;margin-bottom:11px;border-radius:15px}.feature-copy{width:61%;padding:16px 0 16px 15px}
 .feature h2{font-size:25px}.feature h2 small{display:block;font-size:17px;color:#f4dcb1;margin-top:4px}
 .feature .desc{font-size:12px;margin:7px 0 10px}.modes{font-size:11px;margin:0 0 6px}.art{width:43%;height:95%;right:0}
 .game{padding:12px 10px;gap:8px;border-radius:12px}.game img{width:36px;height:36px;border-radius:9px}.game-top{gap:7px}.game h2{font-size:15px}.game p{font-size:12px;line-height:1.5}
}
@media(min-width:601px){.feature h2 small{font-size:.62em;margin-left:.4em}}
@media(max-width:325px){.game-top{flex-wrap:wrap}.wrap{padding-inline:10px}}
@supports(padding:max(0px)){.wrap{padding-left:max(clamp(14px,3.5vw,42px),env(safe-area-inset-left));padding-right:max(clamp(14px,3.5vw,42px),env(safe-area-inset-right))}}
