/* Visual effects carried over from the deployed MAZIDEX site. */
#browse-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.card-tile {
  transform-style: preserve-3d;
}
.card-tile:hover {
  transform: translateY(-2px);
}
.tile-art,
.browse-toolbar ~ .card-grid .tile-art {
  height: auto;
  aspect-ratio: 1 / 1.18;
  padding: 0;
  background: linear-gradient(145deg, var(--panel-2), var(--deep));
}
.tile-art.portrait:after {
  display: none;
}
.card-tile:hover .tile-art.card img {
  transform: none;
}
.tile-art .art-note {
  display: none;
}
.tile-badges {
  z-index: 5;
}
.collectible-face {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
}
.collectible-inner {
  position: relative;
  height: 88%;
  max-width: 84%;
  aspect-ratio: 3 / 4.2;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--cat) 32%, #0d1412),
    #0c1210 62%,
    color-mix(in srgb, var(--cat) 14%, #0a0f0d)
  );
  border: 1px solid color-mix(in srgb, var(--cat) 35%, transparent);
  box-shadow: 0 12px 30px -12px #000c;
}
.collectible-inner:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      90% 60% at 70% 8%,
      color-mix(in srgb, var(--cat) 26%, transparent),
      transparent 60%
    ),
    linear-gradient(
      115deg,
      transparent 42%,
      color-mix(in srgb, var(--cat) 20%, transparent) 47%,
      transparent 53%
    );
}
.collectible-inner.mode-card {
  display: grid;
  place-items: center;
  background: #0d1210;
}
.tile-art .collectible-inner img.art-image,
.collectible-inner img.art-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  opacity: 1;
  filter: none;
  display: block;
}
.collectible-inner.mode-card img.art-image {
  object-fit: contain;
}
.collectible-inner.mode-portrait img.art-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 22%;
}
.face-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      #050908f7 3%,
      #05090899 24%,
      #0509080d 46%,
      transparent 60%
    ),
    linear-gradient(
      118deg,
      transparent 52%,
      color-mix(in srgb, var(--cat) 20%, transparent) 82%
    );
}
.face-brand {
  position: absolute;
  top: 6.5%;
  left: 8%;
  font: 3cqw var(--mono);
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--cat) 82%, white);
  text-shadow: 0 1px 3px #0009;
}
.face-name {
  position: absolute;
  bottom: 13%;
  left: 8%;
  right: 8%;
  font: 600 15cqw/0.86 var(--display);
  text-transform: uppercase;
  color: white;
  text-shadow: 0 2px 14px #0008;
}
/* A single long word (WEMBANYAMA) would overflow the card at 15cqw. */
.face-name.long-name {
  font-size: 11.5cqw;
}
.face-subtitle {
  position: absolute;
  bottom: 7%;
  left: 8%;
  right: 8%;
  font: 2.7cqw var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffffb3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.face-photo-note {
  position: absolute;
  top: 6.5%;
  right: 7%;
  font: 2cqw var(--mono);
  padding: 2px 3px;
  border-radius: 2px;
  color: #fff9;
  background: #08080777;
}
.collectible-face.framed:before {
  content: "";
  position: absolute;
  width: 92%;
  height: 96%;
  border-radius: 10px;
  background: linear-gradient(170deg, #ffffff17, #ffffff05 30%, #ffffff0d);
  border: 1px solid #ffffff24;
  box-shadow: inset 0 0 18px #ffffff0a;
}
.collectible-face.framed .collectible-inner {
  height: 79%;
  max-width: 78%;
  margin-top: 12%;
  border-radius: 6px;
}
.face-label {
  position: absolute;
  top: 4.5%;
  left: 11%;
  width: 78%;
  padding: 4px 6px;
  border-radius: 4px;
  z-index: 2;
  background: #0a0908eb;
  border: 1px solid #ffffff29;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 6px var(--mono);
  letter-spacing: 0.06em;
  color: #a8a294;
}
.face-label b {
  color: #f4f1e9;
  font-weight: 400;
  font-size: 5.5px;
}
.card-holo {
  position: absolute;
  inset: -20%;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background: conic-gradient(
    from 180deg at var(--hx, 50%) var(--hy, 50%),
    #ff5a5a80,
    #ffd65a80,
    #78ffa080,
    #5ac8ff80,
    #be78ff80,
    #ff5a5a80
  );
  mix-blend-mode: color-dodge;
  filter: blur(22px) saturate(1.4);
  transition: opacity 0.3s var(--ease-out);
}
.card-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    #ffffff24 calc(var(--gx, 50%) - 8%),
    #ffffff57 var(--gx, 50%),
    #ffffff24 calc(var(--gx, 50%) + 8%),
    transparent 70%
  );
  mix-blend-mode: overlay;
  transition: opacity 0.3s;
}
.card-tile:hover .card-holo,
.card-tile:focus-within .card-holo {
  opacity: 0.34;
}
.card-tile:hover .card-glare,
.card-tile:focus-within .card-glare {
  opacity: 1;
}
.badge-mazified {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f8e3a0 0%, #e9be4f 45%, #c0902b 100%);
  color: #241b06;
  border: 1px solid #fff0c3bf;
  box-shadow:
    0 2px 10px #e9be4f59,
    inset 0 1px 0 #ffffff80,
    inset 0 -1px 0 #78550f59;
  text-shadow: 0 1px 0 #fff6d773;
}
.badge-mazified:after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  width: 45%;
  left: -70%;
  transform: skewX(-20deg);
  background: linear-gradient(100deg, transparent, #fff9, transparent);
  animation: mazified-sweep 3.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mazified-sweep {
  0% {
    left: -70%;
  }
  55%,
  100% {
    left: 140%;
  }
}

/* Existing gold pill, with a physical edge and one sweep per opening/hover. */
.button.scan-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(165deg, #f5d77c 0%, #e9be4f 52%, #d9a838 100%);
  border: 1px solid #ffeab387;
  box-shadow:
    0 3px 0 #8b661b,
    0 10px 30px -8px #e9be4f70,
    inset 0 1px 1px #fff9,
    inset 0 -1px 1px #7a581333;
}
.button.scan-cta:hover,
.button.scan-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 #8b661b,
    0 14px 36px -6px #e9be4f8c,
    inset 0 1px 1px #fff9;
}
.button.scan-cta:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 #8b661b,
    0 5px 14px #e9be4f25,
    inset 0 1px 1px #fff5;
}
.scan-cta:after {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  width: 42%;
  left: -70%;
  transform: skewX(-20deg);
  background: linear-gradient(
    100deg,
    transparent,
    #fff5 35%,
    #ffffffa6 50%,
    #fff5 65%,
    transparent
  );
  pointer-events: none;
  z-index: 3;
}
.scan-cta.shine-sweep:after {
  animation: cta-shine-sweep 0.95s var(--sweep-delay, 0ms) var(--ease-out) both;
}
@keyframes cta-shine-sweep {
  from {
    left: -70%;
  }
  to {
    left: 140%;
  }
}

