:root {
  --black: #030303;
  --obsidian: #080705;
  --gold: #ffd56a;
  --gold-bright: #fff0a6;
  --gold-dark: #9b681c;
  --cyan: #66f4ff;
  --offer-blue: #52bfff;
  --offer-green: #72f59a;
  --offer-gold: #ffd56a;
  --ink-soft: rgba(255, 248, 223, 0.74);
  --line: rgba(255, 213, 106, 0.28);
  --panel: rgba(13, 10, 5, 0.76);
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.xrp-rate-ticker {
  position: sticky;
  top: 0.45rem;
  z-index: 8;
  display: block;
  width: max-content;
  max-width: calc(100% - 1rem);
  margin: 0.45rem 0.5rem 0 auto;
  padding: 0.38rem 0.58rem;
  border: 1px solid rgba(255, 213, 106, 0.34);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(3, 3, 3, 0.9);
  box-shadow: 0 0 14px rgba(255, 213, 106, 0.12);
  font-size: 0.67rem;
  letter-spacing: 0.035em;
  line-height: 1.2;
}

html {
  min-height: 100%;
  color-scheme: dark;
  background: var(--black);
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--gold-bright);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 213, 106, 0.13), transparent 34rem),
    radial-gradient(circle at 86% 22%, rgba(102, 244, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #020202, #0b0703 48%, #020202);
}

button, input, select { font: inherit; }
button, select { cursor: pointer; }

a { color: inherit; }

.shop-header,
main {
  width: min(100% - 2rem, 90rem);
  margin-inline: auto;
}

.shop-header {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
  padding-block: clamp(1.5rem, 5vw, 4rem) 1.4rem;
  border-bottom: 1px solid var(--line);
}

.shop-header p {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  text-align: left;
}

.portal-return-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  min-height: 2.75rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(255, 220, 115, 0.58);
  border-radius: 999px;
  color: rgba(255, 236, 170, 0.95);
  background: rgba(0, 0, 0, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 245, 190, 0.18), 0 0 13px rgba(255, 220, 115, 0.14);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.portal-return-link:active { transform: translateY(1px) scale(0.99); }

.shop-mark {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
}

.shop-mark span,
.section-kicker,
.detail-number {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.shop-mark strong {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  letter-spacing: 0.035em;
  line-height: 0.82;
  text-shadow: 0 0 24px rgba(255, 213, 106, 0.22);
}

main { padding-block: 1.4rem 5rem; }

.collection-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}
.collection-jump a {
  display: grid;
  place-items: center;
  min-block-size: 2.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 213, 106, 0.38);
  border-radius: 11px;
  color: var(--gold-bright);
  background: rgba(8, 7, 5, 0.78);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
}
.collection-jump a:hover,
.collection-jump a:focus-visible { border-color: var(--gold); box-shadow: 0 0 16px rgba(255, 213, 106, 0.16); }
#raw-cards, #sealed-products { scroll-margin-block-start: 1rem; }

.catalog-controls {
  position: sticky;
  z-index: 5;
  top: 0;
  display: grid;
  grid-template-columns: minmax(15rem, 1.35fr) 3fr auto;
  align-items: end;
  gap: 0.8rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 4, 3, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.exclusive-products {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(255, 213, 106, 0.24);
  border-radius: 16px;
  background: rgba(7, 6, 4, 0.58);
  text-align: center;
}
.exclusive-products p, .exclusive-products h2 { margin: 0; }
.exclusive-products h2 { margin-top: 0.3rem; font-family: var(--font-display); letter-spacing: 0.08em; }

.catalog-controls label { display: grid; gap: 0.32rem; }
.catalog-controls label > span {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(7rem, 1fr));
  gap: 0.55rem;
}

input, select, .reset-button, .pagination button, .offer-actions a {
  min-height: 2.7rem;
  border: 1px solid rgba(255, 213, 106, 0.34);
  border-radius: 11px;
  color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(27, 20, 10, 0.88), rgba(5, 5, 6, 0.94));
}

