:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #5f6368;
  --line: #dfe3e8;
  --paper: #f8fbf4;
  --panel: rgba(255, 255, 255, 0.9);
  --blue: #1967d2;
  --red: #d93025;
  --gold: #fbbc04;
  --green: #188038;
  --shadow: 0 18px 45px rgba(22, 22, 22, 0.12);
  --forest-image: url("https://images.unsplash.com/photo-1528306606980-c7b093f99f21?auto=format&fit=crop&fm=jpg&q=58&w=1600");
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.92);
}

.tcg-dark-mode {
  color-scheme: dark;
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(148, 163, 184, 0.34);
  --paper: #0f172a;
  --panel: rgba(15, 23, 42, 0.9);
  --glass: rgba(15, 23, 42, 0.78);
  --glass-strong: rgba(15, 23, 42, 0.94);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 74px;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: transparent;
  line-height: 1.6;
}

body {
  padding-bottom: env(safe-area-inset-bottom);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -3;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.26) 48%, rgba(229, 255, 216, 0.44)),
    var(--forest-image) center / cover no-repeat;
  filter: saturate(1.28) contrast(1.05);
  transform: scale(1.08);
  animation: forestDrift 24s ease-in-out infinite alternate;
}

.tcg-dark-mode body::before {
  filter: brightness(0.36) saturate(1.15);
}

body::after {
  z-index: -2;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 220, 86, 0.7), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(64, 222, 151, 0.58), transparent 24%),
    radial-gradient(circle at 68% 84%, rgba(94, 156, 255, 0.48), transparent 30%),
    radial-gradient(circle at 28% 74%, rgba(217, 48, 37, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(248, 251, 244, 0.1), rgba(248, 251, 244, 0.72));
  animation: lightSweep 14s ease-in-out infinite alternate;
}

.tcg-dark-mode body::after {
  background:
    radial-gradient(circle at 12% 18%, rgba(251, 188, 4, 0.18), transparent 20%),
    radial-gradient(circle at 82% 12%, rgba(64, 222, 151, 0.16), transparent 22%),
    radial-gradient(circle at 68% 84%, rgba(94, 156, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.94));
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 10px 30px rgba(24, 128, 56, 0.08);
}

.tcg-dark-mode .site-header {
  background: rgba(15, 23, 42, 0.78);
  border-bottom-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.tcg-dark-mode :is(.daily-card, .article-card, .visual-widget, .collection-sale-card, .secret-game-card, .tracker-toolbar, .set-card, .album-panel, .album-card, .scanner-panel, .scanner-result, .scanner-form, .market-listing-card, .listing-detail-panel, .orders-card, .price-collection-card) {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.86);
  color: var(--ink);
}

.tcg-dark-mode :is(input, select, textarea) {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.92);
  color: var(--ink);
}

.tcg-dark-mode :is(.button, .album-button, .scanner-button).secondary,
.tcg-dark-mode :is(.site-app-link, .site-account-link, .nav-drop-toggle, .quick-actions, .nav-dropdown-menu, .scanner-upload-button, .scanner-candidate, .scanner-rapid-candidate) {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(30, 41, 59, 0.92);
  color: var(--ink);
}

.tcg-dark-mode :is(.lead, p, small, .daily-row span, .daily-row small, .album-form label, .scanner-form label) {
  color: var(--muted);
}

.nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: transparent;
  overflow: hidden;
  text-indent: -999px;
  background:
    linear-gradient(rgba(5, 8, 20, 0.1), rgba(5, 8, 20, 0.1)),
    url("/assets/tcgportal-logo.jpg") center 32% / 180% auto no-repeat;
  box-shadow: 0 8px 20px rgba(25, 103, 210, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.nav-drop-toggle {
  text-decoration: none;
}

.nav-links a:hover,
.nav-drop-toggle:hover {
  color: var(--ink);
}

.nav-marketplace-link {
  order: -1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(24, 128, 56, 0.22);
  font-weight: 900;
  white-space: nowrap;
}

.nav-marketplace-link small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.nav-links .nav-marketplace-link:hover {
  color: #ffffff;
  background: #126d32;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-drop-toggle {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-drop-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 205px;
  display: none;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(223, 227, 232, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--ink);
  background: rgba(24, 128, 56, 0.1);
}

.site-app-link,
.site-account-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(24, 128, 56, 0.24);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-app-link {
  cursor: pointer;
  font: inherit;
}

.site-app-link:hover,
.site-account-link:hover {
  color: #126d32;
  background: rgba(24, 128, 56, 0.1);
}

.install-guide-notice {
  position: fixed;
  left: 50%;
  bottom: max(76px, calc(env(safe-area-inset-bottom) + 76px));
  z-index: 10070;
  max-width: min(420px, calc(100vw - 28px));
  transform: translate(-50%, 12px);
  border: 1px solid rgba(24, 128, 56, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.install-guide-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-account-link.is-signed-in,
.market-account-link.is-signed-in {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffffff;
  background: #17202a;
  border-color: rgba(23, 32, 42, 0.16);
}

.site-account-link.is-signed-in:hover,
.market-account-link.is-signed-in:hover {
  color: #ffffff;
  background: #0f766e;
}

.site-cart-link {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(24, 128, 56, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.site-cart-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(24, 128, 56, 0.32);
}

.site-cart-link svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.4;
}

.quick-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: min(calc(100vw - 32px), 560px);
  padding: 6px;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(14px);
}

.quick-actions:empty {
  display: none;
}

.quick-action-link,
.app-install-button,
.quick-actions .album-launcher,
.quick-actions .scanner-launcher {
  position: static;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(24, 128, 56, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.quick-actions .scanner-launcher {
  right: auto;
  bottom: auto;
  z-index: auto;
  box-shadow: 0 10px 22px rgba(24, 128, 56, 0.22);
}

.is-installed-app .app-install-button {
  display: none;
}

.quick-action-cart svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

@media (max-width: 560px) {
  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .search-page-form {
    display: grid;
  }

  .search-page-form input,
  .search-page-form .button {
    width: 100%;
  }

  .price-collection-grid {
    grid-template-columns: 1fr;
  }

  .price-collection-card {
    min-height: 190px;
  }

  .quick-actions {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    justify-content: center;
    max-width: none;
  }

  .quick-action-link,
  .app-install-button,
  .quick-actions .album-launcher,
  .quick-actions .scanner-launcher {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 10px;
    font-size: 0.82rem;
  }
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 18% 20%, rgba(251, 188, 4, 0.58), transparent 30%),
    radial-gradient(circle at 92% 22%, rgba(0, 168, 107, 0.52), transparent 28%),
    radial-gradient(circle at 74% 92%, rgba(25, 103, 210, 0.38), transparent 36%),
    radial-gradient(circle at 46% 14%, rgba(217, 48, 37, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(217, 48, 37, 0.12), rgba(24, 128, 56, 0.18) 46%, rgba(25, 103, 210, 0.22));
}

.hero-market-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
  z-index: 0;
}

.hero-market-bg::before,
.hero-market-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-market-bg::before {
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.82) 0%, rgba(246, 248, 251, 0.6) 32%, rgba(246, 248, 251, 0.2) 64%, rgba(246, 248, 251, 0.04) 100%),
    linear-gradient(180deg, rgba(246, 248, 251, 0.18), rgba(246, 248, 251, 0.04) 42%, rgba(246, 248, 251, 0.34));
}

.hero-market-bg::after {
  background: linear-gradient(90deg, rgba(246, 248, 251, 0.44), transparent 20%, transparent 72%, rgba(246, 248, 251, 0.2));
}

.hero-market-strip {
  position: absolute;
  top: 6%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  min-height: 82%;
  padding: 18px 26px;
  animation: marketWallScroll 76s linear infinite;
  will-change: transform;
}

.hero-market-bg:hover .hero-market-strip {
  animation-play-state: paused;
}

.market-bg-card {
  position: relative;
  flex: 0 0 232px;
  margin: 0;
  transform: rotate(var(--tilt, -3deg));
  filter: saturate(1.18) contrast(1.08) drop-shadow(0 28px 28px rgba(16, 24, 40, 0.34));
}

.market-bg-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.34), inset 0 0 24px rgba(255, 255, 255, 0.18);
  filter: saturate(1.16) contrast(1.04);
}

