/* HOODBTC Arcade — shared shop / gear styles.
   Appended alongside each page's own styles; every class is hood-
   prefixed so nothing here restyles existing game markup. */
:root {
  --hood-bg: #080d0a;
  --hood-panel: #111b14;
  --hood-mint: #7dff3a;
  --hood-line: #304a32;
  --hood-text: #efffed;
  --hood-muted: #a9c4ae;
  --hood-gold: #ffd454;
}

/* ---------- mode badge + gear button (in-game) ---------- */
.hood-mode-badge {
  position: fixed;
  right: 10px;
  bottom: 66px;
  z-index: 1100;
  padding: 6px 10px;
  border: 1px solid var(--hood-line);
  border-radius: 99px;
  background: rgba(8, 13, 10, .88);
  color: var(--hood-muted);
  font: 800 10px system-ui, sans-serif;
  letter-spacing: .14em;
}
.hood-mode-badge.is-campaign {
  color: #10200d;
  background: var(--hood-gold);
  border-color: var(--hood-gold);
}
.hood-gear-btn {
  position: fixed;
  right: 10px;
  bottom: 12px;
  z-index: 1100;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--hood-mint);
  border-radius: 12px;
  background: rgba(8, 13, 10, .9);
  color: var(--hood-mint);
  font: 800 13px system-ui, sans-serif;
  letter-spacing: .1em;
  cursor: pointer;
}

/* ---------- gear panel ---------- */
.hood-gear-wrap {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(3, 6, 4, .72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hood-gear-wrap[hidden] { display: none; }
.hood-gear-panel {
  width: min(520px, 100%);
  max-height: 82svh;
  overflow-y: auto;
  background: var(--hood-panel);
  border: 1px solid var(--hood-mint);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  padding: 18px 16px 22px;
  color: var(--hood-text);
  font-family: system-ui, sans-serif;
}
.hood-gear-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .95rem;
  letter-spacing: .06em;
}
.hood-gear-close {
  border: 1px solid var(--hood-line);
  background: transparent;
  color: var(--hood-text);
  border-radius: 9px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 14px;
}
.hood-gear-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--hood-line);
}
.hood-gear-info strong { display: block; font-size: .98rem; }
.hood-gear-info small { display: block; color: var(--hood-muted); line-height: 1.35; margin-top: 2px; }
.hood-gear-tag {
  display: inline-block;
  margin-top: 5px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--hood-gold);
  border: 1px solid var(--hood-gold);
  border-radius: 99px;
  padding: 2px 7px;
}
.hood-gear-toggle {
  flex: none;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--hood-mint);
  background: transparent;
  color: var(--hood-mint);
  font: 800 12px system-ui, sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
}
.hood-gear-toggle.is-on { background: var(--hood-mint); color: #10200d; }
.hood-gear-buy {
  flex: none;
  color: var(--hood-gold);
  font: 800 12px system-ui, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid var(--hood-gold);
  border-radius: 10px;
  padding: 10px 12px;
}
.hood-gear-note { color: var(--hood-muted); font-size: .82rem; line-height: 1.45; margin: 14px 0 0; }

/* ---------- campaign note on the game-over screen ---------- */
.hood-campaign-note {
  max-width: 320px;
  margin: 2px auto 0;
  padding: 9px 12px;
  border: 1px solid var(--hood-gold);
  border-radius: 10px;
  background: rgba(255, 212, 84, .1);
  color: var(--hood-gold);
  font: 700 .85rem system-ui, sans-serif;
  line-height: 1.35;
  text-align: center;
}

/* ---------- snake slow-mo button ---------- */
.hood-slowmo-btn {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 16px;
  z-index: 900;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--hood-mint);
  background: rgba(14, 16, 17, .72);
  color: var(--hood-mint);
  font: 800 12px system-ui, sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
}
.hood-slowmo-btn[hidden] { display: none; }
.hood-slowmo-btn:disabled { opacity: .55; cursor: default; }

/* ---------- shop page ---------- */
.shop-wrap { width: min(1050px, calc(100% - 36px)); margin: auto; }
.shop-pro {
  border: 1px solid var(--hood-gold);
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(145deg, #2b2410, #12100a);
  margin: 34px 0 8px;
}
.shop-pro h2 { margin: 6px 0 10px; font-size: clamp(1.5rem, 5vw, 2.1rem); }
.shop-pro p { color: #d8cf9f; line-height: 1.55; max-width: 560px; margin: 0 0 18px; }
.shop-price { font-size: 1.9rem; font-weight: 900; color: var(--hood-gold); }
.shop-price small { font-size: .9rem; color: var(--hood-muted); font-weight: 600; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.shop-card {
  border: 1px solid var(--hood-line);
  background: linear-gradient(145deg, #192b1b, #0e1610);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-card h3 { margin: 0; font-size: 1.15rem; }
.shop-card p { margin: 0; color: var(--hood-muted); line-height: 1.45; flex: 1; }
.shop-card .shop-kind {
  font-size: .66rem; font-weight: 800; letter-spacing: .14em; color: var(--hood-mint);
}
.shop-card .shop-kind.is-cosmetic { color: var(--hood-gold); }
.shop-card .shop-amount { font-size: 1.25rem; font-weight: 900; }
.shop-buy {
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--hood-line);
  background: #283c2b;
  color: #b2cbb6;
  font: 800 13px system-ui, sans-serif;
  letter-spacing: .05em;
  cursor: not-allowed;
}
.shop-owned {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--hood-mint);
  color: var(--hood-mint);
  font: 800 13px system-ui, sans-serif;
  letter-spacing: .05em;
}
.shop-honesty {
  margin-top: 34px;
  border: 1px solid var(--hood-line);
  border-radius: 18px;
  padding: 20px 22px;
  color: #b2cdb7;
  line-height: 1.6;
}
.shop-honesty strong { color: var(--hood-text); }

/* --- Phase 2: wallet bar, chain select, payment-method chips, status --- */
.shop-wallet {
  margin-top: 34px;
  border: 1px solid var(--hood-line);
  border-radius: 18px;
  padding: 20px 22px;
  background: var(--hood-panel, #111b14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.shop-wallet-main { max-width: 560px; }
.shop-wallet-main strong { font-size: 1.05rem; }
.shop-wallet-status { margin: 6px 0 0; color: var(--hood-muted); line-height: 1.5; font-size: .92rem; }
.shop-gas-note { margin: 8px 0 0; color: var(--hood-gold); font-size: .9rem; line-height: 1.45; }
.shop-wallet-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shop-chain-label { font-size: .85rem; color: var(--hood-muted); display: inline-flex; align-items: center; gap: 8px; }
.shop-chain-select {
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid var(--hood-line);
  background: #0c150e;
  color: var(--hood-text);
  font: 700 14px system-ui, sans-serif;
  padding: 0 10px;
}
.shop-methods { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.shop-chip {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--hood-line);
  background: transparent;
  color: var(--hood-muted);
  border-radius: 99px;
  font: 800 12px system-ui, sans-serif;
  letter-spacing: .05em;
  cursor: pointer;
}
.shop-chip.is-selected {
  border-color: var(--hood-mint);
  color: var(--hood-mint);
  background: rgba(125, 255, 58, .08);
}
.shop-status { margin-top: 2px; font-size: .88rem; color: var(--hood-gold); line-height: 1.45; }
