:root {
  --ink: #14110c;
  --paper: #efe6d4;
  --brass: #7dcea0;
  --brass-2: #1e8449;
  --stamp: #b42318;
  --moss: #2f4a38;
  --ok: #1f7a4d;
  --line: #cbbda0;
  --muted: #6d6454;
  --card: #f7f1e4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(1200px 600px at 10% -10%, #3a3328 0%, var(--ink) 45%);
  color: var(--paper);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' /%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)' /%3E%3C/svg%3E");
}

.top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #3a3328;
  position: sticky;
  top: 0;
  background: rgba(20, 17, 12, 0.92);
  z-index: 400;
  isolation: isolate;
  overflow: visible;
}

.offer-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem 0.45rem 1rem;
  background: #1f2a1c;
  border-bottom: 1px solid rgba(61, 255, 154, 0.28);
  color: #f4efe6;
  position: sticky;
  top: 5.1rem;
  z-index: 390;
}

.offer-banner[hidden] {
  display: none;
}

.offer-banner-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.offer-banner-thumbs {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 0.2rem;
  flex: 0 0 auto;
}

.offer-banner-thumbs img {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #14110c;
  background: #2a2620;
  margin-left: -0.45rem;
}

.offer-banner-thumbs img:first-child {
  margin-left: 0;
}

.offer-banner-count {
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #d13c32;
  color: #f4efe6;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35rem;
  text-align: center;
}

.offer-banner-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.05rem;
}

.offer-banner-copy strong {
  font-size: 0.92rem;
}

.offer-banner-copy span {
  font-size: 0.78rem;
  opacity: 0.78;
}

.offer-banner-close {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: none;
}

.offer-banner-close:hover {
  background: rgba(244, 239, 230, 0.12);
}

.mark {
  color: var(--brass);
  text-decoration: none;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  transform: scale(1);
  transform-origin: left center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.mark-logo {
  display: block;
  height: 3.1rem;
  width: auto;
  background: transparent;
  mix-blend-mode: normal;
  filter: none;
}

.mark-logo.on-light {
  filter: invert(1);
}

.home-mark {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.home-mark-logo {
  display: block;
  height: clamp(7.5rem, 22vw, 12rem);
  width: auto;
  margin: 0 auto;
  background: transparent;
  filter: none;
}

.home-mark-logo.on-light {
  filter: invert(1);
}

.home-mark:hover .home-mark-logo,
.home-mark:focus-visible .home-mark-logo,
.mark:hover .mark-logo,
.mark:focus-visible .mark-logo {
  transform: scale(1.04);
}

.home-mark-logo,
.mark-logo {
  transform-origin: center;
  transition: transform 0.3s ease, filter 0.25s ease;
}

.mark:hover,
.mark:focus-visible {
  transform: scale(1.06);
}

nav {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  position: relative;
  z-index: 3;
}

.top nav > a,
.top .nav-market-link,
.top .sybil-chip {
  transition: opacity 0.22s ease, transform 0.22s ease, letter-spacing 0.22s ease, color 0.22s ease;
}

.top nav > a:hover,
.top nav > a:focus-visible,
.top .nav-market-link:hover,
.top .nav-market-link:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  letter-spacing: 0.06em;
}

.top .sybil-chip:hover,
.top .sybil-chip:focus-visible {
  transform: translateY(-2px);
}

.top .wallet-adapter-button,
.top #wallet-adapter button {
  transition: transform 0.22s ease, filter 0.22s ease !important;
}

.top .wallet-adapter-button:hover,
.top #wallet-adapter button:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .mark,
  .top nav > a,
  .top .nav-market-link,
  .top .sybil-chip,
  .top .wallet-adapter-button {
    transition: none;
  }
  .mark:hover,
  .mark:focus-visible,
  .top nav > a:hover,
  .top .nav-market-link:hover,
  .top .sybil-chip:hover,
  .top .wallet-adapter-button:hover {
    transform: none;
  }
}

nav a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.8;
}

nav a:hover {
  opacity: 1;
}

.nav-market {
  position: relative;
  display: block;
  margin: 0;
  padding: 0 0 0.55rem;
  z-index: 1;
}

.nav-market:hover,
.nav-market:focus-within {
  z-index: 4;
}

.nav-market-link {
  display: block;
  margin: 0;
  padding: 0.2rem 0;
  line-height: 1;
  transform: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 1;
}

.mega {
  position: absolute;
  left: 0;
  top: calc(100% - 2px);
  z-index: 10001;
  isolation: isolate;
  width: min(36rem, 92vw);
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 10px 0 var(--brass);
  pointer-events: auto;
}

.nav-market:hover .mega {
  display: flex;
}

.nav-market:not(.nav-profile):focus-within .mega {
  display: flex;
}

.nav-profile .mega-slim {
  left: auto;
  right: 0;
}

.nav-vault .mega-slim {
  left: 0;
  right: auto;
  width: min(16rem, 92vw);
}

.mega-slim {
  width: auto;
  min-width: 12rem;
}

.inv-bar {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 1rem;
}

.inv-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 0.75rem;
}

.inv-head h1 {
  margin: 0;
}

.inv-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.inv-links-panel {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 2px solid rgba(203, 189, 160, 0.4);
  border-radius: 12px;
}

.profile-editor {
  padding: 1rem;
}

.profile-save-foot {
  margin-top: 1rem;
}

.profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.profile-name-row .kyc-reason {
  flex-basis: 100%;
  margin: 0;
}

.profile-save-btn {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.45rem 0.8rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: #1e6b45;
  color: #f7f1e4;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.kyc-pending {
  font-weight: 700;
  font-size: 0.9rem;
}

.kyc-reason {
  display: block;
  margin: 0 0 0.35rem;
}

.kyc-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: 22rem;
}

.kyc-threshold {
  display: block;
}

.profile-kyc-row {
  margin-top: 0.45rem;
  align-items: flex-start;
}

.profile-ident {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1rem;
}

.profile-symbol-edit {
  position: relative;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  color: inherit;
}

.profile-symbol-edit .profile-avatar,
.profile-symbol-edit .profile-avatar-ph {
  display: block;
  pointer-events: none;
}

