/* BAXUS web · middle ground
   C01 Marketplace Homepage layout + App System tokens/buttons.
   Source: Desktop/C01_Marketplace Homepage.png + product/system/tokens.css?palette=approved-3 */

@import url("../system/tokens.css?surfaces=9&neutral=info-payment-tones-1");
@import url("palette.css?v=secondary-palette-1&neutral=info-payment-tones-1");
@import url("search-controls.css?v=activity-gray-1&surfaces=9&theme=info-payment-tones-1");

/* Shared page canvas; cards, controls and branded sections keep their own surfaces. */
:root { --page-background: var(--white); }

@font-face {
  font-family: "HN Cond Black";
  src: url("../fonts/HelveticaNeue-CondensedBlack.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HN";
  src: url("../fonts/HelveticaNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HN";
  src: url("../fonts/HelveticaNeue-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.btn.block { width: 100%; }
.btn.inline { width: auto; min-width: 0; }
.btn.sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  gap: 8px;
  box-sizing: border-box;
}
.btn.sm.ghost { height: 36px; }
.btn.yellow {
  background: var(--yellow);
  color:var(--palette-on-yellow);
  border: 1px solid var(--ink);
}
/* Soft lift on hover · all web .btn · radius owned with tokens */
.btn {
  border-radius: var(--radius-surface, 14px);
  text-decoration: none;
  transition: box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active,
a.btn:visited {
  text-decoration: none;
}
.btn .btn-arrow {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
  flex-shrink: 0;
}
.btn:hover {
  box-shadow: 0 6px 16px color-mix(in srgb, var(--palette-shadow) 18%, transparent);
}
.btn.ghost:hover,
.btn.yellow:hover {
  box-shadow: 0 6px 16px color-mix(in srgb, var(--palette-shadow) 12%, transparent);
}
.btn.icon:hover {
  box-shadow: 0 6px 18px color-mix(in srgb, var(--palette-shadow) 20%, transparent);
}

/* Refer chip · white + ink border, square */
.refer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-sizing: border-box;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: background-color 0.15s ease;
}
.refer-chip img {
  display: block;
  width: 16px;
  height: 16px;
}
.refer-chip:hover {
  background: var(--palette-sand);
}

/* Pts + wallet · web tools (logged in). Square. Never call pts a "balance". */
.pts,
.wallet {
  height: 36px;
  padding: 0 12px;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.pts {
  background: var(--yellow);
  color:var(--palette-on-yellow);
  border: 1px solid var(--ink);
}
.pts:hover {
  background: var(--palette-yellow);
;color:var(--palette-on-yellow);}
.pts .unit {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.wallet {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  padding-left: 10px;
}
.wallet:hover {
  background: var(--palette-body);
}
.wallet img {
  display: block;
  width: 16px;
  height: 16px;
}

/* Confirmed IA · balance chip ($ · pts) + section tabs (Scott nav proto) */
.balance-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  box-sizing: border-box;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: background-color 0.15s ease;
}
.balance-chip:hover {
  background: var(--palette-body);
}
.section-nav {
  width: 100%;
  border-top: 0;
  border-bottom: 1px solid var(--ink);
  background: var(--yellow);
  box-sizing: border-box;
  box-shadow: none;
  position: sticky;
  top: 64px;
  z-index: 39;
;color:var(--palette-on-yellow);}
/* Yellow hero sits under this bar · drop the seam so they read as one field */
.section-nav:has([data-tab="vm"].is-on),
.section-nav:has(+ .hero-vm) {
  border-bottom: none;
}
.section-nav .rail,
.section-nav.rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px 8px;
  height: 64px;
  min-height: 64px;
  box-sizing: border-box;
  overflow-x: auto;
}
.section-nav a {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 14px;
  margin: 0;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-sizing: border-box;
  flex-shrink: 0;
}
.section-nav a:hover {
  color: var(--ink);
  opacity: 0.7;
}
.section-nav a.is-on {
  color: var(--ink);
  opacity: 1;
  border-bottom-color: var(--ink);
}
.page-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 40px 64px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .page-shell {
    padding: 20px 16px 48px;
  }
  .site > .site-nav .balance-chip {
    padding: 0 10px;
    font-size: 11px;
  }
}
.site-nav .tools .btn.icon {
  gap: 8px;
}
.site-nav .tools .btn.icon img {
  width: 16px;
  height: 16px;
}

html, body {
  background: var(--page-background);
  margin: 0;
  width: 100%;
  max-width: none;
}

.site {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--page-background);
  color: var(--ink);
  font-family: var(--font-body);
}

/* Shared content rail · matches live max-w 1852 */
.rail {
  width: 100%;
  max-width: 1852px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* Nav · C01 structure, App System type */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 64px;
  height: auto;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}
.site-nav:has(+ .section-nav) {
  border-bottom: none;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--palette-shadow) 5%, transparent);
  z-index: 41;
}
.site-nav .rail {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav .brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-nav .brand img {
  display: block;
  height: 26px;
  width: auto;
}
.site-nav .links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
}
.site-nav .links-gap {
  width: 1px;
  height: 16px;
  background: var(--line);
  flex-shrink: 0;
}
.site-nav .links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 22px 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
/* Invisible bold twin · locks width so selected weight doesn’t jitter */
.site-nav .links a .nav-label,
.section-nav a .nav-label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.site-nav .links a .nav-label::after,
.section-nav a .nav-label::after {
  content: attr(data-label);
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  font-weight: 700;
  speak: never;
}
.site-nav .links a img {
  display: block;
  width: 16px;
  height: 16px;
  opacity: 1;
}
.site-nav .links a:hover { color: var(--ink); opacity: 0.7; }
.site-nav .links a:hover img { opacity: 1; }
.site-nav .links a.is-on {
  color: var(--ink);
  border-bottom-color: var(--ink);
  opacity: 1;
}
.site-nav .links a.is-on .nav-label {
  font-weight: 700;
}
.site-nav .links a.is-on img { opacity: 1; }
.site-nav .links a.text {
  gap: 0;
}
.site-nav .links .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.site-nav .links .nav-drop {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  min-width: 210px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--palette-ink) 8%, transparent);
  border-radius: var(--radius-surface, 14px);
  background: var(--palette-white);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--palette-shadow) 12%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 30;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.site-nav .links .nav-drop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.site-nav .links .nav-item:hover .nav-drop,
.site-nav .links .nav-item:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.site-nav .links .nav-drop a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-bottom: 0;
  border-radius: var(--radius-surface, 14px);
  box-sizing: border-box;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 1;
  white-space: normal;
}
.site-nav .links .nav-drop a:hover {
  background: var(--palette-sand);
  color: var(--ink);
  opacity: 1;
}
.site-nav .links .nav-drop a[aria-current="page"] {
  background: var(--palette-sand);
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .site-nav .links .nav-drop { transition: none; }
}
.section-nav a.is-on .nav-label {
  font-weight: 700;
}
.site-nav .tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-nav .tools .btn { text-decoration: none; }
.site-nav .tools .icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.site-nav .tools .icon-btn:hover {
  background: var(--palette-sand);
}
.site-nav .tools .icon-btn img {
  width: 18px;
  height: 18px;
  display: block;
}
.site-nav .menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  place-items: center;
  flex-shrink: 0;
}
.site-nav .menu-btn-bars,
.site-nav .menu-btn-bars::before,
.site-nav .menu-btn-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: var(--radius-surface, 14px);
}
.site-nav .menu-btn-bars {
  position: relative;
}
.site-nav .menu-btn-bars::before,
.site-nav .menu-btn-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.site-nav .menu-btn-bars::before { top: -6px; }
.site-nav .menu-btn-bars::after { top: 6px; }
.site-nav.is-open .menu-btn-bars { background: transparent; }
.site-nav.is-open .menu-btn-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.site-nav.is-open .menu-btn-bars::after {
  top: 0;
  transform: rotate(-45deg);
}
.site-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 4px 16px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-menu a {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  column-gap: 12px;
  min-height: 48px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.site-menu a img {
  width: 18px;
  height: 18px;
  display: block;
  justify-self: start;
}
.site-menu a span {
  justify-self: start;
}
.site-menu .site-menu-sub {
  grid-template-columns: 1fr;
  padding-left: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--palette-body);
  font-family: var(--font-body);
}
.site-menu .site-menu-refer {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-sizing: border-box;
}
.site-menu .site-menu-refer img {
  width: 16px;
  height: 16px;
  justify-self: auto;
}
.site-menu .site-menu-sub:last-of-type {
  border-bottom: 0;
}
.site-nav.is-open .site-menu { display: flex; }

@media (max-width: 900px) {
  .rail { padding-left: 16px; padding-right: 16px; }
  .site > .site-nav .rail {
    gap: 10px;
    overflow: visible;
  }
  .site > .site-nav .links { display: none; }
  .site > .site-nav .refer-chip { display: none; }
  .site > .site-nav .menu-btn { display: grid; }
  .site > .site-nav .tools {
    gap: 4px;
    min-width: 0;
  }
  /* Market already has search; free space for the menu */
  .site > .site-nav .tools > .icon-btn { display: none; }
  .site > .site-nav .tools .icon-btn {
    width: 32px;
    height: 32px;
  }
  .site > .site-nav .brand img { height: 22px; }
  .site > .site-nav .pts,
  .site > .site-nav .wallet {
    height: 32px;
    padding: 0 8px;
    font-size: 10px;
  }
  .site > .site-nav .pts .unit { font-size: 9px; }
  .site > .site-nav .wallet img {
    width: 14px;
    height: 14px;
  }
}

