:root {
  color-scheme: dark;
  --bg: #0d0c0a;
  --deep: #080807;
  --panel: #151410;
  --panel-2: #1c1a15;
  --line: #302d24;
  --line-soft: #24221c;
  --text: #f4f1e9;
  --muted: #b2ac9e;
  --faint: #9a9280;
  --gold: #e9be4f;
  --gold-soft: #e9be4f12;
  --green: #6eda9b;
  --red: #ff6759;
  --body: "Barlow", sans-serif;
  --display: "Teko", Impact, sans-serif;
  --mono: "JetBrains Mono", monospace;
  font-family: var(--body);
  font-synthesis: none;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f1e8;
  --deep: #ebe6da;
  --panel: #fffdf7;
  --panel-2: #eae5d9;
  --line: #d1c8b7;
  --line-soft: #e0d9cb;
  --text: #26221b;
  --muted: #635b4c;
  --faint: #716652;
  --gold: #e9be4f;
  --green: #217c4b;
  --gold-soft: #9b750c12;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--gold);
  color: #211b0c;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
}
h1 {
  font-size: 64px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.3px;
}
h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 20px;
  font-weight: 700;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  background: none;
  border: 0;
}
a,
button {
  touch-action: manipulation;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
input,
select {
  min-height: 44px;
}
input::placeholder {
  color: var(--faint);
}
button,
a {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
button:not(:disabled):hover,
a:hover {
  filter: brightness(1.08);
}
main:focus {
  outline: none;
}
.app-header {
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: 1560px;
  height: 100%;
  margin: auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.2px;
  font-weight: 600;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.brand span {
  color: var(--gold);
}
.brand i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  margin-left: 5px;
  align-self: center;
}
.desktop-nav {
  display: flex;
  gap: 3px;
}
.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 11px 15px;
  border-radius: 8px;
  white-space: nowrap;
}
.desktop-nav a[aria-current="page"] {
  color: var(--gold);
  background: var(--gold-soft);
}
.desktop-nav a:hover {
  background: var(--panel-2);
}
.header-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--deep);
  border-radius: 8px;
  position: relative;
  width: 290px;
  min-width: 180px;
  padding: 0 10px 0 15px;
}
.header-search input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 13px;
  padding-right: 30px;
}
.header-search button {
  width: 38px;
  height: 42px;
  position: absolute;
  right: 20px;
  color: var(--muted);
}
.header-search kbd {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 4px;
}
.header-search:focus-within {
  border-color: var(--gold);
}
.button {
  min-height: 46px;
  padding: 12px 21px;
  border-radius: 8px;
  background: var(--gold);
  color: #211b0c;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.4;
  white-space: nowrap;
  border: 1px solid transparent;
}
.button:hover {
  box-shadow: 0 4px 24px #e9be4f18;
}
.button.secondary {
  border-color: var(--line);
  color: var(--text);
  background: var(--panel);
}
.button.secondary:hover {
  border-color: var(--faint);
  box-shadow: none;
}
.button-large {
  min-height: 54px;
  padding: 15px 24px;
  font-size: 16px;
}
.full-width {
  width: 100%;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  flex-shrink: 0;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--panel-2);
  color: var(--text);
}
.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 0;
}
.text-link {
  color: var(--gold);
}
html[data-theme="light"] .text-link,
html[data-theme="light"] .gold,
html[data-theme="light"] .eyebrow.gold {
  color: #866005;
}
.text-button {
  color: var(--muted);
}
.text-button:hover {
  color: var(--text);
}
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 1.8px;
  color: var(--faint);
  text-transform: uppercase;
}
.gold {
  color: var(--gold);
}
main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  min-height: 70vh;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 25px;
  align-items: center;
  min-height: 525px;
  padding: 35px 0 40px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow {
  font-size: 10px;
  letter-spacing: 2.2px;
  margin-bottom: 21px;
}
.hero-copy h1 {
  font-size: clamp(60px, 6.3vw, 94px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0.3px;
}
.hero-copy h1 span {
  color: var(--gold);
}
.hero-copy > p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.55;
  margin: 20px 0 27px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-assurances {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 23px;
  font-size: 11px;
  color: var(--faint);
}
.hero-assurances span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-assurances svg {
  width: 14px;
  height: 14px;
}
.hero-visual {
  height: 440px;
  position: relative;
  isolation: isolate;
}
.hero-orbit {
  position: absolute;
  inset: 10px -20px;
  background: radial-gradient(ellipse at 50% 50%, #d9a93315, transparent 68%);
  z-index: -2;
}
.hero-orbit:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #e9be4f14;
  border-radius: 50%;
}
.hero-card {
  position: absolute;
  width: 210px;
  top: 42px;
  left: 50%;
  background: #25221dcf;
  border: 1px solid #7b6d4866;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 20px 30px #0006;
  transform-origin: 50% 70%;
  backdrop-filter: blur(10px);
}
.hero-card-1 {
  transform: translateX(-99%) rotate(-15deg) translateY(25px);
  z-index: 1;
}
.hero-card-2 {
  transform: translateX(1%) rotate(14deg) translateY(10px);
  z-index: 1;
}
.hero-card-3 {
  transform: translateX(-50%) rotate(-3deg);
  top: 67px;
  z-index: 2;
  width: 220px;
  border-color: #e9be4f80;
  box-shadow: 0 30px 60px #0008;
}
.hero-card:hover {
  z-index: 3;
  border-color: var(--gold);
}
.slab-label {
  height: 32px;
  background: #11100f;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px;
  color: #e8dfcc;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.7px;
}
.slab-label b {
  font-size: 8px;
  color: var(--gold);
}
.hero-card-art {
  aspect-ratio: 0.716;
  overflow: hidden;
  border-radius: 6px;
  background: #141311;
}
.hero-card-art .art-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.slab-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 2px 0;
  color: #f4f1e9;
  font-size: 10px;
  font-weight: 600;
}
.slab-footer svg {
  width: 13px;
  height: 13px;
}
.scan-callout {
  position: absolute;
  z-index: 4;
  bottom: 47px;
  left: 3%;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #e9be4f;
  color: #211b0c;
  padding: 13px 16px;
  border-radius: 9px;
  box-shadow: 0 10px 35px #0004;
  transform: rotate(-3deg);
}
.scan-callout > svg {
  width: 26px;
  height: 26px;
}
.scan-callout span {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 1px;
}
.scan-callout b {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0;
}
.hero-art-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--faint);
}
.utility-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  margin-bottom: 55px;
}
.utility-strip > a {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 85px;
  padding: 20px 23px;
  border-right: 1px solid var(--line);
}
.utility-strip > a:last-child {
  border: 0;
}
.utility-strip > a:hover {
  background: var(--panel-2);
}
.utility-number {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--faint);
}
.utility-strip > a > svg {
  color: var(--gold);
  width: 23px;
  height: 23px;
}
.utility-strip > a > svg:last-child {
  margin-left: auto;
  width: 15px;
  color: var(--faint);
}
.utility-strip b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.utility-strip small {
  font-size: 11px;
  color: var(--faint);
}
.content-section {
  margin: 55px 0;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}