input, select { width: 100%; padding: 0.62rem 0.75rem; }
select option,
select optgroup {
  color: var(--gold-bright);
  background: var(--obsidian);
}
.reset-button, .pagination button { padding-inline: 1rem; font-weight: 850; }

.sort-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.42rem;
}

.sort-direction-toggle {
  min-width: 4.35rem;
  min-height: 2.7rem;
  padding-inline: 0.65rem;
  border: 1px solid rgba(255, 213, 106, 0.44);
  border-radius: 11px;
  color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(27, 20, 10, 0.94), rgba(5, 5, 6, 0.98));
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.sort-direction-toggle:hover {
  border-color: rgba(255, 240, 166, 0.72);
  box-shadow: 0 0 14px rgba(255, 213, 106, 0.12);
}

.sort-direction-toggle:active { transform: translateY(1px); }

.market-key {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  font-size: 0.78rem;
  text-align: left;
}

.stash-key {
  margin: 0.75rem 0 0;
  border: 1px solid rgba(102, 244, 255, 0.28);
  color: var(--ink-soft);
  background: rgba(2, 12, 14, 0.54);
  cursor: pointer;
}

.stash-key strong { color: var(--cyan); }
.stash-key[aria-pressed="true"] {
  border-color: rgba(102, 244, 255, 0.78);
  color: var(--ink);
  background: rgba(15, 78, 91, 0.48);
  box-shadow: 0 0 16px rgba(102, 244, 255, 0.18);
}

.community-listing-key,
.community-offer-key {
  margin: 0.55rem 0 0;
  letter-spacing: 0.04em;
}
.community-listing-key {
  border: 1px solid rgba(114, 245, 154, 0.34);
  color: rgba(221, 255, 231, 0.82);
  background: rgba(4, 24, 13, 0.62);
}
.community-listing-key:disabled,
.community-offer-key:disabled { cursor: not-allowed; opacity: 0.58; }
.community-listing-key[aria-pressed="true"] {
  border-color: rgba(114, 245, 154, 0.82);
  color: #effff3;
  background: rgba(19, 91, 48, 0.58);
  box-shadow: inset 0 0 16px rgba(114, 245, 154, 0.08), 0 0 16px rgba(114, 245, 154, 0.2);
}
.community-offer-key {
  border: 1px solid rgba(255, 213, 106, 0.42);
  color: rgba(255, 245, 207, 0.86);
  background: rgba(31, 21, 4, 0.68);
}
.community-offer-key[aria-pressed="true"] {
  border-color: rgba(255, 213, 106, 0.88);
  color: #fff8df;
  background: rgba(112, 74, 12, 0.62);
  box-shadow: inset 0 0 16px rgba(255, 213, 106, 0.1), 0 0 16px rgba(255, 213, 106, 0.22);
}
.community-listing-key:focus-visible { outline-color: var(--offer-green); }
.community-offer-key:focus-visible { outline-color: var(--offer-gold); }
.community-listing-key:active:not(:disabled),
.community-offer-key:active:not(:disabled) { transform: translateY(1px); }
.market-key-icon {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}
.community-listing-key-icon,
.community-offer-key-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
}
.community-listing-key-sign {
  align-self: start;
  width: 0.72rem;
  height: 0.46rem;
  border: 1px solid var(--offer-green);
  border-radius: 2px;
  background: rgba(34, 132, 70, 0.5);
  box-shadow: 0 0 8px rgba(114, 245, 154, 0.4);
}
.community-listing-key-post {
  position: absolute;
  top: 0.45rem;
  width: 2px;
  height: 0.46rem;
  background: var(--offer-green);
}
.community-offer-key-paddle {
  width: 0.72rem;
  height: 0.72rem;
  border: 1px solid var(--offer-gold);
  border-radius: 50%;
  background: rgba(126, 87, 18, 0.54);
  box-shadow: 0 0 8px rgba(255, 213, 106, 0.46);
}
.community-offer-key-handle {
  position: absolute;
  right: 0.04rem;
  bottom: 0;
  width: 0.42rem;
  height: 2px;
  background: var(--offer-gold);
  transform: rotate(48deg);
  transform-origin: right center;
}
.stash-key-icon {
  display: inline-block;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  background: rgba(24, 121, 151, 0.4);
  box-shadow: 0 0 9px rgba(102, 244, 255, 0.55);
}
.stash-badge::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.72rem;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  background: rgba(24, 121, 151, 0.4);
  box-shadow: 0 0 9px rgba(102, 244, 255, 0.55);
  content: "";
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.catalog-section, .sealed-section, .promo-section { padding-block: clamp(2rem, 5vw, 4rem); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-kicker { margin: 0 0 0.4rem; }
.section-heading h1, .section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.4rem);
  letter-spacing: 0.025em;
  line-height: 0.95;
}
.section-heading > p, .result-summary { margin: 0; color: var(--ink-soft); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: clamp(0.8rem, 2vw, 1.25rem);
}