.profile-symbol-edit-label {
  position: absolute;
  left: 50%;
  bottom: -0.2rem;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #1e8449;
  color: #f7f1e4;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  pointer-events: none;
}

.profile-edit-layer {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4.75rem 1rem 1.5rem;
  overflow: auto;
}

.profile-edit-layer[hidden] {
  display: none;
}

.profile-edit-scrim {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, 0.78);
  cursor: pointer;
}

.profile-edit-layer .profile-editor {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: calc(100vh - 5.5rem);
  overflow: auto;
  background: var(--card);
  color: var(--ink);
}

body.is-profile-editing {
  overflow: hidden;
}

body.is-profile-editing .top,
body.is-profile-editing .site-foot,
body.is-profile-editing .offer-banner,
body.is-profile-editing .follow-banner,
body.is-profile-editing .signup-accept-bar {
  pointer-events: none;
}

.profile-avatar,
.profile-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1712;
  border: 2px solid rgba(201, 162, 39, 0.55);
  flex-shrink: 0;
}

.profile-avatar-lg {
  width: 96px;
  height: 96px;
  margin-top: -2.4rem;
  position: relative;
}

.profile-avatar-ph {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #f7f1e4;
}

.profile-media-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0.6rem 0 1rem;
}

.profile-media-row img {
  max-height: 72px;
  border-radius: 8px;
}

.btn-follow {
  font-weight: 800;
}

.btn-follow.is-on {
  background: transparent;
}

.avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 0.35rem;
}

.listing-seller-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
}

.img-editor-sheet {
  max-width: 44rem;
}

.img-editor-canvas {
  width: 100%;
  max-height: 22rem;
  background: #0c1014;
  border-radius: 10px;
  cursor: grab;
  touch-action: none;
}

.img-editor-canvas:active {
  cursor: grabbing;
}

.img-editor-live-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.img-editor-live-row[hidden] {
  display: none;
}

.img-editor-live-bubble {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

#img-editor-filter-row[hidden] {
  display: none;
}

.follow-banner {
  top: auto;
}

.live-follow-chip {
  align-self: end;
  margin-bottom: 0.15rem;
}

.links-steam-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 0.75rem 0;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: #171a21;
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.links-steam-frame {
  flex: 0 0 3.4rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0e1116;
  border: 2px solid #3d4450;
}

.links-steam-logo {
  width: 82%;
  height: 82%;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.22s ease;
}

.links-steam-label {
  flex: 1;
  text-align: left;
}

.links-steam-btn:hover,
.links-steam-btn:focus-visible {
  background: #2a475e;
  box-shadow: inset 0 0 0 2px #66c0f4, 0 0 22px rgba(102, 192, 244, 0.35);
  outline: none;
}

.links-steam-btn:hover .links-steam-logo,
.links-steam-btn:focus-visible .links-steam-logo {
  transform: scale(1.1);
}

.profile-editor h2 {
  margin: 0 0 0.5rem;
}

.profile-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.45rem 0;
  cursor: pointer;
}

.profile-toggle span:last-child {
  margin-left: auto;
  font-size: 0.85rem;
}

.inv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}

.inv-tab {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  border: 2px solid transparent;
  padding: 0.35rem 0.7rem;
}

.inv-tab.on {
  opacity: 1;
  border-color: currentColor;
}

.inv-section {
  margin: 0 0 2.25rem;
}

.desk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.desk-table th,
.desk-table td {
  text-align: left;
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--line);
}

.card ul {
  line-height: 1.55;
  padding-left: 1.2rem;
}

.inv-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #ddd;
  margin: 0 0 0.6rem;
}

.banner.ok {
  background: #1b3d2f;
  border: 1px solid #3d8b62;
}

.typeahead {
  display: grid;
  gap: 2px;
  margin-top: 0.35rem;
  max-height: 14rem;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.typeahead[hidden] {
  display: none;
}

.typeahead-item,
.typeahead-new {
  text-align: left;
  width: 100%;
  box-shadow: none;
  background: #fffdf8;
  color: var(--ink);
  font-weight: 600;
}

.typeahead-new {
  border-bottom: 1px solid var(--line);
}

.qr-canvas {
  display: block;
  width: min(100%, 320px);
  height: auto;
  background: #fff;
  padding: 0.5rem;
}

.r2d-preview {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  background: #ddd;
}

@media print {
  .lily-wash,
  .star-wash,
  .grain,
  .top,
  .site-foot,
  .no-print,
  .wallet,
  nav {
    display: none !important;
  }
  html,
  body {
    background: #fff !important;
    color: #111 !important;
  }
  .print-sticker {
    box-shadow: none;
    break-inside: avoid;
  }
}

.mega-search {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mega-search input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--ink);
}

.mega-featured,
.mega-full {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.mega-cat {
  display: block;
  padding: 0.85rem 0.6rem;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink) !important;
  opacity: 1 !important;
  background: #fffdf8;
  border: 2px solid var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
}

.mega-cat:hover,
.mega-cat:focus,
.mega-cat:focus-visible {
  background: #e8d9a8;
  transform: translateY(-1px);
}

.mega-all {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 100%;
}

.mega-full[hidden] {
  display: none;
}

.fulfill {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.35rem 0 0.6rem;
}

.fulfill label {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-weight: 600;
}

.dist {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
  margin: 0.4rem 0;
}

.dist.far {
  color: var(--stamp);
}

.wallet {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wallet select {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--brass-2);
  padding: 0.35rem 0.5rem;
}

#wallet-adapter[hidden],
body.nonm-wallet-ui-off #wallet-adapter {
  display: none !important;
}

.create-account-wrap[hidden] {
  display: none !important;
}

.wallet-adapter-button {
  font-family: ui-monospace, Consolas, monospace !important;
  font-size: 0.78rem !important;
  height: 2.2rem !important;
  border-radius: 2px !important;
}

.wallet-adapter-modal,
.wallet-adapter-modal-overlay {
  z-index: 40000 !important;
}

.wallet-adapter-modal-wrapper {
  z-index: 40001 !important;
}

