/* Lucki store. Light and dark, driven by the tokens in .lucki-store-page. */

.lucki-store-page {
  --store-ink: #0b1220;
  --store-ink-soft: #33455c;
  --store-muted: #5b6b7c;
  --store-blue: #0284c7;
  --store-blue-deep: #0369a1;
  --store-blue-bright: #38bdf8;
  --store-card: #ffffff;
  --store-card-2: #f8fbff;
  --store-media: linear-gradient(165deg, #bae6fd, #f0f9ff);
  --store-stroke: rgba(2, 132, 199, 0.16);
  --store-stroke-strong: rgba(2, 132, 199, 0.32);
  --store-shadow: 0 10px 30px rgba(2, 132, 199, 0.12);
  --store-shadow-lg: 0 22px 50px rgba(2, 132, 199, 0.18);
  --store-page-bg:
    radial-gradient(ellipse 90% 45% at 50% -8%, rgba(56, 189, 248, 0.4), transparent 55%),
    linear-gradient(180deg, #f0f9ff 0%, #ffffff 38%, #f8fafc 100%);
  --store-yes: #0284c7;
  --store-no: #94a3b8;

  position: relative;
  min-height: 100vh;
  padding: 6.5rem 0 4.5rem;
  color: var(--store-ink);
  font-family: var(--lk-font, 'Minecraft', monospace);
  background: var(--store-page-bg);
  overflow-x: hidden;
}

/* The rest of the site has a dark mode; without this the store was the one
   page that stayed bright white when the theme was switched. */
html.theme-dark .lucki-store-page {
  --store-ink: #eef4ff;
  --store-ink-soft: #c3d2e8;
  --store-muted: #93a4bd;
  --store-blue: #38bdf8;
  --store-blue-deep: #7dd3fc;
  --store-blue-bright: #7dd3fc;
  --store-card: #131b2b;
  --store-card-2: #172134;
  --store-media: linear-gradient(165deg, #1e3a5f, #12203a);
  --store-stroke: rgba(125, 211, 252, 0.18);
  --store-stroke-strong: rgba(125, 211, 252, 0.38);
  --store-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --store-shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.55);
  --store-page-bg:
    radial-gradient(ellipse 90% 45% at 50% -8%, rgba(14, 165, 233, 0.22), transparent 55%),
    linear-gradient(180deg, #0a1120 0%, #0d1524 45%, #0a0f1c 100%);
  --store-yes: #38bdf8;
  --store-no: #64748b;
}

.lucki-store-inner {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Visually hidden but read out, so icon-only table cells still say yes / no. */
.lucki-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ hero -- */
.lucki-store-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lucki-store-hero__logo {
  display: block;
  width: min(300px, 70vw);
  height: auto;
  margin: 0 auto 0.75rem;
  border-radius: 18px;
  filter: drop-shadow(0 14px 32px rgba(2, 132, 199, 0.28));
}

.lucki-store-hero__eyebrow {
  margin: 0 0 0.4rem;
  font-weight: normal;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--store-blue);
}

.lucki-store-hero__title {
  margin: 0 0 0.6rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 20px;
  font-weight: normal;
  line-height: 1.05;
  color: var(--store-ink);
}

.lucki-store-hero__lead {
  margin: 0 auto 1.4rem;
  max-width: 40rem;
  color: var(--store-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.lucki-store-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lucki-store-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--store-stroke);
  border-radius: 999px;
  background: var(--store-card);
  box-shadow: var(--store-shadow);
  color: var(--store-ink-soft);
  font-size: 0.86rem;
  font-weight: normal;
}

.lucki-store-trust i { color: var(--store-blue); }

/* --------------------------------------------------------------- heading -- */
.lucki-store-heading {
  margin: 0 0 0.4rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 20px;
  font-weight: normal;
  color: var(--store-ink);
  text-align: center;
}

.lucki-store-sub {
  margin: 0 auto 2rem;
  max-width: 38rem;
  text-align: center;
  color: var(--store-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------- cat nav -- */
.lucki-store-catnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 1.75rem;
}

.lucki-store-catnav button {
  appearance: none;
  border: 1px solid var(--store-stroke);
  background: var(--store-card);
  color: var(--store-blue-deep);
  font: inherit;
  font-weight: normal;
  font-size: 0.9rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.lucki-store-catnav button.is-active,
.lucki-store-catnav button:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------- banner -- */
.lucki-store-banner {
  display: none;
  margin: 0 auto 1.25rem;
  max-width: 40rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  font-weight: normal;
  text-align: center;
}
.lucki-store-banner.is-visible { display: block; }
.lucki-store-banner--ok {
  background: rgba(186, 230, 253, 0.8);
  color: #0c4a6e;
  border: 1px solid rgba(2, 132, 199, 0.25);
}
.lucki-store-banner--warn {
  background: rgba(254, 243, 199, 0.9);
  color: #92400e;
}
.lucki-store-banner--err {
  background: rgba(254, 226, 226, 0.95);
  color: #991b1b;
}

/* ------------------------------------------------------- category tiles -- */
.lucki-store-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 3rem;
}

.lucki-store-cat {
  appearance: none;
  border: 1px solid var(--store-stroke);
  background: var(--store-card);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  color: inherit;
  box-shadow: var(--store-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lucki-store-cat:hover,
.lucki-store-cat:focus-visible {
  transform: translateY(-5px);
  border-color: var(--store-blue-bright);
  box-shadow: var(--store-shadow-lg);
  outline: none;
}

.lucki-store-cat__media {
  aspect-ratio: 16 / 10;
  background: var(--store-media);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
}

.lucki-store-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lucki-store-cat__name {
  display: block;
  padding: 0.9rem 0.75rem 1rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--store-blue-deep);
}

/* -------------------------------------------------------------- spotlight -- */
.lucki-store-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 1.75rem;
  border: 1px solid var(--store-stroke-strong);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    var(--store-card);
  box-shadow: var(--store-shadow-lg);
}

.lucki-store-spotlight__eyebrow {
  margin: 0 0 0.35rem;
  font-weight: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--store-blue);
}

.lucki-store-spotlight__copy h2 {
  margin: 0 0 0.6rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 14px;
  color: var(--store-ink);
}

.lucki-store-spotlight__copy > p {
  margin: 0 0 1rem;
  color: var(--store-muted);
  line-height: 1.6;
}

.lucki-store-spotlight__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.lucki-store-spotlight__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--store-ink-soft);
  font-weight: normal;
  font-size: 0.94rem;
}

.lucki-store-spotlight__list i {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--store-media);
  color: var(--store-blue-deep);
  font-size: 0.85rem;
}

