/* INVENTORY MODULE — EDIT ONLY FOR INVENTORY FEATURE WORK */
/* This file is intentionally scoped to the Inventory modal content area. */

.modal-scroll-body--inventory {
  gap: 0.72rem;
}

.inventory-toolbar {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.inventory-category-label {
  display: grid;
  gap: 0.35rem;
  color: rgba(255, 236, 170, 0.86);
  font-size: clamp(0.72rem, 2.35vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.inventory-category-select {
  width: 100%;
  min-height: 2.35rem;
  border: 1px solid rgba(255, 220, 115, 0.55);
  border-radius: 999px;
  background: rgba(5, 5, 8, 0.94);
  color: rgba(255, 248, 223, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 0 12px rgba(255, 220, 115, 0.12);
  font: inherit;
  letter-spacing: 0.05em;
  padding: 0.48rem 0.85rem;
  outline: none;
  color-scheme: dark;
}

.inventory-category-select option {
  background: #070708;
  color: #fff3c4;
}
.inventory-category-select:focus-visible {
  border-color: rgba(102, 244, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 2px rgba(102, 244, 255, 0.18),
    0 0 16px rgba(102, 244, 255, 0.16);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.34rem, 1.75vw, 0.48rem);
  width: 100%;
  min-width: 0;
}

.inventory-card {
  min-width: 0;
}

.trading-card-frame,
.trading-card-placeholder,
.inventory-card-visual {
  aspect-ratio: 5 / 7;
}

.trading-card-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.trading-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.inventory-card-visual {
  border: 1px solid rgba(255, 220, 115, 0.38);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 18%, rgba(102, 244, 255, 0.12), transparent 40%),
    linear-gradient(
      180deg,
      rgba(18, 14, 10, 0.88),
      rgba(4, 4, 8, 0.95)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 18px rgba(255, 220, 115, 0.035),
    0 0 10px rgba(255, 220, 115, 0.12);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.inventory-card-visual::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255, 220, 115, 0.18);
  border-radius: 7px;
  pointer-events: none;
}

.trading-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0.34rem;
}

.inventory-card-copy {
  display: grid;
  gap: 0.18rem;
  align-content: center;
  justify-items: center;
  min-width: 0;
}

.inventory-card-eyebrow {
  color: rgba(255, 220, 115, 0.88);
  font-size: clamp(0.48rem, 1.7vw, 0.62rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 220, 115, 0.18);
}

.inventory-card-label {
  color: rgba(102, 244, 255, 0.96);
  font-size: clamp(0.62rem, 2.15vw, 0.78rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(102, 244, 255, 0.18);
}

.inventory-card-status {
  color: rgba(255, 248, 210, 0.72);
  font-size: clamp(0.46rem, 1.6vw, 0.58rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* INVENTORY DETAIL POPUP SHELL — INVENTORY MODULE ONLY */
.inventory-card {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transform: translate3d(0, 0, 0);
  transition:
    transform 120ms ease,
    filter 120ms ease;
}

.inventory-card:focus-visible {
  outline: 2px solid rgba(102, 244, 255, 0.78);
  outline-offset: 3px;
  border-radius: 12px;
}

.inventory-card:hover .inventory-card-visual {
  border-color: rgba(255, 233, 150, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 18px rgba(255, 220, 115, 0.06),
    0 0 12px rgba(255, 220, 115, 0.18),
    0 0 14px rgba(102, 244, 255, 0.10);
}

.inventory-card:active {
  transform: translate3d(0, 2px, 0) scale(0.985);
  filter: brightness(0.92);
}

.inventory-detail-modal {
  width: min(86%, 330px);
  max-height: min(72svh, 520px);
}

.inventory-detail-title {
  font-size: clamp(1.55rem, 7.2vw, 2.05rem);
  line-height: 0.98;
}

.inventory-detail-scroll {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.82rem;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 0.18rem;
}

.inventory-detail-card-slot {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
  width: min(62%, 210px);
  margin: 0 auto 0.05rem;
  border: 1px solid rgba(255, 220, 115, 0.55);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 18%, rgba(102, 244, 255, 0.13), transparent 42%),
    linear-gradient(
      180deg,
      rgba(18, 13, 8, 0.92),
      rgba(3, 4, 9, 0.96)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 24px rgba(255, 220, 115, 0.04),
    0 0 18px rgba(255, 220, 115, 0.16),
    0 0 20px rgba(102, 244, 255, 0.12);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.18rem;
  text-align: center;
  color: rgba(255, 220, 115, 0.78);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inventory-detail-list,
.inventory-detail-notes,
.inventory-detail-action {
  position: relative;
  flex: 0 0 auto;
}

.inventory-detail-card-slot span,
.inventory-detail-card-slot strong {
  position: relative;
  z-index: 1;
  display: block;
}

.inventory-detail-card-slot span {
  font-size: clamp(0.7rem, 2.6vw, 0.86rem);
}

.inventory-detail-card-slot strong {
  color: rgba(102, 244, 255, 0.86);
  font-size: clamp(0.58rem, 2.2vw, 0.72rem);
  text-shadow: 0 0 10px rgba(102, 244, 255, 0.18);
}

.inventory-detail-list {
  display: grid;
  gap: 0.46rem;
  margin: 0;
}

.inventory-detail-row {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.48rem 0.58rem;
  border: 1px solid rgba(255, 220, 115, 0.20);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.inventory-detail-row dt {
  color: rgba(255, 220, 115, 0.82);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(0.62rem, 2.2vw, 0.72rem);
  letter-spacing: 0.06em;
}

.inventory-detail-row dd {
  margin: 0;
  color: rgba(255, 248, 223, 0.94);
  font-weight: 800;
  font-size: clamp(0.78rem, 2.7vw, 0.92rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.inventory-detail-row--price dd {
  color: rgba(102, 244, 255, 0.96);
  text-shadow: 0 0 10px rgba(102, 244, 255, 0.18);
}

.inventory-status-pill {
  display: inline-grid;
  place-items: center;
  min-height: 1.45rem;
  padding: 0.18rem 0.52rem;
  border: 1px solid rgba(255, 220, 115, 0.38);
  border-radius: 999px;
  color: rgba(255, 220, 115, 0.92);
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.72em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inventory-detail-notes {
  padding: 0.68rem 0.72rem;
  border: 1px solid rgba(102, 244, 255, 0.18);
  border-radius: 14px;
  color: rgba(255, 246, 210, 0.90);
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 10, 0.72),
      rgba(0, 0, 0, 0.42)
    );
  font-size: clamp(0.82rem, 2.75vw, 0.94rem);
  line-height: 1.38;
}

.inventory-detail-action {
  width: 100%;
  min-height: 2.4rem;
  border: 1px solid rgba(255, 220, 115, 0.36);
  border-radius: 999px;
  color: rgba(255, 220, 115, 0.74);
  background:
    linear-gradient(
      180deg,
      rgba(20, 16, 10, 0.78),
      rgba(4, 4, 8, 0.86)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 12px rgba(255, 220, 115, 0.08);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  cursor: not-allowed;
  opacity: 0.82;
}

@media (max-width: 380px) {
  .inventory-detail-modal {
    width: min(88%, 320px);
  }

  .inventory-detail-card-slot {
    width: min(58%, 180px);
  }

  .inventory-detail-row {
    grid-template-columns: 0.86fr 1.22fr;
    gap: 0.42rem;
    padding: 0.42rem 0.48rem;
  }
}


/* V2.1.3-E — Singles text data display and dropdown contrast */
.inventory-card-number {
  color: rgba(255, 220, 115, 0.92);
  font-size: clamp(0.52rem, 1.85vw, 0.66rem);
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 220, 115, 0.18);
}

.inventory-card-rarity {
  color: rgba(255, 248, 210, 0.78);
  font-size: clamp(0.48rem, 1.65vw, 0.58rem);
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.inventory-card-price {
  color: rgba(102, 244, 255, 0.9);
  font-size: clamp(0.42rem, 1.45vw, 0.54rem);
  font-weight: 850;
  line-height: 1.05;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-shadow: 0 0 8px rgba(102, 244, 255, 0.16);
}

.inventory-card-label {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* V2.1.3-F — Inventory grid thumbnail-first layout + Singles pagination */
.modal-scroll-body--inventory {
  gap: 0.42rem;
}

.inventory-toolbar {
  margin-bottom: 0.05rem;
}

.inventory-category-label {
  gap: 0.25rem;
  font-size: clamp(0.64rem, 2.1vw, 0.74rem);
}

.inventory-category-select {
  min-height: 2.05rem;
  padding: 0.34rem 0.78rem;
}

.inventory-grid {
  gap: clamp(0.26rem, 1.18vw, 0.36rem);
}

.inventory-card {
  display: grid;
  align-content: start;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.28rem 0.20rem 0.26rem;
  border: 1px solid rgba(255, 220, 115, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 10, 0.58),
      rgba(0, 0, 0, 0.32)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 0 8px rgba(255, 220, 115, 0.08);
}

.inventory-card-thumb {
  width: min(58%, 52px);
  margin: 0 auto;
  border: 1px solid rgba(255, 220, 115, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(102, 244, 255, 0.11), transparent 40%),
    linear-gradient(
      180deg,
      rgba(18, 14, 10, 0.88),
      rgba(4, 4, 8, 0.95)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 14px rgba(255, 220, 115, 0.035),
    0 0 8px rgba(255, 220, 115, 0.10);
}

.inventory-card-thumb-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.03rem;
  width: 100%;
  height: 100%;
  padding: 0.18rem;
  color: rgba(255, 220, 115, 0.70);
  font-size: clamp(0.34rem, 1.15vw, 0.42rem);
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
}

.inventory-card-thumb-placeholder strong {
  color: rgba(102, 244, 255, 0.76);
  font-size: 0.98em;
}

.inventory-card-caption {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
  text-align: center;
}

.inventory-card-number {
  font-size: clamp(0.43rem, 1.42vw, 0.54rem);
  line-height: 1;
}

.inventory-card-label {
  display: -webkit-box;
  min-height: 1.45em;
  overflow: hidden;
  color: rgba(255, 248, 223, 0.94);
  font-size: clamp(0.48rem, 1.62vw, 0.61rem);
  line-height: 0.92;
  text-transform: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

.inventory-card-price {
  color: rgba(102, 244, 255, 0.94);
  font-size: clamp(0.39rem, 1.32vw, 0.50rem);
  line-height: 0.98;
  white-space: nowrap;
}

.inventory-card-price-note {
  color: rgba(255, 220, 115, 0.72);
  font-size: clamp(0.36rem, 1.22vw, 0.46rem);
  font-weight: 850;
  letter-spacing: 0.045em;
  line-height: 0.96;
  text-transform: uppercase;
}

.inventory-card:hover {
  border-color: rgba(255, 233, 150, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 10px rgba(255, 220, 115, 0.12),
    0 0 12px rgba(102, 244, 255, 0.07);
}

.inventory-card:hover .inventory-card-thumb {
  border-color: rgba(255, 233, 150, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 14px rgba(255, 220, 115, 0.05),
    0 0 10px rgba(255, 220, 115, 0.15),
    0 0 10px rgba(102, 244, 255, 0.08);
}

.inventory-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.38rem;
  margin-top: 0.20rem;
}

.inventory-pagination[hidden] {
  display: none;
}

.inventory-page-button {
  min-height: 1.72rem;
  border: 1px solid rgba(255, 220, 115, 0.40);
  border-radius: 999px;
  color: rgba(255, 220, 115, 0.92);
  background:
    linear-gradient(
      180deg,
      rgba(20, 16, 10, 0.74),
      rgba(0, 0, 0, 0.62)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 0 9px rgba(255, 220, 115, 0.10);
  font-family: var(--font-display);
  font-size: clamp(0.55rem, 1.9vw, 0.66rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition:
    transform 120ms ease,
    filter 120ms ease,
    opacity 120ms ease;
}

.inventory-page-button:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
  filter: brightness(0.9);
}

.inventory-page-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  filter: saturate(0.72);
}

.inventory-page-indicator {
  min-width: 3.5rem;
  color: rgba(102, 244, 255, 0.94);
  font-family: var(--font-display);
  font-size: clamp(0.62rem, 2.1vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-align: center;
  text-shadow: 0 0 9px rgba(102, 244, 255, 0.18);
}

@media (max-width: 380px) {
  .inventory-card {
    padding: 0.24rem 0.16rem 0.22rem;
  }

  .inventory-card-thumb {
    width: min(54%, 46px);
  }

  .inventory-grid {
    gap: 0.22rem;
  }
}


/* INVENTORY FULL-SIZE IMAGE VIEWER — INVENTORY MODULE ONLY */
.inventory-detail-card-slot.has-image {
  cursor: zoom-in;
}

.inventory-detail-card-slot.has-image::after {
  content: "TAP TO VIEW";
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  z-index: 2;
  transform: translateX(-50%);
  padding: 0.18rem 0.45rem;
  border: 1px solid rgba(255, 220, 115, 0.38);
  border-radius: 999px;
  color: rgba(255, 242, 176, 0.92);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 0 10px rgba(255, 220, 115, 0.16);
  font-family: var(--font-display);
  font-size: clamp(0.42rem, 1.45vw, 0.54rem);
  font-weight: 900;
  letter-spacing: 0.07em;
  pointer-events: none;
  opacity: 0.84;
}

.inventory-detail-card-slot.has-image:focus-visible {
  outline: 2px solid rgba(102, 244, 255, 0.78);
  outline-offset: 3px;
}

.inventory-detail-card-slot img,
.inventory-image-viewer-card {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.inventory-image-viewer {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 0.55rem;
  padding: clamp(0.85rem, 4vw, 1.15rem);
  background:
    radial-gradient(circle at 50% 44%, rgba(102, 244, 255, 0.13), transparent 15rem),
    rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.inventory-image-viewer[aria-hidden="true"] {
  display: none;
}

.inventory-image-viewer-card {
  width: min(84%, 310px);
  max-width: 310px;
  max-height: 82%;
  aspect-ratio: 5 / 7;
  border: 1px solid rgba(255, 220, 115, 0.68);
  border-radius: 16px;
  background: rgba(2, 2, 4, 0.82);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 28px rgba(255, 220, 115, 0.34),
    0 0 34px rgba(102, 244, 255, 0.16),
    0 18px 46px rgba(0, 0, 0, 0.72);
}

.inventory-image-viewer-close {
  position: absolute;
  top: 0.78rem;
  right: 0.78rem;
  z-index: 2;
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 226, 132, 0.78);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(4, 4, 5, 0.78);
  box-shadow:
    0 0 14px rgba(255, 213, 106, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.inventory-image-viewer-close:focus-visible {
  outline: 2px solid rgba(102, 244, 255, 0.78);
  outline-offset: 2px;
}

.inventory-image-viewer-close:active {
  transform: translateY(1px) scale(0.96);
}

.inventory-image-viewer-hint {
  margin: 0;
  color: rgba(255, 236, 170, 0.82);
  font-size: clamp(0.7rem, 2.45vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 220, 115, 0.18);
}

/* INVENTORY PURCHASE / CONTACT POPUP — INVENTORY MODULE ONLY */
.inventory-detail-action {
  cursor: pointer;
  opacity: 1;
  color: rgba(255, 238, 166, 0.96);
  border-color: rgba(255, 220, 115, 0.62);
  background:
    linear-gradient(
      180deg,
      rgba(32, 24, 10, 0.92),
      rgba(7, 6, 5, 0.96)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 14px rgba(255, 220, 115, 0.18),
    0 0 18px rgba(102, 244, 255, 0.08);
}

.inventory-detail-action:hover {
  color: rgba(255, 248, 210, 1);
  border-color: rgba(255, 236, 156, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 18px rgba(255, 220, 115, 0.28),
    0 0 24px rgba(102, 244, 255, 0.12);
}

.inventory-detail-action:active {
  transform: translateY(2px) scale(0.98);
}

.inventory-contact-viewer {
  position: absolute;
  inset: 0;
  z-index: 72;
  display: grid;
  place-items: center;
  padding: clamp(0.85rem, 4vw, 1.1rem);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 220, 115, 0.12), transparent 14rem),
    rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.inventory-contact-viewer[aria-hidden="true"] {
  display: none;
}

.inventory-contact-window {
  position: relative;
  width: min(88%, 330px);
  max-height: min(78svh, 560px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.15rem 1rem 1rem;
  border: 1px solid rgba(255, 220, 115, 0.58);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(102, 244, 255, 0.11), transparent 9rem),
    linear-gradient(180deg, rgba(16, 13, 9, 0.96), rgba(3, 4, 8, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 22px rgba(255, 220, 115, 0.22),
    0 0 28px rgba(102, 244, 255, 0.12),
    0 18px 50px rgba(0, 0, 0, 0.72);
  text-align: center;
}

.inventory-contact-close {
  position: absolute;
  top: 0.62rem;
  right: 0.62rem;
  width: 2.18rem;
  height: 2.18rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 226, 132, 0.76);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(4, 4, 5, 0.78);
  box-shadow:
    0 0 14px rgba(255, 213, 106, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 1.42rem;
  line-height: 1;
  cursor: pointer;
}

.inventory-contact-title {
  margin-top: 0.12rem;
}

.inventory-contact-copy {
  margin: 0.65rem 0 0.9rem;
  color: rgba(255, 246, 215, 0.92);
  font-size: clamp(0.82rem, 2.75vw, 0.94rem);
  line-height: 1.38;
}

.inventory-contact-actions {
  display: grid;
  gap: 0.5rem;
}

.inventory-contact-button {
  display: grid;
  place-items: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 220, 115, 0.58);
  border-radius: 999px;
  color: rgba(255, 238, 166, 0.96);
  background:
    linear-gradient(180deg, rgba(28, 22, 11, 0.92), rgba(4, 4, 7, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 12px rgba(255, 220, 115, 0.16);
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 2.45vw, 0.86rem);
  font-weight: 900;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.inventory-contact-button:hover,
.inventory-contact-button:focus-visible {
  color: rgba(255, 249, 215, 1);
  border-color: rgba(102, 244, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 14px rgba(255, 220, 115, 0.22),
    0 0 18px rgba(102, 244, 255, 0.12);
}

.inventory-contact-button:active,
.inventory-contact-close:active {
  transform: translateY(1px) scale(0.98);
}

.inventory-contact-button--secondary {
  color: rgba(102, 244, 255, 0.94);
  border-color: rgba(102, 244, 255, 0.40);
}

.inventory-contact-status {
  min-height: 1.1rem;
  margin: 0.62rem 0 0;
  color: rgba(255, 220, 115, 0.94);
  font-size: clamp(0.72rem, 2.35vw, 0.84rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inventory-contact-message {
  margin: 0 0 0.85rem;
  padding: 0.62rem 0.68rem;
  border: 1px solid rgba(102, 244, 255, 0.22);
  border-radius: 14px;
  color: rgba(255, 248, 224, 0.92);
  background: rgba(0, 0, 0, 0.34);
  font-size: clamp(0.72rem, 2.35vw, 0.84rem);
  line-height: 1.34;
  overflow-wrap: anywhere;
  text-align: left;
}
