:root {
  --bg: #0f1115;
  --bg-2: #161a22;
  --card: #1c212c;
  --text: #e8ecf1;
  --muted: #9aa4b2;
  --accent: #6c8cff;
  --accent-2: #9b6cff;
  --border: #252b36;
  --ok: #3ecf8e;
  --danger: #ef4444;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Arial, sans-serif;
  background: var(--bg-2);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

html.browser-guide-active,
html.browser-guide-active body {
  overflow: hidden;
  height: 100%;
}
.browser-guide {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 88px 20px 24px;
  background: rgba(9, 12, 18, .62);
  color: #fff;
  pointer-events: auto;
}
.browser-guide[hidden] {
  display: none !important;
}
.browser-guide-arrow {
  position: fixed;
  top: 10px;
  right: 12px;
  width: 118px;
  height: 78px;
  color: #fff;
  pointer-events: none;
}
.browser-guide-panel {
  width: min(420px, 100%);
  padding: 22px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(28,33,44,.94);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  text-align: center;
}
.browser-guide-panel h2 {
  margin: 0 0 12px;
  font-size: 24px;
}
.browser-guide-panel p {
  margin: 0;
  color: #cfd8e6;
  font-size: 15px;
  line-height: 1.7;
}
.browser-guide-steps {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  text-align: left;
}
.browser-guide-steps span {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #eef3ff;
  font-size: 14px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,17,21,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: flex-end;
  height: var(--nav-pc-height, 64px); gap: 12px;
}
.logo {
  position: absolute;
  left: var(--nav-pc-logo-x, 0);
  top: var(--nav-pc-logo-y, 18px);
  display: inline-flex; align-items: center;
}
.logo-mark {
  width: var(--site-logo-width, 28px); height: var(--site-logo-height, 28px); border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; color: white;
}
.logo-img {
  width: var(--site-logo-width, 28px); height: var(--site-logo-height, 28px); border-radius: 8px;
  object-fit: contain; flex: 0 0 auto;
}
.main-nav { display: flex; align-items: center; }
.main-nav a { margin-left: 24px; color: var(--muted); font-size: 14px; }
.main-nav a:hover { color: var(--text); }
.nav-guide-menu {
  position: relative;
  margin-left: 24px;
}
.nav-guide-trigger {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}
.nav-guide-trigger:hover,
.nav-guide-menu.open .nav-guide-trigger {
  color: var(--text);
}
.nav-guide-options {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  z-index: 70;
  display: none;
  width: 190px;
  max-height: min(60vh, 360px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #363d4b;
  border-radius: 12px;
  background: #242a36;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.nav-guide-menu.open .nav-guide-options {
  display: block;
}
.nav-guide-options a {
  display: block;
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  color: #e8ecf1;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-guide-options a:hover {
  background: rgba(108,140,255,.18);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; content: ""; width: 18px; height: 2px; background: var(--text);
  position: relative; transition: transform .2s, top .2s, background .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(108,140,255,.25), transparent 60%),
    radial-gradient(800px 300px at 80% 10%, rgba(155,108,255,.18), transparent 60%),
    var(--bg);
  text-align: center;
}
.hero h1 { font-size: 48px; margin: 0 0 12px; letter-spacing: -.5px; }
.hero-sub { color: var(--muted); font-size: 18px; margin: 0 0 28px; }

.hero-showcase { padding: 24px 0 40px; }
.hero-showcase .container {
  max-width: 1920px;
  position: relative;
}
.hero-stage {
  position: relative;
  aspect-ratio: var(--hero-pc-width, 1920) / var(--hero-pc-height, 300);
  border-radius: 16px;
  overflow: hidden;
  background: #0b0d12;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: var(--hero-pc-bg-size, cover);
  background-repeat: var(--hero-pc-bg-repeat, no-repeat);
  background-position: var(--hero-pc-bg-position, center);
  opacity: 0; transition: opacity .6s ease;
  pointer-events: none;
  cursor: pointer;
}
.hero-slide:focus {
  outline: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-corner-icons {
  position: absolute;
  right: 16px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 4;
  max-width: calc(100% - 32px);
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-corner-icons::-webkit-scrollbar {
  display: none;
}
.hero-corner-icon {
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: border-color .2s, transform .15s;
}
.hero-corner-icon:hover {
  transform: translateY(-1px);
}
.hero-corner-icon.active {
  border-color: rgba(255,255,255,.9);
}
.hero-corner-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-corner-icon span {
  display: none;
}
.hero-corner-icon.fallback span {
  display: block;
}
.download-menu.hero-download-menu {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  display: none;
  width: max-content;
  flex: initial;
}
.download-menu.hero-download-menu.active {
  display: block;
}
.download-menu.hero-download-menu .download-options {
  position: static;
  display: none;
}

.btn {
  display: inline-block; padding: 10px 18px;
  border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); cursor: pointer;
  font-size: 14px; transition: transform .1s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent; color: white;
}
.btn-ghost { background: transparent; }

.section { padding: 64px 0; }
.section-alt { background: var(--bg-2); }
.section-title {
  font-size: 28px; margin: 0 0 28px;
  display: flex; align-items: center; gap: 12px;
}
.section-title::before {
  content: ""; width: 6px; height: 24px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.games-container {
  max-width: none;
  width: 75vw;
}

.game-grid {
  display: grid;
  gap: var(--card-pc-gap, 20px);
  grid-template-columns: repeat(var(--card-pc-columns, 3), minmax(0, 1fr));
  width: min(var(--card-pc-total-width, 850px), 100%);
  max-width: 100%;
  overflow: visible;
}
.game-card {
  position: relative;
  z-index: 1;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px;
  height: var(--card-pc-height, 250px);
  display: grid;
  grid-template-rows: 2fr 1fr;
  transition: transform .15s ease, border-color .2s;
}
.game-card:has(.download-menu.open) {
  z-index: 30;
}
.game-card.download-active {
  z-index: 30;
}
.game-card .cover {
  position: relative;
  min-height: 0;
  background-size: cover; background-position: center;
  background-color: #0b0d12;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.game-card .body {
  min-height: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-radius: 0 0 14px 14px;
}
.game-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-title-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guide-game-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(147, 197, 253, .75);
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .5px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .35);
}
.game-card .short {
  color: var(--muted);
  margin: 0;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-card:hover { transform: translateY(-3px); border-color: #384052; }
.game-card.has-guide { cursor: pointer; }
.game-card.has-guide:focus {
  outline: 2px solid rgba(108,140,255,.7);
  outline-offset: 3px;
}

.tags,
.cover-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cover-tags {
  position: absolute; right: 12px; bottom: 12px;
  justify-content: flex-end;
  max-width: calc(100% - 24px);
}
.tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: rgba(108,140,255,.12); color: #b9c6ff; border: 1px solid rgba(108,140,255,.25);
}
.cover-guide-btn {
  display: none;
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(147, 197, 253, .75);
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .35);
  z-index: 2;
  align-items: center;
  justify-content: center;
}
.cover-guide-btn span {
  display: block;
  line-height: 1;
}
.cover-guide-btn:hover {
  transform: translateY(-1px);
}
.cover-tags .tag {
  background: rgba(38,45,63,var(--tag-opacity, .82));
  color: #dfe6ff;
  backdrop-filter: blur(8px);
}
.game-badge {
  position: absolute; top: 12px; left: 12px;
  max-width: calc(100% - 24px);
  padding: 4px 10px;
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.game-copy { min-width: 0; }
.game-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.download-menu { position: relative; flex: 0 0 auto; z-index: 2; }
.download-menu.open { z-index: 40; }
.download-trigger {
  white-space: nowrap;
  min-width: 96px;
}
.download-trigger:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
.download-options {
  position: absolute;
  right: 0; top: calc(100% + 8px);
  min-width: 150px;
  padding: 6px;
  background: #242a36;
  border: 1px solid #363d4b;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  display: none;
  z-index: 50;
}
.download-menu.open .download-options { display: block; }
.download-options a {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  color: #e8ecf1;
  font-size: 13px;
  white-space: nowrap;
}
.download-options a:hover { background: rgba(108,140,255,.18); }
.muted { color: var(--muted); font-size: 13px; }

.download-confirm {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8, 10, 16, .62);
  backdrop-filter: blur(4px);
}
.download-confirm[hidden] {
  display: none !important;
}
.download-confirm-box {
  width: min(460px, 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #1e2430;
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
  overflow: hidden;
}
.download-confirm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.download-confirm-head h2 {
  margin: 0;
  font-size: 17px;
}
.download-confirm-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}
.download-confirm-body {
  padding: 18px;
  color: #dbe5f5;
  font-size: 15px;
  line-height: 1.8;
}
.download-confirm-body p {
  margin: 0 0 10px;
}
.download-confirm-body p:last-child {
  margin-bottom: 0;
}
.download-confirm-body .notice-title {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(96, 165, 250, .18);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 800;
}
.download-confirm-body .notice-list {
  margin: 0 0 14px;
  padding-left: 22px;
}
.download-confirm-body .notice-list li {
  margin: 6px 0;
}
.download-confirm-body .version,
.download-confirm-body .entry,
.download-confirm-body .area {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 6px;
  background: rgba(132, 92, 245, .22);
  color: #f3ecff;
  font-weight: 800;
}
.download-confirm-body .entry {
  background: rgba(34, 197, 94, .2);
  color: #d9ffe8;
}
.download-confirm-body .area {
  background: rgba(250, 204, 21, .16);
  color: #facc15;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.download-confirm-body .notice-warning {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(248, 113, 113, .36);
  border-radius: 8px;
  background: rgba(127, 29, 29, .24);
  color: #fecaca;
  font-weight: 700;
  line-height: 1.7;
}
.download-confirm-body .notice-warning strong {
  color: #fff;
  font-weight: 900;
}
.download-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px 18px;
}