/* Outranks the width:100% on .lucki-store-btn--buy, which is declared later. */
.lucki-store-spotlight .lucki-store-spotlight__cta {
  width: auto;
  display: inline-flex;
  align-self: start;
}

.lucki-store-spotlight__media {
  border-radius: 18px;
  overflow: hidden;
  background: var(--store-media);
  aspect-ratio: 1;
  padding: 0.75rem;
}

.lucki-store-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ------------------------------------------------------------- info cols -- */
.lucki-store-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.lucki-store-info > div {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--store-stroke);
  border-radius: 18px;
  background: var(--store-card);
  box-shadow: var(--store-shadow);
}

.lucki-store-info__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: var(--store-media);
  color: var(--store-blue-deep);
}

.lucki-store-info h2 {
  margin: 0 0 0.4rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 1.1rem;
  color: var(--store-ink);
}

.lucki-store-info p {
  margin: 0;
  color: var(--store-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- back -- */
.lucki-store-back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--store-stroke);
  background: var(--store-card);
  color: var(--store-blue-deep);
  font: inherit;
  font-weight: normal;
  cursor: pointer;
  margin: 0 0 1.25rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}

.lucki-store-back:hover {
  border-color: var(--store-blue-bright);
  box-shadow: var(--store-shadow);
}

/* ----------------------------------------------------------- rank cards -- */
.lucki-ranks-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: start;
}

.lucki-rank-card {
  position: relative;
  background: var(--store-card);
  border: 1px solid var(--store-stroke);
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.5rem;
  text-align: center;
  box-shadow: var(--store-shadow);
}

.lucki-rank-card--featured {
  border: 2px solid var(--store-blue-bright);
  box-shadow: var(--store-shadow-lg);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56, 189, 248, 0.16), transparent 65%),
    var(--store-card);
}

.lucki-rank-card__ribbon {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: normal;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.lucki-rank-card__media {
  aspect-ratio: 1;
  max-width: 190px;
  margin: 0.35rem auto 0.9rem;
  background: var(--store-media);
  border-radius: 16px;
  padding: 0.5rem;
}

.lucki-rank-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lucki-rank-card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 1.5rem;
  color: var(--store-ink);
}