/* Hero · full-bleed yellow. Machine left, copy right. */
.hero-vm {
  width: 100%;
  background: var(--yellow);
;color:var(--palette-on-yellow);}
.hero-vm .rail {
  display: grid;
  grid-template-columns: minmax(280px, 48%) minmax(0, 1fr);
  align-items: stretch;
  gap: 24px 40px;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 508px;
}
.hero-vm .copy {
  order: 2;
  width: 100%;
  max-width: 480px;
  justify-self: start;
  align-self: center;
  padding: 48px 0;
  margin-right: 0;
}
.hero-vm h1 {
  margin: 0 0 14px;
  font-family: "HN Cond Black", "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-vm .desc {
  margin: 0 0 22px;
  max-width: 440px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: var(--palette-body);
}
.hero-vm .tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
  max-width: none;
}
.hero-vm .tier {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 14px 16px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  box-sizing: border-box;
}
.hero-vm .tier.is-on {
  background: var(--ink);
  border-color: var(--ink);
}
.hero-vm .tier:hover:not(.is-on) {
  background: var(--palette-sand);
}
.hero-vm .tier.is-on:hover {
  background: var(--palette-body);
}
.hero-vm .tier,
.hero-vm .cta-row .btn {
  transition: background-color 0.15s ease;
}
.hero-vm .tier-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.hero-vm .tier.is-on .tier-name {
  color: var(--yellow);
}
.hero-vm .tier-price {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-vm .tier.is-on .tier-price {
  color: var(--white);
}
.hero-vm .tier-blurb {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--mute);
}
.hero-vm .outcomes {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-vm .outcomes li {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--palette-body);
}
.hero-vm .outcomes b {
  color: var(--ink);
  font-weight: 700;
}
.hero-vm .stats {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 12px 32px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-vm .stats .stat {
  display: inline-flex;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  gap: 6px;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  box-sizing: border-box;
}
.hero-vm .stats .stat-k {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.hero-vm .stats b {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1;
}
.hero-vm .cta-row {
  display: flex;
  width: 100%;
}
.hero-vm .cta-row .btn {
  width: 100%;
  min-width: 0;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 18px;
}
.hero-vm .cta-row .btn:hover {
  background: var(--palette-body);
}
.hero-vm .cta-row .btn:active {
  background: var(--palette-ink);
}
.hero-vm .cta-row .btn-lead {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-vm .cta-row .btn-arrow {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
  flex-shrink: 0;
}
.hero-vm .machine {
  order: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
}
.hero-vm .machine img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
}

@media (max-width: 800px) {
  .hero-vm .rail {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-vm .copy {
    order: 1;
    position: relative;
    z-index: 1;
    justify-self: stretch;
    max-width: none;
    margin-right: 0;
    padding: 4px 0 20px;
  }
  .hero-vm .machine {
    order: 0;
    position: relative;
    z-index: 0;
    height: 220px;
    margin-bottom: -40px;
  }
  .hero-vm .machine img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center top;
  }
  .hero-vm h1 {
    margin: 0 0 8px;
    font-size: clamp(26px, 7vw, 32px);
    line-height: 0.95;
  }
  .hero-vm .desc {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 18px;
  }
  .hero-vm .tiers {
    gap: 6px;
    margin: 0 0 14px;
  }
  .hero-vm .tier {
    gap: 4px;
    padding: 10px 8px 12px;
  }
  .hero-vm .tier-name {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .hero-vm .tier-price {
    font-size: 18px;
  }
  .hero-vm .tier-blurb {
    font-size: 11px;
  }
  .hero-vm .outcomes {
    margin: 0 0 12px;
    gap: 5px;
  }
  .hero-vm .outcomes li {
    font-size: 13px;
    line-height: 18px;
  }
  .hero-vm .stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 10px;
    margin: 0 0 14px;
    padding: 0;
    width: 100%;
    font-size: 9px;
    letter-spacing: 0.03em;
  }
  .hero-vm .stats .stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 3px;
    border-radius: 0;
    background: transparent;
    white-space: normal;
    min-width: 0;
  }
  .hero-vm .stats .stat-k {
    min-height: 0;
    line-height: 1.2;
    white-space: nowrap;
  }
  .hero-vm .stats b {
    font-size: 16px;
    line-height: 1;
  }
  .hero-vm .cta-row {
    margin-top: 0;
  }
  .hero-vm .cta-row .btn {
    width: 100%;
    height: 46px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
  }
}

/* Marketplace */
.market {
  flex: 1;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 72px;
  background: var(--page-background);
}

.market-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.market-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.market-title .script {
  font-family: var(--font-script);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.85;
  color: var(--ink);
}
.market-title .block {
  font-family: "HN Cond Black", "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--ink);
}
.market-tools {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.market-tools .field {
  flex: none;
  width: 340px;
  max-width: 52vw;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-surface, 14px);
  background: var(--white);
  box-sizing: border-box;
  gap: 10px;
}
.market-tools .field input {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 18px;
  height: 18px;
}
.market-tools .field input::placeholder {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
}
.market-tools .field .ico,
.market-tools .field img.ico {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}
.btn-filters {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-surface, 14px);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}
.btn-filters img {
  display: block;
  width: 14px;
  height: 14px;
}
.btn-filters {
  transition: box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn-filters:hover {
  background: var(--ink);
  color: var(--palette-white);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--palette-shadow) 12%, transparent);
}
.btn-filters:hover img {
  filter: invert(1);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip-cat {
  appearance: none;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border-default);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  box-sizing: border-box;
}
.chip-cat.is-on,
.chip-cat:hover {
  background: var(--yellow);
;color:var(--palette-on-yellow);}
.list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
.list-meta .results,
.list-meta .sort {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.list-meta .sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}
.list-meta .sort img {
  display: block;
  width: 14px;
  height: 14px;
}
.list-meta .sort:hover { opacity: 0.7; }

@media (max-width: 720px) {
  .market-head {
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .market-tools {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
  }
  .market-tools .field {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }
  .btn-filters {
    flex-shrink: 0;
  }
  .chips {
    margin-top: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 420px) {
  .market-tools {
    flex-wrap: wrap;
    gap: 8px;
  }
  .market-tools .field {
    flex: 1 1 100%;
    width: 100%;
  }
  .btn-filters {
    width: 100%;
  }
}

.bottle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) {
  .bottle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .market { padding-top: 28px; padding-bottom: 56px; }
  .bottle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Pagination */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 8px;
}
.pager-btn {
  appearance: none;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.pager-btn.is-on {
  background: var(--ink);
  color: var(--white);
}
.pager-btn:hover:not(:disabled):not(.is-on) {
  background: var(--yellow);
;color:var(--palette-on-yellow);}
.pager-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.pager-btn img {
  display: block;
  width: 14px;
  height: 14px;
}
.pager-btn.next img { transform: rotate(180deg); }
.pager-gap {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
}

/* Cards · pixel-match Jake design card (measured from ref) */
.bottle-card:not(.bc-card) {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--palette-white);
  border: 1px solid var(--palette-card-border);
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.bottle-card:not(.bc-card):hover {
  border-color: var(--palette-ink);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--palette-shadow) 12%, transparent);
}
.bottle-card:not(.bc-card) .plate:not(.bc-art) {
  position: relative;
  /* design image block ~0.93 of card width, not a full square */
  aspect-ratio: 492 / 456;
  background: var(--palette-white);
  display: grid;
  place-items: center;
  padding: 52px 32px 4px;
  box-sizing: border-box;
}
.bottle-card:not(.bc-card) .plate:not(.bc-art) img {
  display: block;
  height: 86%;
  width: auto;
  max-width: 72%;
  object-fit: contain;
}
/* JUST LOADED · inset 18, h 33, yellow, mono 13 */
.bottle-card:not(.bc-card) .tag:not(.bc-badge) {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  padding: 0 12px;
  background: var(--yellow);
  color:var(--palette-on-yellow);
  border: 0;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  box-sizing: border-box;
  white-space: nowrap;
}
.bottle-card:not(.bc-card) .count:not(.bc-badge) {
  position: absolute;
  top: 26px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--palette-ink);
  line-height: 1;
}
.bottle-card:not(.bc-card) .body:not(.bc-body) {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 18px 28px;
  box-sizing: border-box;
}
.bottle-card:not(.bc-card) .name:not(.bc-name) {
  margin: 0;
  font-family: "HN Cond Black", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--palette-ink);
}
.bottle-card:not(.bc-card) .sub:not(.bc-sub) {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  color: var(--palette-ink);
}
.bottle-card:not(.bc-card) .specs:not(.bc-meta) {
  margin: 14px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--palette-card-rule);
  border-bottom: 1px solid var(--palette-card-rule);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--palette-ink);
  transition: border-color 120ms ease;
}
.bottle-card:not(.bc-card):hover .specs:not(.bc-meta) {
  border-top-color: var(--palette-ink);
  border-bottom-color: var(--palette-ink);
}
.bottle-card:not(.bc-card) .foot:not(.bc-quotes) {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
}
.bottle-card:not(.bc-card) .price:not(.bc-price) {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--palette-ink);
}
.bottle-card:not(.bc-card) .wish {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--palette-ink);
}

/* Mobile card scale · Market/Collection grids only (not PDP carousel) */
@media (max-width: 800px) {
  .bottle-grid .bottle-card:not(.bc-card),
  .collect-page .bottle-card:not(.bc-card) {
    border: 1px solid var(--ink);
  }
  .bottle-grid .bottle-card:not(.bc-card):hover,
  .collect-page .bottle-card:not(.bc-card):hover {
    box-shadow: none;
  }
  .bottle-grid .bottle-card:not(.bc-card) .plate:not(.bc-art),
  .collect-page .bottle-card:not(.bc-card) .plate:not(.bc-art) {
    aspect-ratio: 1 / 1;
    padding: 26px 8px 2px;
  }
  .bottle-grid .bottle-card:not(.bc-card) .plate:not(.bc-art) img,
  .collect-page .bottle-card:not(.bc-card) .plate:not(.bc-art) img {
    height: 92%;
    max-width: 78%;
  }
  .bottle-grid .bottle-card:not(.bc-card) .tag:not(.bc-badge),
  .collect-page .bottle-card:not(.bc-card) .tag:not(.bc-badge) {
    top: 8px;
    left: 8px;
    height: 22px;
    padding: 0 7px;
    font-size: 9px;
    max-width: calc(100% - 64px);
    overflow: hidden;
  }
  .bottle-grid .bottle-card:not(.bc-card) .count:not(.bc-badge),
  .collect-page .bottle-card:not(.bc-card) .count:not(.bc-badge) {
    top: 12px;
    right: 8px;
    left: auto;
    font-size: 9px;
  }
  .bottle-grid .bottle-card:not(.bc-card) .body:not(.bc-body),
  .collect-page .bottle-card:not(.bc-card) .body:not(.bc-body) {
    padding: 2px 10px 12px;
  }
  .bottle-grid .bottle-card:not(.bc-card) .name:not(.bc-name),
  .collect-page .bottle-card:not(.bc-card) .name:not(.bc-name) {
    font-size: 14px;
    line-height: 1.05;
  }
  .bottle-grid .bottle-card:not(.bc-card) .sub:not(.bc-sub),
  .collect-page .bottle-card:not(.bc-card) .sub:not(.bc-sub) {
    margin-top: 4px;
    font-size: 10px;
  }
  .bottle-grid .bottle-card:not(.bc-card) .specs:not(.bc-meta),
  .collect-page .bottle-card:not(.bc-card) .specs:not(.bc-meta) {
    margin-top: 8px;
    padding: 6px 0;
    font-size: 9px;
  }
  .bottle-grid .bottle-card:not(.bc-card) .foot:not(.bc-quotes),
  .collect-page .bottle-card:not(.bc-card) .foot:not(.bc-quotes) {
    margin-top: 8px;
  }
  .bottle-grid .bottle-card:not(.bc-card) .price:not(.bc-price),
  .collect-page .bottle-card:not(.bc-card) .price:not(.bc-price) {
    font-size: 18px;
  }
  .bottle-grid .bottle-card:not(.bc-card) .wish,
  .collect-page .bottle-card:not(.bc-card) .wish {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .bottle-grid { gap: 8px; }
  .bottle-grid .bottle-card:not(.bc-card) .plate:not(.bc-art),
  .collect-page .bottle-card:not(.bc-card) .plate:not(.bc-art) {
    padding: 28px 4px 2px;
  }
  .bottle-grid .bottle-card:not(.bc-card) .plate:not(.bc-art) img,
  .collect-page .bottle-card:not(.bc-card) .plate:not(.bc-art) img {
    height: 100%;
    max-width: 90%;
  }
  .bottle-grid .bottle-card:not(.bc-card) .tag:not(.bc-badge),
  .collect-page .bottle-card:not(.bc-card) .tag:not(.bc-badge) {
    top: 6px;
    left: 6px;
    height: 20px;
    padding: 0 6px;
    font-size: 8px;
    max-width: calc(100% - 56px);
  }
  .bottle-grid .bottle-card:not(.bc-card) .count:not(.bc-badge),
  .collect-page .bottle-card:not(.bc-card) .count:not(.bc-badge) {
    top: 10px;
    right: 6px;
    left: auto;
    font-size: 8px;
  }
  .bottle-grid .bottle-card:not(.bc-card) .body:not(.bc-body),
  .collect-page .bottle-card:not(.bc-card) .body:not(.bc-body) { padding: 2px 8px 12px; }
  .bottle-grid .bottle-card:not(.bc-card) .name:not(.bc-name),
  .collect-page .bottle-card:not(.bc-card) .name:not(.bc-name) { font-size: 13px; }
  .bottle-grid .bottle-card:not(.bc-card) .sub:not(.bc-sub),
  .collect-page .bottle-card:not(.bc-card) .sub:not(.bc-sub) { font-size: 10px; margin-top: 5px; }
  .bottle-grid .bottle-card:not(.bc-card) .specs:not(.bc-meta),
  .collect-page .bottle-card:not(.bc-card) .specs:not(.bc-meta) { font-size: 9px; margin-top: 8px; padding: 7px 0; }
  .bottle-grid .bottle-card:not(.bc-card) .foot:not(.bc-quotes),
  .collect-page .bottle-card:not(.bc-card) .foot:not(.bc-quotes) { margin-top: 8px; }
  .bottle-grid .bottle-card:not(.bc-card) .price:not(.bc-price),
  .collect-page .bottle-card:not(.bc-card) .price:not(.bc-price) { font-size: 17px; }
  .bottle-grid .bottle-card:not(.bc-card) .wish,
  .collect-page .bottle-card:not(.bc-card) .wish { font-size: 9px; }
}

/* Footer */
.site-foot {
  background: var(--ink);
  color: var(--sand);
  padding-top: 48px;
  padding-bottom: 28px;
}
.site-foot .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-start;
  justify-content: space-between;
}
.site-foot .brand img {
  height: 26px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.site-foot .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  flex: 1 1 auto;
  justify-content: center;
}
.site-foot .col {
  min-width: 120px;
}
.site-foot .col h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-foot .col a,
.site-foot .col p {
  display: block;
  margin: 0 0 8px;
  color: var(--sand);
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.85;
  border: 0;
}
.site-foot .col a:hover { opacity: 1; }
.site-foot .social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.site-foot .social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--palette-sand) 35%, transparent);
  border-radius: 0;
  box-sizing: border-box;
  line-height: 0;
  text-decoration: none;
}
.site-foot .social a:hover {
  background: color-mix(in srgb, var(--palette-sand) 8%, transparent);
}
.site-foot .social img {
  display: block;
  width: 16px;
  height: 16px;
}
.site-foot .legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--palette-sand) 20%, transparent);
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.6;
}
@media (max-width: 720px) {
  .site-foot {
    padding-top: 36px;
    padding-bottom: 24px;
  }
  .site-foot .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .site-foot .brand {
    grid-column: 1 / -1;
  }
  .site-foot .cols {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    justify-content: stretch;
  }
  .site-foot .col { min-width: 0; }
  .site-foot .social {
    grid-column: 1 / -1;
  }
  .site-foot .legal {
    margin-top: 8px;
  }
}

