/* ============================================================
   ROBIN ARROW — game.css (Arrow Range mini-game)
   ============================================================ */

.game-page {
  background: var(--ink);
  color: var(--white);
  min-height: 100vh;
}

.game-shell { padding: calc(var(--header-h) + 44px) 0 70px; }

.game-head h1 {
  font-size: clamp(40px, 6.5vw, 74px);
  line-height: .96; font-weight: 700; letter-spacing: -.01em;
  color: var(--lime);
}
.t-outline-light {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--lime);
}
.game-head p { margin-top: 12px; font-size: 16px; color: var(--gray-light); max-width: 560px; }
.game-head strong { color: var(--lime); }

/* HUD */
.game-hud { display: flex; gap: 14px; margin: 26px 0 18px; flex-wrap: wrap; }
.hud-item {
  display: flex; align-items: baseline; gap: 12px;
  background: var(--graphite); border: 2px solid var(--graphite-2);
  border-radius: var(--radius-sm); padding: 12px 20px;
  transition: border-color .2s;
}
.hud-item:hover { border-color: var(--lime); }
.hud-label { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--gray-soft); }
.hud-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--lime); }

/* Canvas frame */
.game-frame {
  position: relative;
  border: 3px solid var(--lime);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(204, 255, 0, .16);
  background: var(--lime);
}
#game {
  display: block; width: 100%; height: auto;
  touch-action: none;
  cursor: crosshair;
}

/* Overlay */
.game-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(19, 24, 17, .82);
  backdrop-filter: blur(2px);
  transition: opacity .3s;
}
.game-overlay.hidden { opacity: 0; pointer-events: none; }
.overlay-card {
  text-align: center; max-width: 460px; padding: 40px 36px;
  background: var(--graphite); border: 3px solid var(--lime);
  border-radius: var(--radius); box-shadow: 8px 8px 0 rgba(204,255,0,.2);
  margin: 0 16px;
}
.overlay-card h2 {
  font-size: 34px; font-weight: 700; color: var(--lime); letter-spacing: .01em;
}
.overlay-card p { margin: 14px 0 24px; font-size: 15px; color: var(--gray-light); }
.overlay-score { margin: 6px 0 26px; }
.os-num { font-family: var(--font-display); font-size: 64px; font-weight: 700; color: var(--lime); line-height: 1; }
.os-label { margin-top: 6px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--gray-soft); }

.game-hint { margin-top: 16px; font-size: 13.5px; color: var(--gray-soft); text-align: center; }

.game-topnav a { color: var(--white); }

@media (max-width: 700px) {
  .game-shell { padding-top: calc(var(--header-h) + 24px); }
  .hud-item { padding: 10px 14px; flex: 1; justify-content: center; }
  .hud-value { font-size: 20px; }
  .game-page .nav-toggle { display: none; }
  .game-page .main-nav { display: flex; gap: 14px; margin-left: auto; }
  .game-page .main-nav a { font-size: 13px; }
}