.lucki-rank-card__desc {
  margin: 0 0 1rem;
  color: var(--store-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.lucki-rank-card__price {
  margin: 0 0 0.9rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.1;
  color: var(--store-ink);
}

.lucki-rank-card__price-note {
  display: block;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 0.78rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--store-muted);
}

.lucki-rank-card__perks {
  text-align: left;
  margin: 1.25rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--store-stroke);
  list-style: none;
  color: var(--store-ink-soft);
  font-size: 0.93rem;
  line-height: 1.45;
  display: grid;
  gap: 0.55rem;
}

.lucki-rank-card__perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.lucki-rank-card__perks i {
  flex: none;
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--store-yes);
  color: #fff;
  font-size: 0.6rem;
}

/* ------------------------------------------------------------- compare -- */
.lucki-compare-block,
.lucki-about-block {
  background: var(--store-card);
  border: 1px solid var(--store-stroke);
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--store-shadow);
}

.lucki-compare-block h2,
.lucki-about-block h2 {
  margin: 0 0 0.4rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 1.35rem;
  color: var(--store-ink);
}

.lucki-compare-block > p,
.lucki-about-block > p {
  margin: 0 0 1.1rem;
  color: var(--store-muted);
  line-height: 1.55;
}

.lucki-about-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--store-ink-soft);
  line-height: 1.6;
}

.lucki-store-compare__wrap { overflow-x: auto; }

.lucki-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.lucki-compare-table th,
.lucki-compare-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--store-stroke);
  text-align: left;
}

.lucki-compare-table thead th {
  position: sticky;
  top: 0;
  background: var(--store-card);
  color: var(--store-muted);
  font-weight: normal;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lucki-compare-table thead th.is-best-head { color: var(--store-blue-deep); }

.lucki-compare-table tbody th {
  font-weight: normal;
  width: 38%;
  color: var(--store-ink);
}

.lucki-compare-table tbody tr:hover td,
.lucki-compare-table tbody tr:hover th {
  background: var(--store-card-2);
}

.lucki-compare-table__cell { color: var(--store-ink-soft); }

.lucki-compare-table__cell.is-best {
  background: rgba(56, 189, 248, 0.09);
  font-weight: normal;
  color: var(--store-ink);
}

.lucki-compare-table__cell.is-yes i { color: var(--store-yes); font-size: 1.05rem; }
.lucki-compare-table__cell.is-no i { color: var(--store-no); }

.lucki-compare-buys {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

/* ----------------------------------------------------------- pack cards -- */
.lucki-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.lucki-pack-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.lucki-pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--store-card);
  border: 1px solid var(--store-stroke);
  border-radius: 18px;
  padding: 1.1rem 0.95rem 1.15rem;
  text-align: center;
  box-shadow: var(--store-shadow);
}

.lucki-pack-card--best {
  border: 2px solid var(--store-blue-bright);
  box-shadow: var(--store-shadow-lg);
}

.lucki-pack-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  font-weight: normal;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.35rem;
  border-radius: 16px 16px 0 0;
}

.lucki-pack-card--best { padding-top: 2.1rem; }

.lucki-pack-card__media {
  aspect-ratio: 1;
  width: 100%;
  max-width: 150px;
  margin: 0 auto 0.75rem;
  background: var(--store-media);
  border-radius: 14px;
  padding: 0.4rem;
}

.lucki-pack-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lucki-pack-card--link {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.lucki-pack-card--link:hover,
.lucki-pack-card--link:focus-visible {
  transform: translateY(-4px);
  border-color: var(--store-blue-bright);
  box-shadow: var(--store-shadow-lg);
  outline: none;
}

.lucki-pack-card__media--tag {
  max-width: 100%;
  aspect-ratio: 1;
  padding: 0.25rem;
}

.lucki-pack-card__media--tag img {
  object-fit: cover;
  object-position: center 62%;
  border-radius: 10px;
}

.lucki-pack-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 1.05rem;
  color: var(--store-ink);
}

.lucki-pack-card__desc {
  margin: 0 0 0.8rem;
  color: var(--store-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  min-height: 3.2em;
}

.lucki-pack-card__price {
  margin: auto 0 0.8rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 1.25rem;
  font-weight: normal;
  color: var(--store-ink);
}

/* -------------------------------------------------------------- product -- */
.lucki-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  align-items: start;
  background: var(--store-card);
  border: 1px solid var(--store-stroke);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--store-shadow-lg);
}

.lucki-product__media {
  background: var(--store-media);
  border-radius: 16px;
  padding: 0.85rem;
  aspect-ratio: 1;
}