.bal {
  color: var(--brass);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lede {
  max-width: 42rem;
  color: #d8ccb4;
  line-height: 1.5;
}

.home-hero {
  text-align: center;
  padding: 1.25rem 0 1.75rem;
}

.home-kicker {
  margin: 0 0 0.35rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--brass);
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
}

.home-tagline {
  margin: 0.7rem auto 0;
  font-size: 1.15rem;
}

.home-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.home-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(12, 18, 24, 0.28);
  transform: scale(1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-tile-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-tile-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: transform 0.45s ease;
  animation: home-crossfade 15s ease-in-out infinite;
  animation-delay: calc(var(--home-stagger, 0s) + var(--home-slide, 0s));
}

.home-tile-media img:nth-child(1) {
  --home-slide: 0s;
  opacity: 1;
}

.home-tile-media img:nth-child(2) {
  --home-slide: -5s;
}

.home-tile-media img:nth-child(3) {
  --home-slide: -10s;
}

.home-tile:hover .home-tile-media img,
.home-tile:focus-visible .home-tile-media img {
  animation-play-state: paused;
  transform: scale(1.08);
}

@keyframes home-crossfade {
  0%,
  26.666% {
    opacity: 1;
  }
  33.333%,
  93.333% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-tile-media img {
    animation: none;
    opacity: 0;
  }
  .home-tile-media img:nth-child(1) {
    opacity: 1;
  }
}

.home-tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 2.2rem 0.75rem 0.7rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, transparent, rgba(12, 16, 22, 0.82));
}

.home-tile:hover,
.home-tile:focus-visible {
  transform: scale(1.035);
  box-shadow: 0 16px 36px rgba(12, 18, 24, 0.4);
  z-index: 2;
}

@media (max-width: 900px) {
  .home-cats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .home-cats {
    grid-template-columns: 1fr;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  align-items: start;
}

.listing-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  height: auto;
  display: block;
  overflow: hidden;
  background: #1a1814;
  color: #f4efe6;
  border-radius: 8px;
  border: 1px solid rgba(203, 189, 160, 0.55);
  box-shadow: none;
  isolation: isolate;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.listing-tile:hover,
.listing-tile:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 16px 28px rgba(10, 12, 16, 0.38);
  z-index: 2;
}

.listing-tile-shot {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.listing-tile-shot img,
.listing-tile-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 300ms ease-in;
}

.listing-tile:hover .listing-tile-shot img,
.listing-tile:hover .listing-tile-ph,
.listing-tile:focus-within .listing-tile-shot img,
.listing-tile:focus-within .listing-tile-ph {
  transform: scale(1.05);
}

.listing-tile.steam-item:not(.sol-nft-card) .listing-tile-shot img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% - 1.5rem);
  height: calc(100% - 1.5rem);
  object-fit: contain;
  object-position: center center;
  transform: translate(-50%, -50%) scale(1);
}

.listing-tile.steam-item:not(.sol-nft-card):hover .listing-tile-shot img,
.listing-tile.steam-item:not(.sol-nft-card):focus-within .listing-tile-shot img {
  transform: translate(-50%, -50%) scale(1.05);
}

.listing-tile-ph {
  background: #2a2620;
}

.listing-tile-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 0.55rem 0.65rem 1.5rem;
  background: linear-gradient(180deg, rgba(12, 16, 22, 0.88) 0%, rgba(12, 16, 22, 0.35) 62%, transparent 100%);
  color: #f4efe6;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.listing-tile-price {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 4;
  width: fit-content;
  max-width: calc(100% - 1.1rem);
  background: rgba(247, 241, 228, 0.94);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  pointer-events: none;
}

.listing-tile-floor {
  z-index: 6;
  opacity: 0;
  transition: opacity 200ms ease;
}

.listing-tile:hover .listing-tile-floor,
.listing-tile:focus-within .listing-tile-floor {
  opacity: 1;
}

.floor-price {
  border: 1px solid #5a5144;
  padding: 0.75rem 1rem 1rem;
  margin: 0.6rem 0 1rem;
}

.floor-price legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.floor-price-row {
  align-items: flex-end;
}

.price-estimate {
  border: 1px dashed #5a5144;
  padding: 0.75rem 1rem 1rem;
  margin: 0.4rem 0 1rem;
}

.price-estimate h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.price-estimate #price-estimate-range {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.05rem;
}

.similar-hit {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.similar-score {
  margin: 0;
  font-size: 0.78rem;
}

.listing-similar {
  margin-top: 1.5rem;
}

.listing-tile-body {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.15rem;
  opacity: 0;
  overflow: hidden;
  padding: 3.1rem 0.75rem 3rem;
  background: linear-gradient(180deg, transparent 18%, rgba(12, 16, 22, 0.82) 58%);
  color: #f4efe6;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.listing-tile:hover .listing-tile-body,
.listing-tile:focus-within .listing-tile-body {
  opacity: 1;
}

.listing-tile-body h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  line-height: 1.2;
  color: inherit;
}

.listing-tile-meta {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(244, 239, 230, 0.78);
}

.listing-tile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  pointer-events: auto;
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 6;
  opacity: 0;
  transition: opacity 200ms ease;
}

.listing-tile:hover .listing-tile-actions,
.listing-tile:focus-within .listing-tile-actions {
  opacity: 1;
}

.listing-tile-actions .btn,
.listing-tile-actions a.btn,
.listing-tile-actions button {
  font-size: 0.72rem;
  padding: 0.28rem 0.55rem;
  margin: 0;
}

.listing-tile-mini {
  max-width: none;
}

.listing-tile-mini .listing-tile-body h3 {
  font-size: 0.85rem;
}

.listing-stage {
  animation: listing-in 0.45s ease both;
}

@keyframes listing-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.listing-back {
  margin: 0 0 0.75rem;
}

.listing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
}

.listing-hero-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 8px 10px 0 #0a0907;
  background: var(--card);
  aspect-ratio: 1 / 1;
  max-height: min(56vh, 32rem);
  width: 100%;
}

.listing-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 420ms ease;
}

.listing-hero-frame:hover img {
  transform: scale(1.045);
}

.listing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 0.35rem;
}