/* Referral invite landing · baxus.co/r/<handle> */
.refer-page .site-nav .tools {
  margin-left: auto;
}
.refer-page .btn {
  text-decoration: none;
}
.refer-page a.btn:hover {
  background: var(--palette-body);
  color: var(--palette-white);
}
.refer-page a.btn.ghost:hover {
  background: var(--palette-sand);
  color: var(--ink);
}
.refer-land {
  flex: 1;
  width: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.refer-land-frame {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 40px 28px;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.refer-land-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 48px 56px;
  align-items: center;
  flex: 1;
}
.refer-copy .invite-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 18px 8px 8px;
  background: var(--yellow);
  color:var(--palette-on-yellow);
  border: 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
.refer-copy .invite-chip img {
  display: block;
  width: 28px;
  height: 28px;
}
.refer-copy .invite-chip b {
  font-weight: 700;
}
.refer-copy h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
}
.refer-copy h1 em {
  display: block;
  margin-top: 10px;
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(44px, 5vw, 53px);
  letter-spacing: 0;
  line-height: 1;
  color: var(--slate);
}
.refer-copy .lede {
  margin: 0 0 14px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--palette-body);
}
.refer-copy .perk {
  margin: 0 0 24px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.refer-copy .perk b {
  font-weight: 700;
}
.refer-copy .cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  max-width: 440px;
}
.refer-copy .cta-pair .btn {
  flex: 1 1 160px;
  min-width: 0;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.refer-copy .trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  max-width: none;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.refer-copy .trust b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 100;
  line-height: 1.1;
  color: var(--ink);
}
.refer-copy .trust span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mute);
}
.refer-copy .quote {
  margin: 24px 0 0;
  max-width: 420px;
  padding: 0;
  border: 0;
}
.refer-copy .quote p {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}
.refer-copy .quote cite {
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.refer-land .tiny-legal {
  margin: 40px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-width: none;
  font-size: 12px;
  line-height: 1.4;
  color: var(--mute);
  text-align: center;
}
.refer-land .tiny-legal a {
  color: var(--ink);
  text-underline-offset: 2px;
}
.refer-visual .bottle-stage {
  min-height: 528px;
  height: min(70vh, 624px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
  background: none;
  border: 0;
  box-sizing: border-box;
}
.refer-visual .bottle-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .refer-land-frame {
    padding: 28px 16px 20px;
  }
  .refer-land-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .refer-visual { order: -1; }
  .refer-visual .bottle-stage {
    min-height: 336px;
    height: 360px;
  }
}

/* Content pages · Sell / FAQ / App / Collection */
.page-main {
  flex: 1;
  width: 100%;
  background: var(--page-background);
}
.page-frame {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 40px 72px;
  box-sizing: border-box;
  overflow: visible;
}
.page-frame.wide { max-width: 1240px; }
.page-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.page-hero h1 {
  margin: 0 0 14px;
  font-family: "HN Cond Black", "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(34px, 5.5vw, 52px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--ink);
}
.page-hero .lede {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--palette-body);
}
.page-hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
}
.page-hero .cta-row .btn { text-decoration: none; }
.page-main a.btn {
  text-decoration: none;
  width: auto;
  max-width: none;
}
.page-main .btn.icon {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: auto;
  min-width: 0;
  padding-left: 18px;
  padding-right: 16px;
}
.page-main .btn .btn-lead {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-main .btn .btn-arrow {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
  flex-shrink: 0;
}
.page-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.page-section h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.page-section .body:not(.bc-body),
.page-section p {
  margin: 0 0 14px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--palette-body);
}
.page-section p:last-child { margin-bottom: 0; }
.page-section b { color: var(--ink); font-weight: 700; }
.page-section .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.step {
  padding: 18px 16px 20px;
  border: 1px solid var(--ink);
  background: var(--white);
  box-sizing: border-box;
}
.step .num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  max-width: none;
}

/* Sell page */
.sell-hero {
  position: relative;
  width: 100%;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.sell-hero-inner {
  position: relative;
  width: 100%;
  max-width: 1852px;
  margin: 0 auto;
  padding: 36px 40px 0;
  box-sizing: border-box;
  min-height: 640px;
}
.sell-copy {
  position: relative;
  z-index: 2;
  max-width: 420px;
  padding: 64px 0 96px;
}
.sell-copy h1 {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.32em;
  font-family: "HN Cond Black", "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(40px, 5.2vw, 60px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--ink);
}
.sell-copy h1 .sell-line {
  position: relative;
  z-index: 1;
  display: block;
}
/* Shrink-wrap first line; isolate so the bar stays above the sculpture */
.sell-copy h1 .sell-line-1 {
  display: inline-block;
  isolation: isolate;
}
.sell-copy h1 .sell-line-text {
  position: relative;
  z-index: 1;
}
/*
  Yellow bar is NOT a text highlight.
  Design close-up: starts ~52% down line 1, height ~1.29× line 1,
  covers bottom ~48% of ONBOARD YOUR + top ~43% of COLLECTION.
*/
.sell-copy h1 .sell-rect {
  position: absolute;
  left: -0.08em;
  right: -0.42em;
  top: 52%;
  height: 1.15em;
  background: var(--yellow);
  z-index: 0;
  pointer-events: none;
;color:var(--palette-on-yellow);}
.sell-copy .lede {
  margin: 0 0 22px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--palette-body);
}
.sell-copy .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Big sculpture · right half, floored hard so the rock clips (head stays) */
.sell-visual {
  position: absolute;
  left: 28%;
  right: -4%;
  top: 8%;
  bottom: -20%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  overflow: visible;
  pointer-events: none;
  line-height: 0;
}
.sell-visual img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  transform: scale(1.1);
  transform-origin: right bottom;
}
.sell-steps {
  margin: 0;
  padding: 48px 0 8px;
}
.sell-steps h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.steps-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 20px;
  position: relative;
}
.steps-flow::before {
  content: "";
  position: absolute;
  /* Vertically center through 48px icons; span first→last icon centers (left-aligned in 4-col grid + 20px gaps) */
  top: 23px;
  left: 28px;
  width: calc(75% + 15px);
  height: 2px;
  background: var(--ink);
  opacity: 0.18;
  pointer-events: none;
}
.step-flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0 4px 8px;
}
.step-ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-sizing: border-box;
}
.step-ico img {
  display: block;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.step-ico.slate {
  background: var(--slate);
  border-color: var(--slate);
}
.step-ico.yellow {
  background: var(--yellow);
  border-color: var(--ink);
;color:var(--palette-on-yellow);}
.step-ico.yellow img { filter: none; }
.step-flow .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--slate);
}
.step-flow .step-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}
.step-flow p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 220px;
}
.sell-cta {
  margin: 48px 0 24px;
  padding-top: 96px;
  overflow: visible;
}
.sell-cta-inner {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 280px;
  padding: 40px 36px;
  padding-left: min(42%, 360px);
  background: var(--yellow);
  border: 1px solid var(--ink);
  box-sizing: border-box;
  overflow: visible;
;color:var(--palette-on-yellow);}
.sell-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-left: auto;
}
.sell-cta-inner .page-kicker {
  color: var(--ink);
  opacity: 0.7;
}
.sell-cta-inner h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.sell-cta-inner p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--palette-body);
  max-width: 420px;
}
.sell-cta-inner .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.sell-cta-figure {
  position: absolute;
  left: 56px;
  right: auto;
  bottom: 0;
  z-index: 2;
  height: calc(100% + 96px);
  width: auto;
  max-width: 38%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  line-height: 0;
}
.sell-cta-figure img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom left;
}

.sell-form-band {
  background: var(--palette-sand);
  border-top: 1px solid color-mix(in srgb, var(--palette-ink) 6%, transparent);
}
.sell-form-band .page-frame { padding-top: 64px; padding-bottom: 88px; }
.sell-form {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 28px 72px;
  align-items: start;
}
.sell-form-intro h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.sell-form-intro p {
  margin: 0;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.5;
  color: var(--palette-body);
}
.sell-form-fields { min-width: 0; }
.sell-form-body[hidden],
.sell-form-done[hidden] { display: none !important; }
.sell-field {
  display: block;
  margin: 0 0 16px;
}
.sell-field > span {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.sell-field i {
  font-style: normal;
  font-weight: 700;
}
.sell-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--palette-line);
  border-radius: var(--radius-surface, 14px);
  background: var(--palette-sand);
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
}
.sell-field input[readonly] { color: var(--palette-body); }
.sell-field input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.sell-field small,
.sell-file-note,
.sell-privacy {
  display: block;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--palette-body);
}
.sell-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.sell-row-phone { grid-template-columns: 120px minmax(0, 1fr); }
.sell-uploads-title {
  margin: 40px 0 32px;
  padding-top: 32px;
  border-top: 1px solid var(--palette-line);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.sell-file { margin-bottom: 32px; }
.sell-file small { margin: 2px 0 16px; }
.sell-file-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.sell-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
}
.sell-file-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-surface, 14px);
  background: var(--ink);
  font-size: 14px;
  font-weight: 600;
  color: var(--palette-white);
  cursor: pointer;
}
.sell-file:hover .sell-file-btn { background: var(--palette-body); }
.sell-file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--palette-body);
}
.sell-file-name[hidden] { display: none !important; }
.sell-file-note { margin: 12px 0 28px; }
.sell-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: var(--radius-surface, 14px);
  background: var(--palette-kelly);
  color: var(--palette-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.sell-submit img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}