.market-bg-card div {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 10px;
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 10px;
  background: rgba(5, 16, 31, 0.82);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.market-bg-card strong,
.market-bg-card span,
.market-bg-card em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-bg-card strong {
  font-size: 0.78rem;
  line-height: 1.15;
}

.market-bg-card span,
.market-bg-card em {
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.15;
}

.market-bg-card em {
  color: #86efac;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 48% 52% 64% 36% / 44% 40% 60% 56%;
  filter: blur(1px);
  opacity: 0.68;
}

.hero::before {
  width: 340px;
  height: 210px;
  left: -90px;
  bottom: 8%;
  background: linear-gradient(135deg, rgba(255, 218, 71, 0.42), rgba(29, 185, 84, 0.24));
  animation: shapeFloat 13s ease-in-out infinite alternate;
}

.hero::after {
  width: 420px;
  height: 260px;
  right: -120px;
  top: 10%;
  background: linear-gradient(135deg, rgba(25, 103, 210, 0.2), rgba(255, 255, 255, 0.32), rgba(251, 188, 4, 0.24));
  animation: shapeFloat 16s ease-in-out infinite alternate-reverse;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 54px 20px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  color: #363a3d;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-proof-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin-top: 22px;
}

.hero-proof-points a {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(24, 128, 56, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.64)),
    radial-gradient(circle at 14% 10%, rgba(251, 188, 4, 0.24), transparent 36%);
  box-shadow: 0 12px 28px rgba(22, 22, 22, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-proof-points a:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 22px 42px rgba(22, 22, 22, 0.14);
}

.hero-proof-points strong {
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.15;
}

.hero-proof-points em {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(22, 22, 22, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(22, 22, 22, 0.14);
  filter: saturate(1.12);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, #111827, #0f766e 48%, #188038);
  border-color: rgba(20, 20, 20, 0.92);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.26);
}

.hero-showcase {
  position: relative;
  min-height: 560px;
}

.pokemon-trending-carousel {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 26% 20%, rgba(255, 220, 86, 0.34), transparent 32%),
    repeating-linear-gradient(90deg, rgba(22, 22, 22, 0.04) 0 1px, transparent 1px 28px);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pokemon-trending-carousel:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 78px rgba(22, 22, 22, 0.18);
}