.listing-act,
.btn-buy,
.btn-offer {
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.listing-act:hover,
.btn-buy:hover,
.btn-offer:hover,
.btn-recounter:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.listing-act {
  border: 0;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 1.05rem;
  cursor: pointer;
  border-radius: 6px;
}

.btn-buy {
  background: var(--ok, #1f7a4d);
  color: #f4efe6;
  box-shadow: 3px 3px 0 #0f3d26;
}

.btn-offer {
  background: #c9a227;
  color: #1a1408;
  box-shadow: 3px 3px 0 #7a6414;
}

.listing-hero-actions .btn-recounter {
  padding: 0.65rem 1.05rem;
  border: 0;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 6px;
}

.listing-act.is-on {
  outline: 2px solid rgba(244, 239, 230, 0.85);
  outline-offset: 2px;
}

.listing-panel {
  margin-top: 0.65rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 240ms ease, opacity 240ms ease;
  background: var(--card);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: 5px 6px 0 #0a0907;
}

.listing-panel.is-open {
  max-height: min(72vh, 52rem);
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.listing-pane {
  padding: 0.9rem 1rem 1rem;
}

.listing-pane h3 {
  margin: 0 0 0.4rem;
}

.listing-pane-price {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.listing-pane-form {
  display: grid;
  gap: 0.45rem;
}

.offer-collateral {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.offer-collateral input {
  flex: 1;
  min-width: 0;
}

.offer-collateral-tick {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.offer-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.offer-primary-btn,
.offer-collateral-open,
.btn-bid {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 160ms ease, filter 160ms ease;
}

.offer-primary-btn {
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
  background: #c9a227;
  color: #1a1408;
  box-shadow: 3px 3px 0 #7a6414;
}

.offer-primary-btn[data-open-stage="collection"] {
  background: var(--ok, #1f7a4d);
  color: #f4efe6;
  box-shadow: 3px 3px 0 #0f3d26;
}

.offer-primary-btn:hover,
.offer-collateral-open:hover,
.btn-bid:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.offer-primary-btn.is-on,
.offer-collateral-open.is-on {
  outline: 2px solid rgba(20, 17, 12, 0.45);
  outline-offset: 2px;
}

.offer-stage {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 220ms ease, opacity 220ms ease, margin 220ms ease;
}

.offer-stage.is-open {
  max-height: 36rem;
  opacity: 1;
  overflow: auto;
  pointer-events: auto;
  margin: 0.2rem 0 0.35rem;
}

.offer-collateral-open {
  width: 100%;
  text-align: left;
  background: transparent;
  color: inherit;
  border: 1px dashed rgba(20, 17, 12, 0.28);
  padding: 0.5rem 0.65rem;
}

.offer-optional {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-left: 0.35rem;
}

.offer-collateral-skip,
.offer-collat-explain {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.88rem;
}

.btn-bid {
  background: #1a3a6b;
  color: #f4efe6;
  box-shadow: 3px 3px 0 #0c1c36;
  padding: 0.6rem 0.95rem;
}

.bid-clock {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.2rem 0 0.45rem;
}

.bid-high {
  outline: 1px solid #1f7a4d;
  outline-offset: 3px;
}

.offer-extra-open {
  width: 100%;
  text-align: left;
  background: #c9a227;
  color: #1a1408;
  border: 0;
  font-family: inherit;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #7a6414;
  transition: transform 160ms ease, filter 160ms ease;
}

.offer-extra-open:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.offer-extra-picker {
  margin-top: 0.45rem;
  padding: 0;
  background: #efe6d4;
  border-radius: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 220ms ease, opacity 220ms ease, padding 220ms ease;
}

.offer-extra-picker.is-open {
  max-height: 22rem;
  opacity: 1;
  overflow: auto;
  pointer-events: auto;
  padding: 0.65rem 0.7rem 0.75rem;
}

.offer-token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.4rem;
  margin: 0.4rem 0 0.55rem;
}

.offer-token {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 0.55rem;
  background: #f7f1e4;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 2px 3px 0 #0a0907;
  transition: transform 140ms ease;
}

.offer-token:hover {
  transform: translateY(-1px);
}

.offer-token.is-on {
  outline: 2px solid #1f7a4d;
  outline-offset: 1px;
}

.offer-token span {
  font-size: 0.75rem;
  color: var(--muted);
}

.offer-collection-label {
  margin: 0.35rem 0 0.35rem;
  font-weight: 700;
}

.offer-nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.55rem;
  padding: 0.35rem 0.2rem 0.55rem;
}

.offer-nft-hint {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
}

.offer-nft {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
  border: 3px solid transparent;
  background: #f7f1e4;
  color: inherit;
  font-family: inherit;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 3px 4px 0 #0a0907;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.offer-nft img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.offer-nft span {
  padding: 0 0.4rem 0.45rem;
  font-size: 0.72rem;
  line-height: 1.2;
}

.offer-nft:hover {
  transform: translateY(-2px);
}

.offer-nft.is-on {
  border-color: #3dff9a;
  outline: 3px solid #1f7a4d;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #0a0907, 0 0 20px 3px rgba(61, 255, 154, 0.7), 3px 4px 0 #0a0907;
  transform: translateY(-2px);
}

.offer-nft.is-on::after {
  content: "✓";
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #1f7a4d;
  color: #f4efe6;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45rem;
  text-align: center;
  box-shadow: 0 0 0 2px #0a0907;
}

.listing-hero-copy {
  background: linear-gradient(165deg, rgba(247, 241, 228, 0.12), rgba(20, 17, 12, 0.15));
  border: 1px solid rgba(203, 189, 160, 0.28);
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1.3rem;
}

.listing-hero-copy h1 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.listing-kicker {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--dawn-gold, #e8c98a);
}

.listing-seller {
  margin: 0 0 0.7rem;
}

.listing-desc {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.listing-collat-want {
  margin: 0.35rem 0 0.25rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.listing-collat-want strong {
  font-size: 1.35rem;
}

.listing-offers-mini {
  margin-top: 1.1rem;
}

.listing-offers-mini h2,
.listing-more h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.listing-more {
  margin-top: 1.75rem;
}

.listing-more-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.listing-owner-note {
  margin: 0.75rem 0 0.4rem;
}

@media (max-width: 860px) {
  .listing-hero {
    grid-template-columns: 1fr;
  }
  .listing-hero-frame {
    max-height: 22rem;
  }
}

.card {
  background: var(--card);
  color: var(--ink);
  border-radius: 4px;
  padding: 1rem;
  box-shadow: 6px 8px 0 #0a0907;
}

.card h3 {
  margin: 0 0 0.35rem;
}

.tag {
  display: inline-block;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--brass-2);
  padding: 0.15rem 0.4rem;
  margin-bottom: 0.6rem;
}

.tag.barter {
  background: #e8d9a8;
}

.tag.either {
  background: #d5e0f0;
}

.tag.disputed {
  background: #f3c4be;
  border-color: var(--stamp);
  color: var(--stamp);
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

button,
.btn {
  font-family: inherit;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--brass);
}

button.ghost,
.ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  box-shadow: none;
}

button.danger {
  background: var(--stamp);
  box-shadow: 3px 3px 0 #4a100c;
}

button.btn-accept,
.btn-accept {
  background: var(--ok, #1f7a4d);
  color: #f4efe6;
  box-shadow: 3px 3px 0 #0f3d26;
}

button.btn-decline,
.btn-decline {
  background: var(--stamp, #b42318);
  color: #f4efe6;
  box-shadow: 3px 3px 0 #4a100c;
}

button.btn-recounter,
.btn-recounter {
  background: #c9a227;
  color: #1a1408;
  box-shadow: 3px 3px 0 #7a6414;
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.75rem;
}

button.cat-chip,
.cat-chip {
  font-size: 0.85rem;
  padding: 0.25rem 0.55rem;
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  box-shadow: none;
  display: inline-block;
  text-decoration: none;
}

.inbox-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 1rem;
}

.inbox-tabs .cat-chip {
  text-decoration: none;
}

.inbox-tabs .cat-chip.is-on,
.live-filters .cat-chip.is-on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.offer-pair {
  margin: 0 0 1.35rem;
}

.offer-pair-stage {
  display: grid;
  grid-template-columns: minmax(8.5rem, 1fr) auto minmax(8.5rem, 1fr);
  gap: 0.65rem 0.85rem;
  align-items: center;
}

.offer-pair-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 4.25rem;
  text-align: center;
}

.offer-pair-cash {
  margin: 0 0 0.08rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.offer-pair-cash.is-plus {
  color: #2e9a5c;
}

.offer-pair-cash.is-minus {
  color: #d13c32;
}

.offer-pair-cash.is-zero {
  color: var(--muted, #8a8172);
}

.offer-pair-arrows {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 0.95;
  color: inherit;
}

.offer-pair-actions,
.offer-actions {
  margin-top: 0.65rem;
}

@media (max-width: 640px) {
  .offer-pair-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .offer-pair-tile {
    width: min(14rem, 100%);
  }
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

label.file {
  cursor: pointer;
  border: 1px dashed var(--line);
  padding: 0.4rem 0.7rem;
  color: var(--ink);
}

label.file input {
  display: none;
}

.form {
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
}

input,
textarea,
select.field {
  width: 100%;
  padding: 0.55rem;
  border: 1px solid var(--line);
  background: #fffdf8;
  font: inherit;
  color: var(--ink);
}

.math {
  font-family: ui-monospace, Consolas, monospace;
  background: #1b1813;
  color: #e8d9a8;
  padding: 0.9rem;
  border-left: 3px solid var(--brass);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin: 1rem 0;
}

.step {
  padding: 0.45rem;
  background: #2a241c;
  font-size: 0.75rem;
  text-align: center;
}

.step.on {
  background: var(--moss);
}

.step.bad {
  background: var(--stamp);
}

.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.proof img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  background: #ddd;
}

.hash {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.7rem;
  word-break: break-all;
}

.status {
  font-family: ui-monospace, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status.disputed {
  color: #ffb4ab;
}

.listed-flag {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--brass, #c9a227);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

dialog:not([open]) {
  display: none;
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
}

#terms-dlg {
  max-width: min(32rem, calc(100vw - 2rem));
}

#terms-dlg::backdrop {
  background: rgba(10, 12, 16, 0.72);
}

.signup-accept-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 1.15rem;
  background: #2a2114;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  color: #f7f1e4;
  position: sticky;
  top: 5.1rem;
  z-index: 400;
}

.signup-accept-bar[hidden] {
  display: none;
}

.live-stage {
  position: relative;
  width: 100%;
  max-width: 52rem;
  margin: 0.6rem 0 0.8rem;
}

.live-stage .live-video {
  margin: 0;
  max-width: none;
}

.live-mod-curtain {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  background: rgba(8, 7, 5, 0.82);
  color: #f7f1e4;
  border-radius: 12px;
}

.live-mod-curtain[hidden] {
  display: none;
}

.live-report {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
}

.live-report-form {
  position: absolute;
  top: 2.6rem;
  right: 0.65rem;
  z-index: 3;
  min-width: 14rem;
  padding: 0.65rem;
  background: rgba(12, 16, 20, 0.94);
  color: #f7f1e4;
  border-radius: 8px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.sheet {
  background: var(--card);
  color: var(--ink);
  padding: 1rem;
  max-width: 420px;
}

video {
  width: 100%;
  background: #111;
}

.err {
  color: var(--stamp);
}

.banner {
  background: #3a1410;
  border: 1px solid var(--stamp);
  padding: 0.8rem 1rem;
  margin: 0.8rem 0;
}

.mint-lock {
  position: fixed;
  inset: 0;
  z-index: 60000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(12, 16, 22, 0.72);
  pointer-events: all;
}

.mint-lock[hidden] {
  display: none;
}

.mint-lock-panel {
  width: min(28rem, 100%);
  padding: 1.25rem 1.15rem;
  background: #f7f3ea;
  color: #1a1612;
  border: 1px solid #cbbda0;
}

.mint-lock-panel p {
  margin: 0;
  line-height: 1.45;
}

.store-warn {
  background: #3a3018;
  border-color: var(--brass);
  color: #f3e6c0;
}

.empty {
  padding: 2rem;
  border: 1px dashed #5a5144;
}

.phantom-callback,
.nonm-wallet-overlay {
  position: fixed;
  inset: 0;
  z-index: 50000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(12, 16, 22, 0.55);
}

.nonm-wallet-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 1.35rem 1.25rem 1rem;
  background: #f7f3ea;
  color: #1a1408;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.nonm-wallet-panel h3 {
  margin: 0 1.5rem 0.4rem 0;
  font-size: 1.15rem;
}

.nonm-wallet-lede,
.nonm-wallet-or,
.nonm-wallet-foot,
.nonm-wallet-pk {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #5a5144;
}

.nonm-wallet-or {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nonm-wallet-opt {
  display: block;
  width: 100%;
  margin: 0 0 0.5rem;
  text-align: left;
  background: #fff;
  color: #1a1408;
  box-shadow: none;
  border: 1px solid #d9d0c0;
}

.nonm-wallet-phantom {
  background: #aba0f2;
  border-color: #8b7fe0;
}

.nonm-wallet-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: transparent;
  color: #1a1408;
  box-shadow: none;
  font-size: 1.25rem;
}

.nonm-wallet-err {
  color: var(--stamp, #b42318);
  font-size: 0.82rem;
}

.nonm-connect-btn {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
}

#wallet-adapter .phantom-connect-button,
#wallet-adapter button {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
}

.site-foot {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin-bottom: 0.65rem;
}

.foot-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.foot-links a:hover {
  color: var(--brass);
}

.terms-agree {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 42rem;
  color: inherit;
}

.terms-agree input {
  width: auto;
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.terms-agree span {
  flex: 1 1 auto;
  min-width: 0;
}

.terms-sheet {
  max-width: 28rem;
}

.legal {
  max-width: 42rem;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 1.4rem 0 0.45rem;
}

.faq {
  margin: 0.65rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.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;
}

.market-page {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.market-region-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.market-places {
  width: 100%;
  max-width: 28rem;
}

.places-box {
  position: relative;
  width: 100%;
}

.places-input {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 241, 228, 0.92);
  color: var(--ink);
}

.places-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 60000;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: #fbf6ea;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 17, 12, 0.18);
  max-height: 16rem;
  overflow: auto;
}

.places-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.places-suggest-item:hover {
  background: rgba(125, 206, 160, 0.22);
}

.pac-container {
  z-index: 60000 !important;
  font-family: inherit;
}

.market-region {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.market-region a {
  color: inherit;
}

.market-search input {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(247, 241, 228, 0.92);
  color: var(--ink);
}

.market-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: end;
}

.market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.market-chip {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  box-shadow: none;
  font-size: 0.82rem;
}

.market-chip.is-on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.market-filter-field {
  font-size: 0.78rem;
  color: var(--muted);
}

.market-filter-field select {
  display: block;
  margin-top: 0.25rem;
  min-width: 9rem;
}

.filters label {
  font-size: 0.8rem;
  color: #d8ccb4;
}

.filters select,
.filters input {
  display: block;
  margin-top: 0.25rem;
  min-width: 10rem;
}

.offer {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}

.treasury-line {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
}

.gas-chip {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--brass);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lvl-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
  display: grid;
  gap: 0.45rem;
}

.lvl {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
}

.lvl.on {
  border-color: var(--brass-2);
  box-shadow: 3px 3px 0 var(--brass);
}

.lvl span {
  display: block;
  font-size: 0.85rem;
}

.store-hero {
  min-height: 180px;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--store-accent, var(--brass));
  margin: 0 0 1rem;
}

.store-hero-inner {
  padding: 1.5rem 1rem 2.2rem;
  background: linear-gradient(180deg, rgba(12, 16, 20, 0.15), rgba(12, 16, 20, 0.55));
  color: #f7f1e4;
}

.store-ident {
  display: flex;
  gap: 0.85rem;
  align-items: flex-end;
}

.store-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.storefront .btn,
.storefront button[type="submit"] {
  box-shadow: 3px 3px 0 var(--store-accent, var(--brass));
}

.storefront input[type="color"] {
  height: 2.2rem;
  padding: 0.15rem;
  max-width: 6rem;
}

.quote-break {
  margin: 0.85rem 0;
  padding: 0.75rem;
  background: #efe6d4;
  color: var(--ink);
}

.quote-break p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.25rem 0;
}

.meter {
  height: 12px;
  background: #2a241c;
  margin: 0.8rem 0;
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--brass);
}
.twap {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 88px;
  margin: 0.8rem 0;
}
.twap i {
  flex: 1;
  display: block;
  background: var(--brass-2);
  min-width: 6px;
}

.card label {
  display: block;
  font-size: 0.85rem;
}

.card label input {
  display: block;
  margin-top: 0.35rem;
}

.card label.file input {
  display: none;
}

.fulfill label {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-weight: 600;
}

.fulfill label input {
  display: inline-block;
  width: auto;
  margin: 0;
}

.card .row {
  margin-top: 0.85rem;
}

@media (max-width: 720px) {
  .top {
    flex-wrap: wrap;
  }
  .wallet {
    margin-left: 0;
    width: 100%;
  }
  .proof,
  .steps {
    grid-template-columns: 1fr;
  }
}

.sybil-chip {
  display: inline-block;
  text-decoration: none;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--paper);
  white-space: nowrap;
}
.sybil-chip[hidden] {
  display: none;
}
.sybil-chip.pass {
  border-color: var(--ok);
  color: #b7e4c7;
}
.sybil-chip.flag {
  border-color: var(--stamp);
  color: #ffb4ab;
}
.sybil-chip.review {
  border-color: var(--brass);
  color: #e8d9a8;
}

.jup-card {
  max-width: 36rem;
}

.jup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.jup-field {
  display: block;
  font-size: 0.85rem;
}

.jup-field input {
  width: 100%;
}

.jup-token {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.35rem;
  text-align: left;
}

.jup-token .jup-bal,
.jup-search .jup-bal {
  margin-left: auto;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}

.jup-token img {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 99px;
}

.jup-search {
  position: relative;
  z-index: 5;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 0.5rem;
}

.jup-search ul {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  max-height: 12rem;
  overflow: auto;
}

.jup-search li button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  box-shadow: none;
}