@media (max-width: 640px) {
  .download-confirm {
    align-items: flex-end;
    padding: 12px;
  }
  .download-confirm-box {
    width: 100%;
    border-radius: 12px;
  }
  .download-confirm-body {
    font-size: 14px;
  }
  .download-confirm-actions .btn {
    flex: 1;
  }
}

@media (min-width: 769px) {
  .game-card .download-options a.pc-hidden-download {
    display: none;
  }
}

.empty { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0; color: var(--muted); text-align: center;
  background: var(--bg-2);
}
.site-footer p { margin: 0; }

.contact-float {
  position: fixed;
  right: 24px;
  bottom: 72px;
  z-index: 70;
}
.contact-btn {
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.35));
}
.contact-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.contact-popover {
  position: fixed;
  right: 92px;
  bottom: 72px;
  z-index: 75;
  width: 220px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #242a36;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  display: none;
}
.contact-popover.open { display: block; }
.support-gift-btn {
  display: block;
  margin: 4px 18px 14px;
  padding: 9px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 24px rgba(22,163,74,.25);
}
.support-gift-btn:hover {
  filter: brightness(1.06);
}
.contact-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}
.contact-panel { display: none; }
.contact-panel.active {
  display: block;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-panel.active:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.contact-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0 18px;
  text-align: center;
}
.contact-panel img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}
.qq-link-btn {
  display: inline-flex;
  margin-top: 10px;
  border: 1px solid #111;
  background: #e9e9e9;
  padding: 1px 4px;
  width: fit-content;
}
.qq-link-btn img {
  width: auto;
  height: 20px;
  border-radius: 0;
  background: transparent;
}
.contact-number {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 768px) {
  body { padding-top: var(--nav-mobile-height, 64px); }
  .site-header { position: fixed; left: 0; right: 0; top: 0; }
  .nav { height: var(--nav-mobile-height, 64px); }
  .logo {
    left: var(--nav-mobile-logo-x, 0);
    top: var(--nav-mobile-logo-y, 18px);
  }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: var(--nav-mobile-height, 64px); left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    padding: 8px 16px 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { margin: 0; padding: 12px 4px; border-bottom: 1px solid var(--border); font-size: 15px; }
  .main-nav > a:last-child { border-bottom: none; }
  .nav-guide-menu {
    margin-left: 0;
    border-bottom: 1px solid var(--border);
  }
  .main-nav > .nav-guide-menu:last-child {
    border-bottom: none;
  }
  .nav-guide-trigger {
    width: 100%;
    padding: 12px 4px;
    text-align: left;
    font-size: 15px;
  }
  .nav-guide-options {
    position: static;
    width: 100%;
    max-height: 42vh;
    margin: 0 0 8px;
    box-shadow: none;
  }
  .nav-guide-options a {
    padding: 10px 12px;
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .games-container {
    width: 90vw;
  }
  .game-grid {
    grid-template-columns: repeat(var(--card-mobile-columns, 1), minmax(0, 1fr));
    gap: var(--card-mobile-gap, 14px);
    width: min(var(--card-mobile-total-width, 178px), 100%);
    max-width: 100%;
  }
  .game-card { height: var(--card-mobile-height, 212px); }
  .game-card .cover { min-height: 0; }
  .game-card .body {
    min-height: 0;
    padding: 12px 14px 14px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .game-card h3 { font-size: 17px; }
  .game-card .short { font-size: 13px; }
  .download-trigger { min-width: 82px; padding: 8px 12px; font-size: 13px; }
  .game-grid.mobile-cols-2 .game-card,
  .game-grid.mobile-cols-3 .game-card {
    grid-template-rows: 2fr 1fr;
  }
  .game-grid.mobile-cols-2 .game-card .cover,
  .game-grid.mobile-cols-3 .game-card .cover {
    min-height: 0;
  }
  .game-card .guide-game-badge { display: none; }
  .game-card .cover-guide-btn {
    display: inline-flex;
    left: 8px;
    bottom: 8px;
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .game-grid.mobile-cols-3 .game-card .cover-guide-btn {
    width: 20px;
    height: 20px;
    font-size: 10px;
    left: 6px;
    bottom: 6px;
  }
  .game-grid.mobile-cols-2 .cover-tags,
  .game-grid.mobile-cols-3 .cover-tags {
    right: 8px;
    bottom: 8px;
    gap: 4px;
    max-width: calc(100% - 16px);
    max-height: 48px;
    overflow: hidden;
  }
  .game-grid.mobile-cols-2 .cover-tags .tag,
  .game-grid.mobile-cols-3 .cover-tags .tag {
    padding: 2px 7px;
    font-size: 11px;
    line-height: 1.35;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .game-grid.mobile-cols-3 .cover-tags .tag {
    padding: 2px 6px;
    font-size: 10px;
  }
  .game-grid.mobile-cols-2 .game-card .body,
  .game-grid.mobile-cols-3 .game-card .body {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 8px 10px 10px;
    gap: 8px;
  }
  .game-grid.mobile-cols-2 .download-menu,
  .game-grid.mobile-cols-3 .download-menu {
    width: auto;
  }
  .game-grid.mobile-cols-2 .download-trigger,
  .game-grid.mobile-cols-3 .download-trigger {
    width: auto;
    min-width: 54px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
  }
  .game-grid.mobile-cols-2 .download-trigger,
  .game-grid.mobile-cols-3 .download-trigger {
    background: #28c840;
  }
  .game-grid.mobile-cols-2 .game-card h3,
  .game-grid.mobile-cols-3 .game-card h3 {
    font-size: 15px;
    margin-bottom: 3px;
  }
  .game-grid.mobile-cols-2 .game-card .short,
  .game-grid.mobile-cols-3 .game-card .short {
    font-size: 12px;
  }
  .hero-showcase { padding: 16px 0 24px; }
  .hero-stage {
    aspect-ratio: var(--hero-mobile-width, 390) / var(--hero-mobile-height, 70);
    border-radius: 12px;
  }
  .hero-slide {
    background-size: var(--hero-mobile-bg-size, cover);
    background-repeat: var(--hero-mobile-bg-repeat, no-repeat);
    background-position: var(--hero-mobile-bg-position, center);
  }
  .hero-corner-icons {
    right: 10px;
    bottom: 8px;
    gap: 6px;
    max-width: calc(100% - 20px);
  }
  .hero-corner-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    font-size: 17px;
  }
  .contact-float {
    right: 14px;
    bottom: 24px;
  }
  .contact-btn {
    width: 50px;
    height: 50px;
  }
  .contact-popover {
    right: 74px;
    bottom: 24px;
    width: 178px;
  }
  .contact-panel img {
    width: 148px;
    height: 148px;
  }
  .qq-link-btn img {
    width: auto;
    height: 18px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .hero-corner-icon {
    width: 46px;
    height: 46px;
  }
}