.carousel-copy {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 4;
  width: min(270px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(22, 22, 22, 0.1);
  backdrop-filter: blur(18px) saturate(1.1);
}

.carousel-copy span,
.mini-stat em,
.widget-metrics em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.carousel-copy strong {
  display: block;
  margin-top: 4px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.carousel-copy em {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.mini-stat {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.carousel-track {
  position: absolute;
  inset: 0;
  animation: cardFanBreathe 9s ease-in-out infinite alternate;
}

.trend-card {
  position: absolute;
  margin: 0;
  width: 178px;
  text-align: center;
  filter: drop-shadow(0 22px 26px rgba(22, 22, 22, 0.24));
  animation: trendCardFloat 16s ease-in-out infinite;
}

.trend-card img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  border-radius: 10px;
}

.trend-card figcaption {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.86);
  color: #17202a;
  font-size: 0.78rem;
  font-weight: 900;
}

.trend-card-a {
  left: 44px;
  top: 202px;
  transform: rotate(-10deg);
}

.trend-card-b {
  left: 186px;
  top: 96px;
  transform: rotate(7deg);
  animation-delay: -3s;
}

.trend-card-c {
  left: 278px;
  top: 260px;
  transform: rotate(-3deg);
  animation-delay: -6s;
}

.trend-card-d {
  left: 374px;
  top: 142px;
  transform: rotate(11deg);
  animation-delay: -9s;
}

.trend-card-e {
  left: 124px;
  top: 342px;
  transform: rotate(4deg);
  animation-delay: -12s;
}

@keyframes marketWallScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.search-strip {
  max-width: 980px;
  margin: -40px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.search-box {
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(22,22,22,0.08);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 48px;
  padding: 0 14px;
  font: inherit;
}

.search-hero {
  min-height: auto;
}

.search-page-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 18px;
}

.search-page-form input {
  flex: 1 1 280px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--glass-strong);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.search-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.search-filter {
  min-height: 36px;
  border: 1px solid rgba(24, 128, 56, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.search-filter.is-active {
  background: var(--green);
  color: #ffffff;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.search-result-card,
.search-empty {
  display: grid;
  gap: 8px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--glass-strong);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.search-result-card:hover {
  border-color: rgba(15, 118, 110, 0.42);
  transform: translateY(-1px);
}

.search-result-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.search-result-card.marketplace span {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.search-result-card.prices span {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.search-result-card strong,
.search-empty strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.25;
}

.search-result-card p,
.search-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.search-empty {
  grid-column: 1 / -1;
  max-width: 720px;
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 86px 20px;
}

.compact-section {
  padding-top: 34px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.visual-section {
  padding-top: 76px;
}

.collection-sale-section {
  padding-top: 42px;
  padding-bottom: 28px;
}

.collection-sale-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  padding: 20px;
  background: var(--glass-strong);
  box-shadow: var(--shadow);
}

.collection-sale-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 62%;
  height: 180%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: rotate(10deg) translateX(-120%);
  animation: softSheen 8s ease-in-out infinite;
}

.collection-sale-card > * {
  position: relative;
  z-index: 1;
}

.collection-sale-copy,
.collection-sale-next {
  display: grid;
  align-content: start;
  gap: 12px;
}

.collection-sale-copy h2,
.collection-sale-next h3 {
  margin: 0;
}

.collection-sale-copy p,
.collection-sale-next p {
  max-width: 620px;
  color: var(--muted);
}

.collection-sale-next {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fffdf8;
}

.collection-sale-card .button {
  width: fit-content;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.visual-widget {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: var(--glass);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.08);
  backdrop-filter: blur(12px) saturate(1.15);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.visual-widget:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 56px rgba(22, 22, 22, 0.18);
  filter: saturate(1.1);
}

.visual-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 18px);
  pointer-events: none;
  animation: patternSlide 18s linear infinite;
}

.visual-widget > * {
  position: relative;
  z-index: 1;
}

.visual-widget p {
  color: var(--muted);
  margin-top: 10px;
}

.pokemon-widget {
  background: linear-gradient(155deg, #ffffff, #eef5ff 50%, #fff7d6);
}

.onepiece-widget {
  background: linear-gradient(155deg, #ffffff, #fff0ea 48%, #eaf7ff);
}

.riftbound-widget {
  background: linear-gradient(155deg, #ffffff, #eefbf2 46%, #f0f3ff);
}

.vending-widget {
  background: linear-gradient(155deg, #ffffff, #f6f0ff 50%, #fff6e5);
}

.widget-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  min-height: 156px;
}

.widget-card-row img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  border-radius: 7px;
  filter: drop-shadow(0 12px 12px rgba(22, 22, 22, 0.18));
}

.widget-card-row img:nth-child(1) {
  transform: translateY(12px) rotate(-7deg);
}

.widget-card-row img:nth-child(2) {
  transform: translateY(-12px);
}

.widget-card-row img:nth-child(3) {
  transform: translateY(18px) rotate(7deg);
}

.widget-metrics {
  display: grid;
  gap: 10px;
}

.widget-metrics span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(22, 22, 22, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.widget-metrics b {
  line-height: 1.1;
}

.info-card,
.article-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(22, 22, 22, 0.06);
  backdrop-filter: blur(12px);
}

.info-card::before,
.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(251, 188, 4, 0.18), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(25, 103, 210, 0.13), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.info-card {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.info-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 24px 46px rgba(22, 22, 22, 0.14);
}

.info-card:hover::before,
.article-card:hover::before {
  opacity: 1;
}

.info-card strong {
  display: block;
  margin-bottom: 8px;
}

.info-card p,
.article-card p {
  color: var(--muted);
}

.guide-grid {
  align-items: stretch;
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding-top: 14px;
}

.guide-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 164px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.64), transparent 28%),
    linear-gradient(135deg, #0f766e, #2563eb);
}

.guide-media img {
  width: 112px;
  max-width: 62%;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(10, 19, 33, 0.22));
  transform: rotate(-7deg);
  transition: transform 180ms ease;
}

.guide-card:hover .guide-media img {
  transform: translateY(-3px) rotate(-4deg) scale(1.04);
}

.guide-media-gold { background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 28%), linear-gradient(135deg, #f59e0b, #dc2626); }
.guide-media-violet { background: radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.62), transparent 30%), linear-gradient(135deg, #7c3aed, #0891b2); }
.guide-media-blue { background: radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.65), transparent 28%), linear-gradient(135deg, #0284c7, #4f46e5); }
.guide-media-red { background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.68), transparent 28%), linear-gradient(135deg, #ef4444, #f97316); }
.guide-media-night { background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42), transparent 28%), linear-gradient(135deg, #111827, #7c3aed); }
.guide-media-mint { background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.68), transparent 28%), linear-gradient(135deg, #10b981, #22c55e); }
.guide-media-sun { background: radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.7), transparent 30%), linear-gradient(135deg, #facc15, #fb7185); }
.guide-media-green { background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.7), transparent 28%), linear-gradient(135deg, #16a34a, #0ea5e9); }
.guide-media-plum { background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6), transparent 28%), linear-gradient(135deg, #9333ea, #db2777); }
.guide-media-ice { background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.74), transparent 30%), linear-gradient(135deg, #06b6d4, #93c5fd); }
.guide-media-pink { background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 28%), linear-gradient(135deg, #ec4899, #8b5cf6); }
.guide-media-forest { background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.64), transparent 28%), linear-gradient(135deg, #15803d, #84cc16); }
.guide-media-teal { background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.7), transparent 28%), linear-gradient(135deg, #0f766e, #14b8a6); }
.guide-media-coral { background: radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.68), transparent 28%), linear-gradient(135deg, #fb7185, #f97316); }
.guide-media-lime { background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.68), transparent 28%), linear-gradient(135deg, #65a30d, #06b6d4); }
.guide-media-amber { background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 28%), linear-gradient(135deg, #d97706, #eab308); }
.guide-media-slate { background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.56), transparent 28%), linear-gradient(135deg, #334155, #0f766e); }
.guide-media-royal { background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.64), transparent 28%), linear-gradient(135deg, #1d4ed8, #7c3aed); }
.guide-media-orange { background: radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.7), transparent 28%), linear-gradient(135deg, #ea580c, #f43f5e); }

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 99px;
  background: #eef3fe;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(22, 22, 22, 0.06);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  color: var(--muted);
  font-size: 0.86rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.link-grid a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.set-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.snapshot-panel {
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  padding: 22px;
  overflow-x: auto;
  box-shadow: 0 16px 34px rgba(22, 22, 22, 0.07);
}

.snapshot-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.snapshot-head p:not(.eyebrow),
.price-table span {
  color: var(--muted);
}

.secret-game-section {
  padding-top: 42px;
}

.secret-game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(231, 255, 220, 0.82)),
    radial-gradient(circle at 12% 16%, rgba(255, 224, 92, 0.4), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(64, 222, 151, 0.28), transparent 32%);
  box-shadow: 0 24px 58px rgba(22, 22, 22, 0.12);
  backdrop-filter: blur(14px) saturate(1.15);
}

.secret-game-card::before {
  content: "";
  position: absolute;
  inset: -30% -12% auto;
  height: 220px;
  background: repeating-linear-gradient(112deg, rgba(255,255,255,0.36) 0 18px, transparent 18px 42px);
  transform: rotate(-4deg);
  pointer-events: none;
}

.secret-game-copy,
.runner-hud,
.runner-controls,
#forestRunnerCanvas {
  position: relative;
  z-index: 1;
}

.secret-game-copy {
  max-width: 760px;
}

.secret-game-copy p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 10px;
}

.runner-hud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
}

.runner-hud span {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 800;
}

.runner-hud strong {
  color: var(--ink);
}

#forestRunnerCanvas {
  width: 100%;
  aspect-ratio: 8 / 3;
  min-height: 220px;
  display: block;
  border: 1px solid rgba(22, 22, 22, 0.1);
  border-radius: 18px;
  background: #bfeeff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 18px 34px rgba(22, 22, 22, 0.1);
  cursor: pointer;
  touch-action: manipulation;
}

.runner-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.runner-controls span {
  color: var(--muted);
  font-weight: 800;
}

.trend-up {
  color: var(--green);
  font-weight: 800;
}

.trend-down {
  color: var(--red);
  font-weight: 800;
}

.tracker-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 42px 20px 92px;
}

.tracker-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.tracker-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
}

.tracker-toolbar select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.tracker-status {
  color: var(--muted);
  font-weight: 700;
}

.tracker-grid {
  display: grid;
  gap: 18px;
}

.set-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.set-summary {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.set-logo {
  width: 92px;
  min-height: 54px;
  object-fit: contain;
}

.set-meta {
  color: var(--muted);
}

.set-value {
  text-align: right;
}

.set-value strong {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.set-value span {
  color: var(--muted);
  font-size: 0.9rem;
}

.value-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.value-stat {
  background: #f8fafc;
  padding: 14px 20px;
}

.value-stat strong {
  display: block;
}

.value-stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.price-card img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  background: #eef1f4;
  display: block;
}

.price-card-body {
  padding: 12px;
}

.price-card-body strong {
  display: block;
  line-height: 1.22;
}

.price-card-body span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

.price {
  color: var(--green);
  font-weight: 900;
  margin-top: 8px;
}

.tracker-note {
  color: var(--muted);
  max-width: 840px;
  margin-top: 18px;
}

.error-box {
  background: #fff4f2;
  border: 1px solid #f4b7b0;
  color: #8f1d14;
  border-radius: 8px;
  padding: 16px;
}

.op-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 92px;
}

.op-controls {
  position: sticky;
  top: 64px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 14px 30px rgba(22, 22, 22, 0.07);
}

.op-controls input,
.op-controls select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  font: inherit;
  background: white;
}

.op-status {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.op-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.op-set-list {
  display: grid;
  gap: 10px;
}

.op-set-button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(22, 22, 22, 0.05);
}

.op-set-button[aria-selected="true"] {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.12);
}

.op-set-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.op-set-row strong {
  line-height: 1.15;
}

.op-set-code {
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.op-set-small {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 5px;
}

.op-mini-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 10px;
}

.op-mini-strip img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 4px;
  background: #eef1f4;
}

.op-detail {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.08);
}

.op-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.op-score {
  text-align: right;
}

.op-score strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
}