.jup-rate {
  margin: 0.75rem 0;
}

.intel-matches {
  display: grid;
  gap: 0.4rem;
  margin: 0.35rem 0 0.6rem;
}

.intel-match {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
  border: 0;
  background: #efe6d4;
  color: inherit;
  font-family: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 2px 3px 0 #0a0907;
}

.intel-match span {
  font-size: 0.78rem;
  color: var(--muted);
}

.intel-price {
  margin: 0.55rem 0 0.7rem;
  padding: 0.7rem 0.75rem;
  background: rgba(247, 241, 228, 0.12);
  border: 1px solid rgba(203, 189, 160, 0.3);
  border-radius: 10px;
}

.listing-hero-copy .intel-price,
.listing-pane .intel-price {
  color: inherit;
}

.intel-price-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intel-price-market {
  margin: 0.2rem 0 0.15rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.intel-bands,
.intel-sales,
.intel-stamp,
.intel-note {
  margin: 0.15rem 0;
  font-size: 0.85rem;
}

.intel-chart {
  display: block;
  width: 100%;
  max-width: 16rem;
  height: 3rem;
  margin: 0.35rem 0;
}

.legal-disclaimer {
  margin: 0.8rem 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(203, 189, 160, 0.35);
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.listing-report-row {
  margin: 0.4rem 0 0.6rem;
}

.steam-panel.inv-section {
  margin-top: 0.5rem;
}

.steam-game.card {
  margin: 0 0 1.1rem;
  padding: 0;
}

.steam-game > summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem;
  font-family: inherit;
  font-size: 1.15rem;
}

.steam-game > summary::-webkit-details-marker {
  display: none;
}

.steam-game > summary::after {
  content: "+";
  font-size: 1.1rem;
  opacity: 0.7;
}

.steam-game[open] > summary::after {
  content: "–";
}

.steam-game .grid,
.steam-game > p {
  padding: 0 1rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .listing-tile,
  .listing-tile-body,
  .listing-tile-shot img,
  .listing-tile-ph,
  .listing-tile-floor {
    transition: none;
  }

  .listing-tile:hover,
  .listing-tile:focus-within {
    transform: none;
  }

  .listing-tile:hover .listing-tile-shot img,
  .listing-tile:hover .listing-tile-ph,
  .listing-tile:focus-within .listing-tile-shot img,
  .listing-tile:focus-within .listing-tile-ph {
    transform: none;
  }

  .listing-tile.steam-item:not(.sol-nft-card) .listing-tile-shot img,
  .listing-tile.steam-item:not(.sol-nft-card):hover .listing-tile-shot img,
  .listing-tile.steam-item:not(.sol-nft-card):focus-within .listing-tile-shot img {
    transform: translate(-50%, -50%);
  }
}

.sol-nft-card.is-filtered {
  opacity: 0.55;
}

.sol-nft-col-actions {
  padding: 0 1rem 0.6rem;
}

.steam-price .intel-price {
  margin: 0.3rem 0 0;
  padding: 0.4rem;
}

.steam-sa-price {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.cs2-vol-board {
  padding: 0 1rem 1rem;
}

.cs2-vol-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.cs2-vol-row {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  gap: 0.6rem;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 0.25rem 0;
}

.cs2-vol-row .steam-sa-price {
  margin: 0;
}

.live-page {
  padding-bottom: 2rem;
}

.live-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.live-hero-row h1 {
  margin: 0 0 0.35rem;
}

.live-start-btn {
  font-size: 1.05rem;
  padding: 0.85rem 1.35rem;
}

.live-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
  align-items: flex-end;
}

.live-filters label {
  min-width: 12rem;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}

.live-card {
  display: grid;
  gap: 0.45rem;
}

.live-card-shot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #2a2218, #14110c);
  border-radius: 10px;
  overflow: hidden;
  color: #f4efe6;
  text-decoration: none;
  border: 1px solid rgba(203, 189, 160, 0.35);
}

