/* ══════════════════════════════════════════════════════════════════════
   Stores (js/stores.js) — the ⛏ pill after Wealth, its popover, and the
   "New discovery!" card.
   ══════════════════════════════════════════════════════════════════════ */
.res-stores { cursor: pointer; }
.res-stores[hidden] { display: none !important; }
.res-stores .rs-pick { font-size: 13px; line-height: 1; }
.res-stores .rs-caret { font-size: 10px; opacity: .6; }
.res-stores:focus-visible { outline: 2px solid #f4c95d; outline-offset: 2px; }

.stores-pop { position: fixed; z-index: 100030; display: none; max-height: min(70vh, 460px); overflow-y: auto;
  padding: 10px 12px 12px; border-radius: 12px; background: #1c150d; border: 1px solid rgba(200,148,26,.45);
  box-shadow: 0 16px 40px rgba(0,0,0,.55); color: #f2e6c9; font-size: 13px; }
.stores-pop.open { display: block; }
.sp-head { display: flex; justify-content: space-between; align-items: center; font-family: 'IM Fell English', Georgia, serif; font-size: 16px; color: #f4c95d; margin-bottom: 4px; }
.sp-x { background: none; border: none; color: rgba(242,230,201,.6); font-size: 14px; cursor: pointer; padding: 4px 6px; }
.sp-group { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(242,230,201,.5); margin: 8px 0 2px; }
.sp-row { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 8px; align-items: center; padding: 4px 2px; border-bottom: 1px solid rgba(255,255,255,.04); }
.sp-ic { text-align: center; }
.sp-val { font-weight: 700; color: #fac775; font-variant-numeric: tabular-nums; }
.sp-rate { font-size: 11px; color: rgba(192,221,151,.6); min-width: 46px; text-align: right; }
.sp-unknown { grid-template-columns: 22px 1fr; color: rgba(242,230,201,.55); font-style: italic; border-bottom: none; margin-top: 6px; }
.sp-hint { font-size: 11px; color: rgba(242,230,201,.5); padding: 0 2px; }

.disc-overlay { position: fixed; inset: 0; z-index: 100040; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8,6,3,.7); }
.disc-card { width: min(380px, 100%); text-align: center; padding: 20px 20px 18px; border-radius: 16px;
  background: radial-gradient(ellipse at 50% 0%, #3a2812 0%, #17120b 70%); border: 1px solid rgba(244,201,93,.55);
  box-shadow: 0 0 40px rgba(244,201,93,.18), 0 24px 60px rgba(0,0,0,.6); color: #f2e6c9; animation: disc-in .45s cubic-bezier(.2,1.4,.4,1); }
.disc-burst { font-size: 44px; display: flex; justify-content: center; gap: 6px; filter: drop-shadow(0 0 10px rgba(244,201,93,.5)); }
.disc-card h3 { margin: 6px 0 10px; font-family: 'IM Fell English', Georgia, serif; font-size: 24px; color: #f4c95d; }
.disc-item { display: grid; gap: 2px; padding: 6px 0; border-top: 1px solid rgba(244,201,93,.15); }
.disc-item b { font-size: 16px; }
.disc-item span { font-size: 12px; color: rgba(242,230,201,.7); }
.disc-note { font-size: 12px; color: rgba(242,230,201,.6); margin: 10px 0 12px; }
.disc-ok { padding: 8px 22px; border-radius: 999px; border: 1px solid #f4c95d; background: rgba(244,201,93,.15); color: #f4c95d; font: inherit; font-weight: 700; cursor: pointer; }
@keyframes disc-in { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .disc-card { animation: none; } }

/* "?? × 1" — an input the town hasn't discovered yet */
.res-unknown { font-style: italic; color: rgba(242,230,201,.55); }
.ar-res-emoji { font-size: 18px; line-height: 1; height: auto; width: auto; }
.sp-link { background: none; border: none; color: #c8c0ff; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.building-discount { color: #9fd89a; font-size: 11px; white-space: nowrap; }