.op-score span,
.op-detail-head p {
  color: var(--muted);
}

.op-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.op-stat {
  background: #f8fafc;
  padding: 13px 16px;
}

.op-stat strong {
  display: block;
}

.op-stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.op-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.pokemon-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.op-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
  min-width: 0;
  box-shadow: 0 10px 22px rgba(22, 22, 22, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.op-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(22, 22, 22, 0.12);
}

.op-card img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  display: block;
  background: #eef1f4;
}

.op-card-body {
  padding: 9px;
}

.pokemon-card-grid .op-card-body {
  padding: 9px;
}

.op-card-title {
  display: block;
  font-size: 0.88rem;
  line-height: 1.18;
}

.pokemon-card-grid .op-card-title {
  font-size: 0.86rem;
}

.op-card-meta {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 4px;
}

.pokemon-card-grid .op-card-meta {
  font-size: 0.76rem;
}

.op-card-price {
  color: var(--green);
  font-weight: 900;
  margin-top: 6px;
  font-size: 0.95rem;
}

.pokemon-card-grid .op-card-price {
  font-size: 0.92rem;
}

.op-note {
  color: var(--muted);
  margin-top: 16px;
  max-width: 860px;
}

.rift-accent {
  color: #8b5cf6;
}

.history-panel {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 34px rgba(22, 22, 22, 0.07);
  backdrop-filter: blur(12px);
}

.history-panel h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.history-panel p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 8px;
}

.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.vending-hero {
  max-width: 1040px;
}

.vending-gallery {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 20px 72px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.vending-gallery img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.vending-trust-strip,
.vending-collection,
.vending-sourcing-section,
.vending-faq-section {
  padding-top: 34px;
}

.review-grid,
.sourcing-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card,
.sourcing-card,
.faq-grid details {
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.07);
  padding: 22px;
}

.review-card strong {
  color: #f59e0b;
  letter-spacing: 0;
}

.review-card h3,
.sourcing-card h3 {
  margin-top: 10px;
}

.review-card p,
.review-card span,
.sourcing-card p,
.faq-grid p {
  color: var(--muted);
}

.review-card span {
  display: block;
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 900;
}

.vending-income-copy {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.section-head .vending-income-copy p {
  max-width: none;
  margin: 0;
  color: #2f3b4a;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 750;
}

.section-head .vending-income-copy p:first-child {
  color: #17202a;
  font-weight: 900;
}

.vending-shop-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}

.vending-filter,
.vending-shop-tools select {
  min-height: 42px;
  border: 1px solid rgba(22, 22, 22, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 900;
  padding: 0 16px;
  cursor: pointer;
}

.vending-filter.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.vending-shop-tools select {
  border-radius: 12px;
  margin-left: auto;
}

.vending-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.vending-product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.08);
  height: 100%;
}

.vending-product-card[hidden] {
  display: none;
}

.vending-title-link {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 8px;
  line-height: 1.08;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease, text-shadow 160ms ease;
}

.vending-title-link::after {
  align-items: center;
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: 999px;
  color: var(--green);
  content: "Learn more";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 5px 8px;
}

.vending-title-link:hover,
.vending-title-link:focus-visible {
  color: var(--green);
  outline: 0;
  text-shadow: 0 10px 24px rgba(5, 150, 105, 0.14);
  transform: translateY(-1px);
}

.vending-card-gallery,
.vending-product-card img,
.vending-product-art {
  width: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 220, 86, 0.44), transparent 28%),
    linear-gradient(135deg, rgba(243, 250, 255, 0.94), rgba(234, 255, 241, 0.92));
  border-bottom: 1px solid rgba(22, 22, 22, 0.08);
}

.vending-card-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(168px, 1fr) 68px;
  gap: 8px;
  padding: 10px;
  border-radius: 18px 18px 0 0;
  overflow: visible;
  min-height: 280px;
}

.vending-card-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: 0;
  object-fit: contain;
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  cursor: zoom-in;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  z-index: 1;
}

.vending-card-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  background: rgba(255, 255, 255, 0.94);
}

.vending-card-gallery img:nth-child(n+6) {
  display: none;
}

.vending-card-gallery img:hover,
.vending-card-gallery img:focus-visible {
  border-color: rgba(5, 150, 105, 0.28);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.3);
  transform: scale(1.24);
  z-index: 8;
}

.vending-detail-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 220, 86, 0.18), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(59, 130, 246, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  margin-top: 22px;
  padding: clamp(18px, 3vw, 34px);
  scroll-margin-top: 92px;
}

.vending-detail-section[hidden] {
  display: none;
}

.vending-detail-modal {
  align-items: center;
  background: rgba(8, 13, 20, 0.78);
  display: flex;
  inset: 0;
  justify-content: center;
  overflow: auto;
  padding: 24px;
  position: fixed;
  z-index: 9998;
}

.vending-detail-modal[hidden] {
  display: none;
}

.vending-detail-modal-card {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 220, 86, 0.26), transparent 26%),
    radial-gradient(circle at 96% 4%, rgba(20, 184, 166, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 253, 246, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
  max-height: calc(100vh - 48px);
  max-width: 1180px;
  overflow: auto;
  padding: clamp(16px, 3vw, 28px);
  position: relative;
  width: min(100%, 1180px);
}

.vending-detail-modal-card .vending-detail-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.vending-detail-modal-card .vending-detail-media {
  min-height: 0;
}

.vending-detail-close {
  right: 18px;
  top: 18px;
  z-index: 2;
}

.vending-detail-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.34fr);
}

.vending-detail-media {
  background:
    radial-gradient(circle at 50% 12%, rgba(20, 184, 166, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 253, 246, 0.9));
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  min-height: 100%;
  overflow: hidden;
  padding: 14px;
}

.vending-detail-media img {
  aspect-ratio: 4 / 5;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  height: auto;
  object-fit: contain;
  width: 100%;
}

.vending-detail-price {
  background: #111827;
  border-radius: 16px;
  color: #fff;
  display: grid;
  gap: 3px;
  padding: 16px;
}

.vending-detail-price span,
.vending-detail-price small {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.vending-detail-price strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
}

.vending-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vending-detail-copy h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.96;
  margin: 0 0 12px;
}

.vending-detail-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  max-width: 880px;
}

.vending-detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.vending-detail-grid div,
.vending-revenue-example {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  padding: 16px;
}

.vending-detail-grid strong,
.vending-revenue-example strong {
  color: var(--ink);
  display: block;
  font-weight: 950;
  margin-bottom: 6px;
}

.vending-detail-grid span,
.vending-revenue-example {
  color: var(--muted);
  line-height: 1.55;
}

.vending-revenue-example {
  border-color: rgba(5, 150, 105, 0.2);
}

.vending-partner-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.vending-partner-options span {
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: 999px;
  color: #065f46;
  font-weight: 900;
  padding: 9px 12px;
}

.vending-detail-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vending-image-lightbox {
  align-items: center;
  background: rgba(8, 13, 20, 0.86);
  border: 0;
  cursor: zoom-out;
  display: flex;
  inset: 0;
  justify-content: center;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 24px;
  position: fixed;
  z-index: 9999;
}

.vending-image-lightbox[hidden] {
  display: none;
}

.vending-image-lightbox img {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  max-height: 88vh;
  max-width: min(92vw, 1180px);
  object-fit: contain;
}

.vending-lightbox-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  color: #111827;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  position: fixed;
  right: 24px;
  top: 22px;
  width: 42px;
}

