.pack-store-tab {
  width: 100%;
  margin: 0 0 24px;
  padding: 14px 16px;
  box-sizing: border-box;
  border: 1px solid #bdd8c5;
  border-radius: 15px;
  background: #edf7ef;
  color: #14532d;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.pack-store-tab:hover { background: #e4f2e7; }
.pack-store-tab:focus-visible { outline: 3px solid #86b895; outline-offset: 2px; }
.pack-store-tab-icon { font-size: 26px; }
.pack-store-tab strong { display: block; font-size: 15px; }
.pack-store-tab small { display: block; margin-top: 2px; color: #577263; font-size: 12px; font-weight: 600; }
.pack-store-tab-arrow { font-size: 28px; line-height: 1; }
.pack-store-dialog { border: 0; border-radius: 20px; padding: 0; max-width: 720px; width: calc(100% - 24px); }
.pack-store-dialog::backdrop { background: #102a1dcc; }
.pack-store-panel { padding: 24px; position: relative; }
.pack-store-close { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 28px; }
.pack-kicker { color: #15803d; font-weight: 900; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 12px; }
.pack-grid article { border: 1px solid #d1e7d7; border-radius: 14px; padding: 16px; background: #f5fbf6; }
.pack-grid button { width: 100%; padding: 10px; border: 0; border-radius: 10px; background: #166534; color: #fff; font-weight: 800; }
.pack-grid button:disabled { background: #94a3b8; }
.pack-grid button:disabled { cursor: not-allowed; opacity: .82; }
.pack-store-status { margin: 8px 0 18px; padding: 12px 14px; border-radius: 12px; background: #fff4cf; color: #684d00; font-weight: 800; line-height: 1.6; }
.pack-store-note { font-size: .85rem; color: #475569; }

/* World Packs preview: aspirational, but deliberately non-purchasable. */
.pack-store-tab {
  position: relative;
  overflow: hidden;
  padding: 17px 18px;
  border: 1px solid #9bcdb1;
  border-radius: 19px;
  background: linear-gradient(125deg, #e5f7eb 0%, #f5fbef 52%, #e2f3ff 100%);
  box-shadow: 0 9px 24px rgba(20, 83, 45, .1), inset 0 1px rgba(255,255,255,.9);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pack-store-tab::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  right: -55px;
  top: -70px;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
}
.pack-store-tab:hover { transform: translateY(-2px); background: linear-gradient(125deg, #dcf3e4, #f2faeb 52%, #d9effc); box-shadow: 0 12px 28px rgba(20,83,45,.15); }
.pack-store-tab-icon { display: grid; place-items: center; width: 58px; height: 58px; filter: drop-shadow(0 5px 7px rgba(20,83,45,.2)); }
.pack-store-tab-icon img { display: block; width: 58px; height: 58px; object-fit: contain; }
.pack-store-tab-copy { position: relative; z-index: 1; }
.pack-store-tab-copy em { display: inline-block; margin-bottom: 3px; color: #b45309; font-size: 9px; font-style: normal; font-weight: 950; letter-spacing: .16em; }
.pack-store-tab strong { font-size: 17px; letter-spacing: .01em; }
.pack-store-tab small { color: #49695a; font-size: 11px; line-height: 1.4; }
.pack-store-tab-arrow { position: relative; z-index: 1; }

.pack-store-dialog {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  max-width: 760px;
  max-height: calc(100dvh - 24px);
  background: #fbfdf9;
  box-shadow: 0 28px 80px rgba(7,38,23,.35);
}
.pack-store-panel { padding: 0 24px 26px; background: radial-gradient(circle at 90% 0, #dff5e8 0, transparent 31%), #fbfdf9; }
.pack-store-close { z-index: 4; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); color: #174c31; box-shadow: 0 5px 18px rgba(20,83,45,.14); cursor: pointer; }
.pack-store-hero { margin: 0 -24px; padding: 32px 64px 26px 24px; color: #fff; background: linear-gradient(135deg, #0c5638 0%, #13734c 57%, #168261 100%); }
.pack-store-hero .pack-kicker { margin: 0 0 5px; color: #b8f4cf; font-size: 11px; letter-spacing: .2em; }
.pack-coming-soon { display: inline-flex; margin: 3px 0 16px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(255,255,255,.12); font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.pack-store-hero h2 { margin: 0; font-size: clamp(25px, 6vw, 37px); line-height: 1.18; letter-spacing: .02em; }
.pack-store-hero > p:last-child { margin: 9px 0 0; color: #e6f8ed; font-size: 13px; font-weight: 700; }
.pack-store-status { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; margin: 18px 0; padding: 14px 16px; border: 1px solid #f3d98c; border-radius: 15px; background: linear-gradient(110deg,#fff8dc,#fffdf4); box-shadow: 0 5px 14px rgba(104,77,0,.06); }
.pack-store-status strong { color: #7b5200; font-size: 14px; }
.pack-store-status strong::before { content: '✨'; margin-right: 7px; }
.pack-store-status span { color: #725f2c; font-size: 11px; font-weight: 700; line-height: 1.5; }
.pack-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.pack-grid .world-pack-card { position: relative; isolation: isolate; overflow: hidden; min-height: 255px; padding: 20px; border: 0; border-radius: 21px; background: var(--pack-bg); color: #fff; box-shadow: 0 12px 24px rgba(15,45,31,.13); }
.world-pack-glow { position: absolute; z-index: -1; width: 160px; height: 160px; right: -60px; top: -65px; border-radius: 50%; background: rgba(255,255,255,.2); }
.pack-theme-ocean { --pack-bg: linear-gradient(145deg,#087ca7,#0a5d83); }
.pack-theme-savanna { --pack-bg: linear-gradient(145deg,#d17a19,#9a4c0c); }
.pack-theme-forest { --pack-bg: linear-gradient(145deg,#278448,#145e36); }
.pack-theme-sunset { --pack-bg: linear-gradient(145deg,#8753b4,#59307f); }
.world-pack-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 13px; border: 1px solid rgba(255,255,255,.42); border-radius: 17px; background: rgba(255,255,255,.18); font-size: 29px; backdrop-filter: blur(5px); }
.world-pack-label { margin: 0 0 3px !important; color: rgba(255,255,255,.73); font-size: 9px; font-weight: 950; letter-spacing: .18em; }
.pack-grid .world-pack-card h3 { margin: 0; font-size: 19px; letter-spacing: .01em; }
.world-pack-copy { min-height: 42px; margin: 8px 0 12px !important; color: rgba(255,255,255,.9); font-size: 11px; font-weight: 650; line-height: 1.55; }
.world-pack-facts { display: flex; gap: 8px; margin-bottom: 13px; }
.world-pack-facts span { flex: 1; padding: 7px 8px; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; background: rgba(0,0,0,.1); font-size: 10px; text-align: center; }
.world-pack-facts b { margin-right: 2px; font-size: 15px; }
.pack-grid .world-pack-card button:disabled { display: grid; gap: 1px; padding: 9px; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.18); color: #fff; cursor: not-allowed; opacity: 1; backdrop-filter: blur(6px); }
.world-pack-card button span { font-size: 8px; letter-spacing: .16em; opacity: .82; }

@media (max-width: 540px) {
  .pack-store-panel { padding: 0 14px 18px; }
  .pack-store-hero { margin: 0 -14px; padding-left: 18px; }
  .pack-store-status { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: 1fr; }
  .pack-grid .world-pack-card { min-height: 0; }
  .world-pack-copy { min-height: 0; }
}
