/* ============================================================
   game.css — Mars Domination game layer styles
   ============================================================ */

/* ─── Explosion Animations ───────────────────────────────── */

@keyframes exp-flash {
  0%   { transform: scale(0.1); opacity: 1; background: #fff; }
  15%  { transform: scale(0.6); opacity: 1; background: #fffbe6; }
  40%  { transform: scale(1.2); opacity: 0.8; background: #ff8800; }
  100% { transform: scale(2);   opacity: 0; }
}

@keyframes exp-ring {
  0%   { transform: scale(0); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes exp-smoke {
  0%   { transform: scale(0.3) translateY(0); opacity: 0.7; }
  100% { transform: scale(1.5) translateY(-20px); opacity: 0; }
}

@keyframes nuke-flash {
  0%   { transform: scale(0);   opacity: 1;   background: #ffffff; box-shadow: 0 0 60px 40px #fff; }
  10%  { transform: scale(0.5); opacity: 1;   background: #fffbe6; box-shadow: 0 0 80px 60px #fffbe6; }
  30%  { transform: scale(1.5); opacity: 0.9; background: #ff6600; box-shadow: 0 0 100px 80px #ff6600; }
  70%  { transform: scale(2.5); opacity: 0.4; background: #cc3300; }
  100% { transform: scale(3);   opacity: 0; }
}

@keyframes nuke-ring {
  0%   { transform: scale(0); opacity: 1; border-color: #ff4400; }
  50%  { opacity: 0.6; border-color: #ff8800; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes nuke-emp {
  0%   { transform: scale(0); opacity: 0.5; border-color: #00ccff; }
  100% { transform: scale(1); opacity: 0;   border-color: #0044ff; }
}

@keyframes missile-trail {
  0%   { opacity: 1; transform: scaleX(0); transform-origin: left; }
  60%  { opacity: 0.8; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

/* Explosion container — positioned by Leaflet DivIcon */
.explosion-container {
  position: relative;
  pointer-events: none;
}

.exp-flash {
  position: absolute;
  border-radius: 50%;
  animation: exp-flash 0.8s ease-out forwards;
}

.exp-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid #ff6600;
  background: transparent;
  animation: exp-ring 1.2s ease-out forwards;
}

.exp-ring-2 {
  border-color: #ff4400;
  animation-delay: 0.2s;
}

.exp-ring-3 {
  border-color: #cc2200;
  animation-delay: 0.4s;
}

.exp-smoke {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80,60,40,0.8), transparent);
  animation: exp-smoke 2s ease-out forwards;
}

/* Nuclear-specific */
.nuke-flash {
  position: absolute;
  border-radius: 50%;
  animation: nuke-flash 1.5s ease-out forwards;
}

.nuke-ring {
  position: absolute;
  border-radius: 50%;
  border: 4px solid #ff4400;
  background: transparent;
  animation: nuke-ring 2.5s ease-out forwards;
}

.nuke-emp {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed #00ccff;
  background: transparent;
  animation: nuke-emp 4s ease-out forwards;
}

/* ─── Game Mode Toggle Button ─────────────────────────────── */

#game-mode-btn {
  position: fixed;
  top: 50px;
  right: 16px;
  z-index: 1200;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #ff4444;
  border: 1px solid #ff4444;
  padding: 6px 14px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
}

#game-mode-btn:hover {
  background: #ff4444;
  color: #0a0c10;
}

#game-mode-btn.active {
  background: #ff4444;
  color: #0a0c10;
  box-shadow: 0 0 12px rgba(255, 68, 68, 0.5);
}

/* ─── Country Selection Overlay ───────────────────────────── */

.country-hover {
  fill-opacity: 0.3 !important;
  fill: #ff8800 !important;
  stroke: #ff8800 !important;
}

.country-selected {
  fill: #0066ff !important;
  fill-opacity: 0.4 !important;
  stroke: #44aaff !important;
  stroke-width: 2 !important;
}

.country-enemy {
  fill: #ff2200 !important;
  fill-opacity: 0.25 !important;
  stroke: #ff4400 !important;
}

.country-ally {
  fill: #00aa44 !important;
  fill-opacity: 0.25 !important;
  stroke: #00ff66 !important;
}

.country-neutral {
  fill: #ffffff !important;
  fill-opacity: 0.05 !important;
  stroke: #333 !important;
}

/* ─── Game Panel ──────────────────────────────────────────── */

#game-panel {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  max-width: calc(100vw - 20px);
  background: rgba(8, 10, 16, 0.95);
  border: 1px solid #ff4444;
  border-top: 2px solid #ff4444;
  z-index: 1100;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  display: none;
  box-shadow: 0 -4px 30px rgba(255, 68, 68, 0.2);
}

#game-panel.visible {
  display: block;
}

#game-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: rgba(255, 68, 68, 0.1);
  border-bottom: 1px solid #333;
}

#game-panel-title {
  color: #ff4444;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

#game-panel-country {
  color: #ffd700;
  font-weight: bold;
  font-size: 0.9rem;
}

#game-panel-mars {
  color: #ff6600;
  font-size: 0.7rem;
}

#game-panel-body {
  display: flex;
  gap: 0;
  height: 160px;
}

/* Resources column */
#game-resources {
  flex: 2;
  padding: 10px 12px;
  border-right: 1px solid #222;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.resource-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resource-icon {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

.resource-label {
  color: #888;
  width: 90px;
  font-size: 0.68rem;
}

.resource-bar-wrap {
  flex: 1;
  height: 6px;
  background: #111;
  border: 1px solid #222;
  border-radius: 2px;
  overflow: hidden;
}

.resource-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

.resource-val {
  color: #ccc;
  width: 55px;
  text-align: right;
  font-size: 0.68rem;
}

.resource-rate {
  color: #00ff41;
  width: 40px;
  text-align: right;
  font-size: 0.65rem;
}

/* Advancement column */
#game-advancement {
  flex: 2;
  padding: 10px 12px;
  border-right: 1px solid #222;
  overflow-y: auto;
}

.adv-title {
  color: #888;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.adv-tree {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.adv-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.adv-name {
  color: #aaa;
  width: 100px;
  font-size: 0.68rem;
}

.adv-pips {
  display: flex;
  gap: 3px;
}

.adv-pip {
  width: 8px;
  height: 8px;
  border: 1px solid #333;
  border-radius: 1px;
}

.adv-pip.filled {
  background: #ff4444;
  border-color: #ff4444;
}

.adv-pip.filled.blue {
  background: #0066ff;
  border-color: #0066ff;
}

.adv-pip.filled.gold {
  background: #ffd700;
  border-color: #ffd700;
}

.adv-pip.filled.green {
  background: #00aa44;
  border-color: #00aa44;
}

.adv-btn {
  margin-left: auto;
  background: transparent;
  color: #ff4444;
  border: 1px solid #ff4444;
  padding: 1px 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.6rem;
  cursor: pointer;
  letter-spacing: 0.05em;
}

.adv-btn:hover { background: #ff4444; color: #0a0c10; }
.adv-btn:disabled { opacity: 0.3; cursor: default; }

/* Events column */
#game-events {
  flex: 2;
  padding: 10px 12px;
  overflow-y: auto;
}

.event-title {
  color: #888;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.game-event {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 6px;
  border-left: 2px solid #333;
  margin-bottom: 5px;
  font-size: 0.67rem;
}

.game-event.event-attack  { border-color: #ff2200; }
.game-event.event-trade   { border-color: #00aa44; }
.game-event.event-diploma { border-color: #0066ff; }
.game-event.event-nbc     { border-color: #ff00ff; }
.game-event.event-mars    { border-color: #ff6600; }

.event-time   { color: #444; font-size: 0.62rem; }
.event-text   { color: #aaa; }
.event-action { color: #ff8800; }

/* Decision prompt */
#game-decision {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  max-width: calc(100vw - 40px);
  background: rgba(8, 10, 16, 0.98);
  border: 2px solid #ff4444;
  z-index: 2000;
  font-family: 'Courier New', monospace;
  padding: 20px;
  display: none;
  box-shadow: 0 0 40px rgba(255, 68, 68, 0.4);
}

#game-decision.visible { display: block; }

.decision-title {
  color: #ff4444;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.decision-body {
  color: #ccc;
  font-size: 0.75rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.decision-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.decision-btn {
  background: transparent;
  border: 1px solid #333;
  color: #aaa;
  padding: 8px 12px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  letter-spacing: 0.03em;
}

.decision-btn:hover        { border-color: #ff4444; color: #ff4444; background: rgba(255,68,68,0.08); }
.decision-btn.opt-assist   { border-color: #00aa44; color: #00aa44; }
.decision-btn.opt-assist:hover { background: rgba(0,170,68,0.1); }
.decision-btn.opt-attack   { border-color: #ff2200; color: #ff2200; }
.decision-btn.opt-attack:hover { background: rgba(255,34,0,0.1); }
.decision-btn.opt-neutral  { border-color: #888; }
.decision-btn.opt-trade    { border-color: #0066ff; color: #4499ff; }
.decision-btn.opt-trade:hover  { background: rgba(0,102,255,0.08); }

/* ─── Country select modal ────────────────────────────────── */

#country-select-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  max-width: calc(100vw - 40px);
  max-height: 70vh;
  overflow-y: auto;
  background: rgba(8, 10, 16, 0.98);
  border: 2px solid #ff4444;
  z-index: 2100;
  font-family: 'Courier New', monospace;
  display: none;
  box-shadow: 0 0 40px rgba(255, 68, 68, 0.4);
}

#country-select-modal.visible { display: block; }

.csm-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  background: rgba(8,10,16,0.98);
}

.csm-title {
  color: #ff4444;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.csm-search {
  width: 100%;
  background: #111;
  border: 1px solid #333;
  color: #ccc;
  padding: 6px 10px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  box-sizing: border-box;
}

.csm-search:focus { outline: none; border-color: #ff4444; }

.csm-list {
  padding: 6px;
}

.csm-country {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid #111;
  transition: background 0.1s;
}

.csm-country:hover { background: rgba(255,68,68,0.1); }

.csm-flag    { font-size: 1.2rem; width: 26px; }
.csm-cname   { color: #ccc; font-size: 0.75rem; flex: 1; }
.csm-gdp     { color: #888; font-size: 0.65rem; width: 70px; text-align: right; }
.csm-mil     { color: #ff4444; font-size: 0.65rem; width: 50px; text-align: right; }
.csm-nuke    { font-size: 0.75rem; width: 20px; text-align: center; }

/* ─── Mars Progress Bar ───────────────────────────────────── */

#mars-progress-bar {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  z-index: 1200;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  pointer-events: none;
}

#mars-progress-bar.visible { display: flex; }

.mars-label {
  font-family: 'Courier New', monospace;
  font-size: 0.62rem;
  color: #ff6600;
  letter-spacing: 0.1em;
}

.mars-bar-wrap {
  width: 100%;
  height: 5px;
  background: #111;
  border: 1px solid #333;
  border-radius: 2px;
  overflow: hidden;
}

.mars-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff4400, #ff8800, #ffbb00);
  border-radius: 2px;
  transition: width 1s ease;
}

/* ─── Multiplayer lobby ───────────────────────────────────── */

#game-lobby {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  max-width: calc(100vw - 40px);
  background: rgba(8, 10, 16, 0.98);
  border: 2px solid #ff4444;
  z-index: 2200;
  font-family: 'Courier New', monospace;
  padding: 20px;
  display: none;
  box-shadow: 0 0 40px rgba(255, 68, 68, 0.4);
}

#game-lobby.visible { display: block; }

.lobby-title {
  color: #ff4444;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.lobby-mode-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.lobby-mode-btn {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: 1px solid #333;
  color: #888;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lobby-mode-btn:hover,
.lobby-mode-btn.active {
  border-color: #ff4444;
  color: #ff4444;
  background: rgba(255,68,68,0.08);
}

.lobby-players {
  margin-bottom: 14px;
}

.lobby-player-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-bottom: 1px solid #111;
  font-size: 0.72rem;
  color: #aaa;
}

.lobby-player-you { color: #ffd700; }
.lobby-player-flag { font-size: 1rem; }
.lobby-player-status { margin-left: auto; color: #00ff41; font-size: 0.65rem; }

.lobby-start-btn {
  width: 100%;
  padding: 10px;
  background: #ff4444;
  color: #0a0c10;
  border: none;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-transform: uppercase;
}

.lobby-start-btn:hover { background: #ff6666; }
.lobby-start-btn:disabled { opacity: 0.4; cursor: default; }

/* Starting options row */
.lobby-start-opts {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.lobby-opt-btn {
  flex: 1;
  min-width: 80px;
  padding: 6px 4px;
  background: transparent;
  border: 1px solid #333;
  color: #666;
  font-family: 'Courier New', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s;
}
.lobby-opt-btn:hover    { border-color: #888; color: #aaa; }
.lobby-opt-btn.active   { border-color: #ff8800; color: #ff8800; }

/* Custom resource fields */
.lobby-custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}
.lobby-custom-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #888;
  font-size: 0.65rem;
  gap: 6px;
}
.lobby-custom-inp {
  width: 60px;
  background: #0d0f14;
  border: 1px solid #333;
  color: #ccc;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  padding: 2px 4px;
  text-align: right;
}
.lobby-custom-inp:focus { outline: none; border-color: #ff8800; }

/* ─── Missile arc animation ───────────────────────────────── */

.missile-arc {
  stroke: #ff4400;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 8 4;
  animation: missile-trail 2s ease-in forwards;
}

.missile-arc.nuke-arc {
  stroke: #ff00aa;
  stroke-width: 3;
  stroke-dasharray: 12 6;
}

/* ─── Wargame Panel ──────────────────────────────────────── */

#wargame-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92vw;
  max-width: 1100px;
  max-height: 85vh;
  background: rgba(6, 8, 14, 0.98);
  border: 2px solid #ff8800;
  z-index: 3000;
  font-family: 'Courier New', monospace;
  display: none;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(255, 136, 0, 0.3);
  overflow: hidden;
}

#wargame-panel.visible { display: flex; }

#wg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 136, 0, 0.1);
  border-bottom: 1px solid #ff8800;
  flex-shrink: 0;
}

#wg-title {
  color: #ff8800;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

#wg-coas {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-height: 0;
}

.wg-loading, .wg-error {
  padding: 40px;
  color: #666;
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
}

.wg-error { color: #ff4444; }

/* COA column */
.wg-coa {
  flex: 1;
  min-width: 220px;
  border-right: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  cursor: pointer;
  transition: background 0.15s;
}

.wg-coa:hover { background: rgba(255,136,0,0.03); }

.wg-coa.selected {
  background: rgba(255,136,0,0.08);
  border-left: 2px solid #ff8800;
}

.wg-coa-header {
  padding: 8px 12px;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.wg-coa-header.risk-low  { background: rgba(0,170,68,0.12); }
.wg-coa-header.risk-med  { background: rgba(255,136,0,0.12); }
.wg-coa-header.risk-high { background: rgba(255,34,0,0.15); }

.wg-coa-label {
  font-size: 0.72rem;
  font-weight: bold;
  color: #ddd;
  flex: 1;
}

.wg-risk-badge {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: bold;
  margin-left: 8px;
  white-space: nowrap;
}

.risk-low  .wg-risk-badge { background: rgba(0,170,68,0.3);  color: #00ff66; }
.risk-med  .wg-risk-badge { background: rgba(255,136,0,0.3); color: #ffaa00; }
.risk-high .wg-risk-badge { background: rgba(255,34,0,0.3);  color: #ff4444; }

.wg-coa-body {
  padding: 10px 12px;
  flex: 1;
}

.wg-section-title {
  color: #444;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 8px 0 4px;
}

.wg-section-title:first-child { margin-top: 0; }

/* Resource deltas */
.wg-resources { display: flex; flex-direction: column; gap: 3px; }

.wg-res-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
}

.wg-res-key   { color: #666; flex: 1; }
.wg-res-delta { font-weight: bold; font-size: 0.72rem; }
.wg-res-delta.positive { color: #00ff41; }
.wg-res-delta.negative { color: #ff4444; }

/* Mars delta */
.wg-mars-delta {
  font-size: 0.72rem;
  font-weight: bold;
  padding: 4px 0;
  margin: 6px 0;
}
.wg-mars-delta.positive { color: #ff8800; }
.wg-mars-delta.negative { color: #ff4444; }

/* Events */
.wg-events { display: flex; flex-direction: column; gap: 3px; }

.wg-event {
  font-size: 0.65rem;
  color: #999;
  padding: 3px 0;
  border-bottom: 1px solid #0f0f0f;
  line-height: 1.4;
}

/* Ally responses */
.wg-allies { display: flex; flex-direction: column; gap: 3px; }

.wg-ally {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  padding: 2px 0;
}
.wg-ally-name { color: #aaa; }
.wg-ally-resp { color: #ff8800; text-align: right; }

/* Retaliation warning */
.wg-retaliation {
  margin-top: 8px;
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: bold;
  border-left: 3px solid;
}
.wg-retaliation.high { border-color: #ff2200; color: #ff4444; background: rgba(255,34,0,0.1); }
.wg-retaliation.med  { border-color: #ff8800; color: #ffaa00; background: rgba(255,136,0,0.1); }

/* Select button */
.wg-select-btn {
  margin: 0;
  padding: 8px;
  width: 100%;
  background: transparent;
  border: none;
  border-top: 1px solid #1a1a1a;
  color: #555;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.15s;
  flex-shrink: 0;
  text-transform: uppercase;
}

.wg-select-btn:hover { background: rgba(255,136,0,0.1); color: #ff8800; }

.wg-coa.selected .wg-select-btn {
  background: #ff8800;
  color: #0a0c10;
  font-weight: bold;
}

/* Footer */
#wg-footer {
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid #1a1a1a;
  flex-shrink: 0;
  background: rgba(6,8,14,0.95);
}

#wg-execute-btn {
  flex: 1;
  padding: 10px;
  background: #ff8800;
  color: #0a0c10;
  border: none;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-transform: uppercase;
}

#wg-execute-btn:hover { background: #ffaa33; }

/* WAR-GAME button inside decision prompts */
.decision-wargame-btn {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: transparent;
  border: 1px solid #ff8800;
  color: #ff8800;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.15s;
}

.decision-wargame-btn:hover {
  background: rgba(255,136,0,0.1);
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
  #game-panel {
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
  }

  #game-panel-body {
    height: auto;
    flex-direction: column;
  }

  #game-resources,
  #game-advancement,
  #game-events {
    border-right: none;
    border-bottom: 1px solid #222;
    max-height: 120px;
  }
}