/* Same three-up fan and six-subject conveyor as the deployed homepage. */
.hero-visual {
  min-width: 0;
}
.collector-deck {
  position: relative;
  width: 100%;
  height: 455px;
}
.deck-stage {
  position: relative;
  width: 440px;
  max-width: 100%;
  height: 420px;
  margin: auto;
}
.deck-card {
  position: absolute;
  display: block;
  width: 240px;
  aspect-ratio: 3/4.1;
  container-type: inline-size;
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition:
    transform 0.4s var(--ease-out),
    left 0.9s var(--ease-out),
    top 0.9s var(--ease-out),
    rotate 0.9s var(--ease-out),
    scale 0.9s var(--ease-out),
    opacity 0.9s var(--ease-out);
  filter: drop-shadow(0 24px 40px #0009);
  touch-action: pan-y;
}
.deck-card:hover {
  filter: drop-shadow(0 24px 40px #0009);
}
.deck-card.pos-off {
  left: 30px;
  top: 70px;
  rotate: -14deg;
  scale: 0.78;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
/* 22 of the 25 cards wait off stage: keep them still and unfiltered. */
.deck-card.pos-off {
  filter: none;
}
.deck-card.pos-off .deck-bob,
.deck-card.pos-off .collectible-inner:after {
  animation: none;
}
.deck-card.pos-off .card-holo {
  filter: none;
}
.deck-card.pos-0 {
  left: 0;
  top: 56px;
  rotate: -11deg;
  scale: 0.84;
  z-index: 1;
}
.deck-card.pos-1 {
  left: 150px;
  top: 8px;
  rotate: 7deg;
  scale: 0.92;
  z-index: 2;
}
.deck-card.front {
  left: 74px;
  top: 84px;
  rotate: -2.5deg;
  scale: 1;
  z-index: 3;
}
.deck-card.dragging {
  transition: none;
}
.deck-bob {
  width: 100%;
  height: 100%;
  position: relative;
  animation: deck-bob var(--bob-duration, 6s) ease-in-out infinite alternate;
}
@keyframes deck-bob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}
.deck-card.front .card-holo {
  opacity: 0.26;
}
.deck-card.front:hover .card-holo {
  opacity: 0.34;
}
.deck-card.front:hover .card-glare {
  opacity: 1;
}
.deck-card .collectible-inner:after {
  content: "";
  position: absolute;
  top: -8%;
  bottom: -8%;
  width: 55%;
  left: -80%;
  background: linear-gradient(
    100deg,
    transparent,
    #fff6da38 45%,
    #fff6da57 50%,
    #fff6da38 55%,
    transparent
  );
  transform: skewX(-18deg);
  animation: deck-foil 6.5s infinite;
  z-index: 6;
  pointer-events: none;
}
.deck-card.pos-0 .collectible-inner:after {
  animation-delay: 2s;
}
.deck-card.front .collectible-inner:after {
  animation-delay: 2.3s;
}
.deck-card.pos-1 .collectible-inner:after {
  animation-delay: 2.6s;
}
@keyframes deck-foil {
  0% {
    left: -80%;
  }
  45%,
  100% {
    left: 115%;
  }
}
.deck-stamp {
  position: absolute;
  bottom: 25px;
  right: -8px;
  z-index: 5;
  transform: rotate(-8deg);
  font-size: 9px;
  padding: 7px 10px;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out) 0.3s;
}
.deck-card.front .deck-stamp {
  opacity: 1;
}
.deck-open-hint {
  display: none;
}
.deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.deck-caption {
  color: var(--faint);
  font: 8px var(--mono);
  letter-spacing: 0.6px;
  margin-right: 13px;
}
.deck-controls .icon-button {
  width: 34px;
  height: 34px;
}
.deck-controls svg {
  width: 14px;
  height: 14px;
}
.deck-pause {
  color: var(--muted);
  font: 9px var(--mono);
  min-height: 34px;
  min-width: 40px;
}
.deck-pause:hover {
  color: var(--gold);
}
.collector-deck.motion-paused .deck-bob,
.collector-deck.motion-paused .collectible-inner:after {
  animation-play-state: paused;
}
@media (hover: hover) and (pointer: fine) {
  .deck-open-hint {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    scale: 0.9;
    padding: 10px 15px;
    border-radius: 999px;
    z-index: 7;
    color: #241b06;
    background: linear-gradient(160deg, #f8e3a0, #e9be4f 60%, #d8a93c);
    box-shadow:
      0 0 0 5px #0d0c0a66,
      0 12px 28px #0009;
    font: 9px var(--mono);
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s var(--ease-out),
      scale 0.2s var(--ease-out);
  }
  .deck-card.front:hover .deck-open-hint,
  .deck-card.front:focus-visible .deck-open-hint {
    opacity: 1;
    scale: 1;
  }
  .deck-card.front:hover {
    scale: 1.02;
  }
}
@media (max-width: 1200px) and (min-width: 1100px) {
  .deck-stage {
    width: 400px;
  }
}
@media (max-width: 1099px) {
  .hero-visual {
    height: 430px;
  }
  .collector-deck {
    height: 430px;
  }
  .deck-stage {
    --cw: min(60vw, 260px);
    height: 380px;
    overflow: clip;
  }
  .deck-card {
    width: var(--cw);
  }
  .deck-card.front {
    left: calc(50% - 0.55 * var(--cw));
    top: 35px;
    rotate: -1.5deg;
    scale: 1;
  }
  .deck-card.pos-1 {
    left: calc(50% - 0.13 * var(--cw));
    top: 47px;
    rotate: 5deg;
    scale: 0.93;
  }
  .deck-card.pos-0 {
    left: calc(50% + 0.17 * var(--cw));
    top: 61px;
    rotate: 9deg;
    scale: 0.86;
  }
  .deck-card.pos-off {
    left: calc(50% - 1.7 * var(--cw));
    top: 55px;
    rotate: -15deg;
    scale: 0.8;
    opacity: 0;
  }
  .deck-caption {
    font-size: 7px;
    letter-spacing: 0.2px;
    margin-right: 2px;
  }
}
@media (max-width: 900px) {
  #browse-grid {
    gap: 14px;
  }
  .deck-stage {
    --cw: min(36vw, 220px);
    height: 350px;
  }
  .hero-visual,
  .collector-deck {
    height: 390px;
  }
}
@media (max-width: 700px) {
  #browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .hero-visual {
    width: calc(100% + 40px);
    max-width: none;
    margin-left: -20px;
    margin-right: -20px;
    height: 402px;
  }
  .collector-deck {
    height: 402px;
  }
  .deck-stage {
    --cw: min(60vw, 270px);
    width: 100%;
    height: 365px;
  }
  .deck-caption {
    font-size: 8px;
    letter-spacing: 0.4px;
    margin-right: 5px;
  }
  .deck-controls .icon-button {
    width: 40px;
    height: 40px;
  }
  .deck-pause {
    min-height: 40px;
  }
  .tile-art,
  .browse-toolbar ~ .card-grid .tile-art {
    height: auto;
    aspect-ratio: 1/1.25;
  }
  .face-photo-note {
    font-size: 2.4cqw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .deck-card,
  .deck-bob,
  .deck-card .collectible-inner:after,
  .badge-mazified:after,
  .scan-cta:after {
    animation: none !important;
    transition: none !important;
  }
  .deck-card.front:hover {
    scale: 1;
  }
  .deck-card {
    transform: none !important;
  }
  .card-tile {
    transform: none !important;
  }
  .button.scan-cta:hover {
    transform: none;
  }
}

/* Original page proportions. The approved card-detail layout is excluded. */
body:not([data-page="card"]) {
  --page-gutter: clamp(16px, 4vw, 36px);
  background:
    radial-gradient(1200px 600px at 85% -10%, #e9be4f0f, transparent 60%),
    radial-gradient(900px 500px at -10% 25%, #e9be4f0d, transparent 55%),
    var(--bg);
  background-attachment: fixed;
}
body:not([data-page="card"]) main {
  max-width: 1280px;
  padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px))
    max(var(--page-gutter), env(safe-area-inset-right, 0px));
}
body:not([data-page="card"]) .app-header {
  height: 64px;
}
body:not([data-page="card"]) .header-inner {
  padding-inline: var(--page-gutter);
}
body:not([data-page="card"]) main .button {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 15px;
}
.market-ribbon {
  height: 34px;
}
.market-ribbon > a,
.market-ribbon button {
  min-height: 33px;
  height: 33px;
}
.home-hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: clamp(48px, 9vh, 110px) 0 30px;
}
.hero-copy {
  max-width: calc(100% - min(470px, 36vw));
}
.hero-copy h1 {
  font: 800 clamp(38px, 5.2vw, 68px)/1.05 var(--body);
  letter-spacing: -0.02em;
}
.hero-copy .hero-kicker {
  padding: 6px 12px;
  margin-bottom: 22px;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.hero-copy > p {
  margin: 20px 0 30px;
  font-size: 18px;
  line-height: 1.5;
}
.hero-actions {
  gap: 14px;
}
.hero-assurances {
  margin-top: 22px;
}
.hero-visual {
  position: absolute;
  top: clamp(30px, 6vh, 80px);
  right: 0;
  width: min(440px, 34vw);
  height: 455px;
  margin: 0;
}

/* The original stat-card material, adapted to the three product actions. */
.utility-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.utility-strip > a,
.utility-strip > a:last-child {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  padding: 20px 22px 18px;
  gap: 16px;
  border: 1px solid #f5eee017;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff08, #ffffff03);
  box-shadow: inset 0 1px 0 #ffffff04;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.utility-strip > a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
}
.utility-strip > a:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.utility-strip > a:hover {
  border-color: #e9be4f66;
  background: linear-gradient(180deg, #ffffff0d, #ffffff05);
  box-shadow: inset 0 1px 0 #e9be4f20;
}
.utility-strip > a > span {
  min-width: 0;
}
.utility-strip b {
  font: 600 38px/1 var(--display);
  letter-spacing: 0;
}
.utility-strip small {
  display: block;
  margin-top: 9px;
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}
.utility-strip > a > svg:last-child {
  display: block;
  width: 24px;
  height: 24px;
  margin-left: auto;
  color: var(--gold);
  opacity: 0.7;
}
html[data-theme="light"] .utility-strip > a {
  border-color: var(--line);
  background: linear-gradient(180deg, #ffffff80, #ffffff26);
}
html[data-theme="light"] .utility-strip > a > svg {
  color: #866005;
}
body:not([data-page="card"]) .content-section {
  margin: 56px 0 0;
}
body:not([data-page="card"]) .section-title {
  margin-bottom: 18px;
  gap: 16px;
}
body:not([data-page="card"]) .section-title h2 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
body:not([data-page="card"]) .section-description {
  margin: -6px 0 18px;
}
body:not([data-page="card"]) .card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
body:not([data-page="card"]) .tile-info {
  padding: 12px 14px 14px;
}
body:not([data-page="card"]) .tile-info h3 {
  font-size: 15.5px;
  line-height: 1.25;
  min-height: 20px;
}
body:not([data-page="card"]) .tile-meta {
  font-size: 12px;
  margin: 3px 0 12px;
}
body:not([data-page="card"]) .market-section {
  gap: 28px;
  margin: 56px 0 0;
}
body:not([data-page="card"]) .why-mazi {
  padding: 26px;
}
body:not([data-page="card"]) .why-mazi h2,
body:not([data-page="card"]) .collection-banner h2 {
  font-size: 27px;
}
body:not([data-page="card"]) .collection-banner {
  margin: 56px 0;
  padding: 26px;
}
body:not([data-page="card"]) .page-heading {
  padding: 34px 0 26px;
}
body:not([data-page="card"]) .page-heading h1 {
  font: 800 32px/1.15 var(--body);
  letter-spacing: -0.01em;
}
body:not([data-page="card"]) .page-heading p {
  margin-top: 10px;
  font-size: 16px;
}
body:not([data-page="card"]) .browse-toolbar {
  margin-bottom: 22px;
}
body:not([data-page="card"]) .large-search input {
  height: 48px;
}
body:not([data-page="card"]) .browse-meta {
  padding: 14px 0 22px;
}
body:not([data-page="card"]) .collection-stats > div {
  padding: 18px 20px 14px;
}
body:not([data-page="card"]) .collection-stats strong {
  font-size: 44px;
}
body:not([data-page="card"]) .scan-page {
  max-width: none;
  margin: 34px 0 40px;
  gap: clamp(24px, 4vw, 56px);
}
body:not([data-page="card"]) .scan-intro h1 {
  font-size: clamp(38px, 4vw, 56px);
}
body:not([data-page="card"]) .app-footer {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
@media (min-width: 601px) and (max-width: 900px) {
  .utility-strip > a > svg:last-child {
    display: none;
  }
}
@media (max-width: 1099px) {
  .home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding-top: 48px;
  }
  .hero-copy {
    max-width: none;
  }
  .hero-copy .hero-kicker {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 430px;
  }
  .utility-strip > a {
    padding: 18px;
    gap: 10px;
  }
  .utility-strip b {
    font-size: 32px;
  }
  .utility-strip small {
    font-size: 8px;
  }
}
@media (max-width: 900px) {
  .hero-visual {
    height: 390px;
  }
  .utility-strip > a > svg:last-child {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 700px) {
  body:not([data-page="card"]) .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body:not([data-page="card"]) .section-title {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
  }
  body:not([data-page="card"]) .section-title .text-link {
    margin-left: auto;
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .market-ribbon {
    margin-inline: calc(-1 * var(--page-gutter));
    padding-left: var(--page-gutter);
  }
  .home-hero {
    display: flex;
    padding: 40px 0 24px;
    gap: 0;
  }
  .hero-copy {
    text-align: left;
  }
  .hero-copy h1 {
    font-size: clamp(38px, 10.8vw, 58px);
  }
  .hero-copy > p {
    max-width: 400px;
    margin: 20px 0 24px;
  }
  .hero-actions {
    justify-content: flex-start;
    gap: 10px;
  }
  body:not([data-page="card"]) .hero-actions .button {
    font-size: 14px;
    padding: 12px 19px;
  }
  .hero-visual {
    width: calc(100% + 2 * var(--page-gutter));
    margin: 24px calc(-1 * var(--page-gutter)) 0;
    height: 402px;
  }
  .utility-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }
  .utility-strip > a,
  .utility-strip > a:last-child {
    min-height: 100px;
    padding: 18px 20px;
  }
  .utility-strip b {
    font-size: 36px;
  }
  .utility-strip small {
    font-size: 9px;
  }
  body:not([data-page="card"]) .page-heading h1 {
    font-size: 29px;
  }
  body:not([data-page="card"]) .collection-banner {
    padding: 22px;
  }
  body:not([data-page="card"]) .collection-stats > div {
    padding: 14px;
  }
  body:not([data-page="card"]) .scan-page {
    margin-top: 34px;
  }
  body:not([data-page="card"]) main .capture-actions .button {
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* One word for Mazi's own sales (Andy, 2026-09-29: "MAZIFIED is the term"): a
   card with a Whatnot sale wears the gold MAZIFIED badge above, and a Whatnot
   sale is marked MAZIFIED wherever it is listed (beta/provenance.mjs). The
   quieter second-tier badge that used to sit here is retired. */
.sale-mazified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 6px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
}
html[data-theme="light"] .sale-mazified {
  color: #866005;
}
.sale-mazified svg,
.eyebrow-mazified svg {
  width: 10px;
  height: 10px;
  flex: none;
}
.eyebrow-mazified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