.lucki-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.lucki-product__copy h2 {
  margin: 0 0 0.55rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 1.8rem;
  color: var(--store-ink);
}

.lucki-product__desc {
  margin: 0 0 1.1rem;
  color: var(--store-muted);
  line-height: 1.6;
}

.lucki-product__price {
  margin: 0 0 1rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 1.9rem;
  font-weight: normal;
  color: var(--store-ink);
}

.lucki-product__perks {
  margin: 1.25rem 0 0;
  padding: 1.15rem 0 0 1.15rem;
  border-top: 1px solid var(--store-stroke);
  color: var(--store-ink-soft);
  line-height: 1.6;
}

/* --------------------------------------------------------------- buttons -- */
.lucki-store-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: normal;
  cursor: pointer;
  padding: 0.8rem 1.2rem;
}

.lucki-store-btn--buy {
  width: 100%;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.lucki-store-btn--buy:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.lucki-store-btn--primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.lucki-store-btn--primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.lucki-store-btn--primary:disabled {
  filter: grayscale(0.4) brightness(0.9);
  transform: none;
  cursor: wait;
}

.lucki-store-btn--ghost {
  background: transparent;
  color: var(--store-muted);
  border: 1px solid var(--store-stroke-strong);
}

/* ----------------------------------------------------------------- modal -- */
/* !important, like site-nav.css does for the navbar: hub-theme.css applies
   "html.theme-dark body > * { position: relative; z-index: 1 }" to lift content
   above its dark backdrop, and that selector is specific enough to beat a plain
   class. It matches this modal too, which is a direct child of body, and in dark
   mode it dropped the checkout dialog into the page flow below the footer. */
.lucki-store-modal {
  position: fixed !important;
  inset: 0;
  z-index: 80 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lucki-store-modal.is-open { display: flex; }

.lucki-store-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.6);
  backdrop-filter: blur(5px);
}

.lucki-store-modal__panel {
  position: relative;
  width: min(430px, 100%);
  background: var(--store-card, #fff);
  color: var(--store-ink, #0b1220);
  border-radius: 22px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--store-stroke, rgba(2, 132, 199, 0.16));
}

/* The modal is a sibling of .lucki-store-page, so it cannot inherit those
   tokens and needs the dark values restated here. */
html.theme-dark .lucki-store-modal__panel {
  --store-card: #131b2b;
  --store-ink: #eef4ff;
  --store-muted: #93a4bd;
  --store-stroke: rgba(125, 211, 252, 0.18);
  background: #131b2b;
  color: #eef4ff;
  border-color: rgba(125, 211, 252, 0.18);
}

.lucki-store-modal__panel h3 {
  margin: 0 0 0.35rem;
  font-family: var(--lk-font, 'Minecraft', monospace);
  font-size: 1.4rem;
  padding-right: 2rem;
  color: inherit;
}

.lucki-store-modal__panel p {
  margin: 0 0 1rem;
  color: var(--store-muted, #5b6b7c);
  font-size: 0.95rem;
  line-height: 1.55;
}

.lucki-store-modal label {
  display: block;
  font-weight: normal;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.lucki-store-modal input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--store-stroke, rgba(2, 132, 199, 0.2));
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  margin-bottom: 0.85rem;
  background: transparent;
  color: inherit;
}

.lucki-store-modal input:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 1px;
}

.lucki-store-note {
  min-height: 1.2em;
  color: #ef4444 !important;
  font-weight: normal;
  font-size: 0.88rem !important;
}

.lucki-store-modal__actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
}

.lucki-store-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.55rem;
  background: transparent;
  border: 0;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--store-muted, #5b6b7c);
}

#storeAmountWrap { margin: 0 0 0.85rem; }
#storeAmountWrap input { width: 100%; }

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1000px) {
  .lucki-store-spotlight { grid-template-columns: 1fr; }
  .lucki-store-spotlight__media {
    max-width: 300px;
    margin: 0 auto;
    order: -1;
  }
}

@media (max-width: 900px) {
  .lucki-store-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lucki-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lucki-store-info { grid-template-columns: 1fr; }
  .lucki-product { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .lucki-store-page { padding-top: 5.5rem; }
  .lucki-ranks-row,
  .lucki-compare-buys {
    grid-template-columns: 1fr;
  }
  .lucki-rank-card--featured { order: -1; }
  .lucki-pack-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .lucki-compare-table tbody th { width: 46%; }
}

@media (max-width: 460px) {
  .lucki-store-cats { grid-template-columns: 1fr; }
}