.live-badge {
  display: inline-block;
  background: #d13c32;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.4rem;
  border-radius: 4px;
}

.live-card-shot .live-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
}

.live-card-title {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 1.7rem;
  font-weight: 800;
}

.live-card-mode {
  position: absolute;
  left: 0.55rem;
  bottom: 0.45rem;
  font-size: 0.78rem;
  opacity: 0.85;
}

.live-video {
  width: 100%;
  max-width: 52rem;
  aspect-ratio: 16 / 9;
  background: #0a0907;
  border-radius: 12px;
  display: block;
  margin: 0.6rem 0 0.8rem;
  object-fit: cover;
}

.live-studio-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.live-studio-head h1 {
  margin: 0;
}

.live-mode-legend {
  margin: 0.4rem 0 0.2rem;
  font-weight: 700;
}

.live-mode-pick {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin: 0.2rem 0;
}

.live-check {
  margin-top: 0.6rem;
}

.room-host-strip {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(203, 189, 160, 0.35);
  border-radius: 10px;
}

.room-floor {
  padding-bottom: 7.5rem;
}

.room-listing {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.room-host-strip {
  margin: 0 0 1rem;
}

body:has(#room-offer-bar) #view {
  padding-bottom: 8rem;
}

.room-offer-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 1rem 0.85rem;
  background: rgba(18, 16, 12, 0.94);
  border-top: 1px solid rgba(203, 189, 160, 0.4);
  max-height: 40vh;
  overflow: auto;
}

