/* 六款游戏的轻量公共样式；所有游戏资源仅在进入相应页面后加载。 */
:root {
  --arcade-bg: #f5f1e8;
  --arcade-surface: #fffdf7;
  --arcade-ink: #293e35;
  --arcade-muted: #6b7167;
  --arcade-line: #d9ddcf;
  --arcade-accent: #3d6856;
  --arcade-accent-soft: #e2ebda;
  --arcade-warm: #e4ae78;
  --arcade-danger: #a4493c;
  --arcade-white: #ffffff;
  --arcade-shadow: 0 12px 32px rgb(41 62 53 / 6%);
  --arcade-font: "Times New Roman", "SimSun", "宋体", serif;
}
.arcade-game { margin: 0; background: var(--arcade-bg); color: var(--arcade-ink); font-family: var(--arcade-font); line-height: 1.6; color-scheme: light; }
.arcade-game *, .arcade-game *::before, .arcade-game *::after { box-sizing: border-box; }
.arcade-game button, .arcade-game input, .arcade-game select { font: inherit; }
.arcade-game button { touch-action: manipulation; }
.arcade-game a { color: inherit; text-underline-offset: .25em; }
.arcade-game :focus-visible { outline: 3px solid var(--arcade-accent); outline-offset: 4px; }
.arcade-game button:disabled { opacity: .45; cursor: not-allowed; }
.arcade-game button:active:not(:disabled) { transform: scale(.97); }
.arcade-game [hidden] { display: none !important; }
.arcade-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; padding-bottom: 40px; }
.arcade-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; border-bottom: 1px solid var(--arcade-line); }
.arcade-brand { font-weight: 700; letter-spacing: .12em; text-decoration: none; }
.arcade-kicker { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--arcade-muted); }
.arcade-title { font-size: clamp(2rem, 6vw, 3.8rem); line-height: 1.15; font-weight: 400; margin: .35em 0; }
.arcade-description { color: var(--arcade-muted); max-width: 48em; }
.arcade-panel { background: var(--arcade-surface); border: 1px solid var(--arcade-line); border-radius: 18px; padding: clamp(16px, 3vw, 32px); }
.arcade-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 9px 18px; border: 1px solid var(--arcade-line); border-radius: 8px; background: var(--arcade-surface); color: var(--arcade-ink); cursor: pointer; text-decoration: none; transition: background-color .15s, transform .15s; }
.arcade-button:hover:not(:disabled) { background: var(--arcade-accent-soft); }
.arcade-button--primary { background: var(--arcade-accent); color: var(--arcade-surface); border-color: var(--arcade-accent); }
.arcade-button--primary:hover:not(:disabled) { background: var(--arcade-ink); }
.arcade-stat { font-variant-numeric: tabular-nums; }
.arcade-stat strong { display: block; font-size: 1.6rem; font-weight: 400; }
.arcade-help { font-size: .9rem; color: var(--arcade-muted); }
@media (max-width: 600px) {
  .arcade-shell { width: calc(100% - 28px); padding-bottom: 24px; }
  .arcade-topbar { min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .arcade-game *, .arcade-game *::before, .arcade-game *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