.sell-submit:hover { background: var(--palette-kelly); }
.sell-submit:disabled {
  background: var(--palette-line);
  cursor: default;
}
.sell-submit:disabled:hover { background: var(--palette-line); }
.sell-privacy {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--palette-line);
  max-width: none;
}
.sell-form-done {
  padding: 28px 24px;
  background: var(--yellow);
  border-radius: var(--radius-surface, 14px);
;color:var(--palette-on-yellow);}
.sell-form-done h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sell-form-done p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--palette-body);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.feature {
  padding: 20px 18px 22px;
  border: 1px solid var(--ink);
  background: var(--white);
  box-sizing: border-box;
}
.feature .feature-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin: 0 0 14px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  box-sizing: border-box;
;color:var(--palette-on-yellow);}
.feature .feature-ico.ink {
  background: var(--ink);
}
.feature .feature-ico.slate {
  background: var(--slate);
  border-color: var(--slate);
}
.feature .feature-ico img {
  display: block;
  width: 18px;
  height: 18px;
}
.feature .feature-ico.ink img,
.feature .feature-ico.slate img {
  filter: brightness(0) invert(1);
}
.feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--palette-body);
  max-width: none;
}
.page-band {
  margin: 48px 0 8px;
  padding: 28px 32px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  box-sizing: border-box;
;color:var(--palette-on-yellow);}
.page-band .page-kicker {
  color: var(--ink);
  opacity: 0.7;
}
.page-band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.page-band p {
  margin: 0 0 18px;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--palette-body);
}
.page-band .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.page-band .cta-row .btn { text-decoration: none; }
.graphic-slot {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 24px 0 0;
  padding: 28px;
  border: 1px dashed var(--palette-card-rule);
  background: var(--sand);
  box-sizing: border-box;
  text-align: center;
}
.graphic-slot .meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.graphic-slot img {
  display: block;
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.help-page { background: var(--page-background); }
.help-page .page-frame {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 28px 88px;
  box-sizing: border-box;
}
.help-page .page-hero,
.help-page .faq-block,
.help-page .help-end {
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.help-page .page-hero { text-align: center; margin-bottom: 56px; }
.help-page .faq-jump { justify-content: center; }
.help-page .faq-jump a { border-radius: 999px; border-color: var(--palette-line); }
.help-page .page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: none;
}
.help-page .page-hero .lede { margin-left: auto; margin-right: auto; }
.help-page .page-kicker { color: var(--palette-body); }
.faq-search {
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
}
.faq-search input {
  width: min(620px, 100%);
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--palette-line);
  border-radius: 999px;
  background: var(--palette-white);
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
}
.faq-search input:focus {
  outline: none;
  border-color: var(--ink);
}
.help-index {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--palette-body);
}
.help-page .faq-block h2 {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.help-page .faq-list { border: 0; }
.help-page .faq-list details {
  margin: 0 0 10px;
  border: 0;
  border-radius: var(--radius-surface, 14px);
  background: var(--palette-white);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--palette-shadow) 4%, transparent), 0 4px 14px color-mix(in srgb, var(--palette-shadow) 5%, transparent);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.help-page .faq-list summary:hover { background: var(--palette-gray); }
.help-page .faq-list summary { padding: 16px 18px; font-weight: 600; }
.help-page .faq-list .ans { padding: 0 18px 16px; max-width: none; }
.help-page details[hidden],
.help-page .faq-block[hidden] { display: none !important; }
.help-end {
  margin-top: 12px;
  padding-top: 8px;
}
.help-end h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
}
.help-end .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.help-end .btn { text-decoration: none; }

.app-landing {
  --ink: var(--palette-ink);
  --ink2: var(--palette-body);
  --line: var(--palette-line);
  --sand: var(--page-background);
  --sand2: var(--palette-sand);
  --paper: var(--palette-white);
  --teal: var(--palette-kelly);
  --teal-soft: var(--tone-kelly);
  --gold-bright: var(--palette-yellow);
  --black: var(--palette-ink);
  --maxw: 1120px;
  background: var(--sand);
  color: var(--ink);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.app-landing, .app-landing * { box-sizing: border-box; }
.app-landing a { color: inherit; text-decoration: none; }
.app-landing img { max-width: 100%; display: block; }
.app-landing .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.app-landing .label {
  font-family: "PT Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--teal);
}
.app-landing .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  gap: 9px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  border-radius: var(--radius-surface, 14px);
  padding: 12px 20px;
  cursor: pointer;
  border: 1.5px solid transparent;
  box-shadow: none;
}
.app-landing .btn-teal { background: var(--teal); color: var(--palette-white); }
.app-landing .btn-teal:hover { background: var(--palette-kelly); box-shadow: none; }
.app-landing .dl-group {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  width: 340px;
  max-width: 100%;
}
.app-landing .badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}
.app-landing .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  overflow: hidden;
}
.app-landing .badge-ios .store-badge-artwork { display: block; width: 100%; height: 100%; }
.app-landing .badge-android .store-badge-artwork {
  display: block;
  width: 188px;
  height: 74.5px;
  max-width: none;
}
.app-landing .qr {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: var(--radius-surface, 14px);
}
.app-landing .qr img { width: 64px; height: 64px; flex: 0 0 auto; max-width: none; }
.app-landing .qr .qr-text { font-size: 12.5px; color: var(--ink2); line-height: 1.4; }
.app-landing .qr .qr-text b { color: var(--ink); }
.app-landing .hero { padding: 64px 0 40px; background: var(--yellow); ;color:var(--palette-on-yellow);}
.app-landing .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.app-landing h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  text-transform: none;
  font-weight: 400;
  color: var(--ink);
}
.app-landing h1 .dot { color: var(--teal); }
.app-landing .hero p.sub:not(.bc-sub) {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink2);
  max-width: 520px;
  margin: 0 0 28px;
}
.app-landing .hero p.sub:not(.bc-sub) b { color: var(--ink); font-weight: 700; }
.app-landing .f-media { display: flex; justify-content: center; }
.app-landing section { padding: 72px 0; }
.app-landing .alt { background: var(--sand2); }
.app-landing .feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.app-landing .f-body,
.app-landing .f-media,
.app-landing .loop { min-width: 0; }
.app-landing h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 12px 0 16px;
  color: inherit;
}
.app-landing .f-body p {
  font-size: 16.5px;
  color: var(--ink2);
  line-height: 1.6;
  margin: 0 0 14px;
}
.app-landing .f-body p b { color: var(--ink); font-weight: 700; }
.app-landing .loop-head { margin-top: 30px; }
.app-landing .loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.app-landing .loop .card {
  display: block;
  width: auto;
  max-width: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface, 14px);
  padding: 22px 20px;
  gap: 0;
  transition: transform 0.18s, box-shadow 0.18s;
}
.app-landing .step-ico {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-surface, 14px);
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.app-landing .step-ico svg { width: 22px; height: 22px; }
.app-landing .step-n {
  font-family: "PT Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  color: var(--teal);
}
.app-landing .loop h3 {
  font-family: Epilogue, "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 500;
  margin: 8px 0 7px;
}
.app-landing .loop p { font-size: 14px; color: var(--ink2); line-height: 1.55; margin: 0; }
.app-landing .device { display: flex; justify-content: center; }
.app-landing .device img {
  width: 300px;
  height: auto;
  filter: drop-shadow(color-mix(in srgb, var(--palette-ink) 24%, transparent) 0 22px 40px);
}
.app-landing .device.tilt img {
  width: 342px;
  filter: drop-shadow(color-mix(in srgb, var(--palette-ink) 30%, transparent) -26px 30px 52px);
}
.app-landing .shot-web img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-surface, 14px);
  box-shadow: color-mix(in srgb, var(--palette-shadow) 20%, transparent) 0 22px 50px;
  border: 1px solid var(--line);
}
.app-landing .cta {
  background: var(--palette-ink);
  color: var(--palette-white);
  border-radius: var(--radius-surface, 14px);
  padding: 60px 44px;
  text-align: center;
}
.app-landing .cta h2 { color: var(--palette-white); margin-top: 6px; }
.app-landing .cta p {
  color: color-mix(in srgb, var(--palette-white) 70%, transparent);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 28px;
}
.app-landing .cta .dl-group { margin: 0 auto; }
.app-landing .cta .qr { background: var(--palette-ink); border-color: var(--palette-body); }
.app-landing .cta .qr .qr-text { color: color-mix(in srgb, var(--palette-white) 70%, transparent); }
.app-landing .cta .qr .qr-text b { color: var(--palette-white); }
.app-landing .cta .faq-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  color: var(--gold-bright);
  border-bottom: 1px solid color-mix(in srgb, var(--palette-yellow) 40%, transparent);
  padding-bottom: 2px;
}
@media (max-width: 900px) {
  .help-page .page-hero { text-align: left; }
  .faq-search { justify-content: stretch; }
  .faq-search input { width: 100%; }
  .help-page .faq-jump { justify-content: flex-start; }
  .app-landing .hero-grid,
  .app-landing .feature { grid-template-columns: 1fr; gap: 38px; }
  .app-landing .feature .f-media { order: 2; }
  .app-landing h1 { font-size: 46px; }
  .app-landing h2 { font-size: 30px; }
  .app-landing .loop { grid-template-columns: 1fr; }
  .app-landing .device img,
  .app-landing .device.tilt img { width: 280px; }
}
@media (max-width: 520px) {
  .app-landing h1 { font-size: 38px; }
  .app-landing .cta { padding: 40px 22px; }
  .app-landing .dl-group { width: 100%; }
}

.faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.faq-jump a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.faq-jump a:hover { background: var(--yellow); ;color:var(--palette-on-yellow);}
.faq-block { margin: 0 0 36px; }
.faq-block h2 {
  margin: 0 0 12px;
  scroll-margin-top: 80px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--mute);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .ans {
  padding: 0 0 18px;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--palette-body);
}
.faq-list .ans p { margin: 0 0 10px; }
.faq-list .ans p:last-child { margin-bottom: 0; }
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
}
.store-row .btn { text-decoration: none; }
.page-note {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--mute);
}
.page-note a { color: var(--ink); }
.site-nav .links a.is-on {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 900px) {
  .page-frame {
    padding: 28px 16px 56px;
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .page-band { padding: 22px 18px; margin-top: 36px; }
  .graphic-slot { min-height: 180px; padding: 20px; }

  /* Sell hero · image on top, rock clipped at the sand floor */
  .sell-hero {
    overflow: hidden;
  }
  .sell-hero-inner {
    display: flex;
    flex-direction: column;
    padding: 0 16px 28px;
    min-height: 0;
  }
  .sell-visual {
    position: relative;
    order: -1;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: calc(100% + 32px);
    margin: 0 -16px 8px;
    height: auto;
    min-height: 0;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
  }
  .sell-visual img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }
  .sell-copy {
    padding: 16px 0 8px;
    max-width: none;
  }
  .sell-copy h1 {
    font-size: clamp(34px, 9vw, 42px);
    gap: 0.26em;
  }
  .sell-copy h1 .sell-rect {
    left: -0.06em;
    right: -0.18em;
    top: 52%;
    height: 1.15em;
  }
  .sell-copy .lede {
    font-size: 15px;
    max-width: none;
  }
  .sell-copy .cta-row .btn {
    width: 100%;
  }

  /* Steps · icon left, copy right; connector stops at last icon */
  .steps-flow {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 0;
  }
  .steps-flow::before {
    display: none;
  }
  .step-flow {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 0;
  }
  .step-flow:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    width: 2px;
    height: 100%;
    background: var(--ink);
    opacity: 0.18;
    pointer-events: none;
  }
  .step-flow .step-ico {
    grid-row: 1 / span 3;
    grid-column: 1;
    align-self: start;
  }
  .step-flow .num {
    grid-column: 2;
    grid-row: 1;
  }
  .step-flow .step-title {
    grid-column: 2;
    grid-row: 2;
  }
  .step-flow p {
    grid-column: 2;
    grid-row: 3;
    max-width: none;
  }

  /* Vault CTA · stacked: copy on top, figure flush to bottom of band */
  .sell-cta {
    padding-top: 28px;
    margin-top: 28px;
    overflow: visible;
  }
  .sell-cta-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 24px 18px 0;
    overflow: visible;
  }
  .sell-cta-copy {
    position: relative;
    z-index: 1;
    order: 0;
    max-width: none;
    margin-left: 0;
    padding-bottom: 0;
  }
  .sell-cta-figure {
    position: relative;
    order: 1;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 62%;
    max-width: 220px;
    height: 230px;
    margin: 12px auto 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
  }
  .sell-cta-figure img {
    height: 115%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    transform: translateY(8%);
  }
  .sell-cta-inner .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .sell-cta-inner .cta-row .btn {
    width: 100%;
  }
  .sell-form {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sell-form-intro p { max-width: none; }
  .sell-row,
  .sell-row-phone { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .sell-cta-figure {
    width: 68%;
    max-width: 210px;
    height: 215px;
  }
}

/* ── Market page draft · Scott Brand 2.0 ───────────────── */
.site.market-page {
  background: var(--page-background);
}
.market-page .market {
  padding-top: 28px;
  padding-bottom: 64px;
  background: var(--page-background);
}
:is(.market-page, #market) .bottle-card:not(.bc-card) {
  background: var(--palette-sand);
  border: 1px solid color-mix(in srgb, var(--palette-ink) 8%, transparent);
  border-radius: var(--radius-surface, 14px);
  box-shadow: 0 14px 44px color-mix(in srgb, var(--palette-shadow) 8%, transparent);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
:is(.market-page, #market) .bottle-card:not(.bc-card):hover {
  z-index: 1;
  background: var(--palette-sand);
  border-color: color-mix(in srgb, var(--palette-ink) 8%, transparent);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--palette-shadow) 16%, transparent);
  transform: scale(1.01);
}
:is(.market-page, #market) .bottle-card:not(.bc-card):hover .specs:not(.bc-meta) {
  border-top-color: var(--palette-card-rule);
  border-bottom-color: var(--palette-card-rule);
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .plate:not(.bc-art) {
  background: var(--palette-sand);
  padding: 28px 28px 12px;
  overflow: hidden;
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .plate:not(.bc-art) img {
  transform-origin: center center;
  transition: transform 0.28s ease;
}
:is(.market-page, #market) .bottle-card:not(.bc-card):hover .plate:not(.bc-art) img {
  transform: scale(1.035);
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .tag:not(.bc-badge),
:is(.market-page, #market) .bottle-card:not(.bc-card) .count:not(.bc-badge),
:is(.market-page, #market) .bottle-card:not(.bc-card) .wish,
:is(.market-page, #market) .bottle-card:not(.bc-card) .book {
  display: none;
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .release-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .card-panel:not(.bc-panel) {
  margin: 0 12px 12px;
  padding: 16px 16px 14px;
  background: var(--palette-sand);
  border-radius: var(--radius-surface, 14px);
  transition: background-color 0.22s ease;
}
:is(.market-page, #market) .bottle-card:not(.bc-card):hover .card-panel:not(.bc-panel) {
  background: var(--palette-sand);
}
@media (prefers-reduced-motion: reduce) {
  :is(.market-page, #market) .bottle-card:not(.bc-card),
  :is(.market-page, #market) .bottle-card:not(.bc-card) .plate:not(.bc-art) img,
  :is(.market-page, #market) .bottle-card:not(.bc-card) .card-panel:not(.bc-panel) {
    transition: none;
  }
  :is(.market-page, #market) .bottle-card:not(.bc-card):hover,
  :is(.market-page, #market) .bottle-card:not(.bc-card):hover .plate:not(.bc-art) img {
    transform: none;
  }
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .body:not(.bc-body) {
  padding: 0;
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .card-actions:not(.bc-actions) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .card-actions:not(.bc-actions) button {
  appearance: none;
  margin: 0;
  height: 40px;
  padding: 0 8px;
  border-radius: var(--radius-surface, 14px);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .card-offer:not(.bc-action) {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .card-offer:not(.bc-action):hover {
  background: color-mix(in srgb, var(--palette-ink) 4%, transparent);
  border-color: var(--ink);
  color: var(--ink);
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .card-buy:not(.bc-action) {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--palette-white);
}
:is(.market-page, #market) .bottle-card:not(.bc-card) .card-buy:not(.bc-action):hover {
  background: var(--palette-body);
  border-color: var(--palette-body);
}
@media (max-width: 800px) {
  :is(.market-page, #market) .bottle-card:not(.bc-card) .card-panel:not(.bc-panel) {
    margin: 0 8px 8px;
    padding: 12px 10px 10px;
    border-radius: var(--radius-surface, 14px);
  }
  :is(.market-page, #market) .bottle-card:not(.bc-card) .card-actions:not(.bc-actions) {
    gap: 8px;
    margin-top: 12px;
  }
  :is(.market-page, #market) .bottle-card:not(.bc-card) .card-actions:not(.bc-actions) button {
    height: 36px;
    font-size: 12px;
  }
}
.market-proof {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px 40px;
  align-items: center;
  width: 100%;
  margin: 8px 0 36px;
  padding: 48px 44px 52px;
  background: var(--palette-sand);
  border: 1px solid color-mix(in srgb, var(--palette-ink) 12%, transparent);
  border-radius: var(--radius-surface, 14px);
  box-sizing: border-box;
  overflow: hidden;
}
.market-proof-main {
  display: grid;
  gap: 32px;
  min-width: 0;
}
.market-proof-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
}
.market-proof .mp {
  min-width: 0;
  flex: 0 0 auto;
}
.market-proof .mp b {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: none;
  color: var(--slate);
}
.market-proof .mp span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--palette-body);
}
.market-proof .market-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--palette-ink) 16%, transparent);
}
.market-proof .market-quotes .quote {
  margin: 0;
  padding: 0;
  border: 0;
}
.market-proof .market-quotes .quote p {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}
.market-proof .market-quotes .quote cite {
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--palette-body);
}
.market-proof-aside {
  position: relative;
  isolation: isolate;
  margin: -48px -44px -52px 0;
  align-self: stretch;
  width: auto;
  min-height: 100%;
  max-width: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.market-proof-face {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Face sits on the left of the flipped asset; bias crop there. */
  object-position: 18% 22%;
  pointer-events: none;
  user-select: none;
}
.market-proof-aside-label {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  transform: translateX(22px);
}
/* Yellow highlighter behind the label (reads over the face). */
.market-proof-aside-label::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -4%;
  right: -4%;
  top: -0.06em;
  height: 1.18em;
  background: var(--yellow);
}
a.bottle-card:not(.bc-card).release-link {
  color: inherit;
  text-decoration: none;
}
.bottle-card:not(.bc-card) .book {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--palette-body);
  line-height: 1.35;
}
.bottle-card:not(.bc-card) .book b {
  color: var(--ink);
  font-weight: 700;
}

/* ── Collection · match app Collect IA ─────────────────── */
.collect-main {
  padding-top: 28px;
  padding-bottom: 64px;
}
.collect-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  margin: 0 0 20px;
}
.collect-head .market-title {
  flex: 1 1 auto;
  min-width: 0;
}
.collect-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: stretch;
  gap: 20px 48px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 28px 36px;
  background: var(--sand);
  box-sizing: border-box;
}
.collect-stats .cs {
  min-width: 0;
  flex: 0 0 auto;
}
.collect-stats .cs b {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--kelly-2);
}
.collect-stats .cs span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--palette-body);
}
.collect-tabs {
  display: flex;
  gap: 8px 40px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 16px;
}
.collect-tabs button {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 14px 4px 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--palette-body);
  cursor: pointer;
}
.collect-tabs button.is-on {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.collect-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 18px;
}
.collect-status {
  display: flex;
  gap: 8px;
}
.collect-status button,
.collect-views button {
  appearance: none;
  box-sizing: border-box;
  height: 36px;
  min-width: 36px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: var(--palette-white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.collect-status button.is-on {
  background: var(--ink);
  color: var(--palette-white);
}
.collect-views {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.collect-views button {
  width: 36px;
  padding: 0;
}
.collect-views button.is-on {
  background: var(--yellow);
;color:var(--palette-on-yellow);}
.collect-views button svg {
  display: block;
}
.collect-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--palette-body);
}
.collect-meta .sort {
  appearance: none;
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--kelly-2);
  cursor: pointer;
  padding: 0;
}
.collect-meta .sort:hover {
  color: var(--kelly);
}
.collect-meta .sort svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Collection list view · app Collect rows */
.collect-list {
  display: none;
  border-top: 1px solid var(--line);
}
.collect-page.is-list .collect-list { display: block; }
.collect-page.is-list .bottle-grid { display: none; }
.collect-page.is-grid .collect-list { display: none; }
.collect-page.is-grid .bottle-grid { display: grid; }
.collect-page.is-tight .collect-list { display: none; }
.collect-page.is-tight .bottle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.collect-page.is-tight .bottle-card:not(.bc-card) .sub:not(.bc-sub),
.collect-page.is-tight .bottle-card:not(.bc-card) .specs:not(.bc-meta),
.collect-page.is-tight .bottle-card:not(.bc-card) .wish,
.collect-page.is-tight .bottle-card:not(.bc-card) .book {
  display: none;
}
.collect-page.is-tight .bottle-card:not(.bc-card) .name:not(.bc-name) { font-size: 13px; }
.collect-page.is-tight .bottle-card:not(.bc-card) .price:not(.bc-price) { font-size: 16px; }
.collect-page.is-tight .bottle-card:not(.bc-card) .plate:not(.bc-art) { aspect-ratio: 3 / 4; }

.collect-list {
  max-width: none;
}
.collect-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  padding: 18px 14px;
  margin: 0 -14px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}
.collect-row:hover {
  background: var(--sand);
}
.collect-row:hover .thumb {
  border-color: var(--ink);
}
.collect-row .thumb {
  width: 112px;
  height: 112px;
  border: 1px solid var(--palette-line);
  background: var(--palette-sand);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.collect-row .thumb img {
  max-width: 72%;
  max-height: 90%;
  object-fit: contain;
}
.collect-row .info {
  min-width: 0;
}
.collect-row .name:not(.bc-name) {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.collect-row .sub:not(.bc-sub) {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--palette-body);
}
.collect-row .ask {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--kelly-2);
  white-space: nowrap;
  text-align: right;
}
.collect-row .ask small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--palette-body);
}
.collect-list-btn {
  justify-self: end;
  text-decoration: none;
  white-space: nowrap;
}
.collect-page .bottle-card:not(.bc-card) .foot:not(.bc-quotes) .collect-list-btn {
  margin-left: auto;
}
.collect-empty {
  padding: 48px 0 24px;
  max-width: 420px;
}
.collect-empty-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.collect-empty-copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--palette-body);
}
.collect-row[hidden],
.bottle-card:not(.bc-card)[hidden] {
  display: none !important;
}