.room-offer-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.room-offer-chip p {
  margin: 0;
  font-size: 0.92rem;
}

.room-offer-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(8, 7, 5, 0.62);
  display: grid;
  place-items: end center;
  padding: 1rem;
}

.room-offer-sheet[hidden] {
  display: none;
}

.room-offer-sheet-card {
  width: min(42rem, 100%);
  max-height: 86vh;
  overflow: auto;
  margin-bottom: 4.5rem;
}

.ship-label {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px dashed #5a5144;
}

.ship-rates {
  margin: 0.5rem 0;
  display: grid;
  gap: 0.35rem;
}

.ship-shortfall {
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(180, 70, 50, 0.45);
}

.ship-short-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.35rem 0 0.55rem;
}

.pay-checkout {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(203, 189, 160, 0.4);
}

.pay-deposit canvas {
  display: block;
  margin: 0.5rem 0;
  background: #fff;
  padding: 0.35rem;
}

.donate-dock {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(203, 189, 160, 0.4);
  background: rgba(12, 16, 22, 0.55);
}

.donate-ticker {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.donate-ticker strong {
  font-size: 1.15rem;
}

.donate-dock-note {
  margin: 0.35rem 0 0.55rem;
}

.donate-people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.donate-person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(203, 189, 160, 0.45);
  background: #1a1814;
  color: #f4efe6;
  cursor: pointer;
  font-family: inherit;
}