.vending-reserve-modal {
  align-items: center;
  background: rgba(8, 13, 20, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  overflow: auto;
  padding: 24px;
  position: fixed;
  z-index: 9998;
}

.vending-reserve-modal[hidden] {
  display: none;
}

.vending-reserve-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 220, 86, 0.3), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 255, 247, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
  max-width: 680px;
  padding: 24px;
  position: relative;
  width: min(100%, 680px);
}

.vending-reserve-card h2 {
  margin-top: 6px;
}

.vending-reserve-card > p:not(.eyebrow) {
  color: var(--muted);
  margin: 8px 0 16px;
}

.vending-modal-close {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.12);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
}

.vending-product-art {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.vending-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
  min-height: 310px;
}

.vending-product-body h3 {
  margin-top: 8px;
  min-height: 56px;
}

.vending-product-body p {
  margin-top: 10px;
  color: var(--muted);
  display: -webkit-box;
  min-height: 88px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.vending-price-line {
  display: grid;
  gap: 4px;
  margin: auto 0 16px;
  padding-top: 18px;
}

.vending-price-line strong {
  color: var(--green);
  font-size: 1.18rem;
}

.vending-price-line span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.vending-product-art {
  position: relative;
  overflow: hidden;
}

.vending-product-art::before {
  content: "";
  position: absolute;
  inset: 18px 34%;
  border-radius: 20px;
  background: #101820;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.42), 0 22px 36px rgba(0,0,0,0.18);
}

.vending-product-art span {
  position: absolute;
  z-index: 1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.slim-wall-art span:nth-child(1) { inset: 42px 41% 52px; background: linear-gradient(180deg, #0ea5e9, #10b981); }
.slim-wall-art span:nth-child(2) { width: 42px; height: 18px; right: 32%; bottom: 46px; }
.slim-wall-art span:nth-child(3) { width: 26px; height: 36px; right: 35%; bottom: 74px; background: #facc15; }
.tower-art::before { inset: 16px 38% 16px; }
.tower-art span:nth-child(1) { inset: 38px 42% 58px; background: linear-gradient(180deg, #6366f1, #14b8a6); }
.tower-art span:nth-child(2) { width: 50px; height: 16px; left: 47%; bottom: 42px; }
.tower-art span:nth-child(3) { width: 18px; height: 140px; left: 36%; bottom: 20px; background: rgba(16,185,129,0.38); }
.bundle-art span:nth-child(1) { width: 68px; height: 88px; left: 22%; top: 45px; background: #facc15; transform: rotate(-8deg); }
.bundle-art span:nth-child(2) { width: 70px; height: 96px; left: 42%; top: 36px; background: #38bdf8; transform: rotate(5deg); }
.bundle-art span:nth-child(3) { width: 74px; height: 82px; right: 18%; top: 60px; background: #fb7185; transform: rotate(10deg); }
.mystery-art span:nth-child(1) { width: 82px; height: 82px; left: 28%; top: 48px; background: #7c3aed; }
.mystery-art span:nth-child(2) { width: 74px; height: 74px; right: 30%; top: 62px; background: #f97316; }
.mystery-art span:nth-child(3) { width: 120px; height: 18px; left: 34%; bottom: 46px; background: #111827; }
.accessory-art span:nth-child(1) { width: 120px; height: 28px; left: 20%; top: 70px; background: #111827; }
.accessory-art span:nth-child(2) { width: 90px; height: 70px; right: 22%; top: 54px; background: #10b981; }
.accessory-art span:nth-child(3) { width: 58px; height: 82px; left: 48%; bottom: 36px; background: #f59e0b; }

.sourcing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 1000;
}

.faq-grid p {
  margin-top: 12px;
}

.smartvend-product {
  padding-top: 28px;
}

.smartvend-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.smartvend-copy,
.smartvend-visual-card,
.usecase-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: var(--glass-strong);
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.08);
  backdrop-filter: blur(12px);
}

.smartvend-copy {
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 220, 86, 0.5), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(237,255,246,0.9));
}

.smartvend-copy h2 {
  margin-top: 6px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.smartvend-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 680px;
}

.smartvend-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.smartvend-highlights span {
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #0f4c46;
  font-weight: 900;
  padding: 9px 12px;
}

.smartvend-visual-card {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(22,22,22,0.04), transparent 32%),
    radial-gradient(circle at 72% 18%, rgba(255, 122, 24, 0.18), transparent 34%),
    #ffffff;
}

.smartvend-visual-card img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
}

.smartvend-spec-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.smartvend-spec-strip div {
  border: 1px solid rgba(22,22,22,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.82);
  padding: 14px;
  box-shadow: 0 10px 24px rgba(22,22,22,0.05);
}

.smartvend-spec-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.smartvend-spec-strip strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

.smartvend-uses {
  padding-top: 34px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.usecase-card {
  overflow: hidden;
}

.usecase-card img,
.usecase-art {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.usecase-card div:not(.usecase-art) {
  padding: 18px;
}

.usecase-card h3 {
  margin-top: 8px;
}

.usecase-card p {
  margin-top: 8px;
  color: var(--muted);
}

.usecase-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.82), transparent 22%),
    linear-gradient(135deg, #eaf6ff, #fff3d1 45%, #eafff3);
}

.usecase-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(22,22,22,0.06) 0 1px, transparent 1px 18px);
  opacity: 0.5;
}

.usecase-art span {
  position: absolute;
  z-index: 1;
  display: block;
}

.convention-art span {
  width: 72px;
  height: 104px;
  border-radius: 8px;
  border: 5px solid rgba(255,255,255,0.92);
  box-shadow: 0 16px 28px rgba(22,22,22,0.14);
}

.convention-art span:nth-child(1) {
  left: 34px;
  top: 44px;
  background: linear-gradient(135deg, #d93025, #fbbc04);
  transform: rotate(-8deg);
}

.convention-art span:nth-child(2) {
  left: 102px;
  top: 30px;
  background: linear-gradient(135deg, #1967d2, #00a86b);
  transform: rotate(5deg);
}

.convention-art span:nth-child(3) {
  left: 166px;
  top: 62px;
  background: linear-gradient(135deg, #7b3ff2, #1967d2);
  transform: rotate(-3deg);
}

.cardshop-art span:nth-child(1),
.tournament-art span:nth-child(1) {
  left: 30px;
  top: 42px;
  width: 96px;
  height: 122px;
  border-radius: 10px;
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 28px rgba(22, 22, 22, 0.14);
}

.cardshop-art span:nth-child(1) {
  background: linear-gradient(135deg, #fbbc04, #188038 52%, #1967d2);
  transform: rotate(-6deg);
}

.tournament-art span:nth-child(1) {
  background: linear-gradient(135deg, #d93025, #fbbc04 52%, #7b3ff2);
  transform: rotate(5deg);
}

.cardshop-art span:nth-child(2),
.tournament-art span:nth-child(2) {
  right: 30px;
  top: 42px;
  width: 112px;
  height: 74px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(22, 22, 22, 0.12);
}

.cardshop-art span:nth-child(3),
.tournament-art span:nth-child(3) {
  right: 48px;
  bottom: 34px;
  width: 92px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #111827, #0f766e);
  box-shadow: 0 14px 24px rgba(22, 22, 22, 0.16);
}

.campus-art span:nth-child(1) {
  left: 36px;
  top: 44px;
  width: 80px;
  height: 104px;
  border-radius: 12px;
  background: linear-gradient(180deg, #151515, #4a2d68);
  box-shadow: 0 16px 28px rgba(22,22,22,0.14);
}

.campus-art span:nth-child(2) {
  left: 54px;
  top: 60px;
  width: 44px;
  height: 60px;
  border-radius: 5px;
  border: 2px solid #ff5a7d;
  background: linear-gradient(135deg, #1967d2, #00a86b);
}

.campus-art span:nth-child(3) {
  right: 38px;
  bottom: 38px;
  width: 110px;
  height: 64px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 24px rgba(22,22,22,0.12);
}

.vending-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vending-pricing-section {
  padding-top: 42px;
}

.vending-pricing-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.deposit-card,
.pricing-card,
.timeline-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: var(--glass-strong);
  box-shadow: 0 16px 34px rgba(22, 22, 22, 0.07);
  padding: 22px;
  backdrop-filter: blur(12px);
}

.deposit-card {
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 220, 86, 0.46), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(231,255,220,0.88));
}

.deposit-card strong {
  display: block;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.96;
  margin-bottom: 12px;
}

.deposit-card p,
.pricing-card p,
.timeline-card p {
  color: var(--muted);
}

.deposit-card .button {
  margin-top: 18px;
}

.formula-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  gap: 8px;
  align-items: center;
  margin: 18px 0;
}

.formula-box span {
  min-height: 76px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(22,22,22,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.78);
  padding: 10px;
  font-weight: 800;
}

.formula-box b {
  color: var(--green);
  font-size: 1.4rem;
}

.timeline-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.timeline-steps span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(22,22,22,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.78);
  padding: 10px;
  font-weight: 800;
}

.timeline-steps b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: white;
}

.shop-section {
  padding-top: 42px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shop-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: var(--glass-strong);
  box-shadow: 0 16px 34px rgba(22, 22, 22, 0.07);
  backdrop-filter: blur(12px);
}

.product-art {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.8), transparent 22%),
    linear-gradient(135deg, #eaf6ff, #fff2c2 45%, #e9fff2);
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(22,22,22,0.06) 0 1px, transparent 1px 18px);
  opacity: 0.55;
}

.playmat-art span,
.chart-art span,
.notebook-art span,
.poster-art span,
.sticker-art span,
.hoodie-art span,
.tote-art span,
.shirt-art span {
  position: absolute;
  z-index: 1;
  display: block;
}

.playmat-art span {
  width: 74px;
  height: 104px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1967d2, #16a085);
  border: 5px solid rgba(255,255,255,0.86);
  box-shadow: 0 18px 30px rgba(22,22,22,0.15);
}

.playmat-art span:nth-child(1) { left: 30px; top: 42px; transform: rotate(-9deg); }
.playmat-art span:nth-child(2) { left: 96px; top: 28px; background: linear-gradient(135deg, #d93025, #fbbc04); transform: rotate(7deg); }
.playmat-art span:nth-child(3) { left: 154px; top: 62px; background: linear-gradient(135deg, #7b3ff2, #1967d2); transform: rotate(-2deg); }

.chart-art span {
  bottom: 42px;
  width: 44px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #1a73e8, #34a853);
  box-shadow: 0 16px 24px rgba(22,22,22,0.12);
}

.chart-art span:nth-child(1) { left: 42px; height: 56px; }
.chart-art span:nth-child(2) { left: 104px; height: 96px; background: linear-gradient(180deg, #fbbc04, #ff7a18); }
.chart-art span:nth-child(3) { left: 166px; height: 74px; background: linear-gradient(180deg, #7b3ff2, #1967d2); }

.shirt-art span {
  left: 50%;
  top: 34px;
  width: 136px;
  height: 126px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 28px 28px 16px 16px;
  background: #171717;
  color: white;
  font-weight: 900;
  line-height: 1.08;
}

.shirt-art span::before,
.shirt-art span::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 44px;
  height: 54px;
  border-radius: 18px;
  background: #171717;
}

.shirt-art span::before { left: -28px; transform: rotate(24deg); }
.shirt-art span::after { right: -28px; transform: rotate(-24deg); }

.hoodie-art span:first-child {
  left: 50%;
  top: 32px;
  width: 142px;
  height: 132px;
  transform: translateX(-50%);
  border-radius: 38px 38px 18px 18px;
  background: linear-gradient(135deg, #252525, #3d4f42);
}

.hoodie-art span:last-child {
  left: 50%;
  top: 18px;
  width: 72px;
  height: 48px;
  transform: translateX(-50%);
  border: 10px solid #252525;
  border-bottom: 0;
  border-radius: 50px 50px 0 0;
}

.tote-art span:first-child {
  left: 50%;
  top: 52px;
  width: 126px;
  height: 104px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff8dd, #f7d06b);
  border: 4px solid rgba(22,22,22,0.1);
}

.tote-art span:last-child {
  left: 50%;
  top: 28px;
  width: 72px;
  height: 44px;
  transform: translateX(-50%);
  border: 8px solid #9b6a22;
  border-bottom: 0;
  border-radius: 60px 60px 0 0;
}

.notebook-art span {
  left: 50%;
  width: 112px;
  height: 142px;
  transform: translateX(-50%) rotate(-5deg);
  top: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1967d2, #15b37a);
  box-shadow: 0 18px 30px rgba(22,22,22,0.15);
}

.notebook-art span:nth-child(2) {
  top: 64px;
  width: 72px;
  height: 6px;
  background: rgba(255,255,255,0.78);
  box-shadow: none;
}

.notebook-art span:nth-child(3) {
  top: 86px;
  width: 62px;
  height: 6px;
  background: rgba(255,255,255,0.62);
  box-shadow: none;
}

.poster-art span {
  width: 54px;
  height: 76px;
  border-radius: 7px;
  border: 4px solid white;
  background: linear-gradient(135deg, #d93025, #fbbc04);
  box-shadow: 0 14px 24px rgba(22,22,22,0.15);
}

.poster-art span:nth-child(1) { left: 44px; top: 44px; }
.poster-art span:nth-child(2) { left: 106px; top: 70px; background: linear-gradient(135deg, #1967d2, #00a86b); }
.poster-art span:nth-child(3) { left: 168px; top: 44px; background: linear-gradient(135deg, #7b3ff2, #1967d2); }

.sticker-art span {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffdc3d, #00a86b);
  border: 5px solid white;
  box-shadow: 0 12px 22px rgba(22,22,22,0.13);
}

.sticker-art span:nth-child(1) { left: 42px; top: 38px; }
.sticker-art span:nth-child(2) { left: 122px; top: 32px; background: linear-gradient(135deg, #d93025, #fbbc04); }
.sticker-art span:nth-child(3) { left: 68px; top: 110px; background: linear-gradient(135deg, #1967d2, #7b3ff2); }
.sticker-art span:nth-child(4) { left: 152px; top: 106px; background: linear-gradient(135deg, #00a86b, #1967d2); }

.shop-card-body {
  padding: 18px;
}

.shop-card-body p {
  color: var(--muted);
  margin-top: 8px;
}

.shop-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.shop-card-foot strong {
  font-size: 1.2rem;
}

.shop-card-foot .button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.shop-note {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(25, 103, 210, 0.18);
  border-radius: 16px;
  background: rgba(238, 243, 254, 0.78);
  padding: 16px;
  color: var(--muted);
}

.shop-note strong {
  color: var(--ink);
  white-space: nowrap;
}

.vending-contact-section {
  max-width: 1160px;
  margin: 0 auto 92px;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.vending-contact-section > div {
  padding-top: 14px;
}

.vending-contact-section h2 {
  margin-top: 6px;
}

.vending-contact-section p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1.08rem;
}

.vending-form {
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 14px;
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.08);
}

.form-success {
  background: #ecfdf3;
  border: 1px solid #b7e4c7;
  border-radius: 8px;
  color: #14532d;
  display: grid;
  gap: 4px;
  padding: 16px;
}

.form-success[hidden] {
  display: none;
}

.vending-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.vending-form .checkbox-label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  color: #36413a;
  line-height: 1.35;
  border: 1px solid rgba(25, 103, 210, 0.18);
  border-radius: 14px;
  background: rgba(238, 243, 254, 0.72);
  padding: 12px;
}

.vending-form .checkbox-label input {
  width: auto;
  margin-top: 3px;
}

.vending-form input,
.vending-form select,
.vending-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: white;
}

.hidden-field {
  display: none;
}

.page-hero {
  max-width: 940px;
  margin: 0 auto;
  padding: 76px 20px 44px;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(560px, 82vw);
  height: 170px;
  left: 6px;
  top: 44px;
  border-radius: 44% 56% 70% 30% / 46% 40% 60% 54%;
  background: linear-gradient(135deg, rgba(251, 188, 4, 0.22), rgba(0, 168, 107, 0.16), rgba(25, 103, 210, 0.12));
  filter: blur(8px);
  animation: shapeFloat 14s ease-in-out infinite alternate;
}

.page-hero p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.14rem;
}

.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 20px 86px;
}

.content article {
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 16px 34px rgba(22, 22, 22, 0.07);
  backdrop-filter: blur(12px);
}

.content h2 {
  font-size: 1.8rem;
  margin-top: 34px;
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: #3d4246;
}

.content ul,
.content ol {
  padding-left: 22px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.68);
  padding: 32px 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@keyframes forestDrift {
  from {
    background-position: 48% 50%;
    transform: scale(1.08) translate3d(-1.2%, -0.6%, 0);
  }
  to {
    background-position: 54% 48%;
    transform: scale(1.12) translate3d(1.2%, 0.8%, 0);
  }
}

@keyframes lightSweep {
  from {
    opacity: 0.82;
    transform: translate3d(-1%, 0, 0);
  }
  to {
    opacity: 0.98;
    transform: translate3d(1%, -1%, 0);
  }
}

@keyframes shapeFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(18px, -16px, 0) rotate(3deg);
  }
}

@keyframes softSheen {
  0%,
  52% {
    transform: rotate(10deg) translateX(-120%);
    opacity: 0;
  }
  62% {
    opacity: 0.82;
  }
  82% {
    transform: rotate(10deg) translateX(220%);
    opacity: 0;
  }
  100% {
    transform: rotate(10deg) translateX(220%);
    opacity: 0;
  }
}

@keyframes patternSlide {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 72px 72px;
  }
}

@keyframes cardFanBreathe {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes trendCardFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

.price-dashboard {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 56px;
}

.price-dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.price-dashboard-head h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.price-dashboard-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.price-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.daily-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #f7fbfa);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
}

.daily-card.wide {
  grid-column: span 2;
}

.daily-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.daily-card-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.daily-card-head span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #0d8b7e;
  font-weight: 800;
  font-size: 0.84rem;
}

.daily-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.daily-card-head small,
.daily-card-head a {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.82rem;
}

.mover-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mover-columns > div > strong {
  display: block;
  margin-bottom: 8px;
}

.daily-list {
  display: grid;
  gap: 8px;
}

.daily-list.compact {
  gap: 10px;
}

.daily-row,
.snapshot-item,
.battle-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 42, 55, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
  text-decoration: none;
}

.daily-row:hover {
  border-color: rgba(13, 139, 126, 0.32);
  transform: translateY(-1px);
}

.daily-row.is-hot {
  border-color: rgba(220, 38, 38, var(--heat));
  background:
    linear-gradient(90deg, rgba(220, 38, 38, var(--heat)), rgba(255, 255, 255, 0.86) 68%);
}

.daily-row.is-cold {
  border-color: rgba(37, 99, 235, var(--heat));
  background:
    linear-gradient(90deg, rgba(37, 99, 235, var(--heat)), rgba(255, 255, 255, 0.86) 68%);
}

.tcg-dark-mode .daily-row.is-hot {
  background:
    linear-gradient(90deg, rgba(248, 113, 113, var(--heat)), rgba(15, 23, 42, 0.82) 70%);
}

.tcg-dark-mode .daily-row.is-cold {
  background:
    linear-gradient(90deg, rgba(96, 165, 250, var(--heat)), rgba(15, 23, 42, 0.82) 70%);
}

.daily-row div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.daily-row strong,
.daily-row span,
.daily-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-row span,
.daily-row small {
  color: var(--muted);
  font-size: 0.84rem;
}

.daily-row b {
  flex: 0 0 auto;
  color: #0b5f55;
  font-size: 0.9rem;
}

.daily-row b.is-negative {
  color: #b91c1c;
}

.daily-row b.is-positive {
  color: #dc2626;
}

.deal-price {
  color: #087443;
}

.deal-scout-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.deal-scout-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) auto;
  gap: 8px;
}

.deal-scout-form input {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(31, 42, 55, 0.16);
  border-radius: 10px;
  font: inherit;
}

.deal-scout-note {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px dashed rgba(13, 139, 126, 0.35);
  border-radius: 12px;
  background: rgba(13, 139, 126, 0.06);
}

.deal-scout-note span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.deal-scout-row {
  align-items: start;
}

.deal-scout-row strong em {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #dcfce7;
  color: #087443;
  font-size: 0.72rem;
  font-style: normal;
  vertical-align: middle;
}

.deal-scout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 140px;
}

.deal-scout-actions a {
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(31, 42, 55, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #143247;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

.daily-empty {
  padding: 12px;
  border-radius: 12px;
  background: rgba(13, 139, 126, 0.08);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.watch-form {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) auto;
  gap: 8px;
}

.watch-form input {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(31, 42, 55, 0.16);
  border-radius: 10px;
  font: inherit;
}

.watch-row button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
  font-size: 1.2rem;
  cursor: pointer;
}

.heat-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.heat-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px;
  min-height: 112px;
  padding: 14px;
  border-radius: 14px;
  color: #102033;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.64)),
    linear-gradient(145deg, rgba(220, 38, 38, var(--heat)), rgba(248, 113, 113, var(--heat)));
  border: 1px solid rgba(31, 42, 55, 0.1);
}

.heat-tile.is-cold {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.64)),
    linear-gradient(145deg, rgba(96, 165, 250, var(--heat)), rgba(30, 64, 175, var(--heat)));
}

.heat-tile.is-hot {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.64)),
    linear-gradient(145deg, rgba(252, 165, 165, var(--heat)), rgba(185, 28, 28, var(--heat)));
}

.tcg-dark-mode .heat-tile {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.24);
}

.tcg-dark-mode .heat-tile.is-hot {
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.42)),
    linear-gradient(145deg, rgba(252, 165, 165, var(--heat)), rgba(127, 29, 29, var(--heat)));
}

.tcg-dark-mode .heat-tile.is-cold {
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.42)),
    linear-gradient(145deg, rgba(147, 197, 253, var(--heat)), rgba(30, 58, 138, var(--heat)));
}

.heat-tile .heat-rank {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(16, 24, 40, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.heat-card-thumb {
  justify-self: end;
  display: grid;
  width: 42px;
  aspect-ratio: 5 / 7;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

.heat-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heat-card-thumb b {
  color: #102033;
  font-size: 0.78rem;
  font-weight: 950;
}

.heat-tile strong {
  grid-column: 1 / -1;
  align-self: end;
}

.heat-tile small {
  grid-column: 1 / -1;
  color: #42526b;
  font-weight: 800;
}

.tcg-dark-mode .heat-tile small {
  color: #dbeafe;
}

.snapshot-stack,
.portfolio-daily {
  display: grid;
  gap: 8px;
}

.snapshot-item {
  align-items: start;
}

.snapshot-item span {
  color: var(--muted);
  font-weight: 800;
}

.snapshot-item strong {
  text-align: right;
}

.battle-card {
  display: grid;
  gap: 10px;
}

.battle-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.battle-option {
  display: grid;
  align-content: start;
  min-height: 150px;
}

.battle-option.is-winner {
  border-color: rgba(8, 116, 67, 0.32);
  background: rgba(8, 116, 67, 0.08);
}

.battle-option span,
.battle-option small {
  color: var(--muted);
  font-weight: 800;
}

.battle-option b {
  align-self: end;
  color: #0b5f55;
  font-size: 1.15rem;
}

.battle-card p {
  margin: 0;
  color: var(--muted);
}

.portfolio-empty {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.portfolio-empty span {
  color: var(--muted);
}

.price-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 26px;
}

.price-collection-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 8px;
  padding: 14px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.price-collection-card::before,
.price-collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.price-collection-card::before {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.84)),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 18px);
  z-index: 1;
}

.price-collection-card::after {
  inset: auto 12px 12px 12px;
  height: 54%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(-2deg);
}

.price-collection-card > * {
  position: relative;
  z-index: 2;
}

.price-collection-image {
  position: absolute;
  inset: 16px 16px auto auto;
  z-index: 2;
  width: 92px;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
  transform: rotate(7deg);
}

.price-card-art {
  position: absolute;
  inset: 16px 16px auto auto;
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 0.72;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.86), transparent 0 14%, transparent),
    linear-gradient(150deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
  transform: rotate(7deg);
}

.price-card-art b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 1.1rem;
}

.price-collection-card > span:not(.price-card-art):not(.heat-card-thumb):not(.heat-rank) {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.price-collection-card strong {
  margin-top: 8px;
  font-size: 1.08rem;
  line-height: 1.15;
}

.price-collection-card small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 760;
  line-height: 1.35;
}

.price-collection-card.pokemon {
  background:
    radial-gradient(circle at 18% 18%, #fff176, transparent 0 18%, transparent),
    linear-gradient(135deg, #0f766e, #2563eb 52%, #f59e0b);
}

.price-collection-card.one-piece {
  background:
    radial-gradient(circle at 78% 18%, #fef3c7, transparent 0 16%, transparent),
    linear-gradient(135deg, #0f172a, #dc2626 54%, #f97316);
}

.price-collection-card.riftbound {
  background:
    radial-gradient(circle at 18% 24%, #a7f3d0, transparent 0 16%, transparent),
    linear-gradient(135deg, #14532d, #0891b2 54%, #7c3aed);
}

.price-collection-card.history {
  background:
    radial-gradient(circle at 80% 22%, #bfdbfe, transparent 0 18%, transparent),
    linear-gradient(135deg, #312e81, #0f766e 56%, #f59e0b);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .vending-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vending-detail-layout {
    grid-template-columns: 1fr;
  }

  .vending-detail-media {
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .nav {
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    gap: 0;
    flex: 0 0 auto;
  }

  .brand span:not(.brand-mark) {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 8px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .site-app-link,
  .site-account-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .site-cart-link {
    width: 38px;
    height: 38px;
  }

  .nav-marketplace-link {
    min-height: 38px;
    padding: 0 14px;
    box-shadow: 0 8px 18px rgba(24, 128, 56, 0.2);
  }

  .nav-drop-toggle {
    padding: 6px 10px;
  }

  .nav-dropdown-menu {
    left: auto;
    right: 0;
  }

  .price-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-collection-card {
    min-height: 220px;
  }

  .price-card-art {
    width: 72px;
  }

  .price-collection-image {
    width: 78px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-market-strip {
    top: 4%;
    min-height: 60%;
    gap: 16px;
    opacity: 0.9;
  }

  .market-bg-card {
    flex-basis: 152px;
  }

  .market-bg-card div {
    left: 6px;
    right: 6px;
    bottom: 7px;
    padding: 7px;
  }

  .market-bg-card strong {
    font-size: 0.7rem;
  }

  .market-bg-card span,
  .market-bg-card em {
    font-size: 0.6rem;
  }

  .hero-proof-points {
    grid-template-columns: 1fr;
  }

  .hero-proof-points a {
    min-height: 0;
    padding: 12px;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .carousel-copy {
    width: min(260px, calc(100% - 28px));
    left: 14px;
    top: 14px;
  }

  .trend-card {
    width: 132px;
  }

  .trend-card-a {
    left: 12px;
    top: 178px;
  }

  .trend-card-b {
    left: 122px;
    top: 122px;
  }

  .trend-card-c {
    left: 214px;
    top: 202px;
  }

  .trend-card-d {
    left: 70px;
    top: 286px;
  }

  .trend-card-e {
    left: 196px;
    top: 318px;
  }

  .search-box,
  .grid,
  .collection-sale-card,
  .visual-grid,
  .link-grid,
  .set-link-grid,
  .snapshot-head {
    grid-template-columns: 1fr;
  }

  .snapshot-head {
    display: block;
  }

  .set-summary {
    grid-template-columns: 64px 1fr;
  }

  .set-logo {
    width: 64px;
  }

  .set-value {
    grid-column: 1 / -1;
    text-align: left;
  }

  .value-stats,
  .card-strip {
    grid-template-columns: 1fr;
  }

  .op-controls,
  .op-layout,
  .op-detail-head,
  .history-panel,
  .op-stat-grid {
    grid-template-columns: 1fr;
  }

  .op-controls {
    position: static;
  }

  .op-score {
    text-align: left;
  }

  .op-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pokemon-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .history-actions {
    justify-content: flex-start;
  }

  #forestRunnerCanvas {
    min-height: 176px;
  }

  .vending-gallery,
  .review-grid,
  .vending-product-grid,
  .sourcing-grid,
  .faq-grid,
  .smartvend-showcase,
  .smartvend-spec-strip,
  .usecase-grid,
  .vending-spec-grid,
  .vending-pricing-grid,
  .shop-grid,
  .vending-contact-section {
    grid-template-columns: 1fr;
  }

  .vending-shop-tools {
    align-items: stretch;
  }

  .vending-shop-tools select {
    width: 100%;
    margin-left: 0;
  }

  .vending-filter {
    flex: 1 1 auto;
  }

  .vending-card-gallery {
    min-height: 236px;
    grid-template-rows: minmax(148px, 1fr) 60px;
  }

  .vending-product-body {
    min-height: 0;
  }

  .vending-product-body h3,
  .vending-product-body p {
    min-height: 0;
  }

  .vending-title-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .vending-title-link::after {
    font-size: 10px;
    padding: 4px 7px;
  }

  .vending-detail-section {
    border-radius: 20px;
    padding: 16px;
  }

  .vending-detail-grid {
    grid-template-columns: 1fr;
  }

  .vending-detail-copy h2 {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

  .vending-detail-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .vending-partner-options span {
    width: 100%;
  }

  .vending-detail-actions .button {
    width: 100%;
  }

  .smartvend-visual-card {
    min-height: 0;
  }

  .smartvend-copy h2 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .usecase-card img,
  .usecase-art {
    height: 210px;
  }

  .formula-box {
    grid-template-columns: 1fr;
  }

  .formula-box b {
    text-align: center;
  }

  .shop-card-foot,
  .shop-note {
    display: grid;
  }

  .section-head {
    display: block;
  }

  .price-dashboard-head {
    display: grid;
    align-items: start;
  }

  .price-feature-grid,
  .mover-columns,
  .heat-map,
  .battle-row,
  .watch-form,
  .deal-scout-form {
    grid-template-columns: 1fr;
  }

  .daily-card.wide {
    grid-column: auto;
  }

  .daily-row strong,
  .daily-row span,
  .daily-row small {
    white-space: normal;
  }
}