/* ── Release PDP ───────────────────────────────────────── */
.release-page {
  background: var(--palette-sand);
}
.release-page > .site-nav {
  background: var(--white);
}
.release-frame {
  padding-top: 28px;
  padding-bottom: 80px;
}
.release-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--palette-body);
}
.release-crumb a {
  color: inherit;
  text-decoration: none;
  font-weight: 400;
}
.release-crumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.release-crumb [aria-current="page"] {
  color: var(--palette-body);
}

/* Band 1 · gallery + trade */
.release-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px 16px;
  align-items: stretch;
  margin: 0 0 48px;
}
.release-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: 100%;
}
.release-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--yellow);
  box-shadow: none;
  box-sizing: border-box;
  overflow: hidden;
;color:var(--palette-on-yellow);}
.release-visual img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: 96%;
  max-height: 96%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
}
.release-visual img.is-on {
  opacity: 1;
  pointer-events: auto;
}
.release-visual .release-visual-knot {
  top: 28px;
  left: 32px;
  transform: none;
  width: 44px;
  height: 44px;
  max-width: none;
  max-height: none;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 56px;
  align-self: stretch;
}
.gallery-thumbs button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 6px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--yellow);
  cursor: pointer;
  box-sizing: border-box;
  flex: 0 0 auto;
;color:var(--palette-on-yellow);}
.gallery-thumbs button img {
  display: block;
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 80%;
  object-fit: contain;
}
.gallery-thumbs button.is-on {
  border-color: var(--ink);
}
.gallery-thumbs button:hover {
  border-color: var(--ink);
}

.release-trade {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}
.release-trade .trade-card {
  margin-top: auto;
}
.release-trade-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  min-height: 36px;
}
.release-trade .verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  height: 36px;
  padding: 0 12px;
  background: var(--yellow);
  color:var(--palette-on-yellow);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  box-sizing: border-box;
}
.release-trade .verified svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.release-trade h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
}
.release-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
}
.release-pickers {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  background: var(--palette-sand);
  overflow: visible;
}
.release-picker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  box-sizing: border-box;
}
.release-picker:last-child { border-right: 0; }
.release-picker .picker-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--palette-body);
  line-height: 1;
}
.release-picker .picker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.release-picker .picker-val {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.release-picker .picker-trigger {
  appearance: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--palette-white);
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
  box-sizing: border-box;
}
.release-picker .picker-trigger svg {
  display: block;
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}
.release-picker .picker-trigger:hover {
  background: var(--palette-sand);
}
.release-picker.is-open .picker-trigger {
  background: var(--palette-sand);
}
.release-picker.is-open .picker-trigger svg {
  transform: rotate(180deg);
}
.release-picker .picker-menu {
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% - 1px);
  z-index: 20;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  border: 1px solid var(--ink);
  background: var(--palette-white);
  box-sizing: border-box;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--palette-shadow) 14%, transparent);
}
.release-picker .picker-menu[hidden] {
  display: none;
}
.release-picker .picker-menu li {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  cursor: pointer;
}
.release-picker .picker-menu li:hover,
.release-picker .picker-menu li[aria-selected="true"] {
  background: var(--palette-sand);
}
.release-trade .specs:not(.bc-meta) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--palette-body);
}
.release-trade .specs:not(.bc-meta) span {
  display: inline-flex;
  align-items: center;
}
.release-trade .specs:not(.bc-meta) span + span::before {
  content: "·";
  margin: 0 10px;
  color: var(--palette-body);
}
.release-share {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
  box-sizing: border-box;
  transition: background-color 0.15s ease;
}
.release-share img {
  display: block;
  width: 16px;
  height: 16px;
}
.release-share:hover {
  background: var(--palette-sand);
}

.trade-card {
  border: 1px solid var(--ink);
  background: var(--palette-sand);
}
.trade-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.trade-prices .cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  box-sizing: border-box;
  background: var(--palette-sand);
}
.trade-prices .cell:nth-child(2n) { border-right: 0; }
.trade-prices .cell:nth-child(1),
.trade-prices .cell:nth-child(2) {
  border-bottom: 1px solid var(--line);
}
.trade-prices .label {
  display: block;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--palette-body);
  white-space: nowrap;
}
.trade-prices .val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.trade-prices .val-trend {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: inherit;
}
.trade-prices .cell.bid {
  background: color-mix(in srgb, var(--palette-slate) 12%, transparent);
}
.trade-prices .cell.bid .val {
  color: var(--slate);
}
.trade-prices .cell.ask .val {
  color: var(--kelly-2);
}
.trade-prices .cell.mute {
  padding-right: 28px;
}
.trade-prices .cell.mute .val {
  font-weight: 400;
  color: var(--palette-body);
}
.trade-prices .cell-info {
  appearance: none;
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
}
.trade-prices .cell-info img {
  display: block;
  width: 14px;
  height: 14px;
}
.trade-prices .cell-info:hover {
  opacity: 1;
}
.trade-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 16px;
}
.trade-actions .btn {
  display: flex;
  width: 100%;
  min-height: 48px;
  height: auto;
  padding: 12px 18px;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: none;
  border-radius: var(--radius-surface, 14px);
  box-sizing: border-box;
}
.trade-actions .btn:hover,
.trade-actions .btn:focus-visible {
  box-shadow: none;
}
.trade-actions .btn.buy {
  background: var(--ink);
  color: var(--palette-white);
  border: 1px solid var(--ink);
}
.trade-actions .btn.buy:hover {
  background: var(--palette-body);
}
.trade-actions .btn.offer {
  background: color-mix(in srgb, var(--palette-kelly) 10%, transparent);
  color: var(--kelly-2);
  border: 1px solid color-mix(in srgb, var(--palette-kelly) 35%, transparent);
}
.trade-actions .btn.offer:hover {
  background: color-mix(in srgb, var(--palette-kelly) 16%, transparent);
}
.trade-details-link {
  display: inline-block;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.trade-details-link:hover {
  color: var(--palette-body);
}

/* Band 2 · market depth */
.release-band-head {
  margin: 0 0 18px;
}
.release-band-head .band-ico.step-ico {
  margin: 0 0 12px;
  background: transparent;
  border: 1px solid var(--palette-card-rule);
}
.release-band-head .band-ico.step-ico img {
  filter: none;
}
.release-band-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.release-band-head p {
  margin: 0;
  font-size: 14px;
  color: var(--palette-body);
}
.release-depth {
  margin: 0 0 48px;
}
.depth-box {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--palette-sand);
  padding: 28px 32px 32px;
  box-sizing: border-box;
}
.depth-box .release-band-head {
  margin: 0 0 22px;
  padding-right: 64px;
}
.depth-expand {
  appearance: none;
  position: absolute;
  top: 28px;
  right: 32px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.depth-expand .step-ico.band-ico,
.ob-modal-close .step-ico.band-ico {
  background: transparent;
  border: 1px solid var(--palette-card-rule);
}
.depth-expand .step-ico.band-ico img,
.ob-modal-close .step-ico.band-ico img,
.ob-modal-close .step-ico.band-ico svg {
  filter: none;
  display: block;
  width: 20px;
  height: 20px;
}
.depth-expand:hover .step-ico.band-ico,
.ob-modal-close:hover .step-ico.band-ico {
  background: var(--palette-sand);
  border-color: var(--palette-card-rule);
}

/* Full order book modal */
.ob-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  box-sizing: border-box;
}
.ob-modal[hidden] {
  display: none;
}
.ob-modal-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--palette-ink) 45%, transparent);
}
.ob-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  background: var(--palette-white);
  border: 1px solid var(--ink);
  box-shadow: 0 18px 48px color-mix(in srgb, var(--palette-shadow) 22%, transparent);
  padding: 28px 32px 32px;
  box-sizing: border-box;
}
.ob-modal-head {
  position: relative;
  margin: 0 0 22px;
  padding-right: 64px;
}
.ob-modal-head .release-band-head {
  margin: 0;
}
.ob-modal-close {
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
body.ob-modal-open {
  overflow: hidden;
}

/* Modal bids · equal fade across 11 rows (30% → 0%) */
.ob-modal .ob-table .bids tr:nth-child(1) td { background: color-mix(in srgb, var(--palette-slate) 30%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(2) td { background: color-mix(in srgb, var(--palette-slate) 27%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(3) td { background: color-mix(in srgb, var(--palette-slate) 24%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(4) td { background: color-mix(in srgb, var(--palette-slate) 21%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(5) td { background: color-mix(in srgb, var(--palette-slate) 18%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(6) td { background: color-mix(in srgb, var(--palette-slate) 15%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(7) td { background: color-mix(in srgb, var(--palette-slate) 12%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(8) td { background: color-mix(in srgb, var(--palette-slate) 9%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(9) td { background: color-mix(in srgb, var(--palette-slate) 6%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(10) td { background: color-mix(in srgb, var(--palette-slate) 3%, transparent); }
.ob-modal .ob-table .bids tr:nth-child(11) td { background: transparent; }
.depth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--palette-white);
}
.depth-panel {
  min-width: 0;
  padding: 18px 18px 20px;
  border-right: 1px solid var(--line);
}
.depth-panel:last-child { border-right: 0; }
.depth-panel h3 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.depth-panel h3 span {
  color: var(--palette-body);
  font-weight: 400;
}
.ob-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}
.ob-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--palette-body);
  padding: 0 8px 8px 0;
  border-bottom: 1px solid var(--line);
}
.ob-table th:last-child,
.ob-table td:last-child {
  text-align: right;
  padding-right: 0;
}
.ob-table td {
  padding: 10px 10px;
  border-bottom: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}
.ob-table td:first-child { padding-left: 10px; }
.ob-table td:last-child { padding-right: 10px; }
.ob-table .price:not(.bc-price) { font-weight: 700; color: var(--ink); }
.ob-table .bids .price:not(.bc-price) { color: var(--slate); }
.ob-table .asks .price:not(.bc-price) { color: var(--ink); }
.ob-table .sales .price:not(.bc-price) { color: var(--kelly-2); }

/* Depth rows · equal steps from 30% → 0% */
.ob-table .bids tr:nth-child(1) td { background: color-mix(in srgb, var(--palette-slate) 30%, transparent); }
.ob-table .bids tr:nth-child(2) td { background: color-mix(in srgb, var(--palette-slate) 24%, transparent); }
.ob-table .bids tr:nth-child(3) td { background: color-mix(in srgb, var(--palette-slate) 18%, transparent); }
.ob-table .bids tr:nth-child(4) td { background: color-mix(in srgb, var(--palette-slate) 12%, transparent); }
.ob-table .bids tr:nth-child(5) td { background: color-mix(in srgb, var(--palette-slate) 6%, transparent); }
.ob-table .bids tr:nth-child(6) td { background: transparent; }
.ob-table .asks tr:nth-child(1) td { background: color-mix(in srgb, var(--palette-ink) 30%, transparent); }
.ob-table .asks tr:nth-child(2) td { background: color-mix(in srgb, var(--palette-ink) 24%, transparent); }
.ob-table .asks tr:nth-child(3) td { background: color-mix(in srgb, var(--palette-ink) 18%, transparent); }
.ob-table .asks tr:nth-child(4) td { background: color-mix(in srgb, var(--palette-ink) 12%, transparent); }
.ob-table .asks tr:nth-child(5) td { background: color-mix(in srgb, var(--palette-ink) 6%, transparent); }
.ob-table .asks tr:nth-child(6) td { background: transparent; }
.ob-table .sales tr:nth-child(1) td { background: color-mix(in srgb, var(--palette-kelly) 30%, transparent); }
.ob-table .sales tr:nth-child(2) td { background: color-mix(in srgb, var(--palette-kelly) 24%, transparent); }
.ob-table .sales tr:nth-child(3) td { background: color-mix(in srgb, var(--palette-kelly) 18%, transparent); }
.ob-table .sales tr:nth-child(4) td { background: color-mix(in srgb, var(--palette-kelly) 12%, transparent); }
.ob-table .sales tr:nth-child(5) td { background: color-mix(in srgb, var(--palette-kelly) 6%, transparent); }
.ob-table .sales tr:nth-child(6) td { background: transparent; }

/* Band 3 · trends */
.release-trends {
  margin: 0 0 48px;
}
.trends-box {
  border: 1px solid var(--ink);
  background: var(--palette-sand);
  padding: 28px 32px 32px;
  box-sizing: border-box;
}
.trends-box .release-band-head {
  margin: 0 0 22px;
}
.trend-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
}
.trend-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 16px 14px 18px;
  border: 1px solid var(--palette-line);
  box-sizing: border-box;
  background: var(--palette-sand);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.trend-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.trend-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--palette-body);
  line-height: 1.2;
}
.trend-info {
  appearance: none;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  flex: 0 0 auto;
}
.trend-info img {
  display: block;
  width: 14px;
  height: 14px;
}
.trend-info:hover { opacity: 1; }
.trend-meta {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--palette-body);
}
.trend-val {
  margin: auto 0 0;
  padding-top: 12px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.trend-val span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--palette-body);
  letter-spacing: 0;
}
.trend-val.is-slate { color: var(--slate); }
.trend-val.is-violet { color: var(--unicorn, var(--palette-body)); }
.trend-val.is-kelly { color: var(--kelly-2); }
.trend-val.is-kelly span {
  color: inherit;
}

/* Band 4 · price history */
.release-history {
  margin: 0 0 48px;
}
.history-box {
  border: 1px solid var(--ink);
  background: var(--palette-sand);
  padding: 28px 32px 32px;
  box-sizing: border-box;
}
.history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 22px;
}
.history-head .release-band-head {
  margin: 0;
  min-width: 0;
}
.ph-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
}
.ph-toggle button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: var(--palette-white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
}
.ph-toggle button .ph-toggle-knot {
  display: block;
  width: 16px;
  height: 16px;
}
.ph-toggle button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--palette-white);
}
.ph-toggle button.is-on .ph-toggle-knot {
  filter: brightness(0) invert(1);
}
.ph-toggle button:hover:not(.is-on) {
  background: var(--palette-sand);
}
.ph-summary {
  margin: 0 0 18px;
}
.ph-price {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ph-delta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--kelly-2);
}
.ph-delta .ph-when {
  font-weight: 400;
  color: var(--palette-body);
}
.ph-chart {
  position: relative;
  width: 100%;
  margin: 0 0 18px;
  border: 1px solid var(--palette-line);
  background: var(--palette-sand);
  box-sizing: border-box;
  overflow: hidden;
  cursor: crosshair;
}
.ph-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 260px;
}
.ph-hover {
  pointer-events: none;
}
.ph-hover[hidden] {
  display: none;
}
.ph-hover-rule {
  stroke: color-mix(in srgb, var(--palette-ink) 22%, transparent);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.ph-hover-dot {
  fill: var(--kelly-2);
  stroke: var(--palette-white);
  stroke-width: 2.5;
}
.ph-hover-dot.is-market {
  fill: var(--slate);
}
.ph-tip {
  position: absolute;
  z-index: 2;
  min-width: 108px;
  padding: 12px 14px;
  border-radius: var(--radius-surface, 14px);
  background: var(--kelly-2);
  color: var(--palette-white);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  white-space: nowrap;
  box-sizing: border-box;
}
.ph-tip.is-market {
  background: var(--slate);
}
.ph-tip[hidden] {
  display: none;
}
.ph-tip.is-flip {
  transform: translate(-50%, 12px);
}
.ph-tip-price {
  display: block;
  font-family: var(--font-body), "Helvetica Neue", Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 6px;
  text-align: center;
}
.ph-tip-date {
  display: block;
  opacity: 0.8;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
}
.ph-grid line {
  stroke: var(--palette-line);
  stroke-width: 1;
}
.ph-y text,
.ph-x text {
  fill: var(--palette-mute);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.02em;
}
.ph-line {
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.ph-line-market {
  stroke: var(--palette-card-rule);
  stroke-width: 2;
}
.ph-line-baxus {
  stroke: var(--palette-card-rule);
  stroke-width: 2;
}
.ph-line-market.is-on {
  stroke: var(--slate);
  stroke-width: 2.5;
}
.ph-line-baxus.is-on {
  stroke: var(--kelly-2);
  stroke-width: 2.5;
}
.ph-fill {
  opacity: 0;
  pointer-events: none;
}
.ph-fill-baxus.is-on,
.ph-fill-market.is-on {
  opacity: 1;
}
.ph-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.ph-ranges button {
  appearance: none;
  box-sizing: border-box;
  height: 36px;
  min-width: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--ink);
  background: var(--palette-white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.ph-ranges button.is-on {
  background: var(--ink);
  color: var(--palette-white);
}
.ph-ranges button:hover:not(.is-on) {
  background: var(--palette-sand);
}
.ph-note {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--palette-body);
  text-align: center;
}

/* Band 5 · about + specs */
.release-details {
  margin: 0;
  padding: 28px 32px 32px;
  border: 1px solid var(--ink);
  background: var(--palette-sand);
  box-sizing: border-box;
}
.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px 40px;
  align-items: start;
}
.details-main,
.details-specs {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.details-main .release-band-head,
.details-specs .release-band-head {
  margin: 0 0 16px;
  min-height: 52px;
}
.details-copy p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--palette-body);
}
.details-copy > p:last-child { margin-bottom: 0; }
.release-vault-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--palette-card-rule);
  background: var(--palette-sand);
  box-sizing: border-box;
}
.release-vault-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--palette-body);
}
.release-vault-ico svg {
  display: block;
}
.release-vault-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--palette-body);
}
.release-stats {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--palette-ink) 12%, transparent);
}
.release-stats > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.38fr) minmax(0, 0.62fr);
  gap: 8px 16px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--palette-ink) 12%, transparent);
}
.release-stats dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.release-stats dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--palette-body);
}