.card-tile {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  text-align: left;
  background: linear-gradient(180deg, rgba(18, 13, 7, 0.96), rgba(3, 3, 4, 0.98));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card-detail-trigger {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  color: inherit;
  text-align: left;
  background: transparent;
}

.card-tile.has-stash-offer .card-copy { padding-bottom: 3.45rem; }

.card-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 240, 166, 0.66);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 213, 106, 0.1);
}

.card-art-wrap {
  position: relative;
  aspect-ratio: 3 / 4.16;
  overflow: hidden;
  background: radial-gradient(circle at 50% 24%, rgba(102, 244, 255, 0.12), transparent 40%), #050505;
}

.card-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stash-badge {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2rem;
  padding: 0.3rem 0.48rem;
  border: 1px solid rgba(102, 244, 255, 0.7);
  border-radius: 7px;
  color: #d8fbff;
  background: rgba(2, 12, 14, 0.9);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(102, 244, 255, 0.22), inset 0 0 9px rgba(102, 244, 255, 0.1);
}

.card-copy { display: grid; gap: 0.48rem; padding: 0.85rem; }
.card-number { color: var(--cyan); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; }
.card-copy h3 { margin: 0; font-size: 1.03rem; line-height: 1.1; }
.community-offer-context { color: var(--offer-gold); font-size: 0.78rem; font-weight: 900; }
.community-listing-context { color: var(--offer-green); font-size: 0.78rem; font-weight: 900; }
.blue-stash-price-context { color: var(--offer-blue); font-size: 0.75rem; font-weight: 900; overflow-wrap: anywhere; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.card-tags span {
  padding: 0.2rem 0.38rem;
  border: 1px solid rgba(255, 213, 106, 0.2);
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.66rem;
}

.empty-state { padding: 4rem 1rem; color: var(--ink-soft); text-align: center; }

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(100%, 30rem);
  margin: 1.6rem auto 0;
}
.pagination button:first-child { justify-self: end; }
.pagination button:last-child { justify-self: start; }
.pagination span { color: var(--cyan); font-weight: 850; }
.pagination button:disabled { cursor: not-allowed; opacity: 0.38; }

.sealed-section, .promo-section { border-top: 1px solid var(--line); }
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.promo-grid .card-tile { max-width: 18rem; justify-self: center; }