.section-title .eyebrow {
  margin-bottom: 7px;
}
.section-title h2 {
  font-size: 29px;
}
.section-description {
  margin: -10px 0 24px;
  color: var(--muted);
  font-size: 14px;
}
.category-grid {
  display: grid;
  /* Six categories (beta/home-categories.mjs): three by two here, two by three below 900px. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.category-card {
  height: 165px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 19px;
}
.category-card > div {
  position: relative;
  z-index: 2;
}
.category-card small {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.5px;
  color: #d6c8b4;
  max-width: 155px;
  display: block;
}
.category-card h3 {
  font-family: var(--display);
  font-size: 39px;
  color: #fff4df;
  font-weight: 500;
  margin-top: 10px;
  /* A close dark halo keeps the title readable where it crosses a picture (the tilted cards on phones). */
  text-shadow: 0 1px 2px #000c, 0 0 12px #000a;
}
.category-card span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ebdfcd;
  font-size: 11px;
  margin-top: 26px;
}
.category-card span svg {
  width: 14px;
  height: 14px;
}
.category-card img {
  position: absolute;
  right: -8px;
  top: 0;
  height: 100%;
  width: 60%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.68;
  filter: saturate(0.65);
}
.category-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #17130cf0, #17130c88 50%, transparent);
}
.category-pokemon {
  background: #332515;
}
/* Pokémon and VeeFriends show a tilted card, not a portrait. */
.category-pokemon img,
.category-veefriends img {
  height: 177px;
  width: 115px;
  top: 10px;
  right: 10px;
  object-fit: contain;
  transform: rotate(16deg);
  opacity: 0.95;
  filter: none;
}
.category-pokemon:after {
  background: linear-gradient(90deg, #342615, #34261577, transparent);
}
.category-veefriends {
  background: #2f1a29;
}
.category-veefriends:after {
  background: linear-gradient(90deg, #2f1a29, #2f1a2977, transparent);
}
.category-basketball {
  background: #38201b;
}
.category-baseball {
  background: #162d28;
}
.category-football {
  background: #202437;
}
/* Pitch olive: clearly apart from Baseball's teal above it on tablets and phones. */
.category-soccer {
  background: #29310f;
}
/* A wide card shows a band of each portrait: keep the player's face in it, not the chest. */
.category-basketball img {
  object-position: 50% 8%;
}
.category-baseball img {
  object-position: 50% 10%;
}
.category-football img {
  object-position: 50% 30%;
}
.category-soccer img {
  object-position: 50% 4%;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.card-grid.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.card-tile:hover {
  border-color: #8d7745;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #0002;
}
.card-link {
  display: block;
  height: 100%;
}
.tile-art {
  height: 223px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--panel-2), var(--deep));
  display: grid;
  place-items: center;
  padding: 28px 20px 14px;
}
.tile-art.card .art-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 9px 8px #0006);
  transition: transform 0.2s;
}
.card-tile:hover .tile-art.card img {
  transform: rotate(-3deg) scale(1.035);
}
.tile-art.portrait {
  padding: 0;
}
.tile-art.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  opacity: 0.83;
}
.tile-art.portrait:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #15141088, transparent 50%);
}
.art-note {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.6px;
  background: #0d0c0ab8;
  color: #ddd4c0;
  padding: 3px 5px;
  border-radius: 3px;
}
.tile-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}
.badge {
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.7px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--gold);
  color: #33250a;
  padding: 4px 6px;
  border-radius: 3px;
  line-height: 1;
}
.badge svg {
  width: 10px;
  height: 10px;
}
.muted-badge {
  background: var(--deep);
  border: 1px solid var(--line);
  color: var(--muted);
}
.tile-info {
  padding: 14px;
}
.tile-info .eyebrow {
  font-size: 7px;
  letter-spacing: 1.1px;
  margin-bottom: 5px;
}
.tile-info h3 {
  font-size: 17px;
  line-height: 1.1;
  min-height: 37px;
}
.tile-meta {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  margin: 5px 0 15px;
  min-height: 31px;
}
.tile-pricing {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.tile-pricing small {
  font-family: var(--mono);
  font-size: 6px;
  color: var(--faint);
  letter-spacing: 0.5px;
  display: block;
}
.tile-pricing strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.35;
}
.tile-pricing svg {
  width: 14px;
  height: 14px;
  color: var(--faint);
}
.tile-date {
  font-size: 9px;
  color: var(--faint);
  line-height: 1.4;
  min-height: 25px;
}
.no-art {
  border: 1px solid var(--line);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding: 15px 8px;
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  color: var(--faint);
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
}
.no-art b {
  font-family: var(--display);
  font-size: 58px;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.no-art small {
  font-size: 7px;
  line-height: 1.3;
}
.no-art-top {
  text-transform: uppercase;
  font-size: 7px;
  letter-spacing: 1px;
}
.market-section {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  margin: 65px 0;
}
.sales-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}
.sale-row {
  width: 100%;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 85px 55px 65px 16px;
  gap: 13px;
  align-items: center;
  text-align: left;
  padding: 18px;
  border-bottom: 1px solid var(--line-soft);
  min-height: 75px;
}
.sale-row:last-child {
  border-bottom: 0;
}
.sale-row:hover {
  background: var(--panel-2);
}
.source-logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 800;
  background: var(--deep);
}
.source-logo.whatnot {
  color: #f5da66;
}
.sale-identity {
  min-width: 0;
}
.sale-identity b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sale-identity small {
  font-size: 10px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-top: 3px;
}
.sale-grade {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 6px;
  font-family: var(--mono);
  font-size: 8px;
  justify-self: start;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sale-date {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--faint);
}
.sale-row > strong {
  text-align: right;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
}
.sale-row > svg {
  width: 14px;
  color: var(--faint);
}
.why-mazi {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 35px;
}
.why-mazi .eyebrow {
  margin-bottom: 15px;
}
.why-mazi h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 17px;
}
.why-mazi p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 285px;
}
.why-mazi ul {
  list-style: none;
  margin: 24px 0 13px;
  padding: 0;
}
.why-mazi li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.why-mazi li svg {
  width: 15px;
  color: var(--gold);
}
.brand-stamp {
  position: absolute;
  right: -12px;
  bottom: -54px;
  font-family: var(--display);
  font-size: 180px;
  color: var(--gold);
  opacity: 0.035;
  transform: rotate(-15deg);
  z-index: -1;
}
.collection-banner {
  display: flex;
  align-items: center;
  gap: 27px;
  background: linear-gradient(105deg, var(--panel-2), var(--panel));
  padding: 33px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 55px 0 70px;
}
.collection-banner .eyebrow {
  margin-bottom: 8px;
}
.collection-banner h2 {
  font-size: 27px;
  margin-bottom: 10px;
}
.collection-banner p {
  font-size: 14px;
  color: var(--muted);
}
.collection-banner > .button {
  margin-left: auto;
}
.collection-symbol {
  width: 74px;
  height: 74px;
  border: 1px solid #e9be4f40;
  background: var(--gold-soft);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold);
  transform: rotate(-8deg);
  flex-shrink: 0;
}
.collection-symbol svg {
  width: 36px;
  height: 36px;
}
.app-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line-soft);
}
.app-footer .brand {
  font-size: 28px;
}
.app-footer p {
  font-size: 12px;
  color: var(--muted);
}
.app-footer > span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 7px;
  color: var(--faint);
  letter-spacing: 1px;
}
.app-footer button {
  font-size: 11px;
}
.footer-legal {
  display: flex;
  gap: 18px;
}
.footer-legal a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mobile-nav {
  display: none;
}
.page-heading {
  padding: 56px 0 35px;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.page-heading h1 {
  font-size: 66px;
  line-height: 1;
}
.page-heading p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--muted);
}
.browse-toolbar {
  display: flex;
  gap: 15px;
  margin-bottom: 26px;
}
.large-search {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
  flex: 1;
}
.large-search svg {
  color: var(--gold);
}
.large-search input {
  width: 100%;
  height: 56px;
  background: none;
  color: var(--text);
  border: 0;
  outline: 0;
}
.large-search:focus-within {
  border-color: var(--gold);
}
.filter-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.filter-chip {
  min-height: 44px;
  border-radius: 7px;
  padding: 9px 17px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}
