/* ============================================================
   道士小跑酷 — 水墨画风小游戏容器
   ============================================================ */

.minigame-section {
  margin: 40px auto 28px;
  max-width: 1440px;
  padding: 0 12px;
}

.minigame-wrap {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 160, 23, 0.06), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(139, 0, 0, 0.05), transparent 50%),
    linear-gradient(135deg, #fdf9f0 0%, #f5efe0 100%);
  border: 1px solid #e8d5b7;
  border-radius: 14px;
  padding: 18px 20px 14px;
  box-shadow: 0 4px 24px rgba(139, 0, 0, 0.06);
  position: relative;
}

/* 左上角装饰印章角标已移除 */

/* 标题 + 副标题 + 统计条 横向并列, 节省垂直空间 */
.minigame-header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 22px;
  margin: 0 0 10px;
  flex-wrap: wrap;
}

.minigame-title {
  font-family: 'Noto Serif SC', KaiTi, serif;
  font-size: 20px;
  color: #2d2824;
  margin: 0;
  letter-spacing: 3px;
}

.minigame-subtitle {
  font-size: 12px;
  color: #6b4c3b;
  margin: 0;
  letter-spacing: 1.5px;
}

.minigame-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #2d2824;
  flex-wrap: wrap;
}
.minigame-stats .mg-stat {
  font-family: 'Noto Serif SC', serif;
}
.minigame-stats .mg-stat-value {
  color: #b91c1c;
  font-weight: 700;
  font-size: 16px;
  margin-left: 5px;
  font-family: 'Noto Serif SC', serif;
}
.minigame-stats .mg-sep {
  width: 1px;
  height: 16px;
  background: #d9cbb5;
}
.minigame-hint {
  color: #6b4c3b;
  font-size: 12px;
  letter-spacing: 1px;
}
.minigame-hint kbd {
  background: #fdf9f0;
  border: 1px solid #d4a017;
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 7px;
  font-family: 'Noto Sans Mono', 'Courier New', monospace;
  font-size: 11px;
  color: #8b0000;
  margin: 0 2px;
}

.minigame-canvas-wrap {
  display: flex;
  justify-content: center;
  padding: 3px;
  background: #efe7d4;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(139, 0, 0, 0.2), inset 0 0 20px rgba(139, 0, 0, 0.04);
}

.minigame-canvas {
  display: block;
  width: 100%;
  max-width: 1400px;
  height: auto;
  aspect-ratio: 1200 / 360;
  background: #f5efe0;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  border: 1px solid #d9cbb5;
}

.minigame-footnote {
  text-align: center;
  font-size: 11px;
  color: #8a7f73;
  margin-top: 6px;
  font-family: 'Noto Serif SC', serif;
  letter-spacing: 1px;
  font-style: italic;
}

/* 响应式 */
@media (max-width: 640px) {
  .minigame-section { margin: 28px auto 16px; padding: 0 6px; }
  .minigame-wrap { padding: 14px 12px 10px; }
  .minigame-header { gap: 8px; flex-direction: column; margin-bottom: 6px; }
  .minigame-title { font-size: 17px; letter-spacing: 3px; }
  .minigame-subtitle { font-size: 11px; }
  .minigame-stats { gap: 14px; font-size: 12px; margin-bottom: 6px; }
  .minigame-stats .mg-stat-value { font-size: 15px; }
  .minigame-hint { width: 100%; text-align: center; margin-top: 6px; }
  .minigame-canvas-wrap { padding: 2px; }
  .minigame-footnote { font-size: 10px; margin-top: 4px; }
}
