* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; color: #fff; background: #0b0b0f; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; font: inherit; color: inherit; border: 0; background: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
a[aria-disabled="true"] { opacity: .55; cursor: wait; }
button:focus-visible, a:focus-visible { outline: 3px solid #ffe087; outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
.page { min-height: 100vh; background: url('/assets/bg-pc.webp') center center / cover no-repeat; padding: 100px 24px 80px; }
.hero { display: grid; grid-template-columns: 356px 340px; gap: 60px; align-items: center; justify-content: center; }
.model { width: 340px; grid-column: 2; grid-row: 1; }
.intro { grid-column: 1; grid-row: 1; min-width: 0; }
.brand-row { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.logo { width: 90px; flex-shrink: 0; }
.brand-copy { display: flex; flex-direction: column; gap: 8px; white-space: nowrap; font-size: 12px; }
.brand-title { display: flex; align-items: center; gap: 8px; }
h1 { font-size: 28px; }
.brand-title img { width: 45px; }
.rating { display: flex; gap: 5px; align-items: center; white-space: nowrap; }
.stars { font-size: 22px; color: #f8d565; letter-spacing: 1px; }
.p3 { width: 66px; margin-left: auto; }
.login-actions { display: flex; gap: 10px; margin-bottom: 20px; }
.login-actions a { flex: 1; min-width: 0; }
.login-actions img { width: 100%; }
.ad-copy { width: 356px; }
.gold-button { display: block; text-align: center; color: #19130c; background: linear-gradient(90deg,#ffe480,#b98a2d); border-radius: 40px; padding: 16px 24px; font-size: 19px; font-weight: 600; }
.desktop-download { margin-top: 24px; width: 100%; }
.invitation-feedback { font-size: 12px; color: #eadbb3; line-height: 1.6; }
.invitation-feedback:has(span:not(:empty)) { margin-bottom: 16px; }
.invitation-feedback button { margin: 8px 12px 0 0; text-decoration: underline; }
.games { display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 40px auto 0; max-width: 900px; }
.section-title { width: 400px; margin-top: 12px; }
.game-grid { width: 630px; }
.game-cards { display: flex; align-items: center; justify-content: center; gap: 20px; }
.game-cards img { width: 113px; }
.comments { display: flex; gap: 20px; max-width: 100%; overflow-x: auto; padding-bottom: 12px; }
.comments img { width: 225px; flex-shrink: 0; }
.download-bar { display: none; }
dialog { position: fixed; border: 1px solid #8b743d; border-radius: 22px; background: linear-gradient(#15120ccc,#15120cf5), url('/assets/bg-h5.webp') center / cover; color: #fff; width: min(440px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 35px 26px 26px; text-align: center; overflow-y: auto; }
dialog::backdrop { background: #000b; }
.close { position: absolute; right: 10px; top: 5px; width: 44px; height: 44px; font-size: 30px; }
.dialog-logo { width: 90px; margin: 0 auto 12px; }
dialog h2 { font-size: 30px; margin-bottom: 28px; }
.web-link { display: block; padding: 17px 8px; text-decoration: underline; color: #f5d785; }
#ios-note, .download-note { color: #d7cdb8; font-size: 12px; line-height: 1.7; }
#ios-note.highlight { color: #ffe28a; font-size: 15px; }
.invitation-card { border: 1px solid #6c5a34; border-radius: 10px; padding: 12px; margin: 18px 0; overflow-wrap: anywhere; }
#copy-invite { color: #f5d785; text-decoration: underline; padding: 10px; }
#copy-status { display: block; font-size: 12px; }
.download-note + .download-note { margin-top: 8px; }
@media (max-width: 768px) {
  .page { background-image: url('/assets/bg-h5.webp'); background-position: top center; padding: 0 0 calc(21vw + env(safe-area-inset-bottom)); }
  .hero { display: flex; flex-direction: column; gap: 0; }
  .model { width: 100%; margin-top: 5.333333vw; }
  .intro { width: 100%; }
  .brand-row { padding: 6.666667vw 2.666667vw; gap: 0; margin: 0; }
  .brand-row .logo { width: 21.333333vw; }
  .brand-copy { margin-left: 10px; gap: 8px; font-size: 3.2vw; }
  h1 { font-size: 7.2vw; }
  .brand-title { gap: 1.333333vw; }
  .brand-title img { width: 12vw; }
  .p3 { width: 18.933333vw; }
  .stars { font-size: 4.533333vw; letter-spacing: 0; }
  .login-actions { justify-content: space-around; gap: 0; margin: 0 0 20px; }
  .login-actions a { flex: none; width: 40vw; }
  .invitation-feedback { padding: 0 20px; font-size: 12px; }
  .ad-copy, .desktop-download { display: none; }
  .games { margin: 0; gap: 0; }
  .section-title { width: 93.333333vw; margin: 5.333333vw 0; }
  .game-grid { width: 100%; }
  .game-cards { justify-content: space-around; gap: 0; width: 100%; padding: 10px; }
  .game-cards img { width: 22.933333vw; }
  .game-cards img:nth-child(2) { width: 30.133333vw; }
  .comments { gap: 2.666667vw; width: 100%; padding: 0 2.666667vw 2.666667vw; }
  .comments img { width: 60.266667vw; }
  .download-bar { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; align-items: center; justify-content: space-between; gap: 0; padding: 1.333333vw 2.666667vw calc(1.333333vw + env(safe-area-inset-bottom)); background: url('/assets/bottom-bg.png') bottom center / cover no-repeat; }
  .download-bar .logo { width: 16vw; }
  .footer-copy { display: flex; flex-direction: column; gap: 2px; flex: 1; margin-left: 10px; font-size: 2.4vw; font-weight: 700; }
  .footer-copy strong { font-size: 3.2vw; }
  .footer-copy .rating { font-size: 3.2vw; }
  .download-bar button { padding: 0; width: 26.666667vw; flex-shrink: 0; margin-left: 1.4vw; }
  .download-bar button img { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .download-bar button { animation: btn-press 4s ease infinite; }
  @keyframes btn-press { 0%,100% { transform: scale(1.05); } 50% { transform: scale(.95); } }
}