/* Band 6 · more like this · desktop Market bottle-card tiles */
.release-more {
  margin: 48px 0 0;
}
.release-more .release-band-head {
  margin: 0 0 20px;
}
.release-more-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  box-sizing: border-box;
}
.release-more-track .bottle-card:not(.bc-card) {
  flex: 0 0 calc((100% - 48px) / 4);
  width: calc((100% - 48px) / 4);
  min-width: calc((100% - 48px) / 4);
  max-width: calc((100% - 48px) / 4);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  border: 1px solid var(--palette-line);
  box-shadow: none;
  background: var(--palette-sand);
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}
.release-more-track .bottle-card:not(.bc-card) .plate:not(.bc-art) {
  flex: 0 0 auto;
  aspect-ratio: 492 / 456;
  padding: 52px 32px 4px;
}
.release-more-track .bottle-card:not(.bc-card) .plate:not(.bc-art) img {
  height: 86%;
  max-width: 72%;
}
.release-more-track .bottle-card:not(.bc-card) .tag:not(.bc-badge) {
  top: 18px;
  left: 18px;
  height: 33px;
  padding: 0 12px;
  font-size: 13px;
  max-width: none;
}
.release-more-track .bottle-card:not(.bc-card) .count:not(.bc-badge) {
  top: 26px;
  right: 18px;
  left: auto;
  font-size: 13px;
}
.release-more-track .bottle-card:not(.bc-card) .body:not(.bc-body) {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 4px 18px 28px;
  min-height: 0;
}
.release-more-track .bottle-card:not(.bc-card) .name:not(.bc-name) {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}
.release-more-track .bottle-card:not(.bc-card) .sub:not(.bc-sub) {
  flex: 0 0 auto;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.2;
  min-height: calc(1.2em * 2);
}
.release-more-track .bottle-card:not(.bc-card) .specs:not(.bc-meta) {
  flex: 0 0 auto;
  margin-top: 14px;
  padding: 12px 0;
  font-size: 11px;
  display: block;
}
.release-more-track .bottle-card:not(.bc-card) .foot:not(.bc-quotes) {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 16px;
}
.release-more-track .bottle-card:not(.bc-card) .price:not(.bc-price) { font-size: 28px; }
.release-more-track .bottle-card:not(.bc-card) .wish { font-size: 11px; }
.release-more-track .bottle-card:not(.bc-card) .book {
  display: none;
}