.filter-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #211b0c;
}
.filter-chip:hover {
  background: var(--panel-2);
}
.filter-chip.active:hover {
  background: var(--gold);
}
.browse-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line-soft);
  padding: 19px 0 23px;
}
.segmented {
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.segmented button {
  min-height: 36px;
  font-size: 10px;
  font-family: var(--mono);
  padding: 7px 13px;
  border-radius: 5px;
  border: 0;
  color: var(--muted);
  white-space: nowrap;
}
.segmented button.active {
  background: var(--panel-2);
  color: var(--text);
}
.sort-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  row-gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
/* "Price: high to low" and "Year: newest first" are longer than the old labels: wrap, never overflow. */
.sort-wrap select {
  max-width: 100%;
}
.sort-wrap select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
select {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 12px;
  max-width: 100%;
}
.footnote {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
  margin: 22px 0;
  max-width: 850px;
}
.browse-toolbar ~ .card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.browse-toolbar ~ .card-grid .tile-art {
  height: 270px;
}
.empty-state {
  padding: 45px 25px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
  grid-column: 1/-1;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.empty-state > svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}
.empty-state h2 {
  font-size: 26px;
  color: var(--text);
}
.empty-state p {
  font-size: 14px;
  max-width: 440px;
}
.feed-callout {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 13px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 13px;
}
.feed-callout > svg {
  color: var(--gold);
}
.feed-callout > button {
  margin-left: auto;
  white-space: nowrap;
}
.sales-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
}
.sales-table-head {
  display: grid;
  grid-template-columns: 1fr 160px 100px 120px;
  padding: 16px 48px 16px 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
}
.sales-table-head > span:last-child {
  text-align: right;
}
.sales-table .sale-row {
  grid-template-columns: 38px minmax(0, 1fr) 147px 100px 95px 16px;
  padding: 20px 24px;
  gap: 16px;
}
.sales-table .sale-identity b {
  font-size: 16px;
}
.sales-table .sale-identity small {
  font-size: 12px;
}
.sales-table .sale-grade {
  font-size: 10px;
}
.sales-table .sale-date {
  font-size: 10px;
}
.sales-table .sale-row > strong {
  font-size: 30px;
}
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--faint);
  font-size: 12px;
  padding: 25px 0;
}
.detail-breadcrumb > a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.detail-breadcrumb > span:last-of-type {
  color: var(--muted);
}
.detail-breadcrumb .icon-button {
  margin-left: auto;
}
.card-overview {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 55px;
}
.card-specimen {
  min-width: 0;
}
.specimen-wrap {
  background: linear-gradient(140deg, var(--panel-2), var(--deep));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  overflow: hidden;
}
.specimen-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--faint);
  padding: 0 3px 12px;
  letter-spacing: 1px;
}
.specimen-art {
  position: relative;
  height: 396px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.specimen-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px #0005);
}
.specimen-wrap.portrait .specimen-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.specimen-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 8px;
  padding-top: 17px;
}
.specimen-footer > span {
  margin-left: auto;
  color: var(--faint);
  text-transform: uppercase;
}
.specimen-footer svg {
  width: 13px;
  height: 13px;
}
.specimen-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--faint);
  margin: 15px 0 23px;
}
.card-specimen > .button {
  margin-bottom: 10px;
}
.identity-details {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
}
.identity-details summary {
  min-height: 44px;
  cursor: pointer;
  padding: 12px 0;
}
.identity-details dl {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 10px;
  margin: 5px 0;
}
.identity-details dt {
  color: var(--faint);
}
.identity-details dd {
  margin: 0;
}
.break-word {
  overflow-wrap: anywhere;
}
.card-title {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.card-title .eyebrow {
  margin-bottom: 8px;
}
.card-title h1 {
  font-size: 58px;
  line-height: 1;
}
.card-title p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin-top: 6px;
}
.card-title > .text-button {
  font-size: 11px;
  white-space: nowrap;
  align-self: flex-end;
}
.grade-panel {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.grade-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.grade-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  color: var(--muted);
}
.grade-button small {
  font-size: 9px;
  color: var(--faint);
  font-weight: 400;
}
.grade-button.active {
  border-color: #e9be4f99;
  background: var(--gold-soft);
  color: var(--gold);
}
.price-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding: 28px 0 22px;
}
.price-summary strong {
  font-family: var(--display);
  font-size: 62px;
  font-weight: 500;
  line-height: 1.2;
  display: block;
  letter-spacing: 0.2px;
  margin-top: 8px;
}
.price-summary p {
  font-size: 11px;
  color: var(--faint);
}
.secondary-price {
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.secondary-price strong {
  font-size: 40px;
  color: var(--muted);
  margin-top: 19px;
}
.freshness-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  padding: 12px 15px;
  border-radius: 7px;
  background: var(--panel-2);
  margin-bottom: 20px;
}
.freshness-note svg {
  width: 15px;
  height: 15px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 22px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.panel-heading h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.panel-heading .eyebrow {
  font-size: 8px;
}
.history-chart {
  width: 100%;
  height: auto;
  display: block;
  fill: none;
  stroke: none;
}
.history-chart .chart-grid {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}
.history-chart text {
  font-family: var(--mono);
  font-size: 13px;
  fill: var(--faint);
  stroke: none;
}
.history-chart circle {
  fill: var(--gold);
  stroke: var(--panel);
  stroke-width: 2;
}
.chart-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--faint);
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  margin-top: 10px;
}
.chart-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 6px;
}
.chart-empty {
  text-align: center;
  min-height: 220px;
  padding: 45px 20px;
  color: var(--faint);
}
.chart-empty svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
  margin-bottom: 15px;
}
.chart-empty h3 {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 12px;
}
.chart-empty p {
  font-size: 13px;
  max-width: 370px;
  margin: auto;
}
.count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 6px;
  vertical-align: middle;
  margin-left: 6px;
}
.records-panel .sale-row {
  padding: 15px 0;
}
.records-panel .sale-row .sale-date {
  display: none;
}
.records-panel .sale-row {
  grid-template-columns: 32px minmax(0, 1fr) 85px 65px 16px;
}
.records-panel .footnote {
  margin-bottom: 0;
}
.price-check {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 25px;
  padding: 20px 0;
}
.price-check .eyebrow {
  margin-bottom: 10px;
}
.price-check h2 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.price-check p {
  font-size: 12px;
  color: var(--muted);
}
.price-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 0 15px;
}
.price-input > span {
  font-family: var(--display);
  font-size: 26px;
  color: var(--faint);
}
.price-input input {
  min-width: 0;
  width: 100%;
  height: 49px;
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
}
.price-context {
  margin-top: 10px;
  line-height: 1.5;
  min-height: 40px;
}
.collection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.collection-heading h1 {
  font-size: 62px;
}
.collection-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  margin-bottom: 30px;
}
.collection-stats > div {
  padding: 23px 26px;
  border-right: 1px solid var(--line);
}
.collection-stats > div:last-child {
  border: 0;
}
.collection-stats strong {
  font-family: var(--display);
  font-size: 50px;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 9px;
  display: block;
}
.collection-stats small {
  font-size: 10px;
  color: var(--faint);
}
.collection-controls {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
}
.storage-note {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--faint);
  font-size: 11px;
  min-height: 44px;
}
.storage-note svg {
  width: 14px;
  height: 14px;
}
.collection-empty {
  padding: 45px 20px 100px;
  text-align: center;
}
.empty-card-stack {
  height: 160px;
  width: 210px;
  margin: 0 auto 20px;
  position: relative;
}
.empty-card-stack > div {
  width: 90px;
  height: 125px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  position: absolute;
  left: 60px;
  top: 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 15px #0002;
}
.empty-card-stack > div:first-child {
  transform: rotate(-17deg) translateX(-35px);
}
.empty-card-stack > div:nth-child(2) {
  transform: rotate(15deg) translateX(35px);
}
.empty-card-stack > div:last-child {
  transform: rotate(-3deg);
  border-color: #e9be4f77;
  background: var(--panel-2);
  color: var(--gold);
}
.empty-card-stack svg {
  width: 32px;
  height: 32px;
}
.collection-empty .eyebrow {
  margin-bottom: 16px;
}
.collection-empty h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
.collection-empty p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 25px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 70px;
}
.collection-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 16px;
  gap: 16px;
}
.collection-art {
  height: 158px;
  position: relative;
  background: var(--panel-2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}
.collection-art img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
}
.collection-art.portrait img {
  height: 100%;
  object-fit: cover;
}
.collection-info {
  min-width: 0;
}
.collection-info .eyebrow {
  font-size: 7px;
  letter-spacing: 0.7px;
  margin-bottom: 7px;
}
.collection-info h3 {
  font-size: 18px;
}
.collection-info p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.collection-info small {
  font-size: 10px;
  color: var(--faint);
}
.collection-info .text-link {
  font-size: 11px;
  display: flex;
  min-height: 36px;
}
.collection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}
.collection-tags span {
  font-size: 8px;
  font-family: var(--mono);
  padding: 3px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.scan-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  max-width: 1140px;
  margin: 60px auto 40px;
  align-items: center;
}
.scan-intro h1 {
  font-size: 78px;
  line-height: 0.98;
  margin: 18px 0 20px;
}
.scan-intro > p {
  font-size: 18px;
  color: var(--muted);
  max-width: 390px;
}
.scan-steps {
  margin: 35px 0 20px;
}
.scan-steps > div {
  display: flex;
  gap: 17px;
  margin: 23px 0;
  align-items: flex-start;
}
.scan-steps > div > span {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 9px;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.scan-steps p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.scan-steps b {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.scanner {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 22px;
}
.scanner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.scanner-top span:first-child {
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 7px;
}
.scanner-top svg {
  width: 14px;
  height: 14px;
}
.capture-zone {
  min-height: 360px;
  background:
    radial-gradient(ellipse at center, #e9be4f08, transparent 70%), var(--deep);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 23px;
  padding: 22px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.camera-frame {
  width: 200px;
  height: 275px;
  position: relative;
  display: grid;
  place-items: center;
}
.camera-frame i {
  position: absolute;
  border-color: var(--gold);
  border-width: 0;
  border-style: solid;
  width: 30px;
  height: 30px;
}
.camera-frame i:nth-child(1) {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
  border-radius: 7px 0 0;
}
.camera-frame i:nth-child(2) {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
  border-radius: 0 7px 0 0;
}
.camera-frame i:nth-child(3) {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-radius: 0 0 7px;
}
.camera-frame i:nth-child(4) {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-radius: 0 0 0 7px;
}
.scan-ghost {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: var(--faint);
}
.scan-ghost svg {
  width: 48px;
  height: 48px;
  opacity: 0.45;
}
.scan-ghost span {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 1px;
}
.capture-zone > p {
  font-size: 11px;
  color: var(--faint);
}
.capture-actions {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 9px;
}
.capture-actions .button {
  font-size: 13px;
  padding: 12px 10px;
}
.scan-notice {
  display: flex;
  gap: 10px;
  margin: 17px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.scan-notice svg {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}
.scan-privacy {
  font-size: 10px;
  color: var(--faint);
  line-height: 1.6;
  margin-top: 16px;
}
.selected-photo {
  max-height: 330px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.photo-ready {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--green);
}
.photo-ready svg {
  width: 15px;
  height: 15px;
}
.scan-explore {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 40px;
}
.scan-explore h2 {
  font-size: 30px;
  margin: 14px 0;
}
.scan-explore p {
  color: var(--muted);
  font-size: 14px;
}
.scan-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.scan-shortcuts a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px 10px;
  border-radius: 9px;
}
.scan-shortcuts img {
  width: 80px;
  height: 110px;
  object-fit: contain;
  transform: rotate(-4deg);
}
.scan-shortcuts span {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.scan-shortcuts svg {
  width: 12px;
  height: 12px;
}
.scan-results {
  margin-top: 45px;
}
.scan-results:empty {
  display: none;
}
.input {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--deep);
  color: var(--text);
  border-radius: 7px;
  padding: 12px 15px;
  min-height: 48px;
}
.error {
  font-size: 13px;
  color: var(--red);
  margin: 15px 0;
}
.error:empty {
  display: none;
}
#scan-controls .eyebrow {
  margin: 20px 0 8px;
}
#scan-controls > .button {
  margin-top: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  max-width: 520px;
  width: calc(100% - 32px);
  padding: 35px;
  box-shadow: 0 30px 100px #0008;
  max-height: 90vh;
  overflow-y: auto;
}
dialog::backdrop {
  background: #080807cc;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
}
dialog .eyebrow {
  margin: 9px 40px 14px 0;
}
dialog h2 {
  font-size: 31px;
  line-height: 1.15;
  margin-right: 25px;
}
.dialog-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 15px 0 24px;
  line-height: 1.6;
}
.receipt-amount {
  font-family: var(--display);
  font-size: 76px;
  color: var(--gold);
  line-height: 1.2;
}
.record-facts {
  margin: 20px 0;
}
.record-facts > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  font-size: 13px;
}
.record-facts dt {
  color: var(--muted);
}
.record-facts dd {
  margin: 0;
}
.receipt-photo {
  margin: 4px 0 16px;
}
.receipt-photo img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--deep);
}
.receipt-photo figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.record-facts + .footnote,
.receipt-photo + .footnote {
  margin-bottom: 8px;
}
dialog details {
  font-size: 11px;
  color: var(--faint);
  margin-bottom: 20px;
}
dialog summary {
  min-height: 44px;
  padding: 12px 0;
  cursor: pointer;
}
dialog code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 10px;
}
.about-items > div {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin: 24px 0;
}
.about-items > div > svg {
  color: var(--gold);
  margin-top: 3px;
}
.about-items p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.about-items b {
  display: block;
  color: var(--text);
  font-weight: 600;
}
.list-choice {
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 25px 0;
}
.list-choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 55px;
  padding: 12px;
  font-size: 14px;
  cursor: pointer;
}
.list-choice label:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold);
}
.list-choice input {
  accent-color: var(--gold);
  min-height: 0;
  margin: 0;
  width: 15px;
  height: 15px;
}
.list-choice svg {
  width: 17px;
  height: 17px;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 15px;
}
.form-columns label {
  font-size: 12px;
  color: var(--muted);
}
.form-columns input {
  margin-top: 8px;
}
.remove-button {
  display: flex;
  margin: 10px auto 0;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #211b0c;
  padding: 13px 22px;
  border-radius: 8px;
  box-shadow: 0 5px 35px #0005;
  z-index: 50;
  font-size: 14px;
  font-weight: 600;
  max-width: 90vw;
}
.toast:empty {
  display: none;
}
.loading {
  display: flex;
  min-height: 60vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}