.xrp-estimate-status { margin: -0.35rem 0 1rem; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.5; }
.sealed-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.25rem); }
.sealed-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 213, 106, 0.3);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 13, 7, 0.96), rgba(3, 3, 4, 0.98));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.05);
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sealed-product-card:hover,
.sealed-product-card:focus-visible { border-color: rgba(255, 232, 155, 0.82); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 213, 106, 0.13), inset 0 1px rgba(255, 255, 255, 0.08); }
.sealed-product-art { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: radial-gradient(circle, rgba(255, 213, 106, 0.1), transparent 68%), #050505; }
.sealed-product-copy { display: grid; align-content: start; gap: 0.5rem; padding: 1rem; }
.sealed-product-copy h3 { margin: 0; font-size: 1.05rem; line-height: 1.15; }
.sealed-product-copy p { margin: 0; color: var(--ink-soft); line-height: 1.45; }
.sealed-product-copy .sealed-usd-price { color: var(--gold-bright); font-size: 1.15rem; font-weight: 900; }
.sealed-product-copy .sealed-xrp-estimate { color: var(--cyan); font-weight: 800; }
.sealed-product-copy .sealed-pricing-note { color: var(--offer-green); font-weight: 800; }
.sealed-product-card.is-coming-soon { place-items: center; min-height: 18rem; border-style: dashed; }
.sealed-product-card.is-coming-soon .sealed-product-copy { place-items: center; text-align: center; }
.sealed-product-detail-price { color: var(--gold-bright); font-size: 1.35rem; font-weight: 900; }
.product-purchase-panel > p { line-height: 1.5; }
.product-purchase-panel .sealed-pricing-note { color: var(--offer-green); font-weight: 800; }

.card-dialog {
  width: min(92vw, 70rem);
  max-height: 90svh;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 213, 106, 0.5);
  border-radius: 24px;
  color: var(--gold-bright);
  background: #080603;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.72), 0 0 44px rgba(255, 213, 106, 0.12);
}
.card-dialog::backdrop { background: rgba(0, 0, 0, 0.84); backdrop-filter: blur(8px); }
.dialog-window { position: relative; max-height: 90svh; overflow: auto; padding: clamp(1rem, 3vw, 2rem); }
.dialog-close {
  position: sticky;
  z-index: 2;
  top: 0;
  float: right;
  min-width: 4.2rem;
  min-height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(5, 5, 5, 0.94);
}
.detail-layout { display: grid; grid-template-columns: minmax(15rem, 0.8fr) 1.2fr; gap: clamp(1.2rem, 4vw, 3rem); clear: both; }
.detail-image { width: 100%; max-height: 72svh; object-fit: contain; border-radius: 18px; }
.detail-copy { align-self: center; }
.detail-number { margin: 0 0 0.35rem; }
.detail-copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 4rem); line-height: 0.95; }
.detail-meta { color: var(--cyan); font-weight: 800; }
.detail-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem; margin-block: 1.3rem; }
.detail-stats div { padding: 0.7rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, 0.26); }
.detail-stats dt { color: var(--ink-soft); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.detail-stats dd { margin: 0.2rem 0 0; font-size: 1.1rem; font-weight: 900; }
.effect-panel { margin-top: 1rem; padding: 1rem; border-left: 2px solid var(--gold); background: rgba(255, 213, 106, 0.055); }
.offer-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(82, 191, 255, 0.56);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 76, 112, 0.3), rgba(3, 18, 29, 0.74));
  box-shadow: inset 0 0 22px rgba(82, 191, 255, 0.1), 0 0 16px rgba(82, 191, 255, 0.08);
}
.effect-panel h3, .offer-panel h3 { margin: 0 0 0.45rem; font-size: 0.73rem; letter-spacing: 0.12em; text-transform: uppercase; }
.effect-panel p, .offer-panel p { margin: 0; color: rgba(255, 248, 223, 0.86); line-height: 1.58; }
.offer-price { display: grid; gap: 0.5rem; margin-top: 0.65rem; }
.blue-stash-listing {
  display: grid;
  grid-template-columns: minmax(7.5rem, 1.1fr) minmax(7.5rem, 1fr) auto;
  gap: 0.35rem 0.7rem;
  align-items: baseline;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(82, 191, 255, 0.28);
  border-radius: 9px;
  color: rgba(255, 248, 223, 0.86);
  background: rgba(0, 0, 0, 0.2);
}
.blue-stash-listing__usd { color: #fff3bf; font-weight: 900; text-align: right; }
.blue-stash-listing__xrp { grid-column: 1 / -1; color: var(--cyan); font-size: 0.82rem; font-weight: 800; }
.offer-rate-status { margin-top: 0.55rem !important; color: var(--ink-soft) !important; font-size: 0.76rem; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.offer-actions a {
  display: inline-grid;
  place-items: center;
  padding-inline: 1rem;
  border-color: rgba(82, 191, 255, 0.68);
  color: #e9f8ff;
  background: rgba(15, 77, 116, 0.78);
  box-shadow: inset 0 1px 0 rgba(225, 247, 255, 0.18), 0 0 12px rgba(82, 191, 255, 0.15);
  font-weight: 900;
  text-decoration: none;
}
.offer-actions a:hover,
.offer-actions a:focus-visible { background: rgba(23, 102, 151, 0.92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 18px rgba(82, 191, 255, 0.28); }
.offer-actions a:active { transform: translateY(1px); background: rgba(11, 60, 93, 0.96); }

@media (max-width: 34rem) {
  .blue-stash-listing { grid-template-columns: 1fr auto; }
  .blue-stash-listing > span:nth-child(2) { grid-column: 1 / -1; }
}

.community-offers-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(114, 245, 154, 0.52);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(17, 72, 42, 0.32), rgba(3, 24, 13, 0.74));
  box-shadow: inset 0 0 22px rgba(114, 245, 154, 0.1), 0 0 16px rgba(114, 245, 154, 0.08);
}
.community-offers-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.community-offers-heading h3 { margin: 0.2rem 0 0; font-size: 1rem; letter-spacing: 0.12em; }
.community-offer-place,
.community-offer-form button {
  min-height: 2.7rem;
  padding-inline: 1rem;
  border: 1px solid rgba(114, 245, 154, 0.66);
  border-radius: 10px;
  color: #effff3;
  background: rgba(19, 91, 48, 0.78);
  box-shadow: inset 0 1px 0 rgba(232, 255, 239, 0.18), 0 0 12px rgba(114, 245, 154, 0.14);
  font-weight: 900;
}
.community-offer-place:hover,
.community-offer-place:focus-visible,
.community-offer-form button:hover,
.community-offer-form button:focus-visible { background: rgba(26, 121, 64, 0.94); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 18px rgba(114, 245, 154, 0.26); }
.community-offer-place:active,
.community-offer-form button:active { transform: translateY(1px); background: rgba(12, 70, 36, 0.96); }
.community-offers-boundary,
.community-offers-status {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}
.community-offers-status:focus { outline: none; }
.community-summary-status { margin: 0; color: var(--ink-soft); font-size: 0.78rem; }
.community-offers-list { display: grid; gap: 0.6rem; margin: 0.85rem 0 0; padding: 0; list-style: none; }
.community-offer-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.8rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 213, 106, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
}
.community-offer-amount { color: var(--offer-gold); font-weight: 900; }
.community-offer-contact { color: #b9ffce; font-weight: 800; text-decoration-thickness: 1px; }
.community-offer-expiry { grid-column: 1 / -1; color: var(--ink-soft); font-size: 0.76rem; }
.community-offer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1rem; }
.community-offer-form label { display: grid; gap: 0.35rem; color: var(--ink-soft); font-size: 0.78rem; font-weight: 800; }
.community-offer-form label:nth-child(3),
.community-offer-acknowledgement,
.community-offer-form-actions { grid-column: 1 / -1; }
.community-offer-form input,
.community-offer-form select { width: 100%; }
.community-offer-acknowledgement { grid-template-columns: auto 1fr !important; align-items: start; }
.community-offer-acknowledgement input { width: 1.1rem; min-height: 1.1rem; margin: 0.12rem 0 0; }
.community-offer-form-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.community-listings-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(114, 245, 154, 0.52);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(17, 72, 42, 0.32), rgba(3, 24, 13, 0.74));
  box-shadow: inset 0 0 22px rgba(114, 245, 154, 0.1), 0 0 16px rgba(114, 245, 154, 0.08);
}
.community-listings-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.community-listings-heading h3 { margin: 0.2rem 0 0; font-size: 1rem; letter-spacing: 0.12em; }
.community-listing-place,
.community-listing-form button {
  min-height: 2.7rem;
  padding-inline: 1rem;
  border: 1px solid rgba(114, 245, 154, 0.66);
  border-radius: 10px;
  color: #effff3;
  background: rgba(19, 91, 48, 0.78);
  font-weight: 900;
}
.community-listing-place:disabled { cursor: not-allowed; opacity: 0.58; }
.community-listings-boundary,
.community-listings-safety,
.community-listings-status { margin: 0.8rem 0 0; color: var(--ink-soft); font-size: 0.84rem; line-height: 1.5; }
.community-listings-status:focus { outline: none; }
.community-listings-list { display: grid; gap: 0.6rem; margin: 0.85rem 0 0; padding: 0; list-style: none; }
.community-listing-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.8rem;
  padding: 0.75rem;
  border: 1px solid rgba(114, 245, 154, 0.3);
  border-radius: 10px;
  background: rgba(3, 28, 13, 0.46);
}
.community-listing-amount,
.community-listing-edition { color: var(--offer-green); font-weight: 900; }
.community-listing-contact { color: #b9ffce; font-weight: 800; overflow-wrap: anywhere; }
.community-listing-expiry,
.community-listing-truth { grid-column: 1 / -1; color: var(--ink-soft); font-size: 0.76rem; line-height: 1.45; }
.community-listing-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1rem; }
.community-listing-form label { display: grid; gap: 0.35rem; color: var(--ink-soft); font-size: 0.78rem; font-weight: 800; }
.community-listing-form label:nth-child(4),
.community-listing-acknowledgement,
.community-listing-form-actions { grid-column: 1 / -1; }
.community-listing-form input,
.community-listing-form select { width: 100%; }
.community-listing-acknowledgement { grid-template-columns: auto 1fr !important; align-items: start; }
.community-listing-acknowledgement input { width: 1.1rem; min-height: 1.1rem; margin: 0.12rem 0 0; }
.community-listing-form-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