@media (max-width: 900px) {
  .market-page .market-title .script,
  .collect-page .market-title .script {
    font-size: 40px;
  }
  .market-page .market-title .block,
  .collect-page .market-title .block {
    font-size: 36px;
  }
  .market-page .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 4px;
    gap: 8px;
  }
  .market-page .chips::-webkit-scrollbar { display: none; }
  .market-page .chip-cat { flex: 0 0 auto; }
  :is(.market-page, #market) .bottle-card:not(.bc-card) .book { display: none; }
  .market-proof {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 28px;
  }
  /* Face band across the top of the rounded banner */
  .market-proof-aside {
    order: -1;
    margin: 0;
    min-height: 220px;
    height: 220px;
    place-items: center;
    border-radius: 0;
  }
  .market-proof-aside::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 48px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, var(--palette-sand) 100%);
  }
  .market-proof-aside-label {
    text-align: center;
    font-size: clamp(15px, 4.8vw, 19px);
    white-space: nowrap;
    transform: none;
  }
  .market-proof-aside-label::before {
    left: -2%;
    right: -2%;
  }
  .market-proof-face {
    /* Keep the head under the centered label on narrow widths */
    object-position: 42% 14%;
  }
  .market-proof-main {
    gap: 20px;
    padding: 18px 20px 0;
  }
  .market-proof-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }
  .market-proof .market-quotes {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 20px;
  }
  .market-proof .market-quotes .quote p {
    font-size: 15px;
  }
  .release-frame {
    padding-top: 20px;
    padding-bottom: 56px;
  }
  .release-crumb {
    margin-bottom: 16px;
    font-size: 10px;
    gap: 6px;
  }
  .release-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
    align-items: start;
  }
  .release-visual {
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .release-visual img {
    max-width: 92%;
    max-height: 92%;
  }
  .release-visual .release-visual-knot {
    top: 20px;
    left: 16px;
    width: 34px;
    height: 34px;
    max-width: none;
    max-height: none;
  }
  .release-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
  }
  .gallery-thumbs {
    flex-direction: row;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    align-self: auto;
  }
  .gallery-thumbs button {
    width: 64px;
    height: 64px;
    padding: 6px;
    flex: 0 0 64px;
  }
  .release-trade .trade-card {
    margin-top: 0;
  }
  .release-trade-top {
    margin-bottom: 14px;
    min-height: 32px;
  }
  .release-trade .verified,
  .release-share {
    height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }
  .release-trade .verified svg {
    width: 14px;
    height: 14px;
  }
  .release-trade h1 {
    font-size: clamp(26px, 7vw, 32px);
    margin-bottom: 14px;
  }
  .release-meta {
    gap: 12px;
    margin-bottom: 16px;
  }
  .release-pickers {
    margin-bottom: 18px;
  }
  .release-picker {
    padding: 12px 12px;
  }
  .release-picker .picker-val {
    font-size: 16px;
  }
  .release-picker .picker-trigger {
    width: 30px;
    height: 30px;
  }
  .release-trade .specs:not(.bc-meta) {
    font-size: 13px;
  }
  .trade-prices .cell {
    padding: 10px 12px;
    gap: 5px;
  }
  .trade-prices .cell.mute {
    padding-right: 26px;
  }
  .trade-prices .label {
    font-size: 9px;
  }
  .trade-prices .val {
    font-size: 18px;
  }
  .trade-prices .val-trend {
    width: 12px;
    height: 12px;
  }
  .trade-actions {
    padding: 12px;
    gap: 8px;
  }
  .trade-actions .btn {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
  }
  .release-depth {
    margin-bottom: 28px;
  }
  .depth-box { padding: 20px 16px 22px; }
  .depth-box .release-band-head {
    margin-bottom: 16px;
    padding-right: 56px;
  }
  .depth-expand {
    top: 20px;
    right: 16px;
  }
  .depth-expand .step-ico,
  .ob-modal-close .step-ico {
    width: 40px;
    height: 40px;
  }
  .ob-modal {
    padding: 16px 12px;
  }
  .ob-modal-panel {
    padding: 20px 16px 22px;
    max-height: 92vh;
  }
  .depth-grid { grid-template-columns: 1fr; }
  .depth-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 12px 16px;
  }
  .depth-panel:last-child { border-bottom: 0; }
  .release-trends,
  .release-history {
    margin-bottom: 28px;
  }
  .trends-box,
  .history-box {
    padding: 20px 16px 22px;
  }
  .trends-box .band-ico.step-ico,
  .history-box .band-ico.step-ico {
    width: 40px;
    height: 40px;
  }
  .trends-box .release-band-head h2,
  .history-box .release-band-head h2 {
    font-size: 18px;
  }
  .trends-box .release-band-head p,
  .history-box .release-band-head p {
    font-size: 13px;
  }
  .trend-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 0 16px 4px;
  }
  .trend-tile {
    flex: 0 0 148px;
    width: 148px;
    scroll-snap-align: start;
    padding: 14px 12px 16px;
  }
  .trend-val { font-size: 20px; }
  .trend-meta { font-size: 12px; }
  .history-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .ph-toggle {
    align-self: stretch;
    width: 100%;
  }
  .ph-toggle button {
    flex: 1 1 0;
    height: 40px;
    padding: 0 10px;
    font-size: 11px;
  }
  .ph-price { font-size: 30px; }
  .ph-delta { font-size: 14px; gap: 8px 12px; }
  .ph-chart svg { min-height: 200px; }
  .ph-ranges {
    width: 100%;
    gap: 6px;
  }
  .ph-ranges button {
    flex: 1 1 0;
    min-width: 0;
    height: 34px;
    padding: 0 6px;
    font-size: 11px;
  }
  .details-grid { grid-template-columns: 1fr; gap: 28px; }
  .release-details { padding: 20px 16px 24px; }
  .details-main .release-band-head,
  .details-specs .release-band-head { min-height: 0; }
  .release-stats > div { grid-template-columns: 110px minmax(0, 1fr); }
  .release-more {
    margin-top: 32px;
  }
  .release-more-track {
    margin: 0 -16px;
    padding: 2px 16px 12px;
    gap: 12px;
  }
  .release-more-track .bottle-card:not(.bc-card) {
    flex-basis: min(260px, 72vw);
    width: min(260px, 72vw);
    min-width: min(260px, 72vw);
    max-width: min(260px, 72vw);
  }
  .release-more-track .bottle-card:not(.bc-card) .name:not(.bc-name) { font-size: 18px; }
  .release-more-track .bottle-card:not(.bc-card) .price:not(.bc-price) { font-size: 22px; }
  .release-more-track .bottle-card:not(.bc-card) .plate:not(.bc-art) {
    padding: 36px 20px 4px;
  }
  .ob-modal-grid {
    grid-template-columns: 1fr;
  }
  .ob-modal-head {
    padding-right: 52px;
  }
  .collect-page.is-tight .bottle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Collection mobile · match app Collect density */
  .collect-main {
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .collect-head {
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
  }
  .collect-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 12px 14px;
    padding: 18px 16px;
  }
  .collect-stats .cs b { font-size: 22px; }
  .collect-stats .cs span { font-size: 10px; margin-top: 4px; }
  .collect-tabs {
    gap: 0;
    margin-bottom: 14px;
  }
  .collect-tabs button {
    flex: 1 1 0;
    text-align: center;
    padding: 12px 6px 10px;
  }
  .collect-toolbar {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 12px;
  }
  .collect-status {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
  }
  .collect-status button {
    flex: 1 1 0;
    height: 34px;
    padding: 0 10px;
    font-size: 10px;
  }
  .collect-views {
    margin-left: 0;
    flex: 0 0 auto;
    gap: 6px;
  }
  .collect-views button {
    width: 34px;
    height: 34px;
  }
  .collect-meta { margin-bottom: 10px; }
  .collect-list { border-top: 0; }
  .collect-row {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 6px 16px;
    align-items: center;
    padding: 14px 0;
    margin: 0;
    border-bottom: 0;
  }
  .collect-row:hover {
    background: transparent;
  }
  .collect-row:hover .thumb {
    border-color: transparent;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--palette-shadow) 10%, transparent);
  }
  .collect-row .thumb {
    grid-row: 1 / -1;
    width: 88px;
    height: 88px;
    border: 0;
    border-radius: var(--radius-surface, 14px);
    background: var(--palette-white);
    box-shadow: 0 2px 12px color-mix(in srgb, var(--palette-shadow) 8%, transparent);
  }
  .collect-row .thumb img {
    max-width: 78%;
    max-height: 88%;
  }
  .collect-row .info {
    grid-column: 2;
    grid-row: 1;
  }
  .collect-row .name:not(.bc-name) {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
  }
  .collect-row .sub:not(.bc-sub) {
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.35;
    color: var(--palette-body);
  }
  .collect-row .ask,
  .collect-row .collect-list-btn {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    margin-top: 2px;
  }
  .collect-row .ask {
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
  }
  .collect-row .ask small {
    display: inline;
    margin: 0 0 0 4px;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
  }
  .collect-row .collect-list-btn {
    height: 32px;
    padding: 0 12px;
    font-size: 11px;
  }
  .collect-page.is-grid .bottle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .collect-page.is-grid .bottle-card:not(.bc-card) .plate:not(.bc-art) {
    aspect-ratio: 1 / 1;
    padding: 22px 6px 2px;
  }
  .collect-page.is-grid .bottle-card:not(.bc-card) .tag:not(.bc-badge) {
    top: 8px;
    left: 8px;
    height: 22px;
    padding: 0 6px;
    font-size: 8px;
  }
  .collect-page.is-grid .bottle-card:not(.bc-card) .count:not(.bc-badge) {
    top: 10px;
    right: 8px;
    font-size: 8px;
  }
  .collect-page.is-grid .bottle-card:not(.bc-card) .name:not(.bc-name) { font-size: 13px; }
  .collect-page.is-grid .bottle-card:not(.bc-card) .sub:not(.bc-sub) { font-size: 12px; }
  .collect-page.is-grid .bottle-card:not(.bc-card) .specs:not(.bc-meta) { font-size: 9px; }
  .collect-page.is-grid .bottle-card:not(.bc-card) .body:not(.bc-body) { padding: 2px 8px 10px; }
  .collect-page.is-grid .bottle-card:not(.bc-card) .price:not(.bc-price) { font-size: 15px; }
  .collect-page.is-grid .bottle-card:not(.bc-card) .foot:not(.bc-quotes) {
    flex-wrap: wrap;
    gap: 6px;
  }
  .collect-page.is-grid .bottle-card:not(.bc-card) .foot:not(.bc-quotes) .collect-list-btn {
    width: 100%;
    margin-left: 0;
    height: 32px;
    padding: 0 8px;
    font-size: 11px;
  }
}
@media (max-width: 560px) {
  .collect-stats .cs b { font-size: 20px; }
  .collect-row .thumb {
    width: 84px;
    height: 84px;
    border-radius: var(--radius-surface, 14px);
  }
  .market-proof { padding: 0 0 24px; }
  .market-proof .mp b { font-size: 24px; }
  .market-proof-aside {
    min-height: 200px;
    height: 200px;
  }
  .market-proof-main {
    padding: 18px 16px 0;
  }
  .market-proof-aside-label {
    font-size: clamp(14px, 4.6vw, 17px);
    transform: none;
  }
  .market-page .market-title .script,
  .collect-page .market-title .script {
    font-size: 34px;
  }
  .market-page .market-title .block,
  .collect-page .market-title .block {
    font-size: 30px;
  }
  .trade-actions { flex-direction: column; align-items: stretch; }
  .trade-actions .btn { width: 100%; }
}

/* Wallet sheet · opened from the header balance chip */
body.wallet-open { overflow: hidden; }
.wallet-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.wallet-sheet[hidden] { display: none; }
.wallet-sheet-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: color-mix(in srgb, var(--palette-sand) 55%, transparent);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.wallet-sheet-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  box-sizing: border-box;
  padding: 18px 28px 40px;
  overflow: auto;
  background: var(--palette-sand);
  border-left: 1px solid color-mix(in srgb, var(--palette-ink) 8%, transparent);
  border-radius: var(--radius-surface, 14px) 0 0 var(--radius-surface, 14px);
  box-shadow: -18px 0 48px color-mix(in srgb, var(--palette-shadow) 10%, transparent);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.wallet-sheet.is-on .wallet-sheet-panel { transform: none; }
.wallet-sheet-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-surface, 14px);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.wallet-sheet-close:hover { background: var(--palette-sand); }
.wallet-sheet-close svg { display: block; width: 14px; height: 14px; }
.wallet-sheet-panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.wallet-sheet-panel p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--palette-body);
}
.wallet-sheet-card {
  margin-top: 16px;
  padding: 16px 18px 18px;
  border: 1px solid color-mix(in srgb, var(--palette-ink) 8%, transparent);
  border-radius: var(--radius-surface, 14px);
  background: var(--palette-sand);
}
.wallet-sheet-card span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--palette-body);
}
.wallet-sheet-card strong {
  display: block;
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.wallet-sheet-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 32px;
}
.wallet-sheet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-surface, 14px);
  background: var(--palette-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.wallet-sheet-btn svg { display: block; width: 14px; height: 14px; }
.wallet-sheet-btn:hover { background: var(--palette-sand); }
.wallet-sheet-btn.is-ink {
  background: var(--ink);
  color: var(--palette-white);
}
.wallet-sheet-btn.is-ink:hover { background: var(--palette-body); }
.wallet-sheet-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 32px;
}
.wallet-sheet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--kelly-2);
  text-decoration: none;
  cursor: pointer;
}
.wallet-sheet-link:hover { color: var(--palette-body); }
.wallet-sheet-link svg { display: block; width: 14px; height: 14px; }
.wallet-sheet-block + .wallet-sheet-block { margin-top: 4px; }
@media (max-width: 480px) {
  .wallet-sheet-panel {
    width: 100%;
    border-radius: 0;
    padding: 16px 16px 32px;
  }
}