.loading > span {
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.skip {
  position: fixed;
  top: -60px;
  left: 10px;
  background: var(--gold);
  color: #211b0c;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 1500px) {
  main {
    max-width: 1440px;
  }
  .hero-copy h1 {
    font-size: 97px;
  }
  .home-hero {
    gap: 60px;
    min-height: 565px;
  }
  .hero-card {
    width: 225px;
  }
  .hero-card-3 {
    width: 238px;
  }
  .hero-visual {
    height: 460px;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    padding: 0 25px;
    gap: 18px;
  }
  .header-search {
    width: 240px;
  }
  .desktop-nav a {
    padding: 10px;
    font-size: 13px;
  }
  .header-scan {
    padding: 10px 15px;
  }
  .header-inner > #theme {
    display: none;
  }
  main {
    padding: 0 28px;
  }
  .home-hero {
    min-height: 490px;
  }
  .hero-copy h1 {
    font-size: 72px;
  }
  .hero-visual {
    height: 390px;
  }
  .hero-card {
    width: 175px;
  }
  .hero-card-3 {
    width: 188px;
  }
  .scan-callout {
    bottom: 40px;
    left: 1%;
  }
  .hero-assurances {
    gap: 10px;
  }
  .hero-assurances span:last-child {
    display: none;
  }
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tile-art {
    height: 280px;
  }
  .tile-info {
    padding: 17px;
  }
  .tile-info h3 {
    font-size: 20px;
    min-height: 22px;
  }
  .tile-meta {
    font-size: 12px;
  }
  .tile-pricing small {
    font-size: 7px;
  }
  .tile-pricing strong {
    font-size: 32px;
  }
  .tile-date {
    font-size: 10px;
  }
  .market-section {
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
  }
  .sale-row {
    grid-template-columns: 28px minmax(0, 1fr) 68px 58px 14px;
    gap: 9px;
    padding: 15px;
  }
  .sale-row > .sale-date {
    display: none;
  }
  .why-mazi {
    padding: 27px;
  }
  .category-card {
    padding: 15px;
    height: 150px;
  }
  .category-card small {
    font-size: 6px;
    /* Three across, the cards are wide enough for every kicker on one line, so the titles line up. */
    max-width: 155px;
  }
  .category-card h3 {
    font-size: 34px;
  }
  .category-card span {
    font-size: 10px;
  }
  .category-pokemon img,
  .category-veefriends img {
    width: 95px;
    right: 0;
  }
  .utility-strip > a {
    padding: 17px 19px;
    gap: 12px;
  }
  .utility-number {
    display: none;
  }
  .app-footer {
    margin: 0 28px;
    gap: 17px;
  }
  .app-footer > span {
    font-size: 6px;
  }
  .browse-toolbar ~ .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .browse-toolbar ~ .card-grid .tile-art {
    height: 250px;
  }
  .card-overview {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 30px;
  }
  .specimen-art {
    height: 330px;
  }
  .card-title h1 {
    font-size: 50px;
  }
  .card-title > .text-button {
    display: none;
  }
  .price-summary strong {
    font-size: 51px;
  }
  .secondary-price strong {
    font-size: 33px;
  }
  .scan-page {
    gap: 50px;
  }
  .scan-intro h1 {
    font-size: 67px;
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .collection-heading h1 {
    font-size: 53px;
  }
}
@media (max-width: 900px) {
  .app-header {
    height: 70px;
  }
  .header-inner {
    padding: 0 22px;
    gap: 18px;
  }
  .desktop-nav {
    display: none;
  }
  .header-search {
    width: auto;
    flex: 1;
    margin-left: 15px;
  }
  .header-inner > #theme {
    display: grid;
  }
  .hero-copy h1 {
    font-size: 65px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-visual {
    height: 355px;
  }
  .hero-card {
    width: 152px;
    top: 35px;
    padding: 8px;
  }
  .hero-card-3 {
    width: 165px;
    top: 54px;
  }
  .slab-label {
    font-size: 5px;
    height: 23px;
    padding: 4px;
  }
  .slab-label b {
    font-size: 6px;
  }
  .slab-footer {
    font-size: 8px;
  }
  .scan-callout {
    bottom: 25px;
    left: 0;
    padding: 10px;
    gap: 8px;
  }
  .scan-callout span {
    font-size: 6px;
  }
  .scan-callout b {
    font-size: 9px;
  }
  .hero-art-caption {
    font-size: 6px;
    bottom: 0;
  }
  .hero-orbit:before {
    width: 260px;
    height: 260px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 12px 15px;
    min-height: 48px;
  }
  .hero-assurances {
    font-size: 9px;
  }
  .home-hero {
    min-height: 435px;
    gap: 10px;
    padding: 30px 0;
  }
  .utility-strip > a {
    padding: 14px;
    gap: 10px;
    min-height: 75px;
  }
  .utility-strip small {
    font-size: 9px;
  }
  .utility-strip b {
    font-size: 12px;
  }
  .utility-strip > a > svg {
    width: 19px;
  }
  .utility-strip > a > svg:last-child {
    display: none;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-card {
    height: 150px;
    padding: 20px;
  }
  .category-card small {
    font-size: 7px;
    max-width: 170px;
  }
  .category-card h3 {
    font-size: 38px;
  }
  .category-card span {
    font-size: 11px;
    margin-top: 22px;
  }
  .category-card img {
    width: 50%;
  }
  .category-pokemon img,
  .category-veefriends img {
    width: 110px;
    right: 20px;
  }
  .tile-art {
    height: 240px;
  }
  .market-section {
    grid-template-columns: 1fr;
  }
  .why-mazi {
    display: none;
  }
  .sale-row {
    grid-template-columns: 32px minmax(0, 1fr) 85px 75px 70px 16px;
    gap: 13px;
    padding: 20px;
  }
  .sale-row > .sale-date {
    display: block;
  }
  .sale-identity b {
    font-size: 16px;
  }
  .sale-identity small {
    font-size: 11px;
  }
  .collection-banner {
    padding: 25px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .collection-banner h2 {
    font-size: 23px;
  }
  .collection-symbol {
    width: 58px;
    height: 58px;
  }
  .collection-symbol svg {
    width: 28px;
  }
  .collection-banner > .button {
    margin-left: 78px;
  }
  .app-footer {
    padding-bottom: 105px;
    flex-wrap: wrap;
  }
  .app-footer > span {
    width: 100%;
    margin: 0;
    order: 4;
  }
  .app-footer > button {
    margin-left: auto;
  }
  .mobile-nav {
    position: fixed;
    z-index: 30;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 8px 15px max(10px, env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px #0001;
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 47px;
    color: var(--faint);
    font-size: 9px;
  }
  .mobile-nav a[aria-current="page"] {
    color: var(--gold);
  }
  .mobile-nav svg {
    width: 20px;
    height: 20px;
  }
  .mobile-nav .nav-scan svg {
    background: var(--gold);
    color: #211b0c;
    width: 42px;
    height: 32px;
    padding: 6px;
    border-radius: 7px;
  }
  .mobile-nav .nav-scan span {
    color: var(--text);
  }
  .toast {
    bottom: 85px;
  }
  .browse-toolbar ~ .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .browse-toolbar ~ .card-grid .tile-art {
    height: 240px;
  }
  .sales-table-head {
    grid-template-columns: 1fr 85px 70px 80px;
    font-size: 8px;
    padding-right: 25px;
  }
  .sales-table .sale-row {
    grid-template-columns: 30px minmax(0, 1fr) 73px 60px 63px 13px;
    gap: 10px;
    padding: 18px;
  }
  .sales-table .sale-grade {
    font-size: 8px;
  }
  .sales-table .sale-date {
    font-size: 8px;
  }
  .sales-table .sale-identity b {
    font-size: 14px;
  }
  .sales-table .sale-identity small {
    font-size: 10px;
  }
  .card-overview {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 25px;
  }
  .specimen-art {
    height: 267px;
  }
  .card-title h1 {
    font-size: 43px;
  }
  .card-title p {
    font-size: 13px;
  }
  .price-summary {
    gap: 15px;
  }
  .price-summary strong {
    font-size: 39px;
  }
  .secondary-price {
    padding-left: 15px;
  }
  .secondary-price strong {
    font-size: 27px;
  }
  .price-summary .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .price-summary p {
    font-size: 9px;
  }
  .panel {
    padding: 17px;
  }
  .panel-heading h2 {
    font-size: 18px;
  }
  .panel-heading > .eyebrow {
    display: none;
  }
  .records-panel .sale-row {
    grid-template-columns: 25px minmax(0, 1fr) 60px 45px;
    gap: 8px;
  }
  .records-panel .sale-row > svg {
    display: none;
  }
  .records-panel .sale-row > .sale-grade {
    font-size: 7px;
  }
  .records-panel .sale-row > .source-logo {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .records-panel .sale-row .sale-identity b {
    font-size: 12px;
  }
  .records-panel .sale-row .sale-identity small {
    font-size: 9px;
  }
  .records-panel .sale-row > strong {
    font-size: 23px;
  }
  .price-check {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .card-grid.four-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scan-page {
    gap: 30px;
    margin-top: 40px;
  }
  .scan-intro h1 {
    font-size: 58px;
  }
  .scan-intro > p {
    font-size: 16px;
  }
  .scan-steps p {
    font-size: 12px;
  }
  .scan-steps b {
    font-size: 14px;
  }
  .scanner {
    padding: 17px;
  }
  .capture-zone {
    padding: 15px;
    min-height: 420px;
  }
  .camera-frame {
    width: 180px;
    height: 255px;
  }
  .capture-actions {
    grid-template-columns: 1fr;
  }
  .capture-actions .button {
    min-height: 44px;
  }
  .scan-explore {
    gap: 25px;
    grid-template-columns: 1fr;
  }
  .scan-shortcuts img {
    width: 90px;
    height: 125px;
  }
  .scan-shortcuts span {
    font-size: 13px;
  }
  .collection-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .collection-stats > div {
    padding: 18px;
  }
  .collection-stats .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .collection-stats strong {
    font-size: 43px;
  }
  .collection-card {
    grid-template-columns: 85px minmax(0, 1fr);
    padding: 13px;
    gap: 12px;
  }
  .collection-art {
    height: 140px;
  }
  .collection-info h3 {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  main {
    padding: 0 20px;
  }
  .header-inner {
    padding: 0 20px;
    gap: 12px;
  }
  .brand {
    font-size: 30px;
  }
  .header-search {
    display: none;
  }
  .header-scan {
    margin-left: auto;
    min-height: 40px;
    font-size: 11px;
    padding: 9px 11px;
    gap: 6px;
  }
  .header-scan svg {
    width: 16px;
    height: 16px;
  }
  .header-inner > #theme {
    width: 30px;
    height: 40px;
  }
  .app-header {
    height: 64px;
  }
  .home-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 33px 0 30px;
    min-height: 0;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
    margin-bottom: 16px;
  }
  .hero-copy h1 {
    font-size: 62px;
    line-height: 0.94;
    letter-spacing: 0;
  }
  .hero-copy > p {
    font-size: 15px;
    margin: 16px auto 21px;
    max-width: 305px;
    line-height: 1.5;
  }
  .hero-actions {
    justify-content: center;
    gap: 9px;
  }
  .hero-actions .button {
    font-size: 13px;
    min-height: 46px;
    padding: 12px 15px;
  }
  .hero-assurances {
    display: none;
  }
  .hero-visual {
    height: 305px;
    margin-top: 10px;
    max-width: 355px;
    width: 100%;
    align-self: center;
  }
  .hero-card {
    width: 139px;
    top: 31px;
    padding: 7px;
  }
  .hero-card-1 {
    transform: translateX(-100%) rotate(-15deg) translateY(22px);
  }
  .hero-card-2 {
    transform: translateX(1%) rotate(14deg) translateY(10px);
  }
  .hero-card-3 {
    width: 153px;
    top: 47px;
  }
  .hero-orbit {
    inset: 0;
  }
  .hero-orbit:before {
    width: 230px;
    height: 230px;
    top: 22px;
  }
  .scan-callout {
    bottom: 16px;
    left: 0;
    padding: 9px 12px;
  }
  .scan-callout > svg {
    width: 20px;
    height: 20px;
  }
  .hero-art-caption {
    bottom: -8px;
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .slab-footer {
    font-size: 7px;
    padding-top: 7px;
  }
  .utility-strip {
    display: flex;
    flex-direction: column;
    margin-bottom: 35px;
  }
  .utility-strip > a {
    min-height: 64px;
    padding: 14px 18px;
    gap: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .utility-number {
    display: block;
    font-size: 8px;
  }
  .utility-strip b {
    font-size: 14px;
  }
  .utility-strip small {
    font-size: 11px;
  }
  .utility-strip > a > svg:last-child {
    display: block;
  }
  .content-section {
    margin: 38px 0;
  }
  .section-title {
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  .section-title h2 {
    font-size: 24px;
    line-height: 1.12;
    max-width: 250px;
  }
  .section-title .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
    max-width: 255px;
  }
  .section-title > .text-link {
    font-size: 10px;
    min-height: 35px;
    white-space: nowrap;
    align-self: flex-end;
    gap: 5px;
  }
  .section-title > .text-link svg {
    width: 13px;
    height: 13px;
  }
  .section-description {
    font-size: 12px;
    line-height: 1.5;
    margin-top: -8px;
  }
  .category-grid {
    gap: 10px;
  }
  .category-card {
    padding: 14px;
    height: 143px;
  }
  .category-card small {
    font-size: 5px;
    letter-spacing: 0.4px;
    max-width: 113px;
    min-height: 15px;
  }
  .category-card h3 {
    /* 33px from 388px up; narrower phones scale it down so "VeeFriends" keeps clear of the card's edge. */
    font-size: clamp(27px, 8.5vw, 33px);
    margin-top: 6px;
  }
  .category-card span {
    font-size: 9px;
    margin-top: 26px;
    gap: 7px;
  }
  .category-card span svg {
    width: 12px;
    height: 12px;
  }
  .category-card img {
    width: 70%;
    right: -15px;
    opacity: 0.6;
  }
  .category-pokemon img,
  .category-veefriends img {
    width: 77px;
    height: 121px;
    /* Past the card's edge, so less of the picture sits under the title. */
    right: -10px;
    top: 30px;
    opacity: 0.8;
  }
  .card-grid,
  .browse-toolbar ~ .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .tile-art,
  .browse-toolbar ~ .card-grid .tile-art {
    height: 215px;
    padding: 28px 13px 13px;
  }
  .tile-art.portrait {
    padding: 0;
  }
  .tile-info {
    padding: 12px;
  }
  .tile-info .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .tile-info h3 {
    font-size: 17px;
    min-height: 37px;
  }
  .tile-meta {
    font-size: 10px;
    min-height: 30px;
    margin: 4px 0 12px;
  }
  .tile-pricing small {
    font-size: 5.5px;
    letter-spacing: 0;
  }
  .tile-pricing strong {
    font-size: 28px;
  }
  .tile-date {
    font-size: 8px;
    line-height: 1.5;
    min-height: 24px;
  }
  .badge {
    font-size: 6px;
    letter-spacing: 0.4px;
    padding: 4px 5px;
  }
  .badge svg {
    width: 8px;
    height: 8px;
  }
  .tile-badges {
    top: 8px;
    left: 8px;
  }
  .art-note {
    font-size: 5px;
  }
  .market-section {
    margin: 45px 0;
  }
  .sale-row {
    grid-template-columns: 26px minmax(0, 1fr) 56px 42px;
    gap: 9px;
    padding: 15px 12px;
    min-height: 75px;
  }
  .sale-row > svg,
  .sale-row > .sale-date {
    display: none;
  }
  .source-logo {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
  .sale-identity b {
    font-size: 12px;
  }
  .sale-identity small {
    font-size: 9px;
    max-width: 150px;
  }
  .sale-grade {
    font-size: 6px;
    padding: 4px;
  }
  .sale-row > strong {
    font-size: 24px;
  }
  .collection-banner {
    padding: 24px 20px;
    gap: 20px;
    margin: 40px 0 45px;
  }
  .collection-banner h2 {
    font-size: 25px;
    line-height: 1.15;
    max-width: 245px;
  }
  .collection-banner p {
    font-size: 13px;
    max-width: 265px;
  }
  .collection-symbol {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }
  .collection-symbol svg {
    width: 25px;
  }
  .collection-banner .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .collection-banner > .button {
    margin: 0;
    width: 100%;
    font-size: 13px;
  }
  .app-footer {
    margin: 0 20px;
    gap: 10px 20px;
    padding: 25px 0 100px;
  }
  .app-footer .brand {
    font-size: 26px;
  }
  .app-footer > p {
    font-size: 11px;
  }
  .app-footer > button {
    margin: 0;
    font-size: 11px;
  }
  .app-footer > span {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .page-heading {
    padding: 34px 0 26px;
  }
  .page-heading h1 {
    font-size: 51px;
    line-height: 0.95;
  }
  .page-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
    line-height: 1.7;
  }
  .page-heading p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 315px;
  }
  .browse-toolbar {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .browse-toolbar .large-search {
    padding: 0 15px;
    gap: 10px;
    min-width: 100%;
  }
  .large-search input {
    height: 50px;
    font-size: 14px;
  }
  .browse-toolbar > .button {
    display: none;
  }
  .filter-row {
    gap: 6px;
    margin-bottom: 18px;
  }
  .filter-chip {
    padding: 7px 12px;
    font-size: 11px;
    min-height: 40px;
  }
  .browse-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 17px 0;
  }
  .browse-meta > .segmented {
    align-self: flex-start;
  }
  .segmented button {
    min-height: 37px;
    font-size: 9px;
    padding: 7px 12px;
  }
  .sort-wrap {
    justify-content: space-between;
    font-size: 11px;
  }
  .sort-wrap select {
    font-size: 11px;
    min-height: 40px;
  }
  .footnote {
    font-size: 10px;
    line-height: 1.7;
    margin: 18px 0 28px;
  }
  .feed-callout {
    align-items: flex-start;
    padding: 13px;
    font-size: 11px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .feed-callout > span {
    flex: 1;
  }
  .feed-callout > svg {
    width: 16px;
    margin-top: 2px;
  }
  .feed-callout > button {
    min-height: 32px;
    font-size: 11px;
    margin-left: 25px;
  }
  .sales-table-head {
    grid-template-columns: 1fr 65px 55px;
    padding: 13px;
    font-size: 7px;
    letter-spacing: 0.4px;
  }
  .sales-table-head > span:nth-child(3) {
    display: none;
  }
  .sales-table .sale-row {
    grid-template-columns: 25px minmax(0, 1fr) 58px 43px;
    gap: 9px;
    padding: 15px 12px;
  }
  .sales-table .sale-row > .sale-date,
  .sales-table .sale-row > svg {
    display: none;
  }
  .sales-table .sale-identity b {
    font-size: 13px;
  }
  .sales-table .sale-identity small {
    font-size: 9px;
  }
  .sales-table .sale-grade {
    font-size: 6px;
  }
  .sales-table .sale-row > strong {
    font-size: 25px;
  }
  .detail-breadcrumb {
    font-size: 10px;
    gap: 9px;
    padding: 16px 0;
  }
  .detail-breadcrumb > span:last-of-type {
    display: none;
  }
  .detail-breadcrumb > span:nth-last-of-type(2) {
    display: none;
  }
  .detail-breadcrumb > .icon-button {
    height: 36px;
    width: 36px;
  }
  .card-overview {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .card-specimen {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 0 17px;
    position: relative;
  }
  .specimen-wrap {
    grid-row: 1/5;
    padding: 8px;
    border-radius: 8px;
  }
  .specimen-label {
    font-size: 5px;
    letter-spacing: 0.4px;
    padding: 0 0 8px;
  }
  .specimen-art {
    height: 170px;
  }
  .specimen-footer {
    font-size: 5px;
    padding-top: 8px;
  }
  .specimen-footer > span {
    display: none;
  }
  .specimen-footer svg {
    width: 9px;
    height: 9px;
  }
  .specimen-note {
    font-size: 10px;
    line-height: 1.5;
    margin: 0 0 10px;
  }
  .card-specimen > .button {
    font-size: 11px;
    min-height: 41px;
    padding: 9px 8px;
    gap: 6px;
    margin-bottom: 8px;
    white-space: normal;
  }
  .card-specimen > .button svg {
    width: 15px;
    height: 15px;
  }
  .identity-details {
    grid-column: 1/-1;
    margin-top: 5px;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 3px;
    font-size: 11px;
  }
  .identity-details summary {
    font-size: 11px;
    min-height: 40px;
  }
  .identity-details dl {
    grid-template-columns: 100px minmax(0, 1fr);
    margin-bottom: 10px;
  }
  .card-title {
    margin-bottom: 20px;
  }
  .card-title h1 {
    font-size: 49px;
  }
  .card-title .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .card-title p {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 5px;
  }
  .grade-panel {
    padding-top: 17px;
  }
  .grade-panel > .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .grade-options {
    gap: 6px;
    margin-top: 10px;
  }
  .grade-button {
    padding: 7px 11px;
    font-size: 11px;
    gap: 7px;
    min-height: 42px;
  }
  .grade-button small {
    font-size: 8px;
  }
  .price-summary {
    padding: 23px 0 18px;
    gap: 15px;
    grid-template-columns: 1.1fr 1fr;
  }
  .price-summary .eyebrow {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .price-summary strong {
    font-size: 43px;
    margin-top: 7px;
    line-height: 1.15;
  }
  .secondary-price {
    padding-left: 15px;
  }
  .secondary-price strong {
    font-size: 28px;
    margin-top: 16px;
  }
  .price-summary p {
    font-size: 9px;
    line-height: 1.5;
    margin-top: 5px;
  }
  .freshness-note {
    font-size: 10px;
    line-height: 1.5;
    padding: 11px;
    gap: 8px;
  }
  .panel {
    padding: 17px;
    margin-bottom: 17px;
  }
  .panel-heading {
    gap: 10px;
    margin-bottom: 15px;
  }
  .panel-heading h2 {
    font-size: 18px;
  }
  .chart-panel .segmented button {
    font-size: 8px;
    padding: 6px 9px;
    min-height: 35px;
  }
  .history-chart text {
    font-size: 20px;
  }
  .chart-legend {
    font-size: 8px;
    padding-top: 12px;
  }
  .chart-empty {
    padding: 35px 15px;
    min-height: 210px;
  }
  .chart-empty h3 {
    font-size: 18px;
  }
  .chart-empty p {
    font-size: 12px;
  }
  .records-panel .sale-row {
    grid-template-columns: 25px minmax(0, 1fr) 63px 48px;
    gap: 9px;
  }
  .records-panel .sale-identity b {
    font-size: 13px;
  }
  .records-panel .sale-grade {
    font-size: 7px;
  }
  .records-panel .sale-row > strong {
    font-size: 26px;
  }
  .price-check {
    padding: 16px 0;
    gap: 18px;
  }
  .price-check h2 {
    font-size: 23px;
  }
  .price-check .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .price-check .price-input {
    max-width: none;
  }
  .card-grid.four-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .collection-heading {
    gap: 20px;
    padding-bottom: 25px;
  }
  .collection-heading h1 {
    font-size: 49px;
    line-height: 1;
  }
  .collection-heading > .button {
    font-size: 13px;
  }
  .collection-stats {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 22px;
  }
  .collection-stats > div {
    padding: 17px;
  }
  .collection-stats > div:nth-child(2) {
    border-right: 0;
  }
  .collection-stats > div:last-child {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .collection-stats strong {
    font-size: 41px;
  }
  .collection-stats > div:last-child > strong {
    margin-top: 0;
    font-size: 35px;
  }
  .collection-stats > div:last-child > small {
    width: 100%;
    font-size: 9px;
  }
  .collection-controls {
    display: block;
  }
  .collection-controls .filter-row {
    margin-bottom: 10px;
  }
  .storage-note {
    font-size: 10px;
    margin-bottom: 12px;
    min-height: 30px;
  }
  .collection-empty {
    padding: 30px 5px 55px;
  }
  .collection-empty h2 {
    font-size: 28px;
  }
  .collection-empty p {
    font-size: 13px;
  }
  .collection-empty .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .collection-card {
    grid-template-columns: 100px minmax(0, 1fr);
    padding: 15px;
    gap: 17px;
  }
  .collection-art {
    height: 154px;
  }
  .collection-info h3 {
    font-size: 19px;
  }
  .collection-info p {
    font-size: 11px;
  }
  .collection-info .eyebrow {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .collection-info .text-link {
    font-size: 12px;
    min-height: 44px;
  }
  .scan-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
  }
  /* On a phone the scanner is the page. Someone who tapped Scan knows what they
     came to do, so it opens first with "Take a photo" on screen, no scroll.
     The story, the search link and the example result follow it. */
  .scan-page > .scanner {
    order: -1;
  }
  .scan-intro h1 {
    font-size: 60px;
    line-height: 0.95;
    margin: 15px 0;
  }
  .scan-intro > .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .scan-intro > p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 315px;
  }
  .scan-steps {
    display: none;
  }
  .scan-intro > .text-link {
    font-size: 12px;
    margin-top: 8px;
  }
  .scanner {
    width: 100%;
    padding: 17px;
  }
  .scanner-top {
    font-size: 7px;
    letter-spacing: 0.7px;
    margin-bottom: 16px;
  }
  .capture-zone {
    min-height: 310px;
  }
  .camera-frame {
    width: 168px;
    height: 231px;
  }
  .capture-actions {
    grid-template-columns: 1.05fr 1fr;
    gap: 8px;
  }
  .capture-actions .button {
    font-size: 11px;
    gap: 6px;
    padding: 12px 8px;
  }
  .capture-actions .button svg {
    width: 16px;
    height: 16px;
  }
  .scan-notice {
    font-size: 10px;
  }
  .scan-privacy {
    font-size: 9px;
  }
  .scan-explore {
    margin-top: 34px;
    padding: 28px 0 40px;
    gap: 23px;
  }
  .scan-explore .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .scan-explore h2 {
    font-size: 27px;
    margin: 10px 0;
  }
  .scan-explore p {
    font-size: 12px;
  }
  .scan-shortcuts {
    gap: 8px;
  }
  .scan-shortcuts > a {
    padding: 13px 6px;
    gap: 12px;
  }
  .scan-shortcuts img {
    width: 64px;
    height: 90px;
  }
  .scan-shortcuts span {
    font-size: 9px;
    line-height: 1.4;
    gap: 4px;
    max-width: 90px;
  }
  .scan-shortcuts svg {
    width: 10px;
  }
  .scan-results {
    margin-top: 30px;
  }
  .selected-photo {
    max-height: 290px;
  }
  dialog {
    padding: 28px 22px;
  }
  dialog h2 {
    font-size: 27px;
  }
  dialog .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .list-choice {
    gap: 8px;
  }
  .list-choice label {
    font-size: 12px;
    padding: 10px;
    gap: 7px;
  }
  .form-columns {
    gap: 12px;
  }
  .form-columns label {
    font-size: 11px;
  }
  .dialog-subtitle {
    font-size: 13px;
  }
  .receipt-amount {
    font-size: 65px;
  }
  .desktop-only {
    display: none;
  }
}
@media (max-width: 370px) {
  main {
    padding: 0 16px;
  }
  .header-inner {
    padding: 0 16px;
  }
  .hero-copy h1 {
    font-size: 56px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 11px 13px;
  }
  .hero-card {
    width: 132px;
  }
  .hero-card-3 {
    width: 145px;
  }
  .hero-visual {
    height: 290px;
  }
  .tile-art,
  .browse-toolbar ~ .card-grid .tile-art {
    height: 190px;
  }
  .tile-info {
    padding: 10px;
  }
  .tile-info h3 {
    font-size: 16px;
  }
  .tile-pricing strong {
    font-size: 25px;
  }
  .section-title > .text-link {
    max-width: 85px;
    white-space: normal;
    font-size: 9px;
  }
  .card-title h1 {
    font-size: 43px;
  }
  .price-summary strong {
    font-size: 39px;
  }
  .secondary-price strong {
    font-size: 25px;
  }
  .card-specimen {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 0 13px;
  }
  .specimen-art {
    height: 151px;
  }
  .capture-actions .button {
    font-size: 10px;
  }
  .sale-row {
    gap: 7px;
    grid-template-columns: 24px minmax(0, 1fr) 54px 38px;
  }
  .sales-table .sale-row {
    grid-template-columns: 24px minmax(0, 1fr) 54px 38px;
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.tile-art {
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
}
.tile-art.card .art-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.records-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 15px 0;
  line-height: 1.6;
}
.records-empty p + p {
  margin-top: 7px;
}
html[data-theme="light"] .grade-button.active,
html[data-theme="light"] .desktop-nav a[aria-current="page"],
html[data-theme="light"] .mobile-nav a[aria-current="page"],
html[data-theme="light"] .list-choice label:has(input:checked) {
  color: #7d5a08;
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero-card-2 {
    transform: translateX(-7%) rotate(14deg) translateY(10px);
  }
}

/* Cookie choice, shown only where consent comes first (beta/track.mjs). */
.consent-note {
  position: fixed;
  z-index: 90;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px #0008;
  animation: consent-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.consent-note p {
  flex: 1 1 280px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.consent-note b {
  color: var(--text);
}
.consent-note a {
  color: var(--gold);
}
html[data-theme="light"] .consent-note a {
  color: #866005;
}
.consent-actions {
  display: flex;
  gap: 10px;
}
.consent-actions .button {
  min-height: 44px;
}
@keyframes consent-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@media (max-width: 760px) {
  .consent-note {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .consent-note {
    animation: none;
  }
}

/* Moving between pages: the current page dims under a thin gold line until
   the next one draws (beta/app.mjs route). */
#main.is-routing { opacity: 0.6; pointer-events: none; transition: opacity 0.2s ease 0.08s; }
#main.is-routing::before {
  content: "";
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: route-line 0.9s ease-in-out infinite;
}
@keyframes route-line { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Browse: placeholders shaped like tiles, a dim while typing, and a cascade. */
.tile-skeleton {
  min-height: 420px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%);
  background-size: 200% 100%;
  animation: tile-shimmer 1.4s ease-in-out infinite;
}
@keyframes tile-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
#browse-grid.is-searching { opacity: 0.5; transition: opacity 0.15s ease; }
/* Browse, history sorts: cards the sort cannot rank (no recorded sales) follow this full-width rule. */
.grid-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 2px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--faint);
}
.grid-divider::after {
  content: "";
  flex: 1;
  min-width: 24px;
  border-top: 1px solid var(--line-soft);
}
.grid-divider-note {
  text-transform: none;
  letter-spacing: 0;
}
/* Apple-style reveal (beta/app.mjs cascade): a soft rise and fade, long
   ease-out, small lift, gentle stagger. */
.reveal { opacity: 0; transform: translate3d(0, 10px, 0); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.row-skeleton {
  height: 64px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%);
  background-size: 200% 100%;
  animation: tile-shimmer 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  #main.is-routing::before, .tile-skeleton, .row-skeleton { animation: none; }
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* Ask for a card by voice (beta/voice.mjs) */
.mic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mic-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mic-button:hover { background: color-mix(in srgb, var(--gold) 20%, transparent); }
.mic-button:active { transform: scale(0.94); }
.mic-button.is-large { width: auto; height: 44px; padding: 0 16px 0 13px; margin-right: 6px; background: var(--gold); border-color: var(--gold); color: #16120a; font: 600 15px var(--body); }
.mic-button.is-large:hover { background: color-mix(in srgb, var(--gold) 88%, #fff); }
.large-search { position: relative; }
.large-search:has(.mic-button) { display: flex; align-items: center; }
.large-search:has(.mic-button) input { flex: 1; min-width: 0; }
html[data-theme="light"] .mic-button:not(.is-large) { color: #866005; }
.header-search .mic-button { margin-right: 4px; }
.voice-echo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.voice-echo svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.8; }
.voice-echo b { color: var(--text); font-weight: 600; }
.voice-echo span { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font: 600 12px var(--body); color: var(--text); }
.voice-sheet {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: color-mix(in srgb, #000 55%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.voice-sheet.is-open { opacity: 1; }
.voice-card {
  width: min(460px, 100%);
  margin-bottom: max(16px, env(safe-area-inset-bottom));
  padding: 34px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 30px 90px #000a;
  text-align: center;
  transform: translateY(24px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.voice-sheet.is-open .voice-card { transform: none; }
.voice-orb { position: relative; width: 96px; height: 96px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #16120a; }
.voice-orb svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; position: relative; z-index: 1; }
.voice-orb i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: voice-ring 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.voice-orb i + i { animation-delay: 0.9s; }
@keyframes voice-ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.7); opacity: 0; } }
.voice-sheet.is-error .voice-orb { background: var(--panel-2); color: var(--muted); }
.voice-sheet.is-error .voice-orb i { display: none; }
.voice-state { margin: 0; font: 600 20px var(--body); color: var(--text); }
.voice-heard { min-height: 28px; margin: 10px 0 0; font: 500 19px/1.4 var(--body); color: var(--gold); }
.voice-hint { margin: 12px 0 20px; font-size: 13.5px; color: var(--faint); }
.voice-cancel { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .voice-orb i { animation: none; opacity: 0.3; } .voice-card, .voice-sheet { transition: none; } }
.large-search .mic-button svg { position: static; inset: auto; transform: none; width: 18px; height: 18px; margin: 0; color: currentColor; stroke: currentColor; }

/* Crawlable directory of the hub pages on the home shell (index.html .site-hubs, lib/hub-page.mjs).
   Calm on purpose: a quiet index above the footer, not a feature. */
.site-hubs {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 28px var(--page-gutter, 28px) 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px 48px;
  border-top: 1px solid var(--line-soft);
}
.site-hubs h2 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.site-hubs p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-hubs a { font-size: 13px; color: var(--muted); text-decoration: none; }
.site-hubs a:hover, .site-hubs a:focus-visible { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .site-hubs { padding: 24px 20px 4px; } }