/* Gold is reserved for buyer intent; green remains seller-listing intent. */
.community-offers-panel {
  border-color: rgba(255, 213, 106, 0.54);
  background: linear-gradient(145deg, rgba(92, 61, 10, 0.3), rgba(28, 18, 3, 0.76));
  box-shadow: inset 0 0 22px rgba(255, 213, 106, 0.09), 0 0 16px rgba(255, 213, 106, 0.08);
}
.community-offer-place,
.community-offer-form button {
  border-color: rgba(255, 213, 106, 0.7);
  color: #fff8df;
  background: rgba(112, 74, 12, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.18), 0 0 12px rgba(255, 213, 106, 0.14);
}
.community-offer-place:hover,
.community-offer-place:focus-visible,
.community-offer-form button:hover,
.community-offer-form button:focus-visible { background: rgba(142, 96, 18, 0.92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 18px rgba(255, 213, 106, 0.26); }
.community-offer-amount { color: var(--offer-gold); }
.community-offer-contact { color: var(--gold-bright); }

@media (max-width: 70rem) {
  .catalog-controls { position: static; grid-template-columns: 1fr; }
  .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reset-button { justify-self: start; }
}

@media (max-width: 42rem) {
  .shop-header { gap: 0.8rem; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .sealed-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-copy { padding: 0.65rem; }
  .card-copy h3 { font-size: 0.88rem; }
  .promo-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-image { max-height: 52svh; }
  .community-listings-heading,
  .community-offers-heading { align-items: stretch; flex-direction: column; }
  .community-listing-form,
  .community-offer-form { grid-template-columns: 1fr; }
  .community-listing-form label,
  .community-listing-acknowledgement,
  .community-listing-form-actions,
  .community-offer-form label,
  .community-offer-acknowledgement,
  .community-offer-form-actions { grid-column: 1; }
}

@media (max-width: 25rem) {
  .shop-header, main { width: min(100% - 1rem, 90rem); }
  .filter-grid { grid-template-columns: 1fr; }
  .sealed-product-grid { grid-template-columns: 1fr; }
  .card-tags span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