.donate-person small {
  opacity: 0.7;
  font-size: 0.72rem;
}

.donate-person.is-creator {
  border-color: var(--brass);
}

.donate-person:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.donate-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 7, 5, 0.62);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.donate-sheet[hidden] {
  display: none;
}

.donate-sheet-card {
  width: min(28rem, 100%);
  max-height: 90vh;
  overflow: auto;
}

.donate-callout {
  padding: 0.55rem 0.65rem;
  border: 1px dashed rgba(203, 189, 160, 0.55);
  font-size: 0.88rem;
  line-height: 1.4;
}

.donate-toast {
  position: fixed;
  right: 1rem;
  top: 5.5rem;
  z-index: 90;
  width: min(22rem, calc(100% - 2rem));
  padding: 0.75rem 0.9rem;
  background: #f7f1e4;
  color: #14110c;
  border: 1px solid #cbbda0;
  box-shadow: 6px 8px 0 #0a0907;
}

.donate-toast[hidden] {
  display: none;
}

.donate-toast p {
  margin: 0 0 0.25rem;
}

.cash-page .cash-steps {
  max-width: 36rem;
}

.cash-net-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.cash-net-label {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cash-net-warn {
  font-size: 0.82rem;
  color: #8a3a18;
  line-height: 1.35;
}

.cash-help-step figure {
  margin: 0.75rem 0 0;
}

.cash-help-step img {
  width: min(22rem, 100%);
  height: auto;
  border: 1px solid #cbbda0;
  background: #0c1210;
}

.cash-donate-flag {
  display: inline-block;
  margin: 0.35rem 0 0.75rem;
  padding: 0.4rem 0.65rem;
  border: 1px dashed rgba(30, 132, 73, 0.55);
  font-size: 0.9rem;
}

.create-account-wrap {
  position: relative;
}

.create-account-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 50;
  min-width: 14rem;
  padding: 0.5rem;
  background: var(--paper, #f7f1e4);
  border: 1px solid var(--brass-2, #cbbda0);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.create-account-drop[hidden] {
  display: none;
}

.create-account-drop a,
.create-account-drop button {
  text-align: left;
  font: inherit;
  background: transparent;
  border: 0;
  padding: 0.35rem 0.4rem;
  cursor: pointer;
  color: inherit;
}

.embedded-account {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seed-once-dlg::backdrop {
  background: #0a0907;
}

.seed-once-dlg {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0a0907;
  color: #f7f1e4;
}

.seed-once-sheet {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 2rem 1.25rem 3rem;
  max-width: 36rem;
  margin: 0 auto;
}

.seed-once-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.05rem;
  user-select: none;
  -webkit-user-select: none;
}

.seed-once-list:empty {
  display: none;
}

.help-policy-list {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.help-chat-bubble {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 40;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--brass);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 4px 5px 0 var(--ink);
}

.help-chat-panel {
  position: fixed;
  right: 1.15rem;
  bottom: 5.1rem;
  z-index: 40;
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(28rem, 70vh);
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 10px 0 var(--brass);
  padding: 0.75rem;
}

.help-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.help-chat-note {
  font-size: 0.78rem;
  margin: 0.35rem 0 0.5rem;
}

.help-chat-log {
  flex: 1 1 auto;
  min-height: 8rem;
  overflow: auto;
  border: 1px solid var(--ink);
  padding: 0.5rem;
  background: var(--paper, transparent);
}

.help-chat-msg {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.help-chat-user {
  font-weight: 600;
}

.help-chat-form {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.help-chat-form input {
  flex: 1 1 auto;
  min-width: 0;
}

#live-cardscan-root {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

#live-cardscan-root > * {
  pointer-events: auto;
}

.cardscan-preview {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 4.7rem;
  padding: 0.2rem 0.2rem 0.35rem;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  box-shadow: 4px 5px 0 var(--brass);
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.cardscan-preview img,
.cardscan-preview-blank {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  background: #1a1814;
}

.cardscan-preview-blank {
  background: repeating-linear-gradient(135deg, #2a261f, #2a261f 6px, #1a1814 6px, #1a1814 12px);
}

#cardscan-preview-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62rem;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cardscan-scrim {
  position: absolute;
  inset: 0;
  z-index: 7;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(8, 7, 5, 0.38);
  cursor: pointer;
}

.cardscan-scrim[hidden] {
  display: none;
}

.listing-panel.cardscan-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  margin: 0;
  border-radius: 12px 12px 0 0;
}

.listing-panel.cardscan-sheet.is-open {
  max-height: min(64vh, calc(100% - 6.5rem), 40rem);
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.cardscan-sheet-handle {
  width: 2.4rem;
  height: 0.28rem;
  margin: 0.45rem auto 0.15rem;
  border-radius: 99px;
  background: rgba(10, 9, 7, 0.28);
}

.cardscan-tabs {
  margin: 0.2rem 0.75rem 0;
}

.cardscan-uncertain {
  font-weight: 700;
  color: var(--brass);
}

.cardscan-prices {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 0.4rem 0;
}

.cardscan-prices th,
.cardscan-prices td {
  text-align: left;
  padding: 0.15rem 0.35rem;
  border-bottom: 1px solid rgba(10, 9, 7, 0.12);
}
