:root {
  --bg: #0d1522;
  --paper: rgba(17, 27, 42, 0.92);
  --panel: rgba(22, 35, 54, 0.9);
  --line: rgba(147, 168, 196, 0.18);
  --text: #e7eefb;
  --muted: #8fa2bf;
  --accent: #1f6feb;
  --accent-2: #3ea6b4;
  --accent-3: #6f86ff;
  --danger: #c05a6d;
  --shadow: 0 22px 60px rgba(3, 8, 18, 0.42);
  --premium-gold: rgba(255, 204, 94, 0.16);
  --premium-gold-strong: rgba(255, 204, 94, 0.28);
  --premium-frost: rgba(255, 255, 255, 0.08);
}

/* Mobile Home v1: global topbar, fixed nav, and dashboard defined with the user. */
.mobile-game-menu-label,
.mobile-global-actions,
.mobile-wallet-pill,
.mobile-topbar-action {
  min-width: 0;
}

.nav-icon svg[fill="none"],
.mobile-nav-icon svg[fill="none"],
.mobile-wallet-icon svg[fill="none"] {
  fill: none !important;
}

.nav-icon svg[fill="none"] *,
.mobile-nav-icon svg[fill="none"] *,
.mobile-wallet-icon svg[fill="none"] * {
  fill: none !important;
  stroke: currentColor !important;
}

.mobile-game-menu-code {
  display: none;
}

body.is-mobile-ui .topbar {
  padding: 14px 16px !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  top: 0 !important;
  border-radius: 0 !important;
  background: rgba(11, 17, 29, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: none !important;
  box-shadow: none !important;
}

body.is-mobile-ui .topbar::before,
body.is-mobile-ui .topbar::after {
  content: none !important;
  display: none !important;
}

body.is-mobile-ui.binder-glass {
  border: none !important;
  box-shadow: none !important;
}

body.is-mobile-ui .mobile-header-core--global {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px;
  align-items: center;
}

body.is-mobile-ui .mobile-header-main--tcg {
  width: auto;
  justify-content: flex-start;
}

body.is-mobile-ui .mobile-game-menu-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: auto;
  max-width: none;
  min-height: auto;
  padding: 4px 8px 4px 0;
  margin-left: -16px !important;
  border-radius: 0;
  background: transparent;
  border: none;
}

body.is-mobile-ui .mobile-game-menu-label,
body.is-mobile-ui .mobile-game-menu-code {
  display: none !important;
}

body.is-mobile-ui .mobile-game-menu-trigger .topbar-game-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 110px !important;
  height: 36px !important;
  margin: 0 !important;
}

body.is-mobile-ui .mobile-game-menu-trigger .topbar-game-logo {
  max-width: 100% !important;
  max-height: 100% !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Compensate for transparent padding inside SVG/PNG of Pokemon and YuGiOh */
body.is-mobile-ui .mobile-game-menu-trigger .topbar-game-logo[src*="Pok%C3%A9mon"],
body.is-mobile-ui .mobile-game-menu-trigger .topbar-game-logo[src*="pokemon"] {
  transform: scale(1.4);
  transform-origin: left center;
}
body.is-mobile-ui .mobile-game-menu-trigger .topbar-game-logo[src*="yugioh"],
body.is-mobile-ui .mobile-game-menu-trigger .topbar-game-logo[src*="ygo"] {
  transform: scale(1.3);
  transform-origin: left center;
}

body.is-mobile-ui .mobile-game-menu-trigger .topbar-game-badge {
  width: 100%;
  height: 100%;
  font-size: 14px;
}

body.is-mobile-ui .mobile-game-menu-trigger .desktop-menu-caret {
  margin: 0 8px 0 0 !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 6px solid #fff !important;
  border-bottom: none !important;
  transform: none !important;
  opacity: 1 !important;
  display: inline-block;
  order: -1 !important;
}

body.is-mobile-ui .mobile-global-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px !important;
}

body.is-mobile-ui .mobile-topbar-avatar .global-avatar-shell,
body.is-mobile-ui .mobile-topbar-avatar img,
body.is-mobile-ui .mobile-topbar-avatar .avatar-fallback {
  width: 56px !important;
  height: 56px !important;
  margin: -16px 0 !important;
}

body.is-mobile-ui .mobile-wallet-pill,
body.is-mobile-ui .mobile-topbar-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #fff;
  box-shadow: none;
  padding: 0;
  min-width: 0;
  flex-shrink: 0;
}

body.is-mobile-ui .mobile-wallet-pill {
  gap: 6px;
  text-decoration: none;
}

body.is-mobile-ui .mobile-wallet-icon,
body.is-mobile-ui .mobile-topbar-action .nav-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: #3ea6b4;
}

body.is-mobile-ui .mobile-wallet-asset {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

body.is-mobile-ui .mobile-wallet-icon svg,
body.is-mobile-ui .mobile-topbar-action .nav-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body.is-mobile-ui .mobile-wallet-value {
  max-width: none;
  overflow: visible;
  white-space: nowrap;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

body.is-mobile-ui .mobile-topbar-action {
  position: relative;
  width: auto;
}

body.is-mobile-ui .mobile-notification-button {
  text-decoration: none;
  color: #fff;
}

body.is-mobile-ui .mobile-notification-badge {
  position: absolute;
  right: -6px;
  top: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c05a6d;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  box-shadow: none;
}

body.is-mobile-ui .mobile-topbar-avatar .global-avatar-shell,
body.is-mobile-ui .mobile-topbar-avatar img,
body.is-mobile-ui .mobile-topbar-avatar .avatar-fallback {
  width: 44px !important;
  height: 44px !important;
}

body.is-mobile-ui .mobile-topbar-avatar .global-avatar-shell::after {
  inset: 0;
}

body.is-mobile-ui .mobile-topbar-avatar img,
body.is-mobile-ui .mobile-topbar-avatar .avatar-fallback {
  border-radius: 50%;
  border: none;
}

body.is-mobile-ui .mobile-bottom-nav {
  grid-template-columns: repeat(var(--mobile-nav-count, 4), 1fr);
  align-items: center;
  gap: 0;
  padding: 0 0 calc(env(safe-area-inset-bottom, 0px));
  background: rgba(11, 17, 29, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 0 !important;
}

body.is-mobile-ui .mobile-nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  border-radius: 0;
  color: #8fa2bf;
  text-decoration: none;
  background: transparent;
  transition: color 0.2s;
}

body.is-mobile-ui .mobile-nav-link.active {
  color: #3ea6b4;
}

body.is-mobile-ui .mobile-nav-link.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #3ea6b4;
  border-radius: 0 0 4px 4px;
}

body.is-mobile-ui .mobile-nav-link--primary {
  min-height: 64px;
  margin-top: 0;
  color: #8fa2bf;
  background: transparent;
  border: none;
  box-shadow: none;
}

body.is-mobile-ui .mobile-nav-link--primary.active {
  color: #3ea6b4;
  background: transparent;
}

body.is-mobile-ui .mobile-nav-icon,
body.is-mobile-ui .mobile-nav-icon svg {
  width: 24px;
  height: 24px;
}

body.is-mobile-ui .mobile-nav-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.home-dashboard {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.home-portfolio-hero,
.home-dashboard-panel,
.home-action-strip {
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(9, 16, 29, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(4, 9, 18, 0.18);
}

.home-portfolio-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 214, 110, 0.18), transparent 30%),
    radial-gradient(circle at 12% 8%, rgba(110, 231, 216, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(16, 27, 45, 0.96), rgba(8, 14, 24, 0.98));
}

.home-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-context-pill,
.home-trend-chip {
  display: inline-grid;
  gap: 2px;
  min-height: 34px;
  align-content: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background: rgba(5, 11, 20, 0.44);
}

.home-context-pill {
  color: #f5f9ff;
  font-size: 12px;
  font-weight: 900;
}

.home-trend-chip {
  justify-items: end;
  text-align: right;
}

.home-trend-chip small {
  color: rgba(214, 227, 246, 0.64);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-trend-chip strong {
  color: #f7fbff;
  font-size: 12px;
  line-height: 1;
}

.home-trend-chip--up strong {
  color: #9ff5cf;
}

.home-trend-chip--down strong {
  color: #ffb0bf;
}

.home-value-block {
  display: grid;
  gap: 5px;
}

.home-value-block span {
  color: rgba(214, 227, 246, 0.7);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-value-block strong {
  color: #f8fbff;
  font-size: clamp(2.2rem, 12vw, 4.1rem);
  line-height: 0.94;
}

.home-chart-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.home-chart-caption {
  color: rgba(214, 227, 246, 0.62);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-range-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: rgba(5, 11, 20, 0.46);
}

.home-range-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: rgba(214, 227, 246, 0.68);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.home-range-tab:hover,
.home-range-tab:focus-visible {
  color: #f7fbff;
  background: rgba(122, 165, 255, 0.12);
  outline: none;
}

.home-range-tab.is-active {
  color: #06111f;
  background: linear-gradient(135deg, #6ee7d8, #ffd66e);
  box-shadow: 0 6px 14px rgba(110, 231, 216, 0.16);
}

.home-chart-shell {
  height: 104px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    rgba(4, 10, 19, 0.48);
  border: 1px solid rgba(147, 168, 196, 0.1);
  overflow: hidden;
}

.home-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.home-chart-gridline {
  fill: none;
  stroke: rgba(160, 181, 214, 0.12);
  stroke-width: 1;
}

.home-chart-axis {
  pointer-events: none;
}

.home-chart-axis-label {
  fill: rgba(214, 227, 246, 0.54);
  font-size: 7.8px;
  font-weight: 800;
  dominant-baseline: middle;
  letter-spacing: 0;
}

.home-chart-glow {
  fill: none;
  stroke: rgba(114, 231, 217, 0.22);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: blur(2px);
}

.home-chart-line {
  fill: none;
  stroke: url("#homeChartStroke");
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 12px rgba(110, 231, 216, 0.2));
}

.home-chart-shell.is-sparse .home-chart-line {
  stroke-dasharray: 8 8;
  opacity: 0.72;
}

.home-chart-dot {
  fill: #f8fbff;
  stroke: rgba(5, 11, 20, 0.9);
  stroke-width: 2;
  filter: drop-shadow(0 4px 8px rgba(255, 214, 110, 0.24));
}

.home-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-metric-row span,
.home-forecast-row,
.home-alert-row,
.home-top-card {
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: rgba(6, 13, 24, 0.62);
}

.home-metric-row span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 16px;
}

.home-metric-row small,
.home-section-kicker,
.home-forecast-game small,
.home-alert-row small,
.home-top-card small {
  color: rgba(214, 227, 246, 0.64);
}

.home-metric-row small,
.home-section-kicker {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-metric-row strong {
  color: #f6fbff;
  font-size: 22px;
  line-height: 1;
}

.home-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-dashboard-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.home-section-head h3 {
  margin: 0;
  color: #f8fbff;
  font-size: 1rem;
  line-height: 1;
}

.home-forecast-list,
.home-alert-list,
.home-top-card-rail {
  display: grid;
  gap: 9px;
}

.home-forecast-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 9px;
  border-radius: 18px;
}

.home-forecast-row--up {
  border-color: rgba(110, 231, 216, 0.18);
}

.home-forecast-row--down {
  border-color: rgba(255, 95, 125, 0.18);
}

.home-forecast-game {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.home-forecast-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
}

.home-forecast-logo {
  max-width: 30px;
  max-height: 24px;
  object-fit: contain;
}

.home-forecast-badge {
  color: #f7fbff;
  font-size: 11px;
  font-weight: 900;
}

.home-forecast-game span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.home-forecast-game strong,
.home-alert-row strong,
.home-top-card strong {
  color: #f7fbff;
  line-height: 1.05;
}

.home-forecast-score {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.home-forecast-score strong {
  color: #ffd66e;
  font-size: 24px;
  line-height: 1;
}

.home-forecast-score span {
  color: rgba(214, 227, 246, 0.72);
  font-size: 10px;
  font-weight: 800;
}

.home-alert-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 62px;
  padding: 9px;
  border-radius: 18px;
  text-decoration: none;
}

.home-alert-row--wanted {
  border-color: rgba(255, 214, 110, 0.18);
}

.home-alert-row--sell {
  border-color: rgba(110, 231, 216, 0.18);
}

.home-alert-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
  font-size: 10px;
  font-weight: 900;
}

.home-alert-copy,
.home-top-card span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-alert-copy strong,
.home-top-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-empty-state {
  padding: 18px 12px;
  border-radius: 18px;
  background: rgba(6, 13, 24, 0.48);
  color: rgba(214, 227, 246, 0.68);
  text-align: center;
  font-weight: 700;
}

.home-action-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
}

.home-action-strip .dashboard-app-quicklink {
  min-height: 88px;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding: 10px 8px;
  border-radius: 17px;
}

.home-action-strip .dashboard-app-quicklink-icon {
  width: 36px;
  height: 36px;
}

.home-action-strip .dashboard-app-quicklink .dashboard-app-quicklink-copy span,
.home-action-strip .dashboard-app-quicklink small {
  display: none;
}

.home-action-strip .dashboard-app-quicklink-icon .nav-icon {
  display: inline-flex !important;
}

.home-top-card-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-top-card {
  display: grid;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  text-decoration: none;
}

.home-top-card img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: contain;
  border-radius: 13px;
  background: rgba(5, 11, 20, 0.46);
}

.home-top-card strong {
  font-size: 12px;
}

.home-top-card small {
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 768px) {
  body.is-mobile-ui .shell {
    padding-inline: 10px;
    padding-bottom: 132px;
  }

  body.is-mobile-ui.page-dashboard .site-footer-legal {
    display: grid;
  }

  body.is-mobile-ui .mobile-header-core--global {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.is-mobile-ui .mobile-header-main--tcg {
    display: flex;
  }
}

@media (max-width: 680px) {
  .home-dashboard-grid,
  .home-top-card-rail {
    grid-template-columns: 1fr;
  }

  .home-top-card-rail {
    display: flex;
    margin-inline: -10px;
    padding-inline: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .home-top-card-rail::-webkit-scrollbar {
    display: none;
  }

  .home-top-card {
    min-width: 134px;
  }
}

@media (max-width: 420px) {
  body.is-mobile-ui .mobile-wallet-value {
    max-width: 40px;
  }

  body.is-mobile-ui .mobile-global-actions {
    gap: 12px;
  }

  .home-portfolio-hero {
    padding: 15px;
  }

  .home-action-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .home-action-strip .dashboard-app-quicklink {
    min-height: 76px;
    padding: 8px 5px;
  }
}

* {
  box-sizing: border-box;
}

html {
  background-color: #0a1220;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background-color: #0a1220;
  background:
    radial-gradient(circle at top left, rgba(111, 134, 255, 0.22), transparent 24%),
    radial-gradient(circle at top right, rgba(62, 166, 180, 0.16), transparent 22%),
    linear-gradient(180deg, #0a1220 0%, var(--bg) 100%);
  max-width: 100%;
  overflow-x: clip;
}

body.site-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  --page-accent: rgba(31, 111, 235, 0.22);
  --page-accent-secondary: rgba(62, 166, 180, 0.16);
  --page-border: rgba(123, 160, 255, 0.18);
  --page-glow: rgba(111, 134, 255, 0.14);
  --page-glow-secondary: rgba(62, 166, 180, 0.12);
}

.page-atmosphere {
  position: fixed;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 0;
  opacity: 0.78;
}

.page-atmosphere-orb,
.page-atmosphere-grid,
.page-atmosphere-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-atmosphere-orb {
  filter: blur(24px);
  opacity: 0.38;
  mix-blend-mode: normal;
}

.page-atmosphere-orb--north {
  inset: -18% auto auto -10%;
  width: min(52vw, 760px);
  height: min(52vw, 760px);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--page-accent) 0%, rgba(111, 134, 255, 0.12) 34%, transparent 70%);
  animation: none;
}

.page-atmosphere-orb--east {
  inset: 18% -16% auto auto;
  width: min(42vw, 620px);
  height: min(42vw, 620px);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--page-accent-secondary) 0%, rgba(74, 210, 194, 0.1) 34%, transparent 72%);
  animation: none;
}

.page-atmosphere-grid {
  opacity: 0.12;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 82%);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: none;
}

.page-atmosphere-noise {
  opacity: 0.08;
  mix-blend-mode: normal;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.2px),
    radial-gradient(circle at 78% 32%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.2px),
    radial-gradient(circle at 35% 76%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.4px);
  background-size: 32px 32px, 44px 44px, 54px 54px;
}

body.page-collection {
  --page-accent: rgba(74, 154, 255, 0.2);
  --page-accent-secondary: rgba(114, 215, 195, 0.14);
  --page-border: rgba(126, 170, 255, 0.18);
  --page-glow: rgba(74, 154, 255, 0.16);
  --page-glow-secondary: rgba(114, 215, 195, 0.12);
}

body.page-wanted-list {
  --page-accent: rgba(255, 170, 92, 0.2);
  --page-accent-secondary: rgba(255, 93, 150, 0.14);
  --page-border: rgba(255, 191, 128, 0.18);
  --page-glow: rgba(255, 170, 92, 0.14);
  --page-glow-secondary: rgba(255, 93, 150, 0.12);
}

body.page-sell-list {
  --page-accent: rgba(96, 220, 200, 0.18);
  --page-accent-secondary: rgba(77, 160, 255, 0.14);
  --page-border: rgba(114, 215, 195, 0.18);
  --page-glow: rgba(96, 220, 200, 0.14);
  --page-glow-secondary: rgba(77, 160, 255, 0.12);
}

body.page-market {
  --page-accent: rgba(122, 165, 255, 0.2);
  --page-accent-secondary: rgba(255, 203, 84, 0.14);
  --page-border: rgba(126, 156, 224, 0.18);
  --page-glow: rgba(122, 165, 255, 0.15);
  --page-glow-secondary: rgba(255, 203, 84, 0.1);
}

body.page-search {
  --page-accent: rgba(116, 177, 255, 0.18);
  --page-accent-secondary: rgba(93, 214, 211, 0.14);
  --page-border: rgba(126, 170, 255, 0.18);
  --page-glow: rgba(116, 177, 255, 0.15);
  --page-glow-secondary: rgba(93, 214, 211, 0.12);
}

body.page-sets {
  --page-accent: rgba(148, 181, 255, 0.18);
  --page-accent-secondary: rgba(126, 212, 255, 0.14);
  --page-border: rgba(146, 176, 255, 0.18);
  --page-glow: rgba(148, 181, 255, 0.14);
  --page-glow-secondary: rgba(126, 212, 255, 0.12);
}

body.page-card {
  --page-accent: rgba(255, 191, 98, 0.18);
  --page-accent-secondary: rgba(122, 165, 255, 0.12);
  --page-border: rgba(255, 198, 112, 0.18);
  --page-glow: rgba(255, 191, 98, 0.14);
  --page-glow-secondary: rgba(122, 165, 255, 0.1);
}

body.page-profile {
  --page-accent: rgba(186, 120, 255, 0.18);
  --page-accent-secondary: rgba(122, 165, 255, 0.14);
  --page-border: rgba(176, 144, 255, 0.18);
  --page-glow: rgba(186, 120, 255, 0.14);
  --page-glow-secondary: rgba(122, 165, 255, 0.1);
}

body.page-showoff {
  --page-accent: rgba(255, 126, 89, 0.18);
  --page-accent-secondary: rgba(186, 120, 255, 0.14);
  --page-border: rgba(255, 170, 118, 0.18);
  --page-glow: rgba(255, 126, 89, 0.14);
  --page-glow-secondary: rgba(186, 120, 255, 0.12);
}

body.page-shop {
  --page-accent: rgba(255, 214, 79, 0.18);
  --page-accent-secondary: rgba(122, 165, 255, 0.14);
  --page-border: rgba(255, 214, 79, 0.18);
  --page-glow: rgba(255, 214, 79, 0.14);
  --page-glow-secondary: rgba(122, 165, 255, 0.1);
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 18px 72px;
  min-width: 0;
  overflow-x: clip;
  position: relative;
  z-index: 1;
}

.topbar {
  position: relative;
  z-index: 94;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  margin-bottom: 22px;
  overflow: visible;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(16, 24, 38, 0.96), rgba(9, 16, 28, 0.98)),
    rgba(12, 20, 32, 0.94);
  border: 1px solid var(--page-border);
  border-radius: 24px;
  box-shadow:
    0 18px 34px rgba(3, 8, 18, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  min-width: 0;
}

.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.topbar::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 58%),
    radial-gradient(circle at top right, var(--page-glow), transparent 24%),
    radial-gradient(circle at bottom left, var(--page-glow-secondary), transparent 28%);
  opacity: 0.56;
  animation: none;
}

.topbar::after {
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: auto;
  height: 48px;
  flex: 0 0 auto;
  min-width: 0;
  border-radius: 0;
  border: 0;
  background: none;
  box-shadow: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.site-mark-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.site-mark-wordmark {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1;
  color: #f6fbff;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-mark-title {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-mark-subtitle {
  display: block;
  color: rgba(231, 238, 251, 0.82);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-mark:hover,
.site-mark:focus-visible {
  transform: scale(1.03);
  filter: drop-shadow(0 10px 18px rgba(70, 110, 255, 0.22));
}

@media (max-width: 768px) {
  .site-mark-wordmark {
    display: none !important;
  }
}

.desktop-brand-game {
  display: flex;
  min-width: 0;
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.game-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-label.compact {
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: inherit;
}

.game-logo {
  display: inline-block;
  height: 18px;
  width: auto;
  object-fit: contain;
}

.game-logo.compact {
  height: 14px;
}

.brand h1,
.hero h2,
.section-title,
.card-title,
.price-big {
  font-family: "Fraunces", serif;
}

.brand h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  text-shadow: 0 8px 18px rgba(4, 10, 20, 0.24);
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.desktop-nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
}

.desktop-primary-nav {
  width: 100%;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow: visible;
  scrollbar-width: none;
  gap: 6px;
}

.desktop-primary-nav::-webkit-scrollbar {
  display: none;
}

.desktop-primary-nav .nav-link,
.desktop-utility-nav .nav-link,
.desktop-menu-trigger {
  flex: 0 0 auto;
  min-height: 48px;
  padding-inline: 12px;
  border-radius: 18px;
}

.desktop-primary-nav .nav-link.active,
.desktop-menu-trigger.is-active {
  border-color: rgba(122, 165, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(122, 165, 255, 0.18), rgba(62, 166, 180, 0.12)),
    rgba(12, 19, 31, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(3, 8, 18, 0.18);
}

.desktop-utility-nav {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}

.desktop-menu {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
}

.desktop-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
}

.desktop-menu-caret {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 2px solid rgba(223, 232, 247, 0.7);
  border-bottom: 2px solid rgba(223, 232, 247, 0.7);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.desktop-menu.is-open .desktop-menu-caret {
  transform: rotate(-135deg) translate(-1px, 1px);
}

.desktop-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  z-index: 120;
  min-width: 248px;
  max-width: calc(100vw - 24px);
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(8, 14, 24, 0.98);
  box-shadow:
    0 24px 48px rgba(2, 8, 18, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 180ms;
}

.desktop-menu.is-open .desktop-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.desktop-menu-panel form {
  display: grid;
}

.desktop-menu-link {
  width: 100%;
  justify-content: flex-start;
  border-radius: 16px;
  min-height: 48px;
  padding-inline: 14px;
}

.desktop-menu-link.is-active {
  border-color: rgba(122, 165, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(122, 165, 255, 0.16), rgba(62, 166, 180, 0.12)),
    rgba(12, 19, 31, 0.94);
}

.desktop-user-menu-link--danger,
.mobile-sheet-link--danger {
  color: #ff9aa8;
}

.desktop-user-menu-link--danger:hover,
.desktop-user-menu-link--danger:focus-visible,
.mobile-sheet-link--danger:hover,
.mobile-sheet-link--danger:focus-visible {
  border-color: rgba(255, 112, 132, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 112, 132, 0.16), rgba(255, 76, 96, 0.08)),
    rgba(18, 12, 22, 0.92);
}

.profile-account-actions {
  margin-top: 12px;
}

.profile-account-danger {
  color: #ff9aa8;
  border-color: rgba(255, 112, 132, 0.26);
  background: rgba(255, 112, 132, 0.08);
}

.profile-account-danger:hover,
.profile-account-danger:focus-visible {
  border-color: rgba(255, 112, 132, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 112, 132, 0.16), rgba(255, 76, 96, 0.08)),
    rgba(18, 12, 22, 0.92);
}

.desktop-menu-divider {
  height: 1px;
  margin: 2px 4px;
  background: linear-gradient(90deg, transparent, rgba(147, 168, 196, 0.22), transparent);
}

.desktop-user-menu {
  flex: 0 0 auto;
}

.desktop-user-menu-trigger {
  max-width: clamp(220px, 22vw, 300px);
  padding: 6px 8px 6px 6px;
  background: rgba(12, 19, 31, 0.92);
  border-color: rgba(147, 168, 196, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(3, 8, 18, 0.16);
}

.desktop-user-menu-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
}

.desktop-user-menu-avatar img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  border: 1px solid rgba(147, 168, 196, 0.22) !important;
}

.desktop-user-menu-avatar .avatar-fallback {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(147, 168, 196, 0.28);
  background: linear-gradient(135deg, rgba(70, 110, 255, 0.92), rgba(98, 190, 210, 0.84));
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(3, 8, 18, 0.2);
}

.desktop-user-menu-copy {
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.desktop-user-menu-copy strong {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-user-menu-copy small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.desktop-user-menu-panel {
  min-width: 272px;
}

.desktop-market-menu-trigger {
  padding-inline: 14px 12px;
}

.desktop-game-menu-trigger {
  min-width: 0;
  max-width: none;
  padding: 8px 10px;
  gap: 8px;
}

.topbar-game-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex: 0 0 auto;
}

.topbar-game-visual--trigger {
  min-height: 32px;
}

.topbar-game-visual--tile {
  width: 100%;
  min-height: 36px;
}

.topbar-game-logo,
.topbar-game-badge {
  display: block;
}

.topbar-game-logo {
  width: auto;
  max-width: 108px;
  height: 32px;
  object-fit: contain;
}

.topbar-game-logo--tile {
  max-width: 120px;
  max-height: 40px;
  height: 100%;
  object-fit: contain;
}

.topbar-game-logo--tile[src*="Pok%C3%A9mon"],
.topbar-game-logo--tile[src*="pokemon"] {
  transform: scale(1.4);
}

.topbar-game-logo--tile[src*="yugioh"],
.topbar-game-logo--tile[src*="ygo"] {
  transform: scale(1.3);
}

.topbar-game-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(147, 168, 196, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 14, 24, 0.84);
  color: #f7fbff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-game-menu .desktop-menu-panel {
  min-width: 182px;
  max-width: 220px;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.desktop-game-menu-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  padding: 12px 10px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(10, 18, 31, 0.8);
}

.desktop-game-menu-tile.is-active {
  border-color: rgba(122, 165, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(70, 110, 255, 0.16);
}

.mobile-header-core,
.mobile-top-actions,
.mobile-bottom-nav,
.mobile-user-meta,
.mobile-user-avatar,
.mobile-utility-nav {
  display: none;
}

.mobile-auth-button {
  min-width: 0;
  max-width: 100%;
}

.topbar,
.brand,
.nav,
.panel,
.hero,
.page-overview-shell,
.page-overview-stage,
.page-overview-stage-head,
.page-overview-stage-copy,
.page-overview-stage-brand,
.page-overview-stats,
.page-overview-stat,
.page-overview-note,
.set-grid,
.set-card,
.set-card-main,
.set-copy,
.collection-binder-shell,
.collection-binder-head,
.collection-binder-head-copy,
.collection-binder-grid,
.collection-binder-card,
.market-card-hero,
.market-set-card,
.market-set-link,
.market-set-copy,
.market-active-set-copy,
.profile-identity-main,
.profile-identity-copy,
.profile-identity-showcase {
  min-width: 0;
}

.page-overview-shell,
.page-scope-panel,
.profile-identity-shell {
  overflow: hidden;
}

.game-logo-large,
.page-overview-game-logo,
.profile-identity-game-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.global-avatar-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.global-avatar-shell::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  pointer-events: none;
}

.site-notification-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1800;
  background: rgba(2, 6, 14, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-notification-popover {
  position: fixed;
  top: max(74px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 1810;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(390px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 104px));
  overflow: hidden;
  border: 1px solid rgba(139, 170, 214, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(76, 150, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(16, 29, 48, 0.98), rgba(7, 13, 25, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.45);
}

.site-notification-backdrop[hidden],
.site-notification-popover[hidden],
.site-notification-actions-panel[hidden] {
  display: none !important;
}

.site-notification-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(139, 170, 214, 0.12);
}

.site-notification-head strong {
  display: block;
  color: #f8fbff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
}

.site-notification-head small {
  display: block;
  margin-top: 4px;
  color: rgba(210, 224, 246, 0.64);
  font-size: 0.76rem;
  line-height: 1.3;
}

.site-notification-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.site-notification-menu-button,
.site-notification-close,
.site-notification-actions-panel button,
.site-notification-actions-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(139, 170, 214, 0.16);
  border-radius: 999px;
  background: rgba(7, 14, 27, 0.64);
  color: #e5f3ff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.site-notification-menu-button,
.site-notification-close {
  width: 34px;
  padding: 0;
}

.site-notification-close {
  font-size: 1.18rem;
  line-height: 1;
}

.site-notification-actions-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(139, 170, 214, 0.1);
  background: rgba(6, 13, 25, 0.42);
}

.site-notification-actions-panel button,
.site-notification-actions-panel a {
  padding: 0 12px;
}

.site-notification-content {
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
}

.site-notification-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.site-notification-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  border: 1px solid rgba(139, 170, 214, 0.14);
  border-radius: 16px;
  background: rgba(7, 14, 27, 0.58);
  overflow: hidden;
}

.site-notification-row.is-read {
  opacity: 0.72;
}

.site-notification-select {
  display: none;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
}

.site-notification-popover.is-selecting .site-notification-select {
  display: flex;
}

.site-notification-select input {
  width: 18px;
  height: 18px;
  accent-color: #38bdf8;
}

.site-notification-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 12px;
  color: inherit;
  text-decoration: none;
}

.site-notification-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.42);
}

.site-notification-row.is-read .site-notification-dot {
  background: rgba(148, 163, 184, 0.6);
  box-shadow: none;
}

.site-notification-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.site-notification-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.site-notification-meta small,
.site-notification-copy > span:not(.site-notification-meta) {
  color: rgba(210, 224, 246, 0.66);
  font-size: 0.74rem;
  line-height: 1.32;
}

.site-notification-copy strong {
  color: #f8fbff;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.18;
}

.site-notification-empty {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(139, 170, 214, 0.14);
  background: rgba(7, 14, 27, 0.52);
  color: rgba(226, 236, 253, 0.72);
  text-align: center;
}

@media (max-width: 760px) {
  .site-notification-popover {
    top: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(92px + env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    width: auto;
    max-height: min(72vh, calc(100vh - 132px));
    border-radius: 20px;
  }

  .site-notification-head {
    padding: 14px 14px 10px;
  }

  .site-notification-content {
    padding: 10px;
  }
}

.frame-starlight.global-avatar-shell::after {
  box-shadow: 0 0 0 2px rgba(123, 196, 255, 0.5), 0 0 18px rgba(99, 179, 255, 0.28);
}

.frame-gold-rush.global-avatar-shell::after {
  box-shadow: 0 0 0 2px rgba(255, 214, 92, 0.58), 0 0 18px rgba(255, 188, 60, 0.3);
}

.frame-crimson-edge.global-avatar-shell::after {
  box-shadow: 0 0 0 2px rgba(255, 92, 120, 0.58), 0 0 18px rgba(255, 92, 120, 0.28);
}

.frame-violet-crown.global-avatar-shell::after {
  box-shadow: 0 0 0 2px rgba(191, 112, 255, 0.58), 0 0 18px rgba(191, 112, 255, 0.28);
}

.effect-spark.global-avatar-shell::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
  animation: avatar-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.effect-aura.global-avatar-shell::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 125, 255, 0.18), transparent 60%);
  filter: blur(2px);
  animation: avatar-pulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes avatar-pulse {
  0%, 100% { transform: scale(0.96); opacity: 0.62; }
  50% { transform: scale(1.06); opacity: 1; }
}

.mobile-bottom-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 12px;
  z-index: 80;
  padding: clamp(8px, 2.8vw, 10px) clamp(6px, 2vw, 8px) calc(clamp(8px, 2.8vw, 10px) + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(var(--mobile-nav-count, 4), minmax(0, 1fr));
  gap: 8px;
  border-radius: var(--ui-radius-lg, 26px);
  border: 1px solid rgba(147, 168, 196, 0.16);
  background: rgba(10, 18, 32, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 60px rgba(2, 7, 18, 0.48);
  overflow: hidden;
}

.mobile-nav-link {
  display: grid;
  justify-items: center;
  gap: 0;
  min-height: clamp(48px, 13vw, 54px);
  padding: clamp(6px, 1.8vw, 7px) clamp(3px, 0.8vw, 4px);
  border-radius: var(--ui-radius-md, 18px);
  color: var(--muted);
  font-size: clamp(0.46rem, 1.9vw, 0.56rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
  min-width: 0;
}

.mobile-nav-link:hover {
  transform: none;
  color: #f6fbff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-link.active {
  color: #f6fbff;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.24), rgba(62, 166, 180, 0.18));
}

.mobile-nav-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mobile-nav-label {
  display: none;
  width: 100%;
  min-width: 0;
  margin-top: 3px;
  line-height: 1.02;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.is-desktop-ui .mobile-top-actions,
body.is-desktop-ui .mobile-bottom-nav,
body.is-desktop-ui .mobile-user-meta,
body.is-desktop-ui .mobile-user-avatar,
body.is-desktop-ui .mobile-utility-nav {
  display: none !important;
}

body.is-desktop-ui .desktop-nav {
  display: flex;
}

body.is-desktop-ui .topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  z-index: 94;
  overflow: visible;
}

body.is-desktop-ui .topbar .brand {
  min-width: 0;
  max-width: clamp(260px, 30vw, 340px);
}

body.is-desktop-ui .topbar .desktop-primary-nav .nav-link,
body.is-desktop-ui .topbar .desktop-menu-trigger,
body.is-desktop-ui .topbar .desktop-utility-nav .nav-link {
  white-space: nowrap;
}

body.is-desktop-ui .topbar .desktop-utility-nav {
  min-width: 0;
}

body.is-mobile-ui .shell {
  padding-bottom: 110px;
}

body.is-mobile-ui .site-footer-legal {
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}

body.is-mobile-ui .footer-note {
  font-size: 11px;
}

body.is-mobile-ui .desktop-nav {
  display: none !important;
}

body.is-mobile-ui .desktop-brand-game {
  display: none !important;
}

body.is-mobile-ui .desktop-utility-nav {
  display: none !important;
}

body.is-mobile-ui .mobile-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

body.is-mobile-ui .mobile-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-mobile-ui .mobile-utility-nav {
  display: none;
}

body.is-mobile-ui .mobile-user-meta {
  display: none;
}

body.is-mobile-ui {
  --ui-font-xs: clamp(0.54rem, 2.2vw, 0.68rem);
  --ui-font-sm: clamp(0.62rem, 2.5vw, 0.8rem);
  --ui-font-md: clamp(0.74rem, 3vw, 0.92rem);
  --ui-font-lg: clamp(0.92rem, 4vw, 1.18rem);
  --ui-radius-sm: clamp(10px, 2.8vw, 14px);
  --ui-radius-md: clamp(14px, 4vw, 18px);
  --ui-radius-lg: clamp(18px, 5vw, 24px);
  --ui-button-h: clamp(40px, 11vw, 46px);
  --ui-chip-h: clamp(20px, 5.6vw, 28px);
  --ui-inline-pad: clamp(10px, 3vw, 14px);
}

body.is-mobile-ui .mobile-bottom-nav {
  display: grid;
}

body.is-mobile-ui .topbar {
  position: sticky;
  top: 8px;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 10px;
  padding: clamp(8px, 2.6vw, 10px) clamp(10px, 3vw, 12px);
  margin-bottom: 12px;
  border-radius: var(--ui-radius-md);
}

body.is-mobile-ui .topbar.auth-topbar {
  gap: clamp(10px, 3vw, 12px);
  padding: clamp(10px, 3.2vw, 12px);
  min-height: 0;
  border-radius: var(--ui-radius-lg);
  overflow: visible;
}

body.is-mobile-ui .brand {
  min-width: 0;
  gap: 1px;
}

body.is-mobile-ui .brand h1 {
  font-size: var(--ui-font-md);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.is-mobile-ui .brand .eyebrow {
  display: none;
}

body.is-mobile-ui .brand .muted {
  display: none;
}

body.is-mobile-ui .mobile-header-core {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

body.is-mobile-ui .mobile-header-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body.is-mobile-ui .mobile-game-menu-trigger {
  min-width: 0;
  padding: 8px 10px;
  gap: 8px;
}

body.is-mobile-ui .topbar.auth-topbar .mobile-user-meta {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3.2vw, 14px);
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  align-self: center;
  position: relative;
  padding: 10px 12px 10px 8px;
  min-height: 0;
  border-radius: 22px;
  text-align: left;
}

body.is-mobile-ui .topbar.auth-topbar .mobile-user-menu-trigger {
  background:
    linear-gradient(135deg, rgba(122, 165, 255, 0.12), rgba(62, 166, 180, 0.08)),
    rgba(14, 23, 38, 0.78);
  border-color: rgba(147, 168, 196, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(3, 8, 18, 0.12);
}

body.is-mobile-ui .topbar.auth-topbar .mobile-user-menu-trigger:hover,
body.is-mobile-ui .topbar.auth-topbar .mobile-user-menu-trigger:focus-visible {
  transform: none;
  opacity: 1;
}

body.is-mobile-ui .topbar.auth-topbar .mobile-user-caret {
  margin-left: auto;
  flex: 0 0 auto;
  opacity: 0.78;
}

body.is-mobile-ui .mobile-user-stack {
  display: grid;
  gap: clamp(8px, 2.6vw, 10px);
  align-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
}

body.is-mobile-ui .topbar.auth-topbar .mobile-user-avatar {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

body.is-mobile-ui .topbar.auth-topbar .mobile-user-avatar::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(122, 165, 255, 0.34), transparent 68%);
  opacity: 0.88;
  pointer-events: none;
  animation: topbar-avatar-breathe 4.8s ease-in-out infinite;
}

body.is-mobile-ui .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(68px, 20vw, 80px);
  height: clamp(68px, 20vw, 80px);
  z-index: 1;
}

body.is-mobile-ui .topbar.auth-topbar .mobile-user-name {
  max-width: 100%;
  color: #f5f8ff;
  font-size: clamp(0.96rem, 4.7vw, 1.18rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 8px 20px rgba(8, 13, 26, 0.34);
}

body.is-mobile-ui .topbar.auth-topbar .mobile-level-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(32px, 9.5vw, 38px);
  width: fit-content;
  max-width: 100%;
  padding: 0 clamp(12px, 3.8vw, 16px);
  border-radius: 999px;
  border: 1px solid rgba(120, 154, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(30, 49, 90, 0.62);
  color: var(--text);
  font-size: var(--ui-font-sm);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 20px rgba(4, 10, 22, 0.16);
}

body.is-mobile-ui .topbar.auth-topbar .mobile-user-edit {
  position: absolute;
  right: 0;
  bottom: 4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 9vw, 36px);
  height: clamp(32px, 9vw, 36px);
  border-radius: var(--ui-radius-sm);
  text-decoration: none;
  color: #f6fbff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(16, 26, 43, 0.72);
  border: 1px solid rgba(126, 156, 224, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 22px rgba(3, 8, 18, 0.16);
}

body.is-mobile-ui .topbar.auth-topbar .mobile-top-actions {
  margin-left: 0;
  display: flex;
  justify-content: stretch;
  grid-area: actions;
  width: auto;
  min-width: 0;
  align-self: start;
}

body.is-mobile-ui .topbar.auth-topbar .mobile-top-actions form,
body.is-mobile-ui .topbar.auth-topbar .mobile-top-actions .mobile-auth-button {
  width: 100%;
  min-width: 0;
}

body.is-mobile-ui .topbar.auth-topbar .mobile-top-actions form {
  display: flex;
}

body.is-mobile-ui .mobile-auth-button {
  min-height: var(--ui-button-h);
  padding: 0 var(--ui-inline-pad);
  font-size: var(--ui-font-sm);
  gap: 6px;
  border-radius: var(--ui-radius-md);
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(16, 26, 43, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 24px rgba(3, 8, 18, 0.2);
}

body.is-mobile-ui .mobile-auth-button--icon {
  width: clamp(40px, 10.5vw, 46px);
  min-width: clamp(40px, 10.5vw, 46px);
  padding: 0;
  gap: 0;
}

body.is-mobile-ui .mobile-user-avatar img {
  width: clamp(58px, 17vw, 68px) !important;
  height: clamp(58px, 17vw, 68px) !important;
  border-radius: 50%;
  border: 1px solid rgba(147, 168, 196, 0.28) !important;
  box-shadow: 0 14px 28px rgba(3, 8, 18, 0.34);
}

body.is-mobile-ui .topbar.auth-topbar .mobile-utility-nav {
  display: none;
}

body.is-mobile-ui .topbar.auth-topbar .desktop-nav {
  display: none !important;
}

body.is-mobile-ui .mobile-utility-link {
  min-height: clamp(40px, 10.5vw, 46px);
  min-width: clamp(40px, 10.5vw, 46px);
  padding: 0;
  gap: 0;
  justify-content: center;
  border-radius: var(--ui-radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(16, 26, 43, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 22px rgba(3, 8, 18, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.is-mobile-ui .mobile-utility-link:active,
body.is-mobile-ui .mobile-auth-button:active {
  transform: translateY(1px) scale(0.985);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 16px rgba(3, 8, 18, 0.16);
}

body.is-mobile-ui .mobile-utility-link .nav-icon,
body.is-mobile-ui .mobile-auth-button .nav-icon {
  width: clamp(16px, 4.2vw, 18px);
  height: clamp(16px, 4.2vw, 18px);
  flex: 0 0 clamp(16px, 4.2vw, 18px);
}

body.is-mobile-ui .mobile-utility-link .nav-icon svg,
body.is-mobile-ui .mobile-auth-button .nav-icon svg {
  width: clamp(16px, 4.2vw, 18px);
  height: clamp(16px, 4.2vw, 18px);
}

body.is-mobile-ui .mobile-nav-link.active .mobile-nav-label {
  display: block;
}

body.is-mobile-ui .mobile-toolbar-link,
body.is-mobile-ui .mobile-toolbar-label {
  display: none;
}

body.is-mobile-ui .mobile-user-avatar .avatar-fallback {
  width: clamp(30px, 8.8vw, 36px);
  height: clamp(30px, 8.8vw, 36px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(147, 168, 196, 0.28);
  background: linear-gradient(135deg, rgba(70, 110, 255, 0.9), rgba(98, 190, 210, 0.85));
  color: #fff;
  font-size: var(--ui-font-md);
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(3, 8, 18, 0.24);
}

body.is-mobile-ui .landing-hero {
  grid-template-columns: 1fr;
  min-height: auto;
  gap: 14px;
  padding: 20px;
}

body.is-mobile-ui .landing-showcase {
  display: grid;
  gap: 8px;
}

body.is-mobile-ui .landing-copy {
  gap: 12px;
}

body.is-mobile-ui .hero h2,
body.is-mobile-ui .hero.compact h2,
body.is-mobile-ui .landing-hero h2,
body.is-mobile-ui .section-title,
body.is-mobile-ui .card-title {
  text-wrap: balance;
}

body.is-mobile-ui .hero h2,
body.is-mobile-ui .hero.compact h2 {
  max-width: none;
  font-size: clamp(24px, 7.2vw, 34px);
  line-height: 1.02;
}

body.is-mobile-ui .landing-hero h2 {
  max-width: none;
  font-size: clamp(24px, 9vw, 34px);
  line-height: 1;
}

body.is-mobile-ui .section-title,
body.is-mobile-ui .card-title {
  font-size: clamp(20px, 6.2vw, 28px);
}

body.is-mobile-ui .eyebrow,
body.is-mobile-ui .game-label,
body.is-mobile-ui .muted,
body.is-mobile-ui .featured-card-meta,
body.is-mobile-ui .featured-card-value,
body.is-mobile-ui .collection-binder-code,
body.is-mobile-ui .market-card-topline {
  font-size: var(--ui-font-xs);
}

body.is-mobile-ui .button,
body.is-mobile-ui button,
body.is-mobile-ui .button-link {
  min-height: var(--ui-button-h);
  padding-inline: var(--ui-inline-pad);
  font-size: var(--ui-font-sm);
}

body.is-mobile-ui .button,
body.is-mobile-ui .button-link {
  border-radius: var(--ui-radius-md);
}

body.is-mobile-ui .nav-link {
  gap: clamp(7px, 2vw, 10px);
  font-size: var(--ui-font-sm);
}

body.is-mobile-ui .nav-icon {
  width: clamp(16px, 4.2vw, 18px);
  height: clamp(16px, 4.2vw, 18px);
  flex: 0 0 clamp(16px, 4.2vw, 18px);
}

body.is-mobile-ui .landing-pill,
body.is-mobile-ui .landing-hero-stat,
body.is-mobile-ui .market-active-set-eyebrow,
body.is-mobile-ui .collection-binder-eyebrow {
  min-height: var(--ui-chip-h);
  font-size: var(--ui-font-xs);
}

body.is-mobile-ui .panel,
body.is-mobile-ui .list-card,
body.is-mobile-ui .editor-shell,
body.is-mobile-ui .page-hero-shell,
body.is-mobile-ui .page-scope-panel,
body.is-mobile-ui .page-section-panel,
body.is-mobile-ui .page-showcase-panel,
body.is-mobile-ui .page-editor-panel {
  border-radius: var(--ui-radius-lg);
}

body.is-mobile-ui .panel,
body.is-mobile-ui .list-card,
body.is-mobile-ui .editor-shell {
  padding: clamp(12px, 3.4vw, 16px);
}

body.is-mobile-ui .tag {
  min-height: var(--ui-chip-h);
  padding: 0 clamp(8px, 2.4vw, 10px);
  font-size: var(--ui-font-xs);
}

body.is-mobile-ui .price-big {
  font-size: clamp(1.75rem, 8vw, 2.25rem);
  line-height: 0.92;
}

body.is-mobile-ui .landing-copy p {
  max-width: none;
  font-size: clamp(0.84rem, 3.8vw, 0.95rem);
  line-height: 1.32;
}

body.is-mobile-ui .landing-discord-callout {
  padding: 12px;
  grid-template-columns: 1fr;
  justify-items: start;
}

body.is-mobile-ui .landing-discord-preview {
  width: 100%;
  min-width: 0;
}

body.is-mobile-ui .landing-discord-commands {
  gap: 6px;
}

body.is-mobile-ui .landing-discord-command {
  min-height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

body.is-mobile-ui .landing-install-panel {
  grid-template-columns: 1fr;
  padding: 14px;
  gap: 12px;
}

body.is-mobile-ui .landing-install-side {
  grid-template-columns: 1fr;
}

body.is-mobile-ui .landing-install-preview {
  min-width: 0;
}

body.is-mobile-ui .landing-install-copy strong {
  font-size: 17px;
}

body.is-mobile-ui .landing-install-copy p {
  font-size: 13px;
  max-width: none;
}

body.is-mobile-ui .landing-install-benefits {
  gap: 7px;
}

body.is-mobile-ui .landing-install-benefit {
  min-height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

body.is-mobile-ui .landing-install-actions {
  width: 100%;
}

body.is-mobile-ui .landing-install-actions > * {
  flex: 1 1 100%;
}

body.is-mobile-ui .landing-pill-row {
  display: flex;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 2px;
  scrollbar-width: none;
}

body.is-mobile-ui .landing-pill-row::-webkit-scrollbar {
  display: none;
}

body.is-mobile-ui .landing-pill {
  white-space: nowrap;
}

body.is-mobile-ui .landing-hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.is-mobile-ui .landing-hero-stat {
  padding: 12px 10px;
  border-radius: 16px;
}

body.is-mobile-ui .landing-hero-stat strong {
  font-size: 17px;
}

body.is-mobile-ui .landing-hero-stat small {
  font-size: 10px;
}

body.is-mobile-ui .hero-actions,
body.is-mobile-ui .button-row,
body.is-mobile-ui .quick-search-actions {
  width: 100%;
}

body.is-mobile-ui .hero-actions > *,
body.is-mobile-ui .button-row > *,
body.is-mobile-ui .quick-search-actions > * {
  flex: 1 1 100%;
}

body.is-mobile-ui .page-overview-shell {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.is-mobile-ui .page-overview-copy {
  gap: 12px;
}

body.is-mobile-ui .page-overview-copy p {
  display: none;
}

body.is-mobile-ui .page-overview-pill-row {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

body.is-mobile-ui .page-overview-pill-row::-webkit-scrollbar {
  display: none;
}

body.is-mobile-ui .page-overview-pill {
  white-space: nowrap;
  min-height: 30px;
  padding: 0 12px;
  font-size: 10px;
}

body.is-mobile-ui .page-overview-stage {
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
}

body.is-mobile-ui .page-overview-stage-head {
  gap: 12px;
  align-items: flex-start;
}

body.is-mobile-ui .page-overview-stage-brand {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  border-radius: 16px;
  overflow: hidden;
}

body.is-mobile-ui .page-overview-stage-brand .game-logo,
body.is-mobile-ui .page-overview-game-logo {
  max-width: 36px;
  max-height: 22px;
}

body.is-mobile-ui .page-overview-stage-copy strong {
  font-size: 1.02rem;
}

body.is-mobile-ui .page-overview-stats {
  gap: 8px;
}

body.is-mobile-ui .page-overview-stat,
body.is-mobile-ui .page-overview-note {
  padding: 10px 8px;
  border-radius: 14px;
}

body.is-mobile-ui .page-overview-stat strong,
body.is-mobile-ui .page-overview-note strong {
  font-size: 0.98rem;
}

body.is-mobile-ui .page-overview-note-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.is-mobile-ui .landing-games-grid {
  grid-template-columns: 1fr;
}

body.is-mobile-ui .landing-games .section-head,
body.is-mobile-ui .featured-cards-shell .section-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

body.is-mobile-ui .landing-games .section-head .muted,
body.is-mobile-ui .featured-cards-shell .section-head .muted {
  display: none;
}

body.is-mobile-ui .landing-games .section-title,
body.is-mobile-ui .featured-cards-shell .section-title {
  width: 100%;
  max-width: none;
}

body.is-mobile-ui .game-spotlight {
  min-height: 248px;
  padding: 16px 14px;
}

body.is-mobile-ui .game-spotlight .button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

body.is-mobile-ui .game-spotlight-topline,
body.is-mobile-ui .game-spotlight-tags {
  gap: 6px;
}

body.is-mobile-ui .game-spotlight-summary {
  max-width: none;
  font-size: 15px;
}

body.is-mobile-ui .showcase-stack {
  display: none;
}

body.is-mobile-ui .showcase-card {
  padding: 14px;
  border-radius: 20px;
}

body.is-mobile-ui .showcase-card strong {
  font-size: 18px;
}

body.is-mobile-ui .showcase-card p {
  font-size: 13px;
  line-height: 1.35;
}

body.is-mobile-ui .showcase-scene {
  min-height: 168px;
  margin-top: 14px;
}

body.is-mobile-ui .showcase-device {
  inset: clamp(12px, 3.8vw, 14px);
  border-radius: var(--ui-radius-md);
}

body.is-mobile-ui .showcase-device-top {
  padding: clamp(8px, 2.8vw, 10px) clamp(10px, 3vw, 12px);
  font-size: var(--ui-font-xs);
}

body.is-mobile-ui .showcase-device-body {
  padding: clamp(10px, 3vw, 12px) clamp(10px, 3vw, 12px) clamp(12px, 3.6vw, 14px);
  gap: clamp(8px, 2.8vw, 10px);
}

body.is-mobile-ui .showcase-device-value strong {
  font-size: clamp(1.85rem, 10vw, 2.25rem);
}

body.is-mobile-ui .showcase-device-stack {
  right: clamp(8px, 2.8vw, 10px);
  top: clamp(12px, 4vw, 16px);
  width: clamp(78px, 24vw, 88px);
  height: clamp(96px, 30vw, 108px);
}

body.is-mobile-ui .showcase-inline-metrics {
  gap: 8px;
}

body.is-mobile-ui .showcase-inline-metric {
  padding: 10px 8px;
  border-radius: 14px;
}

body.is-mobile-ui .landing-set-strip {
  padding: 10px;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

body.is-mobile-ui .landing-set-strip::-webkit-scrollbar {
  display: none;
}

body.is-mobile-ui.page-dashboard .hero,
body.is-mobile-ui.page-collection .hero,
body.is-mobile-ui.page-wanted-list .hero,
body.is-mobile-ui.page-sell-list .hero,
body.is-mobile-ui.page-market .hero,
body.is-mobile-ui.page-profile .hero,
body.is-mobile-ui.page-sets .hero,
body.is-mobile-ui.page-showoff .hero {
  padding: 14px;
  border-radius: 18px;
}

body.is-mobile-ui.page-dashboard .hero p,
body.is-mobile-ui.page-collection .hero p,
body.is-mobile-ui.page-wanted-list .hero p,
body.is-mobile-ui.page-sell-list .hero p,
body.is-mobile-ui.page-market .hero p,
body.is-mobile-ui.page-profile .hero p,
body.is-mobile-ui.page-sets .hero p {
  display: none;
}

body.is-mobile-ui.page-dashboard .hero .eyebrow,
body.is-mobile-ui.page-collection .hero .eyebrow,
body.is-mobile-ui.page-wanted-list .hero .eyebrow,
body.is-mobile-ui.page-sell-list .hero .eyebrow,
body.is-mobile-ui.page-market .hero .eyebrow,
body.is-mobile-ui.page-profile .hero .eyebrow,
body.is-mobile-ui.page-sets .hero .eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
}

body.is-mobile-ui.page-dashboard .hero-actions,
body.is-mobile-ui.page-collection .hero-actions,
body.is-mobile-ui.page-wanted-list .hero-actions,
body.is-mobile-ui.page-sell-list .hero-actions,
body.is-mobile-ui.page-market .hero-actions,
body.is-mobile-ui.page-profile .hero-actions,
body.is-mobile-ui.page-sets .hero-actions {
  margin-top: 8px;
}

body.is-mobile-ui.page-dashboard .section-head,
body.is-mobile-ui.page-collection .section-head,
body.is-mobile-ui.page-wanted-list .section-head,
body.is-mobile-ui.page-sell-list .section-head,
body.is-mobile-ui.page-market .section-head,
body.is-mobile-ui.page-profile .section-head,
body.is-mobile-ui.page-sets .section-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

body.is-mobile-ui.page-dashboard .panel,
body.is-mobile-ui.page-collection .panel,
body.is-mobile-ui.page-wanted-list .panel,
body.is-mobile-ui.page-sell-list .panel,
body.is-mobile-ui.page-market .panel,
body.is-mobile-ui.page-profile .panel,
body.is-mobile-ui.page-sets .panel {
  padding: clamp(12px, 3.4vw, 16px);
  border-radius: var(--ui-radius-md);
}

body.is-mobile-ui.page-dashboard .set-grid,
body.is-mobile-ui.page-collection .set-grid,
body.is-mobile-ui.page-wanted-list .set-grid,
body.is-mobile-ui.page-sell-list .set-grid,
body.is-mobile-ui.page-profile .set-grid,
body.is-mobile-ui.page-sets .set-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.is-mobile-ui.page-dashboard .set-card,
body.is-mobile-ui.page-collection .set-card,
body.is-mobile-ui.page-wanted-list .set-card,
body.is-mobile-ui.page-sell-list .set-card,
body.is-mobile-ui.page-profile .set-card,
body.is-mobile-ui.page-sets .set-card {
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
}

body.is-mobile-ui.page-dashboard .set-card-main,
body.is-mobile-ui.page-collection .set-card-main,
body.is-mobile-ui.page-wanted-list .set-card-main,
body.is-mobile-ui.page-sell-list .set-card-main,
body.is-mobile-ui.page-profile .set-card-main,
body.is-mobile-ui.page-sets .set-card-main {
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: start;
}

body.is-mobile-ui.page-dashboard .set-logo,
body.is-mobile-ui.page-dashboard .set-badge,
body.is-mobile-ui.page-dashboard .set-code-tile,
body.is-mobile-ui.page-collection .set-logo,
body.is-mobile-ui.page-collection .set-badge,
body.is-mobile-ui.page-collection .set-code-tile,
body.is-mobile-ui.page-wanted-list .set-logo,
body.is-mobile-ui.page-wanted-list .set-badge,
body.is-mobile-ui.page-wanted-list .set-code-tile,
body.is-mobile-ui.page-sell-list .set-logo,
body.is-mobile-ui.page-sell-list .set-badge,
body.is-mobile-ui.page-sell-list .set-code-tile,
body.is-mobile-ui.page-profile .set-logo,
body.is-mobile-ui.page-profile .set-badge,
body.is-mobile-ui.page-profile .set-code-tile,
body.is-mobile-ui.page-sets .set-logo,
body.is-mobile-ui.page-sets .set-badge,
body.is-mobile-ui.page-sets .set-code-tile {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  padding: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 0.94;
}

body.is-mobile-ui.page-dashboard .set-copy strong,
body.is-mobile-ui.page-collection .set-copy strong,
body.is-mobile-ui.page-wanted-list .set-copy strong,
body.is-mobile-ui.page-sell-list .set-copy strong,
body.is-mobile-ui.page-profile .set-copy strong,
body.is-mobile-ui.page-sets .set-copy strong {
  font-size: 13px;
  line-height: 1.15;
}

body.is-mobile-ui.page-dashboard .set-copy small,
body.is-mobile-ui.page-dashboard .set-copy span,
body.is-mobile-ui.page-collection .set-copy small,
body.is-mobile-ui.page-collection .set-copy span,
body.is-mobile-ui.page-wanted-list .set-copy small,
body.is-mobile-ui.page-wanted-list .set-copy span,
body.is-mobile-ui.page-sell-list .set-copy small,
body.is-mobile-ui.page-sell-list .set-copy span,
body.is-mobile-ui.page-profile .set-copy small,
body.is-mobile-ui.page-profile .set-copy span,
body.is-mobile-ui.page-sets .set-copy small,
body.is-mobile-ui.page-sets .set-copy span {
  font-size: 11px;
  line-height: 1.2;
}

body.is-mobile-ui.page-sets .set-card {
  gap: 6px;
  padding: 8px 8px 10px;
  border-radius: 14px;
  background:
    radial-gradient(circle at top left, rgba(95, 153, 255, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(25, 33, 50, 0.96), rgba(13, 18, 30, 0.98));
  border: 0;
  box-shadow: 0 10px 20px rgba(3, 8, 18, 0.18);
}

body.is-mobile-ui.page-sets .set-card-main {
  grid-template-columns: 1fr;
  gap: 8px;
}

body.is-mobile-ui.page-sets .set-logo,
body.is-mobile-ui.page-sets .set-badge,
body.is-mobile-ui.page-sets .set-code-tile {
  width: 100%;
  height: auto;
  aspect-ratio: 0.72;
  border-radius: 10px;
  padding: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 0.94;
}

body.is-mobile-ui.page-sets .set-copy {
  gap: 4px;
  text-align: center;
  justify-items: center;
}

body.is-mobile-ui.page-sets .set-copy strong {
  font-size: 13px;
  line-height: 1.15;
}

body.is-mobile-ui.page-sets .set-copy small,
body.is-mobile-ui.page-sets .set-copy span {
  font-size: 11px;
  line-height: 1.2;
}

@media (max-width: 389px) {
  body.is-mobile-ui.page-dashboard .set-grid,
  body.is-mobile-ui.page-collection .set-grid,
  body.is-mobile-ui.page-wanted-list .set-grid,
  body.is-mobile-ui.page-sell-list .set-grid,
  body.is-mobile-ui.page-profile .set-grid {
    grid-template-columns: 1fr;
  }

  body.is-mobile-ui .page-overview-stats,
  body.is-mobile-ui .page-overview-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.is-mobile-ui .page-overview-stage {
    padding: 12px;
  }

  body.is-mobile-ui .mobile-nav-link.active .mobile-nav-label {
    display: block;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.nav-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(20, 34, 58, 0.96), rgba(8, 14, 26, 0.98)),
    linear-gradient(135deg, rgba(31, 111, 235, 0.24), rgba(62, 166, 180, 0.18));
  color: #eff5ff;
  box-shadow: var(--shadow);
}

.page-hero-shell {
  border: 1px solid var(--page-border);
  box-shadow:
    0 26px 64px rgba(3, 8, 18, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(145deg, rgba(18, 31, 53, 0.98), rgba(8, 14, 26, 0.98)),
    linear-gradient(135deg, var(--page-accent), var(--page-accent-secondary));
}

.page-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.18), rgba(5, 10, 18, 0.02)),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.08), transparent 20%),
    radial-gradient(circle at 18% 88%, var(--page-glow-secondary), transparent 24%);
  pointer-events: none;
}

.page-hero-shell > * {
  position: relative;
  z-index: 1;
}

.page-overview-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  border-color: var(--page-border);
  background:
    radial-gradient(circle at top left, var(--page-accent), transparent 24%),
    radial-gradient(circle at bottom right, var(--page-accent-secondary), transparent 30%),
    linear-gradient(180deg, rgba(18, 30, 48, 0.98), rgba(7, 14, 24, 0.98));
  box-shadow:
    0 30px 72px rgba(3, 8, 18, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-overview-shell::before,
.page-overview-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-overview-shell::before {
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 22%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 22px);
  opacity: 0.42;
}

.page-overview-shell::after {
  inset: auto -54px -84px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--premium-gold), transparent 72%);
  opacity: 0.7;
  animation: premium-shell-breathe 18s ease-in-out infinite;
}

.page-overview-copy {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.page-overview-copy p {
  max-width: 58ch;
  color: rgba(238, 244, 255, 0.8);
}

.page-overview-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-overview-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 24, 0.48);
  color: rgba(231, 238, 251, 0.84);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(3, 8, 18, 0.14);
}

.page-overview-actions {
  margin-top: 2px;
  justify-content: flex-start;
}

.page-overview-stage {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(6, 12, 22, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 44px rgba(3, 8, 18, 0.18);
  backdrop-filter: blur(14px) saturate(120%);
}

.page-overview-stage::before {
  content: "";
  position: absolute;
  inset: auto -44px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--page-glow), transparent 72%);
  pointer-events: none;
}

.page-overview-stage-head,
.page-overview-stage-copy {
  position: relative;
  z-index: 1;
}

.page-overview-stage-head {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.page-overview-stage-brand {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(13, 21, 34, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(3, 8, 18, 0.16);
  overflow: hidden;
  position: relative;
}

.page-overview-stage-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
  opacity: 0.9;
}

.page-overview-stage-brand--text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(231, 238, 251, 0.82);
  text-align: center;
  padding: 0 8px;
}

.page-overview-stage-brand .game-logo {
  height: auto;
  width: auto;
  max-width: 42px;
  max-height: 28px;
  position: relative;
  z-index: 1;
}

.page-overview-game-logo {
  width: auto;
  height: auto;
  max-width: 42px;
  max-height: 28px;
}

.page-overview-game-logo.game-logo-onepiece {
  max-width: 48px;
  max-height: 32px;
}

.page-overview-stage-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.page-overview-stage-kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-overview-stage-copy strong {
  font-family: "Fraunces", serif;
  font-size: 1.18rem;
  line-height: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.page-overview-stage-copy small {
  color: rgba(231, 238, 251, 0.72);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.page-overview-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-overview-stat,
.page-overview-note {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 15, 28, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-overview-stat small,
.page-overview-note small {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-overview-stat strong,
.page-overview-note strong {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  line-height: 1;
}

.page-overview-note-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.28), transparent 70%);
}

.hero.compact h2 {
  max-width: none;
  font-size: clamp(30px, 4vw, 46px);
}

.hero h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.96;
  max-width: 14ch;
}

.hero p {
  max-width: 64ch;
  color: rgba(231, 238, 251, 0.78);
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 14, 26, 0.36), rgba(7, 14, 26, 0.8)),
    linear-gradient(90deg, rgba(8, 15, 27, 0.96) 0%, rgba(8, 15, 27, 0.82) 44%, rgba(8, 15, 27, 0.62) 100%),
    url("/static/home/home-hero-bg.webp") center/cover no-repeat;
}

.landing-hero::before,
.landing-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  mix-blend-mode: normal;
}

.landing-hero::before {
  top: -68px;
  right: -24px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(93, 141, 255, 0.22), rgba(93, 141, 255, 0) 70%);
  opacity: 0.56;
}

.landing-hero::after {
  left: -54px;
  bottom: -94px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(77, 215, 241, 0.12), rgba(77, 215, 241, 0) 72%);
  opacity: 0.48;
}

.landing-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-content: start;
  max-width: 760px;
}

.landing-hero h2 {
  max-width: 10ch;
  font-size: clamp(40px, 5vw, 72px);
}

.landing-copy p {
  font-size: 17px;
  line-height: 1.42;
  max-width: 38ch;
}

.landing-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.landing-hero-stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(6, 12, 22, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 36px rgba(3, 8, 18, 0.18);
}

.landing-hero-stat strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
  color: #f6fbff;
}

.landing-hero-stat small {
  color: rgba(219, 232, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-discord-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, auto) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(88, 101, 242, 0.04)),
    rgba(7, 14, 26, 0.5);
  border: 1px solid rgba(147, 168, 196, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(5, 10, 24, 0.18);
}

.landing-discord-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(158, 168, 255, 0.24);
  color: #e7ecff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-discord-copy {
  display: grid;
  gap: 10px;
}

.landing-discord-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(231, 238, 251, 0.84);
  max-width: 48ch;
}

.landing-discord-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-discord-command {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(22, 29, 58, 0.68);
  border: 1px solid rgba(158, 168, 255, 0.16);
  color: #eef2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.landing-discord-preview {
  display: grid;
  gap: 4px;
  min-width: 196px;
  padding: 12px 13px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(88, 101, 242, 0.18), transparent 40%),
    rgba(10, 17, 32, 0.62);
  border: 1px solid rgba(158, 168, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 26px rgba(5, 10, 24, 0.14);
}

.landing-discord-preview small {
  color: rgba(224, 232, 252, 0.68);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.landing-discord-preview strong {
  color: #f5f8ff;
  font-size: 13px;
  line-height: 1.3;
}

.landing-install-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.12), transparent 28%),
    rgba(7, 14, 26, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(5, 10, 24, 0.18);
}

.landing-install-copy {
  display: grid;
  gap: 6px;
}

.landing-install-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.76);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: rgba(238, 244, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-install-copy strong {
  font-size: 20px;
  line-height: 1;
  color: #f5f9ff;
}

.landing-install-copy p {
  margin: 0;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.38;
  color: rgba(225, 236, 252, 0.8);
}

.landing-install-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-install-benefit {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(8, 16, 28, 0.52);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: rgba(241, 247, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.landing-install-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.landing-install-preview {
  display: grid;
  gap: 8px;
  min-width: 230px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.22), transparent 38%),
    rgba(8, 15, 27, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 32px rgba(4, 9, 21, 0.18);
}

.landing-install-preview-kicker {
  color: rgba(221, 232, 249, 0.7);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.landing-install-preview-screen {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(13, 24, 40, 0.98), rgba(8, 14, 24, 0.78)),
    rgba(8, 14, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-install-preview-screen strong {
  color: #f6f9ff;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.landing-install-preview-screen small {
  color: rgba(220, 232, 249, 0.72);
  line-height: 1.35;
}

.landing-install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.landing-install-panel[data-install-mode="ios"] {
  border-color: rgba(255, 214, 92, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 214, 92, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(101, 127, 255, 0.1), transparent 28%),
    rgba(7, 14, 26, 0.58);
}

.landing-install-panel[data-install-mode="ios"] .landing-install-kicker {
  background: rgba(48, 38, 10, 0.82);
  border-color: rgba(255, 214, 92, 0.18);
  color: #fff0bf;
}

.landing-search-inline {
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.landing-search-inline .quick-search-shell {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.landing-search-inline .quick-search-form {
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr) auto;
  gap: 12px;
}

.landing-search-inline .quick-search-input input,
.landing-search-inline .quick-search-game select {
  background: rgba(7, 14, 26, 0.72);
  border-color: rgba(147, 168, 196, 0.16);
}

.landing-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(10, 18, 30, 0.4);
  color: #dbe8ff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.landing-set-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background: rgba(10, 18, 30, 0.46);
  color: #dbe8ff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.landing-set-chip.static {
  opacity: 0.92;
}

.landing-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: start;
}

.showcase-stack {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(9, 16, 28, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 18px 36px rgba(4, 9, 20, 0.16);
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 36%);
  opacity: 0.56;
  pointer-events: none;
}

.showcase-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 24px;
  line-height: 1.05;
  margin-bottom: 10px;
}

.showcase-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(231, 238, 251, 0.74);
}

.showcase-card-primary {
  background:
    radial-gradient(circle at top right, rgba(111, 134, 255, 0.34), transparent 36%),
    radial-gradient(circle at bottom left, rgba(77, 215, 241, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(18, 29, 48, 0.96), rgba(9, 16, 28, 0.92));
}

.showcase-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.showcase-card-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(122, 142, 255, 0.16);
  border: 1px solid rgba(147, 168, 255, 0.2);
  color: #eef3ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.showcase-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(10, 18, 30, 0.52);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.showcase-scene {
  position: relative;
  z-index: 1;
  min-height: 206px;
  margin-top: 18px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 14, 26, 0.16), rgba(7, 14, 26, 0.58)),
    rgba(5, 10, 20, 0.56);
  border: 1px solid rgba(147, 168, 196, 0.1);
}

.showcase-scene-orb,
.showcase-scene-grid {
  position: absolute;
  pointer-events: none;
}

.showcase-scene-orb {
  inset: auto -18px -44px auto;
  width: 178px;
  height: 178px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.28), rgba(111, 134, 255, 0) 70%);
  filter: blur(2px);
  opacity: 0.64;
}

.showcase-scene-grid {
  inset: 0;
  background:
    linear-gradient(rgba(147, 168, 196, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 168, 196, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
}

.showcase-device {
  position: absolute;
  inset: 22px 22px 18px 22px;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(157, 177, 208, 0.16);
  background:
    linear-gradient(180deg, rgba(15, 25, 40, 0.92), rgba(7, 14, 26, 0.96));
  box-shadow:
    0 28px 60px rgba(3, 8, 18, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.showcase-device-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(228, 237, 255, 0.74);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-device-body {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px 18px 16px;
}

.showcase-device-value {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.showcase-device-value strong {
  margin: 0;
  font-size: 50px;
  line-height: 0.9;
  color: #f6fbff;
}

.showcase-device-value small {
  display: block;
  margin: 4px 0 0;
  color: rgba(230, 238, 255, 0.72);
}

.showcase-device-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-device-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(122, 142, 255, 0.14);
  border: 1px solid rgba(147, 168, 196, 0.16);
  color: #dfe9ff;
  font-size: 12px;
  font-weight: 700;
}

.showcase-device-stack {
  position: absolute;
  right: 18px;
  top: 24px;
  width: 118px;
  height: 142px;
}

.showcase-device-stack span {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(18, 28, 45, 0.96), rgba(8, 14, 26, 0.94));
  border: 1px solid rgba(168, 188, 218, 0.14);
  box-shadow: 0 18px 36px rgba(2, 6, 14, 0.26);
}

.showcase-device-stack span:nth-child(1) {
  transform: translate(-28px, 10px) rotate(-12deg);
  opacity: 0.34;
}

.showcase-device-stack span:nth-child(2) {
  transform: translate(-12px, 6px) rotate(-7deg);
  opacity: 0.52;
}

.showcase-device-stack span:nth-child(3) {
  transform: rotate(7deg);
}

.showcase-inline-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.showcase-inline-metric {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(8, 14, 26, 0.52);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.showcase-inline-metric strong {
  margin: 0;
  font-size: 14px;
  line-height: 1;
}

.showcase-inline-metric small {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(219, 232, 255, 0.66);
}

.landing-set-strip {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 12px;
  border-radius: 22px;
  background: rgba(6, 12, 22, 0.46);
  border: 1px solid rgba(147, 168, 196, 0.12);
  overflow-x: auto;
  scrollbar-width: none;
}

.landing-set-strip::-webkit-scrollbar {
  display: none;
}

.landing-search-shell .grid.two {
  grid-template-columns: 1fr 1fr;
}

.landing-games-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-search-shell {
  padding: 22px;
}

.quick-search-form {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.quick-search-shell.compact .quick-search-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.quick-search-game,
.quick-search-input {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.quick-search-input input {
  min-height: 58px;
  font-size: 18px;
}

.quick-search-actions {
  align-items: center;
  justify-content: flex-end;
}

.game-spotlight {
  display: grid;
  gap: 16px;
  min-height: 356px;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.game-spotlight::before,
.game-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.game-spotlight::before {
  background:
    linear-gradient(180deg, rgba(3, 8, 18, 0.02) 0%, rgba(3, 8, 18, 0.16) 28%, rgba(3, 8, 18, 0.82) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%);
  z-index: 0;
}

.game-spotlight::after {
  inset: 14px 14px auto auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 72%);
  opacity: 0.66;
  mix-blend-mode: screen;
  z-index: 0;
}

.game-spotlight p {
  margin: 0;
  max-width: 28ch;
}

.game-spotlight-topline,
.game-spotlight-brand,
.game-spotlight-summary,
.game-spotlight-tags,
.game-spotlight .button-row {
  position: relative;
  z-index: 1;
}

.game-spotlight-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.game-spotlight-kicker,
.game-spotlight-mode {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-spotlight-kicker {
  background: rgba(8, 15, 27, 0.52);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: rgba(238, 244, 255, 0.86);
}

.game-spotlight-mode {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.game-spotlight-brand {
  display: flex;
  justify-content: center;
  align-items: end;
  width: 100%;
  min-height: 118px;
}

.game-logo-large {
  display: block;
  max-width: 100%;
  max-height: 132px;
  width: min(100%, 430px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.game-logo-pokemon {
  max-height: 152px;
  width: min(100%, 520px);
}

.game-logo-ygo {
  max-height: 152px;
  width: min(100%, 520px);
}

.game-logo-fallback {
  display: block;
  width: 100%;
  text-align: center;
  font-family: "Fraunces", serif;
  font-size: 34px;
  line-height: 1;
  color: #f5f9ff;
}

.game-spotlight-summary {
  color: rgba(232, 240, 255, 0.92);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  max-width: 20ch;
  text-wrap: balance;
}

.game-spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-spotlight-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 15, 27, 0.54);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: rgba(232, 240, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
}

.game-spotlight-pokemon {
  background:
    linear-gradient(180deg, rgba(5, 12, 22, 0.12) 0%, rgba(5, 12, 22, 0.74) 58%, rgba(5, 12, 22, 0.94) 100%),
    url("/static/home/home-tcg-pokemon.webp") center/cover no-repeat;
  box-shadow:
    inset 0 -4px 0 rgba(255, 199, 44, 0.86),
    0 20px 40px rgba(3, 8, 18, 0.32);
}

.game-spotlight-onepiece {
  background:
    linear-gradient(180deg, rgba(8, 10, 20, 0.12) 0%, rgba(8, 10, 20, 0.74) 58%, rgba(8, 10, 20, 0.94) 100%),
    url("/static/home/home-tcg-onepiece.webp") center/cover no-repeat;
  box-shadow:
    inset 0 -4px 0 rgba(255, 88, 88, 0.86),
    0 20px 40px rgba(3, 8, 18, 0.32);
}

.game-spotlight-ygo {
  background:
    linear-gradient(180deg, rgba(10, 8, 18, 0.12) 0%, rgba(10, 8, 18, 0.74) 58%, rgba(10, 8, 18, 0.94) 100%),
    url("/static/home/home-tcg-ygo.webp") center/cover no-repeat;
  box-shadow:
    inset 0 -4px 0 rgba(183, 88, 255, 0.86),
    0 20px 40px rgba(3, 8, 18, 0.32);
}

.game-spotlight .button-row {
  position: relative;
  z-index: 1;
}

.featured-cards-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(13, 21, 34, 0.92), rgba(7, 13, 24, 0.96));
}

.featured-cards-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 34%),
    radial-gradient(circle at bottom left, rgba(77, 215, 241, 0.08), transparent 28%);
  pointer-events: none;
}

.featured-cards-shell .section-head,
.featured-cards-viewport {
  position: relative;
  z-index: 1;
}

.featured-cards-shell .section-head::before {
  content: "Arsenal";
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(12, 21, 34, 0.78);
  border: 1px solid rgba(255, 209, 104, 0.16);
  color: rgba(255, 232, 174, 0.86);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-cards-viewport {
  overflow: hidden;
}

.featured-cards-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: featured-scroll 38s linear infinite;
}

.featured-card {
  position: relative;
  width: clamp(188px, 28vw, 252px);
  flex: 0 0 clamp(188px, 28vw, 252px);
  overflow: hidden;
  border-radius: clamp(16px, 4.8vw, 21px);
  background:
    radial-gradient(circle at top left, rgba(102, 157, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(9, 16, 28, 0.9), rgba(7, 13, 24, 0.94));
  border: 1px solid rgba(147, 168, 196, 0.14);
  box-shadow:
    0 20px 34px rgba(3, 8, 18, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.featured-card::before,
.featured-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.featured-card::before {
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(7, 13, 24, 0.18) 56%, rgba(7, 13, 24, 0.94) 100%);
}

.featured-card::after {
  inset: auto -20% -50% 38%;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 210, 112, 0.22), transparent 68%);
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(188, 202, 228, 0.22);
  box-shadow:
    0 28px 46px rgba(3, 8, 18, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.featured-card img {
  display: block;
  width: calc(100% - 10px);
  height: clamp(268px, 36vw, 356px);
  margin: 5px 5px 0;
  object-fit: contain;
  object-position: center top;
  border-radius: clamp(11px, 3.2vw, 15px);
  background: rgba(12, 21, 34, 0.12);
  filter: drop-shadow(0 16px 24px rgba(5, 10, 18, 0.22));
}

.featured-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(5px, 1.8vw, 8px);
  padding: clamp(10px, 3.2vw, 14px);
  margin-top: -24px;
}

.featured-card-copy small {
  display: inline-flex;
  align-items: center;
  width: min(100%, max-content);
  max-width: 100%;
  min-height: clamp(22px, 6vw, 28px);
  padding: 0 clamp(7px, 2vw, 10px);
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.74);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: var(--muted);
  font-size: clamp(0.53rem, 2.3vw, 0.69rem);
  font-weight: 800;
  letter-spacing: clamp(0.03em, 0.12vw, 0.06em);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-card-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: clamp(1rem, 4.4vw, 1.375rem);
  line-height: 1.08;
}

.featured-card-footer {
  display: block;
  min-height: 2.7em;
}

.featured-card-footer span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--muted);
  font-size: clamp(0.72rem, 3vw, 0.82rem);
  line-height: 1.22;
}

.featured-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.featured-card-value {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 214, 92, 0.12);
  border: 1px solid rgba(255, 214, 92, 0.16);
  color: #ffe3a0;
  font-weight: 800;
}

.dashboard-block {
  contain: layout paint;
}

.dashboard-block--deferred {
  content-visibility: auto;
  contain-intrinsic-size: 620px;
}

body.page-dashboard .page-atmosphere {
  opacity: 0.7;
}

body.page-dashboard .page-atmosphere-orb {
  filter: blur(18px);
}

body.page-dashboard .page-atmosphere-noise {
  opacity: 0.05;
}

body.page-dashboard .dashboard-vault-shell,
body.page-dashboard .dashboard-spotlight,
body.page-dashboard .dashboard-app-strip,
body.page-dashboard .collection-widget,
body.page-dashboard .dashboard-alert-group,
body.page-dashboard .dashboard-top-card,
body.page-dashboard .dashboard-identity-card {
  contain: paint;
}

body.page-dashboard .dashboard-vault-shell {
  backdrop-filter: blur(10px) saturate(116%);
}

body.page-dashboard .dashboard-spotlight-stats > div {
  backdrop-filter: blur(8px);
}

body.page-dashboard .collection-widget-stat {
  backdrop-filter: blur(6px);
}

.dashboard-top-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-top-summary-chip {
  display: inline-grid;
  gap: 4px;
  min-width: 96px;
  padding: 11px 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 15, 28, 0.68);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.dashboard-top-summary-chip small {
  color: rgba(214, 227, 246, 0.66);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.dashboard-top-summary-chip strong {
  color: #f5f9ff;
  font-size: 14px;
  line-height: 1.06;
}

.dashboard-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
}

.dashboard-top-stack {
  display: grid;
  gap: 10px;
}

.dashboard-top-card {
  position: relative;
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(18, 28, 46, 0.96), rgba(8, 14, 24, 0.98));
  border: 1px solid rgba(147, 168, 196, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 34px rgba(5, 10, 18, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dashboard-top-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 30%),
    radial-gradient(circle at bottom right, rgba(101, 127, 255, 0.16), transparent 32%);
  pointer-events: none;
}

.dashboard-top-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 214, 236, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 46px rgba(5, 10, 18, 0.22);
}

.dashboard-top-card img {
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  display: block;
  margin: 8px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(8, 14, 24, 0.08);
  filter: drop-shadow(0 14px 22px rgba(5, 10, 18, 0.22));
}

.dashboard-top-card-rank {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(7, 14, 24, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f7fbff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dashboard-top-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.dashboard-top-card-copy small {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.74);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-top-card-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 1.02rem;
  line-height: 1.05;
  color: #f5f9ff;
}

.dashboard-top-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-top-card-value {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 214, 92, 0.12);
  border: 1px solid rgba(255, 214, 92, 0.16);
  color: #ffe3a0;
  font-weight: 800;
}

.dashboard-top-card--lead {
  grid-template-columns: minmax(126px, 0.82fr) minmax(0, 1fr);
  align-items: stretch;
}

.dashboard-top-card-media {
  position: relative;
  min-height: 204px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(111, 134, 255, 0.18), transparent 34%),
    rgba(12, 21, 34, 0.88);
}

.dashboard-top-card--lead .dashboard-top-card-copy {
  align-content: end;
  background:
    radial-gradient(circle at top left, rgba(111, 134, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(19, 31, 50, 0.96), rgba(8, 14, 24, 0.98));
}

.dashboard-top-card--compact {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: stretch;
}

.dashboard-top-card--compact img {
  min-height: 116px;
}

.dashboard-alert-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-alert-summary-pill {
  display: inline-grid;
  gap: 4px;
  min-width: 88px;
  padding: 11px 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 15, 28, 0.68);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.dashboard-alert-summary-pill small {
  color: rgba(214, 227, 246, 0.66);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.dashboard-alert-summary-pill strong {
  color: #f5f9ff;
  font-size: 14px;
  line-height: 1.06;
}

.dashboard-alert-summary-pill--wanted {
  border-color: rgba(255, 210, 112, 0.16);
  background:
    radial-gradient(circle at top left, rgba(255, 189, 94, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(22, 15, 9, 0.76);
}

.dashboard-alert-summary-pill--sell {
  border-color: rgba(114, 215, 195, 0.16);
  background:
    radial-gradient(circle at top left, rgba(74, 210, 194, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 24, 0.76);
}

.dashboard-alert-group {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(147, 168, 196, 0.1);
  background:
    linear-gradient(180deg, rgba(13, 22, 36, 0.84), rgba(8, 15, 27, 0.9));
}

.dashboard-alert-group::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dashboard-alert-group--wanted::before {
  background: radial-gradient(circle at top left, rgba(255, 189, 94, 0.12), transparent 28%);
}

.dashboard-alert-group--sell::before {
  background: radial-gradient(circle at top left, rgba(74, 210, 194, 0.12), transparent 28%);
}

.dashboard-alert-group-head,
.dashboard-alert-list {
  position: relative;
  z-index: 1;
}

.dashboard-alert-list {
  display: grid;
  gap: 10px;
}

.dashboard-alert-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.1);
  background: rgba(8, 14, 24, 0.72);
}

.dashboard-alert-row--wanted {
  background:
    radial-gradient(circle at top left, rgba(255, 189, 94, 0.1), transparent 34%),
    rgba(22, 15, 9, 0.76);
}

.dashboard-alert-row--sell {
  background:
    radial-gradient(circle at top left, rgba(74, 210, 194, 0.1), transparent 34%),
    rgba(7, 14, 24, 0.76);
}

.dashboard-alert-copy {
  display: grid;
  gap: 5px;
}

.dashboard-alert-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dashboard-alert-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-alert-chip--wanted {
  background: rgba(255, 189, 94, 0.14);
  border: 1px solid rgba(255, 210, 112, 0.16);
  color: #ffe7ae;
}

.dashboard-alert-chip--sell {
  background: rgba(74, 210, 194, 0.14);
  border: 1px solid rgba(114, 215, 195, 0.16);
  color: #ddfff7;
}

.dashboard-alert-copy strong {
  font-size: 1rem;
  line-height: 1.05;
}

.dashboard-alert-copy small {
  color: rgba(214, 227, 246, 0.72);
}

.dashboard-alert-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.8);
  border: 1px solid rgba(147, 168, 196, 0.12);
  color: #f0f6ff;
  font-weight: 700;
  text-align: center;
}

@keyframes featured-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.hero-actions,
.button-row,
.inline-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button,
button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), #2952c8);
  color: #f5f9ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease;
}

.button:hover,
button:hover,
.button-link:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.topbar .nav-link:hover,
.topbar .desktop-menu-trigger:hover,
.topbar .nav-link:focus-visible,
.topbar .desktop-menu-trigger:focus-visible {
  transform: none;
  opacity: 1;
  border-color: rgba(122, 165, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(3, 8, 18, 0.18);
}

.button.secondary,
.button-link.secondary {
  background: transparent;
  border-color: rgba(147, 168, 196, 0.28);
  color: #f5f9ff;
}

.button.flat,
.button-link.flat {
  background: rgba(22, 35, 54, 0.94);
  color: var(--text);
  border-color: var(--line);
}

.section-share-link {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 999px;
  gap: 0;
  justify-content: center;
}

.section-share-link .sr-only,
.section-share-label {
  display: none;
}

.section-share-link .nav-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.section-share-link .nav-icon svg {
  width: 17px;
  height: 17px;
}

.browser-pref-shell {
  padding: 16px 18px;
}

.browser-pref-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
}

.browser-pref-games {
  gap: 8px;
  min-width: 0;
}

.browser-pref-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.icon-control-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(8, 14, 24, 0.52);
  border: 1px solid rgba(147, 168, 196, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.icon-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background: rgba(10, 18, 29, 0.82);
  color: rgba(226, 236, 250, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 20px rgba(3, 8, 18, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.icon-control:hover {
  transform: translateY(-1px);
  border-color: rgba(188, 202, 228, 0.24);
  color: #f7fbff;
}

.icon-control.is-active {
  border-color: rgba(101, 127, 255, 0.26);
  background:
    radial-gradient(circle at top left, rgba(101, 127, 255, 0.18), transparent 56%),
    linear-gradient(180deg, rgba(17, 29, 48, 0.96), rgba(9, 16, 28, 0.98));
  color: #f7fbff;
  box-shadow:
    0 18px 28px rgba(3, 8, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.icon-control .nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

@media (max-width: 960px) {
  .browser-pref-row {
    grid-template-columns: 1fr;
  }

  .browser-pref-toolbar {
    justify-content: flex-start;
  }
}

.set-progress-actions {
  gap: 8px;
}

.set-progress-actions .set-progress-link {
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 999px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: 1.1fr 0.9fr;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.stat,
.list-card,
.editor-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 22px;
}

.page-scope-panel,
.page-section-panel,
.page-showcase-panel,
.page-editor-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(19, 31, 50, 0.94), rgba(11, 20, 34, 0.92)),
    rgba(17, 27, 42, 0.94);
  border-color: color-mix(in srgb, var(--page-border) 92%, transparent);
  box-shadow:
    0 24px 56px rgba(3, 8, 18, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-scope-panel::before,
.page-section-panel::before,
.page-showcase-panel::before,
.page-editor-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, var(--page-glow), transparent 28%),
    radial-gradient(circle at bottom left, var(--page-glow-secondary), transparent 30%);
  pointer-events: none;
}

.dashboard-vault-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(156, 177, 208, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 29, 47, 0.96), rgba(8, 14, 24, 0.98)),
    rgba(10, 18, 30, 0.94);
  box-shadow:
    0 28px 64px rgba(3, 8, 18, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px) saturate(122%);
}

.dashboard-vault-shell::before,
.dashboard-vault-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dashboard-vault-shell::before {
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 18px),
    radial-gradient(circle at top right, rgba(111, 134, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.12), transparent 30%);
  opacity: 0.92;
  animation: premium-shell-breathe 18s ease-in-out infinite;
}

.dashboard-vault-shell::after {
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(182, 200, 226, 0.08);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), transparent 92%);
  opacity: 0.84;
}

.dashboard-vault-shell > * {
  position: relative;
  z-index: 1;
}

.dashboard-vault-shell--cards::before {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 209, 104, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(111, 134, 255, 0.12), transparent 30%);
}

.dashboard-vault-shell--alerts::before {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 169, 92, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.14), transparent 30%);
}

.dashboard-vault-shell--widgets::before {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(120, 151, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(182, 120, 255, 0.14), transparent 30%);
}

.dashboard-vault-shell--style::before {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 214, 92, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 124, 84, 0.14), transparent 30%);
}

.dashboard-vault-shell--ops::before,
.dashboard-vault-shell--collection::before {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at top right, rgba(111, 134, 255, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.16), transparent 30%);
}

.stat {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2));
}

.stat small,
.muted {
  color: var(--muted);
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.page-scope-panel .section-head,
.page-section-panel .section-head,
.page-showcase-panel .section-head,
.page-editor-panel .section-head {
  position: relative;
  z-index: 1;
  align-items: center;
}

.page-scope-panel .section-head::after,
.page-section-panel .section-head::after,
.page-showcase-panel .section-head::after,
.page-editor-panel .section-head::after {
  content: "";
  flex: 1 1 auto;
  min-width: 28px;
  height: 1px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--page-border) 82%, transparent), rgba(255, 255, 255, 0.04), transparent);
  opacity: 0.82;
}

.page-scope-panel .tag-row,
.page-section-panel .tag-row,
.page-showcase-panel .tag-row,
.page-editor-panel .tag-row {
  position: relative;
  z-index: 1;
}

.page-scope-panel .button-row,
.page-section-panel .button-row,
.page-showcase-panel .button-row,
.page-editor-panel .button-row {
  position: relative;
  z-index: 1;
}

.section-title {
  margin: 0;
  font-size: 28px;
}

.split {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list-card {
  padding: 18px;
}

.list-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.list-card li {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(13, 22, 36, 0.6);
  border: 1px solid rgba(147, 168, 196, 0.1);
}

.set-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.set-directory-shell,
.sets-filter-shell,
.shop-category-shell,
.showoff-nav-shell {
  background:
    radial-gradient(circle at top left, rgba(101, 127, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(12, 21, 34, 0.82), rgba(8, 14, 24, 0.94));
}

.set-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(101, 127, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(12, 21, 34, 0.78), rgba(8, 14, 24, 0.9));
  border: 1px solid rgba(147, 168, 196, 0.14);
  box-shadow:
    0 22px 38px rgba(3, 8, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
  isolation: isolate;
}

.set-card-main {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  text-decoration: none;
}

.set-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 166, 180, 0.35);
  box-shadow:
    0 28px 44px rgba(3, 8, 18, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.set-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 26%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 22px);
  opacity: 0.4;
  pointer-events: none;
}

.set-logo {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background: rgba(17, 27, 42, 0.95);
}

.set-badge {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #eff5ff;
  background:
    radial-gradient(circle at top left, rgba(111, 134, 255, 0.45), transparent 60%),
    linear-gradient(135deg, rgba(31, 111, 235, 0.32), rgba(62, 166, 180, 0.18)),
    rgba(17, 27, 42, 0.95);
  border: 1px solid rgba(147, 168, 196, 0.14);
}

.set-code-tile {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 0.98;
  text-transform: uppercase;
  color: #eff5ff;
  background:
    radial-gradient(circle at top left, rgba(111, 134, 255, 0.22), transparent 58%),
    linear-gradient(155deg, rgba(18, 31, 52, 0.96), rgba(11, 19, 31, 0.92));
  border: 1px solid rgba(147, 168, 196, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.set-code-tile--hero {
  width: 120px;
  height: 120px;
  border-radius: 30px;
  font-size: 24px;
}

.set-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.set-copy strong {
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.set-copy small,
.set-copy span {
  color: var(--muted);
  display: -webkit-box;
  min-width: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

body.page-sets .set-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
}

body.page-sets .set-card {
  gap: 8px;
  padding: 8px 8px 12px;
  border-radius: 8px;
  background:
    radial-gradient(circle at top left, rgba(95, 153, 255, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(25, 33, 50, 0.96), rgba(13, 18, 30, 0.98));
  border: 0;
  box-shadow: 0 10px 24px rgba(3, 8, 18, 0.22);
}

body.page-sets .set-card-main {
  grid-template-columns: 1fr;
  gap: 8px;
}

body.page-sets .set-logo,
body.page-sets .set-badge,
body.page-sets .set-code-tile {
  width: 100%;
  height: auto;
  aspect-ratio: 0.72;
  border-radius: 7px;
}

body.page-sets .set-logo {
  object-fit: contain;
  object-position: center;
}

body.page-sets .set-copy {
  justify-items: center;
  gap: 4px;
  text-align: center;
}

body.page-sets .set-copy strong {
  color: #f8fafc;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.12;
}

body.page-sets .set-copy small,
body.page-sets .set-copy span {
  color: #aebbd0;
  font-size: 13px;
  line-height: 1.1;
  -webkit-line-clamp: 1;
}

.set-nav-wrap {
  margin-bottom: 14px;
  padding: 18px 20px;
}

.set-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.set-nav::-webkit-scrollbar {
  display: none;
}

.set-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(13, 22, 36, 0.62);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.set-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.18);
  color: #eff5ff;
  font-size: 12px;
  font-weight: 700;
}

.set-section {
  margin-top: 16px;
}

.completion-block {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(12, 21, 34, 0.72);
  border: 1px solid rgba(147, 168, 196, 0.1);
}

.completion-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.completion-meta strong {
  font-size: 18px;
}

.completion-bar {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(143, 162, 191, 0.16);
}

.completion-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-3), var(--accent-2));
}

.collection-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.collection-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(12, 21, 34, 0.72);
  border: 1px solid rgba(147, 168, 196, 0.1);
  align-items: start;
}

.collection-card.owned {
  background: rgba(14, 24, 40, 0.88);
}

.collection-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.collection-card-topline .tag-row {
  min-width: 0;
  flex-wrap: wrap;
}

.collection-card-topline .managed-remove-trigger {
  flex-shrink: 0;
}

.collection-thumb {
  display: block;
  min-height: 134px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: linear-gradient(160deg, rgba(31, 111, 235, 0.16), rgba(62, 166, 180, 0.12));
}

.collection-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  filter: drop-shadow(0 14px 22px rgba(5, 10, 18, 0.22));
}

.collection-thumb.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.collection-card-copy {
  display: grid;
  gap: 10px;
}

.collection-card-copy h4 {
  margin: 0;
  font-size: 20px;
  font-family: "Fraunces", serif;
}

.collection-card-copy p {
  margin: 0;
}

.collection-binder-shell {
  padding-top: 16px;
}

.collection-binder-head {
  align-items: center;
  gap: 10px;
  padding: 12px 12px 10px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 14, 24, 0.34);
  border: 1px solid rgba(147, 168, 196, 0.08);
}

.collection-binder-head-copy {
  display: grid;
  gap: 8px;
}

.collection-binder-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(19, 32, 52, 0.86);
  border: 1px solid rgba(147, 168, 196, 0.18);
  color: #eff5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-binder-head-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.collection-binder-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(172px, 172px));
  justify-content: start;
}

.collection-binder-card {
  position: relative;
  display: grid;
  gap: 8px;
  transition: transform 180ms ease;
}

.collection-binder-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 15px;
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background: linear-gradient(160deg, rgba(31, 111, 235, 0.16), rgba(62, 166, 180, 0.12));
  aspect-ratio: 0.72;
  box-shadow: 0 18px 34px rgba(3, 8, 18, 0.22);
  isolation: isolate;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.collection-binder-thumb::before,
.collection-binder-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.collection-binder-thumb::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(120, 190, 255, 0.16), transparent 44%),
    linear-gradient(118deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0.68;
  z-index: 1;
}

.collection-binder-thumb::after {
  inset: auto 8% -20% 8%;
  height: 44%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(5, 10, 18, 0.42), transparent 72%);
  opacity: 0.54;
  z-index: 0;
}

.collection-binder-thumb img,
.collection-binder-empty {
  display: block;
  width: 100%;
  height: 100%;
}

.collection-binder-thumb img {
  object-fit: contain;
  object-position: center top;
  position: relative;
  z-index: 0;
  border-radius: 11px;
  filter: drop-shadow(0 14px 22px rgba(5, 10, 18, 0.22));
}

.collection-binder-card:hover {
  transform: translateY(-3px);
}

.collection-binder-card:hover .collection-binder-thumb {
  transform: translateY(-2px) scale(1.014);
  border-color: rgba(190, 214, 255, 0.22);
  box-shadow:
    0 24px 42px rgba(3, 8, 18, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.collection-binder-card .managed-remove-trigger {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
}

.collection-binder-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  background: rgba(9, 16, 28, 0.86);
}

.collection-binder-code {
  display: inline-flex;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collection-binder-qty,
.collection-binder-version {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(20px, 5vw, 24px);
  max-width: calc(100% - 16px);
  padding: 0 clamp(6px, 2vw, 9px);
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.88);
  border: 1px solid rgba(147, 168, 196, 0.18);
  color: #f5f9ff;
  font-size: clamp(0.56rem, 2.2vw, 0.75rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection-binder-qty {
  top: 10px;
  right: 10px;
}

.collection-binder-version {
  left: 10px;
  bottom: 10px;
}

.set-progress-actions {
  margin-bottom: 12px;
}

.set-progress-actions .button-link {
  min-height: 40px;
}

.card-inline-form {
  margin-top: 2px;
}

.binder-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.binder-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 26px;
  background: rgba(12, 21, 34, 0.8);
  border: 1px solid rgba(147, 168, 196, 0.1);
}

.binder-card.missing {
  opacity: 0.72;
}

.binder-card.missing .binder-thumb img,
.binder-card.missing .binder-thumb.empty {
  filter: grayscale(1);
}

.binder-thumb {
  display: block;
  min-height: 0;
  aspect-ratio: 0.72;
  overflow: hidden;
  border-radius: 18px;
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: linear-gradient(160deg, rgba(31, 111, 235, 0.16), rgba(62, 166, 180, 0.12));
}

.binder-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  filter: drop-shadow(0 14px 22px rgba(5, 10, 18, 0.22));
}

.binder-thumb.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.binder-copy {
  display: grid;
  gap: 10px;
}

.binder-copy h4 {
  margin: 0;
  font-size: 18px;
  font-family: "Fraunces", serif;
}

.binder-copy p {
  margin: 0;
}

.binder-actions form {
  width: 100%;
}

.code {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(111, 134, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.lookup {
  display: grid;
  gap: 14px;
  grid-template-columns: 140px 1fr 140px 140px;
  margin-top: 18px;
}

.lookup-quick {
  grid-template-columns: 160px minmax(260px, 1.8fr) 160px auto;
  align-items: end;
}

.lookup-quick .lookup-code-field {
  min-width: 0;
}

.lookup-quick .lookup-code-field input {
  min-width: 0;
}

.lookup-quick .lookup-action-field {
  justify-content: flex-start;
}

.lookup-quick .lookup-action-field button {
  min-width: 150px;
}

.lookup-name {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lookup-name-actions {
  grid-column: 2 / span 2;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.lookup-submit {
  align-items: end;
}

.filter-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background: rgba(8, 14, 24, 0.7);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(143, 162, 191, 0.72);
}

.flash {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(62, 166, 180, 0.28);
  background: rgba(20, 45, 64, 0.84);
}

.price-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.price-big {
  font-size: 36px;
  line-height: 1;
  margin: 10px 0 8px;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.14);
  color: #b8d0ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.game-tag {
  gap: 8px;
}

.tag.active {
  background: linear-gradient(135deg, var(--accent), #2952c8);
  color: #f5f9ff;
}

.card-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.set-hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
}

.set-hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 30px;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background: rgba(17, 27, 42, 0.95);
}

.set-badge-large {
  width: 120px;
  height: 120px;
  border-radius: 30px;
  font-size: 32px;
}

.card-art {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(31, 111, 235, 0.16), rgba(62, 166, 180, 0.12));
  min-height: 0;
  aspect-ratio: 0.72;
  box-shadow: 0 24px 42px rgba(5, 10, 18, 0.22);
}

.card-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 12px;
  filter: drop-shadow(0 16px 28px rgba(5, 10, 18, 0.24));
}

.card-art.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.market-card-topline {
  margin: 8px 0 10px;
  color: rgba(184, 208, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.market-card-meta {
  margin: 0 0 14px;
}

.market-card-meta .code {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(10, 18, 29, 0.76);
  border: 1px solid rgba(147, 168, 196, 0.12);
  color: rgba(235, 243, 255, 0.88);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.market-card-description {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  color: rgba(220, 232, 248, 0.82);
  line-height: 1.5;
}

.card-quick-actions,
.card-utility-actions {
  display: grid;
  gap: 10px;
}

.card-quick-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.card-utility-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.card-quick-actions > *,
.card-utility-actions > * {
  width: 100%;
}

.card-action-form {
  min-height: 100%;
}

.collection-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.collection-hero-stat {
  padding: 10px 11px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(95, 153, 255, 0.18), transparent 58%),
    rgba(7, 13, 24, 0.56);
  border: 1px solid rgba(147, 168, 196, 0.1);
}

.collection-hero-stat small {
  display: block;
  color: rgba(217, 229, 247, 0.66);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collection-hero-stat strong {
  display: block;
  margin-top: 4px;
  color: #f8fbff;
  font-size: 1.02rem;
}

.card-action-switcher {
  display: grid;
  gap: 12px;
}

.card-action-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.card-quick-actions--premium {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-quick-link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(255, 186, 84, 0.14), transparent 42%),
    rgba(8, 15, 28, 0.72);
  color: inherit;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 28px rgba(5, 10, 18, 0.14);
  transition: transform 180ms ease, border-color 180ms ease;
  overflow: hidden;
  isolation: isolate;
}

.card-quick-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 186, 84, 0.22);
}

.card-quick-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.1), transparent 34%);
  opacity: 0.42;
  pointer-events: none;
}

.card-quick-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(10, 18, 29, 0.82);
  border: 1px solid rgba(147, 168, 196, 0.14);
}

.card-quick-link-icon .nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.card-quick-link-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.card-quick-link-copy small {
  color: rgba(214, 227, 246, 0.66);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.card-quick-link-copy strong {
  color: #f6fbff;
  font-size: 14px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.card-action-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background: rgba(11, 19, 31, 0.84);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.card-action-tab .nav-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.card-action-tab.is-active {
  border-color: rgba(41, 82, 200, 0.38);
  background: linear-gradient(135deg, rgba(49, 101, 228, 0.24), rgba(33, 62, 134, 0.9));
  color: #f5f9ff;
  box-shadow: 0 14px 28px rgba(7, 15, 29, 0.22);
}

.card-action-pane {
  display: none;
}

.card-action-pane.is-active {
  display: block;
}

.search-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.search-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(101, 127, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(12, 21, 34, 0.78), rgba(8, 14, 24, 0.9));
  border: 1px solid rgba(147, 168, 196, 0.12);
  box-shadow:
    0 22px 38px rgba(3, 8, 18, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.search-card:hover {
  transform: translateY(-3px);
  border-color: rgba(188, 202, 228, 0.18);
  box-shadow:
    0 28px 44px rgba(3, 8, 18, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.search-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  padding: 4px;
  min-height: 0;
  aspect-ratio: 0.72;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background:
    linear-gradient(160deg, rgba(31, 111, 235, 0.18), rgba(62, 166, 180, 0.14)),
    rgba(9, 16, 28, 0.92);
  isolation: isolate;
}

.search-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 11px;
  filter: drop-shadow(0 14px 22px rgba(5, 10, 18, 0.22));
}

.search-thumb::before,
.search-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.search-thumb::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(180deg, transparent 44%, rgba(7, 13, 24, 0.16) 64%, rgba(7, 13, 24, 0.86) 100%);
  z-index: 1;
}

.search-thumb::after {
  inset: auto -18% -30% 34%;
  height: 46%;
  background: radial-gradient(circle, rgba(101, 127, 255, 0.2), transparent 70%);
  z-index: 0;
}

.search-thumb.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.search-thumb-empty {
  display: grid;
  min-height: 100%;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.search-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  max-width: calc(100% - 22px);
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.84);
  border: 1px solid rgba(147, 168, 196, 0.16);
  color: #f5f9ff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-badge--code {
  top: 10px;
  left: 10px;
}

.search-badge--accent {
  right: 10px;
  bottom: 10px;
  border-color: rgba(101, 127, 255, 0.2);
  background: rgba(12, 21, 34, 0.88);
  color: #e9efff;
}

.search-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.search-copy small {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.66);
  border: 1px solid rgba(147, 168, 196, 0.12);
  color: rgba(214, 227, 246, 0.74);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-copy h3 {
  margin: 0;
  font-size: 22px;
  font-family: "Fraunces", serif;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.search-copy p {
  margin: 0 0 12px;
}

.search-card-tags .tag {
  background: rgba(101, 127, 255, 0.12);
}

.search-filter-shell,
.market-scope-shell {
  background:
    radial-gradient(circle at top left, rgba(101, 127, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(12, 21, 34, 0.82), rgba(8, 14, 24, 0.94));
}

.search-results-shell {
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(11, 19, 31, 0.94), rgba(8, 15, 27, 0.98));
}

.premium-search-page {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.premium-search-toolbar,
.premium-search-results {
  border: 1px solid rgba(145, 169, 202, 0.16);
  background:
    linear-gradient(135deg, rgba(18, 29, 46, 0.96), rgba(9, 16, 28, 0.98)),
    #0b1321;
  box-shadow:
    0 26px 64px rgba(2, 8, 18, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.premium-search-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 28px;
}

.premium-search-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.premium-search-game-mark {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 24px;
  border: 1px solid rgba(145, 169, 202, 0.16);
  background:
    linear-gradient(160deg, rgba(47, 105, 214, 0.2), rgba(49, 201, 183, 0.1)),
    rgba(6, 13, 24, 0.72);
}

.premium-search-game-logo {
  display: block;
  width: 72px;
  max-height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(1, 4, 12, 0.45));
}

.premium-search-game-badge {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: #eef6ff;
  background: rgba(39, 95, 211, 0.22);
  border: 1px solid rgba(139, 180, 255, 0.24);
  font-weight: 900;
}

.premium-search-context {
  display: block;
  color: #9db9e8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}

.premium-search-heading h1 {
  margin: 8px 0 0;
  color: #f3f7ff;
  font-family: "Fraunces", serif;
  font-size: 52px;
  line-height: 0.98;
}

.premium-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.premium-search-searchline {
  display: grid;
  grid-template-columns: minmax(154px, 0.34fr) minmax(180px, 1fr) 58px;
  gap: 8px;
  min-width: 0;
}

.premium-search-control {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.premium-search-control > span:not(.sr-only),
.premium-search-filter-panel label > span {
  color: rgba(220, 230, 246, 0.64);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.premium-search-control select,
.premium-search-control input,
.premium-search-filter-panel input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(145, 169, 202, 0.14);
  border-radius: 14px;
  background: rgba(5, 11, 21, 0.82);
  color: #f3f7ff;
  font: inherit;
  font-size: 1rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.premium-search-control select {
  padding: 0 34px 0 14px;
}

.premium-search-control input,
.premium-search-filter-panel input {
  padding: 0 14px;
}

.premium-search-control input::placeholder,
.premium-search-filter-panel input::placeholder {
  color: rgba(190, 205, 229, 0.42);
}

.premium-search-control select:focus,
.premium-search-control input:focus,
.premium-search-filter-panel input:focus {
  border-color: rgba(83, 156, 255, 0.48);
  box-shadow:
    0 0 0 3px rgba(45, 120, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.premium-search-submit,
.premium-search-filter-toggle,
.premium-search-link,
.premium-search-page-button,
.premium-search-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(123, 168, 255, 0.2);
  color: #f5f9ff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
}

.premium-search-submit {
  align-self: end;
  width: 58px;
  padding: 0;
  background: linear-gradient(135deg, #2f7df6, #1d54cf);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(28, 90, 210, 0.24);
}

.premium-search-filters {
  min-width: 0;
}

.premium-search-filters[open] {
  grid-column: 1 / -1;
}

.premium-search-filters[open] .premium-search-filter-toggle {
  margin-left: auto;
}

.premium-search-filter-toggle {
  gap: 8px;
  width: 48px;
  min-width: 48px;
  padding: 0;
  list-style: none;
  background: rgba(11, 21, 36, 0.88);
}

.premium-search-filter-toggle::-webkit-details-marker {
  display: none;
}

.premium-search-submit .nav-icon,
.premium-search-filter-toggle .nav-icon,
.premium-search-link .nav-icon,
.premium-search-page-button .nav-icon,
.premium-search-card-action .nav-icon,
.premium-search-empty .nav-icon {
  width: 18px;
  height: 18px;
}

.premium-search-submit .nav-icon {
  color: #ffffff;
}

.premium-search-filter-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(145, 169, 202, 0.12);
  background: rgba(6, 13, 24, 0.86);
}

.premium-search-filter-panel label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.premium-search-link {
  min-width: 48px;
  width: 48px;
  padding: 0;
  background: rgba(21, 35, 56, 0.92);
}

.premium-search-link--icon {
  padding: 0;
}

.premium-search-active-filters {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.premium-search-active-filters span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(145, 169, 202, 0.12);
  background: rgba(7, 14, 25, 0.62);
  color: rgba(229, 237, 249, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
}

.premium-search-active-filters strong {
  color: #8db8ff;
  font-weight: 900;
}

.premium-search-results {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 26px;
}

.premium-search-results-head {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
}

.premium-search-results-head span {
  display: block;
  color: #8db8ff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-search-results-head h2 {
  margin: 3px 0 0;
  color: #f3f7ff;
  font-size: 1.45rem;
  line-height: 1.1;
}

.premium-search-results-head small {
  color: rgba(220, 230, 246, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
}

.premium-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 14px;
}

.premium-search-pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 8px;
}

.premium-search-pager::-webkit-scrollbar {
  display: none;
}

.premium-search-page-button {
  flex: 0 0 auto;
  min-width: 42px;
  padding: 0 12px;
  background: rgba(11, 21, 36, 0.9);
  appearance: none;
  text-decoration: none;
}

.premium-search-page-button--icon {
  width: 48px;
  min-width: 48px;
  padding: 0;
}

.premium-search-page-button:hover,
.premium-search-link:hover,
.premium-search-filter-toggle:hover {
  border-color: rgba(123, 168, 255, 0.4);
  background: rgba(26, 47, 79, 0.92);
}

.premium-search-page-button.is-active {
  border-color: rgba(91, 146, 255, 0.54);
  background: linear-gradient(135deg, rgba(47, 125, 246, 0.94), rgba(29, 84, 207, 0.94));
  box-shadow: 0 12px 22px rgba(28, 90, 210, 0.22);
}

.premium-search-page-button.is-disabled {
  cursor: default;
  opacity: 0.34;
  pointer-events: none;
}

.premium-search-page-button--ellipsis {
  cursor: pointer;
  color: rgba(220, 230, 246, 0.78);
}

.premium-page-jump {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.premium-page-jump[hidden] {
  display: none;
}

.premium-page-jump.is-open {
  opacity: 1;
  pointer-events: auto;
}

.premium-page-jump-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
  backdrop-filter: blur(12px);
}

.premium-page-jump-panel {
  position: relative;
  z-index: 1;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(126, 170, 255, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 29, 50, 0.98), rgba(7, 14, 26, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.premium-page-jump-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: rgba(238, 244, 255, 0.86);
  cursor: pointer;
  font-weight: 900;
}

.premium-page-jump-panel h3 {
  margin: 0;
  padding-right: 42px;
  color: #f8fbff;
  font-size: 1.15rem;
  font-weight: 900;
}

.premium-page-jump-field {
  display: grid;
  gap: 8px;
  color: rgba(220, 230, 246, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-page-jump-field input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(98, 143, 227, 0.26);
  border-radius: 14px;
  background: rgba(6, 13, 25, 0.86);
  color: #f8fbff;
  font-size: 1.15rem;
  font-weight: 900;
  outline: none;
  padding: 0 14px;
}

.premium-page-jump-field input:focus {
  border-color: rgba(69, 213, 232, 0.78);
  box-shadow: 0 0 0 3px rgba(69, 213, 232, 0.14);
}

.premium-page-jump-field input[aria-invalid="true"] {
  border-color: rgba(255, 105, 128, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 105, 128, 0.13);
}

.premium-page-jump-helper,
.premium-page-jump-error {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.premium-page-jump-helper {
  color: rgba(220, 230, 246, 0.7);
}

.premium-page-jump-error {
  color: #ff9aaa;
}

.premium-page-jump-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.premium-page-jump-action {
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
}

.premium-page-jump-action--secondary {
  background: rgba(15, 23, 42, 0.82);
  color: rgba(238, 244, 255, 0.82);
}

.premium-page-jump-action--primary {
  border-color: rgba(69, 213, 232, 0.55);
  background: linear-gradient(135deg, rgba(69, 213, 232, 0.94), rgba(53, 109, 255, 0.94));
  color: #04111f;
  box-shadow: 0 14px 30px rgba(48, 128, 255, 0.24);
}

@media (max-width: 640px) {
  .premium-search-pager {
    justify-content: flex-start;
    gap: 4px;
    padding: 2px 2px 8px;
  }

  .premium-search-page-button {
    min-width: 34px;
    min-height: 42px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .premium-search-page-button--icon {
    width: 38px;
    min-width: 38px;
    padding: 0;
  }
}

.premium-search-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(145, 169, 202, 0.14);
  background:
    linear-gradient(180deg, rgba(24, 35, 54, 0.94), rgba(13, 22, 36, 0.98)),
    #111a2b;
  box-shadow: 0 18px 36px rgba(2, 8, 18, 0.22);
  transition: transform 170ms ease, border-color 170ms ease;
}

.premium-search-card:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 168, 255, 0.3);
}

.premium-search-thumb {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 0.72;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    rgba(4, 10, 19, 0.74);
}

.premium-search-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.24));
}

.premium-search-thumb-empty {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(220, 230, 246, 0.68);
  font-weight: 800;
}

.premium-search-source {
  position: absolute;
  top: 8px;
  right: 8px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(5, 11, 21, 0.76);
  color: rgba(242, 248, 255, 0.86);
  font-size: 0.66rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-search-card-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.premium-search-set-row {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  color: rgba(220, 230, 246, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.premium-search-set-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-search-card-logo {
  display: block;
  flex: 0 0 auto;
  width: 22px;
  max-height: 16px;
  object-fit: contain;
}

.premium-search-card-monogram {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  background: rgba(79, 139, 255, 0.18);
  color: #d9e8ff;
  font-size: 0.62rem;
  font-weight: 900;
}

.premium-search-card h2 {
  min-height: 2.34em;
  margin: 0;
  overflow: hidden;
  color: #f5f9ff;
  display: -webkit-box;
  font-size: 1.03rem;
  line-height: 1.17;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.premium-search-card h2 a {
  color: inherit;
}

.premium-search-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 25px;
}

.premium-search-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(145, 169, 202, 0.1);
  background: rgba(7, 14, 25, 0.58);
  color: rgba(229, 237, 249, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
}

.premium-search-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.premium-search-action-form {
  display: contents;
}

.premium-search-card-action {
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  background: rgba(28, 45, 70, 0.9);
}

.premium-search-card-action--primary {
  flex: 1 1 auto;
  background: linear-gradient(135deg, #3ea8ff, #2f7df6);
  color: #061120;
}

.premium-search-card-action--primary .nav-icon {
  color: #ffffff;
}

.premium-search-card-action--icon {
  flex: 0 0 42px;
  padding: 0;
  color: #f5f9ff;
}

.premium-search-empty {
  display: grid;
  min-height: 240px;
  place-items: center;
  gap: 10px;
  padding: 32px 18px;
  text-align: center;
  border-radius: 20px;
  border: 1px dashed rgba(145, 169, 202, 0.18);
  background: rgba(7, 14, 25, 0.42);
}

.premium-search-empty .nav-icon {
  width: 34px;
  height: 34px;
  color: #8db8ff;
}

.premium-search-empty h2 {
  margin: 0;
  color: #f3f7ff;
  font-size: 1.4rem;
}

.premium-search-empty p {
  max-width: 42ch;
  margin: 0;
  color: rgba(220, 230, 246, 0.7);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .premium-search-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .premium-search-heading h1 {
    font-size: 42px;
  }

  .premium-search-controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .premium-search-filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  .premium-search-link {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .premium-search-page {
    gap: 14px;
    margin-top: 10px;
  }

  .premium-search-toolbar,
  .premium-search-results {
    border-radius: 22px;
  }

  .premium-search-toolbar {
    gap: 16px;
    padding: 14px;
  }

  .premium-search-heading {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .premium-search-game-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .premium-search-game-logo {
    width: 48px;
    max-height: 36px;
  }

  .premium-search-game-badge {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 0.78rem;
  }

  .premium-search-heading h1 {
    margin: 5px 0 2px;
    font-size: 32px;
    line-height: 1;
  }

  .premium-search-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .premium-search-searchline {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 8px;
  }

  .premium-search-control--game {
    grid-column: 1 / -1;
  }

  .premium-search-submit {
    padding: 0;
  }

  .premium-search-filters {
    grid-column: 2;
    justify-self: end;
    align-self: end;
  }

  .premium-search-filter-toggle {
    width: 48px;
    padding: 0;
  }

  .premium-search-filter-toggle span:not(.nav-icon) {
    display: none;
  }

  .premium-search-filter-panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .premium-search-active-filters {
    display: none;
  }

  .premium-search-results {
    gap: 14px;
    padding: 12px;
  }

  .premium-search-results-head h2 {
    font-size: 1.12rem;
  }

  .premium-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .premium-search-card {
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .premium-search-thumb {
    border-radius: 14px;
  }

  .premium-search-card-body {
    gap: 7px;
  }

  .premium-search-set-row {
    font-size: 0.74rem;
  }

  .premium-search-card h2 {
    font-size: 0.94rem;
  }

  .premium-search-card-meta {
    gap: 5px;
  }

  .premium-search-card-meta span {
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.68rem;
  }

  .premium-search-card-action {
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .premium-search-card-action--icon {
    flex-basis: 38px;
  }
}

.market-game-row {
  gap: 12px;
}

.market-set-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.market-card-grid-shell {
  position: relative;
  padding-top: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(11, 19, 31, 0.94), rgba(8, 15, 27, 0.98));
}

.market-card-grid-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.1), transparent 18%);
  pointer-events: none;
}

.market-card-grid-shell > * {
  position: relative;
  z-index: 1;
}

.market-active-set-bar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(82, 149, 255, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(74, 210, 194, 0.08), transparent 32%),
    rgba(10, 18, 29, 0.8);
  border: 1px solid rgba(147, 168, 196, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 48px rgba(3, 8, 18, 0.24);
  isolation: isolate;
}

.market-active-set-bar::before {
  content: "";
  position: absolute;
  right: -24px;
  top: -26px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 127, 255, 0.24), rgba(101, 127, 255, 0) 70%);
  filter: blur(4px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.market-active-set-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.market-active-set-logo,
.market-active-set-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: contain;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background: rgba(10, 18, 30, 0.86);
}

.market-active-set-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eff5ff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.market-active-set-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.market-active-set-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: min(100%, 260px);
}

.market-active-set-stat {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(8, 15, 28, 0.68);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.market-active-set-stat strong {
  font-size: 16px;
  line-height: 1;
  color: #f5f9ff;
}

.market-active-set-stat small {
  color: rgba(214, 227, 246, 0.68);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-active-set-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(19, 32, 52, 0.86);
  border: 1px solid rgba(147, 168, 196, 0.18);
  color: #eff5ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-active-set-copy strong {
  font-family: "Fraunces", serif;
  font-size: clamp(1.12rem, 4.2vw, 1.625rem);
  line-height: 1.02;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
}

.market-active-set-copy small {
  color: var(--muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-active-set-swap {
  min-height: 40px;
  position: relative;
  z-index: 1;
}

.market-set-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
}

.market-set-card {
  position: relative;
  border-radius: 22px;
  background: rgba(12, 21, 34, 0.72);
  border: 1px solid rgba(147, 168, 196, 0.1);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 20px 34px rgba(3, 8, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.market-set-card:hover {
  transform: translateY(-3px);
  border-color: rgba(188, 202, 228, 0.18);
  box-shadow:
    0 28px 42px rgba(3, 8, 18, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.market-set-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 24px);
  opacity: 0.36;
  pointer-events: none;
}

.market-set-link {
  display: grid;
  gap: 12px;
  padding: 14px;
  min-height: 100%;
}

.market-set-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  padding: 4px;
  min-height: 0;
  aspect-ratio: 0.72;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background:
    linear-gradient(160deg, rgba(31, 111, 235, 0.16), rgba(62, 166, 180, 0.12)),
    rgba(8, 14, 26, 0.92);
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 28px rgba(3, 8, 18, 0.18);
}

.market-set-thumb::before,
.market-set-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.market-set-thumb::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(123, 196, 255, 0.14), transparent 42%),
    linear-gradient(180deg, transparent 44%, rgba(7, 13, 24, 0.16) 64%, rgba(7, 13, 24, 0.84) 100%);
  mix-blend-mode: screen;
  opacity: 0.72;
  z-index: 1;
}

.market-set-thumb::after {
  inset: auto -20% -34% 34%;
  height: 48%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(101, 127, 255, 0.22), transparent 70%);
  opacity: 0.66;
  z-index: 0;
}

.market-set-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal;
  position: relative;
  z-index: 0;
}

.market-set-thumb.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.market-set-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.market-set-copy small {
  color: rgba(214, 227, 246, 0.68);
  font-size: clamp(0.68rem, 2vw, 0.74rem);
  line-height: 1.24;
  display: -webkit-box;
  min-width: 0;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-set-copy strong {
  font-size: clamp(0.96rem, 2.8vw, 1.08rem);
  line-height: 1.08;
  color: #f4f8ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.3em;
}

.market-set-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.market-set-code {
  color: #dbe8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-set-price,
.market-set-open {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.market-set-price {
  background: rgba(74, 210, 194, 0.14);
  border: 1px solid rgba(74, 210, 194, 0.18);
  color: #d8fff4;
}

.market-set-open {
  background: rgba(101, 127, 255, 0.14);
  border: 1px solid rgba(101, 127, 255, 0.18);
  color: #e8eeff;
}

.market-set-spotlight {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  max-width: calc(100% - 20px);
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(10, 18, 30, 0.84);
  border: 1px solid rgba(74, 210, 194, 0.2);
  color: #dcfff7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.market-set-spotlight--empty {
  border-color: rgba(147, 168, 196, 0.16);
  color: rgba(230, 239, 251, 0.76);
}

.market-set-version {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(20px, 5vw, 24px);
  max-width: calc(100% - 20px);
  padding: 0 clamp(6px, 2vw, 9px);
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.84);
  border: 1px solid rgba(147, 168, 196, 0.18);
  color: #f5f9ff;
  font-size: clamp(0.54rem, 2.1vw, 0.69rem);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-intent-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.list-intent-pill {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 14, 24, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 32px rgba(5, 10, 18, 0.16);
}

.list-intent-pill strong {
  font-size: 13px;
  line-height: 1.02;
  color: #f7fbff;
}

.list-intent-pill small {
  color: rgba(214, 227, 246, 0.7);
  font-size: 11px;
  line-height: 1.28;
}

.list-intent-strip--wishlist .list-intent-pill {
  background:
    radial-gradient(circle at top left, rgba(255, 173, 92, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(19, 12, 20, 0.64);
  border-color: rgba(255, 191, 128, 0.16);
}

.list-intent-strip--listing .list-intent-pill {
  background:
    radial-gradient(circle at top left, rgba(86, 221, 194, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 22, 0.64);
  border-color: rgba(114, 215, 195, 0.16);
}

.market-card-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(82, 149, 255, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.1), transparent 26%),
    rgba(10, 18, 29, 0.92);
}

.card-hero-shell {
  background:
    radial-gradient(circle at top left, rgba(255, 186, 84, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(101, 127, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(12, 21, 34, 0.84), rgba(8, 14, 24, 0.96));
}

.card-hero-shell .card-art {
  box-shadow:
    0 30px 52px rgba(5, 10, 18, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.card-command-strip {
  border-color: rgba(255, 186, 84, 0.16);
}

.market-card-filter-shell,
.market-price-shell {
  background:
    radial-gradient(circle at top left, rgba(82, 149, 255, 0.12), transparent 24%),
    rgba(10, 18, 29, 0.9);
}

.market-filter-block + .market-filter-block {
  margin-top: 14px;
}

.market-filter-block .muted {
  display: inline-block;
  margin-bottom: 8px;
}

.market-listings-grid {
  align-items: start;
}

.market-listings-card {
  background:
    radial-gradient(circle at top left, rgba(82, 149, 255, 0.12), transparent 26%),
    rgba(10, 18, 29, 0.9);
}

.market-listings-headline {
  align-items: center;
}

.market-listings-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.market-listings-summary-pill {
  display: inline-grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(8, 15, 28, 0.68);
  border: 1px solid rgba(74, 210, 194, 0.16);
}

.market-listings-summary-pill--buy {
  border-color: rgba(255, 186, 84, 0.18);
}

.market-listings-summary-pill strong {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 239, 251, 0.7);
}

.market-listings-summary-pill small {
  color: #f4f8ff;
  font-size: 13px;
  font-weight: 800;
}

.market-listings-stack {
  display: grid;
  gap: 12px;
}

.market-listing-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.market-listing-topline .tag-row {
  min-width: 0;
  flex-wrap: wrap;
}

.market-listing-topline-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.market-listing-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 18, 30, 0.82);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: rgba(240, 246, 255, 0.84);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.market-listing-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(7, 14, 24, 0.72);
  border: 1px solid rgba(147, 168, 196, 0.1);
}

.market-listing-row--sell {
  background:
    radial-gradient(circle at top left, rgba(74, 210, 194, 0.12), transparent 28%),
    rgba(7, 14, 24, 0.76);
}

.market-listing-row--buy {
  background:
    radial-gradient(circle at top left, rgba(255, 186, 84, 0.14), transparent 28%),
    rgba(24, 16, 9, 0.76);
}

.market-listing-row strong {
  font-size: 18px;
  font-family: "Fraunces", serif;
  line-height: 1;
}

.market-listing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.market-listing-head strong a {
  color: inherit;
}

.market-listing-row small {
  display: block;
}

.market-listing-meta {
  color: rgba(214, 227, 246, 0.72);
}

.market-listing-topline-actions .managed-remove-trigger {
  flex-shrink: 0;
}

.showoff-binder-identity {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 12px 13px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 196, 96, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 14, 24, 0.54);
  border: 1px solid rgba(255, 202, 121, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 28px rgba(4, 9, 17, 0.18);
}

.showoff-binder-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(240, 246, 255, 0.82);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.showoff-binder-identity strong {
  font-size: 1rem;
  line-height: 1.02;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showoff-binder-identity small {
  color: rgba(220, 232, 247, 0.72);
}

.shop-focus-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 201, 93, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(87, 164, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(18, 28, 46, 0.96), rgba(8, 14, 24, 0.98));
  border-color: rgba(255, 214, 79, 0.16);
}

.shop-focus-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.34;
  max-width: 34ch;
  text-wrap: balance;
}

.dashboard-app-strip {
  position: relative;
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at top left, rgba(114, 146, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(74, 210, 194, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(17, 27, 42, 0.96), rgba(9, 16, 28, 0.98));
  isolation: isolate;
}

.dashboard-app-strip::before,
.dashboard-app-strip::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dashboard-app-strip::before {
  inset: -20% auto -20% -40%;
  width: 42%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.14) 46%, transparent 76%);
  opacity: 0.32;
  transform: skewX(-16deg);
  animation: premium-strip-sheen 16s ease-in-out infinite;
}

.dashboard-app-strip::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 24px);
  opacity: 0.22;
}

.dashboard-app-strip > * {
  position: relative;
  z-index: 1;
}

.dashboard-app-strip-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.dashboard-app-strip-logo-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(8, 15, 28, 0.82);
  border: 1px solid rgba(156, 177, 208, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 36px rgba(5, 10, 18, 0.2);
}

.dashboard-app-strip-logo-shell::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.18), transparent 72%);
  opacity: 0.86;
  pointer-events: none;
}

.dashboard-app-strip-logo {
  max-width: 52px;
  max-height: 34px;
  position: relative;
  z-index: 1;
}

.dashboard-app-strip-logo.game-logo-onepiece {
  max-width: 56px;
  max-height: 38px;
}

.dashboard-app-strip-copy {
  display: grid;
  gap: 6px;
}

.dashboard-app-strip-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.74);
  border: 1px solid rgba(123, 196, 255, 0.14);
  color: rgba(234, 242, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-app-strip-copy strong {
  font-size: 1rem;
  line-height: 1.08;
  color: #f6fbff;
}

.dashboard-app-strip-copy p {
  margin: 0;
  color: rgba(229, 236, 251, 0.78);
  max-width: 42ch;
}

.dashboard-app-strip-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-app-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-app-quicklink {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 86px;
  padding: 14px;
  border-radius: 18px;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(123, 196, 255, 0.14), transparent 42%),
    rgba(8, 15, 28, 0.72);
  border: 1px solid rgba(147, 168, 196, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 28px rgba(5, 10, 18, 0.14);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dashboard-app-quicklink:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 196, 255, 0.24);
}

.dashboard-app-quicklink::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.12), transparent 34%);
  opacity: 0.48;
  pointer-events: none;
}

.dashboard-app-quicklink-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(10, 18, 29, 0.82);
  border: 1px solid rgba(147, 168, 196, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 22px rgba(5, 10, 18, 0.14);
}

.dashboard-app-quicklink-icon .nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.dashboard-app-quicklink-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-app-quicklink small {
  color: rgba(214, 227, 246, 0.66);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.dashboard-app-quicklink strong {
  color: #f6fbff;
  font-size: 14px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.dashboard-app-quicklink span {
  color: rgba(217, 229, 247, 0.72);
  font-size: 12px;
  line-height: 1.28;
}

.dashboard-app-chip {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 15, 28, 0.68);
  border: 1px solid rgba(147, 168, 196, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 30px rgba(5, 10, 18, 0.14);
  position: relative;
  overflow: hidden;
}

.dashboard-app-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 34%);
  opacity: 0.48;
  pointer-events: none;
}

.dashboard-app-chip small {
  color: rgba(214, 227, 246, 0.68);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.dashboard-app-chip strong {
  font-size: 15px;
  line-height: 1.04;
  color: #f6fbff;
}

.collection-flow-strip {
  border-color: rgba(126, 170, 255, 0.16);
}

.collection-flow-strip .dashboard-app-strip-logo-shell::after {
  background: radial-gradient(circle, rgba(74, 210, 194, 0.16), transparent 72%);
}

.page-command-strip {
  border-color: rgba(137, 175, 255, 0.16);
}

.page-command-strip--listing-interests {
  gap: 12px;
}

.page-command-strip--market-thread {
  gap: 12px;
}

.page-command-strip--market-interests {
  gap: 12px;
}

.page-command-strip--listing-interests .dashboard-app-strip-copy p,
.page-command-strip--market-thread .dashboard-app-strip-copy p,
.page-command-strip--market-interests .dashboard-app-strip-copy p,
.page-command-strip--listing-interests .dashboard-app-quicklink small,
.page-command-strip--listing-interests .dashboard-app-quicklink .dashboard-app-quicklink-copy > span,
.page-command-strip--market-interests .dashboard-app-quicklink small,
.page-command-strip--market-interests .dashboard-app-quicklink .dashboard-app-quicklink-copy > span {
  display: none;
}

.page-command-strip--listing-interests .dashboard-app-strip-kicker,
.page-command-strip--market-thread .dashboard-app-strip-kicker,
.page-command-strip--market-interests .dashboard-app-strip-kicker {
  min-height: 24px;
  padding-inline: 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.page-command-strip--listing-interests .dashboard-app-strip-copy strong,
.page-command-strip--market-thread .dashboard-app-strip-copy strong,
.page-command-strip--market-interests .dashboard-app-strip-copy strong {
  font-size: 1.05rem;
}

.page-command-strip--listing-interests .dashboard-app-strip-logo-shell--custom,
.page-command-strip--market-thread .dashboard-app-strip-logo-shell--custom {
  width: 76px;
  height: 106px;
  padding: 4px;
  border-radius: 18px;
}

.page-command-strip--listing-interests .dashboard-app-strip-logo-shell--custom::after,
.page-command-strip--market-thread .dashboard-app-strip-logo-shell--custom::after {
  inset: -6px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(74, 210, 194, 0.2), transparent 72%);
}

.page-command-strip--market-interests .dashboard-app-strip-logo-shell--custom {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 0;
  border-radius: 22px;
}

.page-command-strip--market-interests .dashboard-app-strip-logo-shell--custom::after {
  inset: -7px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(74, 210, 194, 0.23), transparent 72%);
}

.market-inbox-hero-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 17px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.28), transparent 58%),
    linear-gradient(145deg, rgba(14, 165, 233, 0.25), rgba(37, 99, 235, 0.18));
  color: #dff8ff;
  box-shadow: 0 12px 26px rgba(8, 145, 178, 0.18);
}

.market-inbox-hero-icon svg {
  width: 25px;
  height: 25px;
}

.listing-inbox-card-art-mini {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(4, 10, 19, 0.92);
  border: 1px solid rgba(159, 204, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.listing-inbox-card-art-mini img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.listing-inbox-card-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin-top: 1px;
}

.listing-inbox-card-detail {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 21px;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(12, 24, 42, 0.72);
  border: 1px solid rgba(137, 175, 255, 0.14);
  color: rgba(236, 244, 255, 0.88);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.listing-inbox-card-detail--code {
  color: #f7fbff;
  background: rgba(8, 15, 28, 0.78);
}

.listing-inbox-card-detail--set {
  flex: 1 1 100%;
  justify-content: flex-start;
  width: fit-content;
  border-radius: 12px;
  color: rgba(213, 226, 247, 0.88);
}

.listing-inbox-card-detail--version {
  color: #dbeaff;
  background: rgba(52, 114, 220, 0.28);
  border-color: rgba(83, 151, 255, 0.32);
}

.listing-inbox-card-detail--rarity {
  color: #ffe8a8;
  background: rgba(121, 85, 23, 0.34);
  border-color: rgba(255, 209, 94, 0.36);
}

.listing-inbox-card-detail--condition {
  color: #bdf8dc;
  background: rgba(19, 107, 86, 0.28);
  border-color: rgba(80, 226, 183, 0.3);
}

.listing-inbox-card-detail--counterpart {
  color: #d9c8ff;
  background: rgba(94, 64, 168, 0.26);
  border-color: rgba(178, 137, 255, 0.3);
}

.listing-inbox-card-detail--language {
  width: 26px;
  justify-content: center;
  padding-inline: 0;
}

.listing-inbox-card-detail--language .card-language-flag {
  font-size: 16px;
  line-height: 1;
}

.page-command-strip--listing-interests .dashboard-app-chip,
.page-command-strip--market-thread .dashboard-app-chip,
.page-command-strip--market-interests .dashboard-app-chip {
  min-height: 58px;
  padding: 10px;
  border-radius: 16px;
}

.page-command-strip--listing-interests .dashboard-app-chip small,
.page-command-strip--market-thread .dashboard-app-chip small,
.page-command-strip--market-interests .dashboard-app-chip small {
  font-size: 9px;
  letter-spacing: 0.05em;
}

.page-command-strip--listing-interests .dashboard-app-chip strong,
.page-command-strip--market-thread .dashboard-app-chip strong,
.page-command-strip--market-interests .dashboard-app-chip strong {
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.page-command-strip--listing-interests .dashboard-app-quicklinks,
.page-command-strip--market-interests .dashboard-app-quicklinks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-command-strip--listing-interests .dashboard-app-quicklink,
.page-command-strip--market-interests .dashboard-app-quicklink {
  align-items: center;
  min-height: 56px;
  padding: 10px;
  border-radius: 16px;
}

.page-command-strip--listing-interests .dashboard-app-quicklink-icon,
.page-command-strip--market-interests .dashboard-app-quicklink-icon {
  width: 36px;
  height: 36px;
  border-radius: 13px;
}

.page-command-strip--listing-interests .dashboard-app-quicklink strong,
.page-command-strip--market-interests .dashboard-app-quicklink strong {
  font-size: 0.9rem;
}

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

.market-inbox-hub-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 78px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background:
    radial-gradient(circle at top left, rgba(74, 210, 194, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(15, 31, 52, 0.82), rgba(7, 14, 27, 0.9));
  color: inherit;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 26px rgba(2, 8, 18, 0.18);
}

.market-inbox-hub-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  background: rgba(14, 165, 233, 0.14);
  color: #bff4ff;
}

.market-inbox-hub-icon svg {
  width: 21px;
  height: 21px;
}

.market-inbox-hub-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.market-inbox-hub-copy small {
  color: rgba(210, 224, 246, 0.62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-inbox-hub-copy strong {
  color: #f8fbff;
  font-size: 0.98rem;
  line-height: 1.08;
}

.market-inbox-hub-copy span {
  color: rgba(210, 224, 246, 0.72);
  font-size: 0.8rem;
  font-weight: 760;
}

.market-inbox-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.market-inbox-action {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 62px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, 0.15);
  background:
    radial-gradient(circle at top left, rgba(74, 210, 194, 0.11), transparent 36%),
    linear-gradient(145deg, rgba(13, 28, 48, 0.86), rgba(7, 14, 27, 0.92));
  color: inherit;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 12px 22px rgba(2, 8, 18, 0.14);
}

.market-inbox-action--accent {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 0 20px rgba(20, 184, 166, 0.1);
}

.market-inbox-action-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(14, 165, 233, 0.12);
  color: #bff4ff;
}

.market-inbox-action-icon svg {
  width: 18px;
  height: 18px;
}

.market-inbox-action-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.market-inbox-action-copy small {
  color: rgba(210, 224, 246, 0.58);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.market-inbox-action-copy strong {
  color: #f8fbff;
  font-size: 0.84rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.market-inbox-action-copy span {
  color: rgba(210, 224, 246, 0.68);
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1.15;
}

body.page-interests .market-interest-section.market-inbox-lane .section-head {
  align-items: center;
  gap: 10px;
}

body.page-interests .market-interest-section.market-inbox-lane .card-title {
  font-size: clamp(1.35rem, 5.4vw, 1.75rem);
  line-height: 1.02;
}

.page-command-strip--search .dashboard-app-strip-logo-shell::after {
  background: radial-gradient(circle, rgba(101, 127, 255, 0.2), transparent 72%);
}

.page-command-strip--market .dashboard-app-strip-logo-shell::after {
  background: radial-gradient(circle, rgba(74, 210, 194, 0.18), transparent 72%);
}

.page-command-strip--sets .dashboard-app-strip-logo-shell::after {
  background: radial-gradient(circle, rgba(74, 210, 194, 0.18), transparent 72%);
}

.page-command-strip--shop .dashboard-app-strip-logo-shell::after,
.page-command-strip--showoff .dashboard-app-strip-logo-shell::after,
.page-command-strip--showoff-public .dashboard-app-strip-logo-shell::after {
  background: radial-gradient(circle, rgba(255, 186, 84, 0.18), transparent 72%);
}

.page-command-strip--card .dashboard-app-strip-logo-shell::after {
  background: radial-gradient(circle, rgba(255, 186, 84, 0.18), transparent 72%);
}

.page-command-strip--sets {
  background:
    radial-gradient(circle at top left, rgba(74, 210, 194, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(101, 127, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(17, 27, 42, 0.96), rgba(9, 16, 28, 0.98));
}

.page-command-strip--shop,
.page-command-strip--showoff,
.page-command-strip--showoff-public {
  background:
    radial-gradient(circle at top left, rgba(255, 186, 84, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(178, 112, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(17, 27, 42, 0.96), rgba(9, 16, 28, 0.98));
}

.page-command-strip--card {
  background:
    radial-gradient(circle at top left, rgba(255, 186, 84, 0.12), transparent 26%),
    radial-gradient(circle at bottom right, rgba(101, 127, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(17, 27, 42, 0.96), rgba(9, 16, 28, 0.98));
}

@media (max-width: 760px) {
  .page-command-strip--listing-interests,
  .page-command-strip--market-thread,
  .page-command-strip--market-interests {
    padding: 16px;
    gap: 12px;
    border-radius: 20px;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-hero,
  .page-command-strip--market-thread .dashboard-app-strip-hero,
  .page-command-strip--market-interests .dashboard-app-strip-hero {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-logo-shell,
  .page-command-strip--market-thread .dashboard-app-strip-logo-shell,
  .page-command-strip--market-interests .dashboard-app-strip-logo-shell {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-logo-shell::after,
  .page-command-strip--market-thread .dashboard-app-strip-logo-shell::after,
  .page-command-strip--market-interests .dashboard-app-strip-logo-shell::after {
    inset: -5px;
    border-radius: 22px;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-logo,
  .page-command-strip--market-thread .dashboard-app-strip-logo,
  .page-command-strip--market-interests .dashboard-app-strip-logo {
    max-width: 43px;
    max-height: 30px;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-logo-shell--custom,
  .page-command-strip--market-thread .dashboard-app-strip-logo-shell--custom {
    width: 66px;
    height: 92px;
    padding: 3px;
    border-radius: 17px;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-hero--custom-visual,
  .page-command-strip--market-thread .dashboard-app-strip-hero--custom-visual {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .page-command-strip--listing-interests .dashboard-app-strip-logo-shell--custom::after,
  .page-command-strip--market-thread .dashboard-app-strip-logo-shell--custom::after {
    inset: -5px;
    border-radius: 22px;
  }

  .page-command-strip--market-interests .dashboard-app-strip-logo-shell--custom {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 18px;
  }

  .page-command-strip--market-interests .dashboard-app-strip-hero--custom-visual {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .page-command-strip--market-interests .dashboard-app-strip-logo-shell--custom::after {
    inset: -5px;
    border-radius: 22px;
  }

  .market-inbox-hero-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .market-inbox-hero-icon svg {
    width: 21px;
    height: 21px;
  }

  .listing-inbox-card-art-mini {
    border-radius: 13px;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-kicker,
  .page-command-strip--market-thread .dashboard-app-strip-kicker,
  .page-command-strip--market-interests .dashboard-app-strip-kicker {
    min-height: 22px;
    padding-inline: 9px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-copy,
  .page-command-strip--market-thread .dashboard-app-strip-copy,
  .page-command-strip--market-interests .dashboard-app-strip-copy {
    gap: 5px;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-copy strong,
  .page-command-strip--market-thread .dashboard-app-strip-copy strong,
  .page-command-strip--market-interests .dashboard-app-strip-copy strong {
    font-size: 1rem;
    line-height: 1.08;
  }

  .listing-inbox-card-details {
    gap: 4px;
  }

  .listing-inbox-card-detail {
    min-height: 18px;
    padding: 2px 6px;
    font-size: 8.5px;
    line-height: 1.12;
  }

  .listing-inbox-card-detail--set {
    border-radius: 10px;
  }

  .listing-inbox-card-detail--language {
    width: 23px;
  }

  .listing-inbox-card-detail--language .card-language-flag {
    font-size: 14px;
  }

  .page-command-strip--listing-interests .dashboard-app-strip-chips,
  .page-command-strip--market-thread .dashboard-app-strip-chips,
  .page-command-strip--market-interests .dashboard-app-strip-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .page-command-strip--listing-interests .dashboard-app-chip,
  .page-command-strip--market-thread .dashboard-app-chip,
  .page-command-strip--market-interests .dashboard-app-chip {
    min-height: 52px;
    padding: 8px 6px;
    border-radius: 14px;
    gap: 5px;
  }

  .page-command-strip--listing-interests .dashboard-app-chip small,
  .page-command-strip--market-thread .dashboard-app-chip small,
  .page-command-strip--market-interests .dashboard-app-chip small {
    font-size: 7.5px;
    letter-spacing: 0.03em;
    line-height: 1.05;
  }

  .page-command-strip--listing-interests .dashboard-app-chip strong,
  .page-command-strip--market-thread .dashboard-app-chip strong,
  .page-command-strip--market-interests .dashboard-app-chip strong {
    font-size: 0.82rem;
    line-height: 1.02;
  }

  .page-command-strip--listing-interests .dashboard-app-quicklinks,
  .page-command-strip--market-interests .dashboard-app-quicklinks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-command-strip--listing-interests .dashboard-app-quicklink,
  .page-command-strip--market-interests .dashboard-app-quicklink {
    min-height: 50px;
    gap: 9px;
    padding: 9px;
    border-radius: 15px;
  }

  .page-command-strip--listing-interests .dashboard-app-quicklink-icon,
  .page-command-strip--market-interests .dashboard-app-quicklink-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .page-command-strip--listing-interests .dashboard-app-quicklink strong,
  .page-command-strip--market-interests .dashboard-app-quicklink strong {
    font-size: 0.82rem;
  }

  .market-inbox-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .market-inbox-hub-card {
    align-items: flex-start;
    gap: 9px;
    min-height: 70px;
    padding: 10px;
    border-radius: 17px;
  }

  .market-inbox-hub-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .market-inbox-hub-icon svg {
    width: 18px;
    height: 18px;
  }

  .market-inbox-hub-copy small {
    font-size: 7.5px;
    letter-spacing: 0.04em;
  }

  .market-inbox-hub-copy strong {
    font-size: 0.78rem;
  }

  .market-inbox-hub-copy span {
    font-size: 0.72rem;
  }

  .market-inbox-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .market-inbox-action {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    min-height: 58px;
    padding: 9px;
    border-radius: 16px;
  }

  .market-inbox-action:nth-child(5) {
    grid-column: 1 / -1;
  }

  .market-inbox-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .market-inbox-action-copy small {
    font-size: 7.5px;
    letter-spacing: 0.04em;
  }

  .market-inbox-action-copy strong {
    font-size: 0.78rem;
  }

  .market-inbox-action-copy span {
    font-size: 0.68rem;
  }

  body.page-interests .market-interest-section .section-head {
    align-items: baseline;
  }

  body.page-interests .market-interest-section .card-title {
    font-size: clamp(1.55rem, 8vw, 2rem);
    line-height: 1;
  }

  body.page-interests .market-interest-section.market-inbox-lane .section-head {
    align-items: center;
  }

  body.page-interests .market-interest-section.market-inbox-lane .card-title {
    font-size: clamp(1.25rem, 5.6vw, 1.55rem);
    line-height: 1.04;
  }
}

@keyframes premium-atmosphere-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(24px, -18px, 0) scale(1.05);
  }
}

@keyframes premium-grid-pan {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-36px, -24px, 0);
  }
}

@keyframes premium-shell-breathe {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes premium-strip-sheen {
  0%,
  100% {
    transform: translate3d(-8%, 0, 0) skewX(-16deg);
    opacity: 0;
  }
  14%,
  24% {
    opacity: 0.36;
  }
  40% {
    transform: translate3d(210%, 0, 0) skewX(-16deg);
    opacity: 0;
  }
}

@keyframes topbar-avatar-breathe {
  0%,
  100% {
    opacity: 0.76;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes topbar-panel-shimmer {
  0% {
    transform: translateX(-8px);
    opacity: 0.78;
  }
  50% {
    transform: translateX(10px);
    opacity: 1;
  }
  100% {
    transform: translateX(-8px);
    opacity: 0.78;
  }
}

.profile-identity-shell {
  background:
    linear-gradient(180deg, rgba(7, 13, 24, 0.16), rgba(7, 13, 24, 0.74)),
    linear-gradient(135deg, rgba(20, 34, 58, 0.96), rgba(8, 14, 26, 0.98));
}

.profile-identity-signature {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(16, 24, 42, 0.52);
  border: 1px solid rgba(176, 144, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 28px rgba(6, 10, 20, 0.18);
}

.profile-identity-quickline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-identity-quick-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.66);
  border: 1px solid rgba(147, 168, 196, 0.12);
  color: rgba(238, 245, 255, 0.8);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.market-listing-owner {
  min-height: 18px;
}

.market-listing-owner small {
  color: rgba(214, 227, 246, 0.7);
}

.market-listings-card .empty-state {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  background:
    radial-gradient(circle at top left, rgba(101, 127, 255, 0.12), transparent 28%),
    rgba(8, 15, 28, 0.62);
  border-style: solid;
  border-color: rgba(147, 168, 196, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.market-listings-card .empty-state::before {
  content: "Sem match";
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.82);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: rgba(236, 243, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-listings-card .empty-state p {
  margin: 0;
  color: rgba(214, 227, 246, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.market-card-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 14px;
}

.market-card-snapshot-item {
  display: grid;
  gap: 4px;
  padding: 12px 12px 11px;
  border-radius: 18px;
  background: rgba(8, 15, 28, 0.7);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.market-card-snapshot-item:first-child {
  background:
    radial-gradient(circle at top left, rgba(114, 146, 255, 0.14), transparent 34%),
    rgba(8, 15, 28, 0.72);
}

.market-card-snapshot-item:nth-child(2) {
  background:
    radial-gradient(circle at top left, rgba(74, 210, 194, 0.16), transparent 34%),
    rgba(8, 15, 28, 0.72);
}

.market-card-snapshot-item:nth-child(3) {
  background:
    radial-gradient(circle at top left, rgba(255, 186, 84, 0.16), transparent 34%),
    rgba(22, 16, 10, 0.72);
}

.market-card-snapshot-item small {
  color: rgba(213, 227, 247, 0.66);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-card-snapshot-item strong {
  font-size: 16px;
  line-height: 1.05;
  color: #f5f9ff;
}

.market-price-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.market-price-pill {
  display: inline-grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(8, 15, 28, 0.68);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.market-price-pill strong {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 239, 251, 0.74);
}

.market-price-pill small {
  color: #f4f8ff;
  font-size: 13px;
  font-weight: 800;
}

.card-decision-shell {
  background:
    radial-gradient(circle at top left, rgba(101, 127, 255, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(74, 210, 194, 0.12), transparent 28%),
    rgba(10, 18, 29, 0.92);
}

.card-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card-decision-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 15, 28, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 30px rgba(5, 10, 18, 0.16);
}

.card-decision-card small {
  color: rgba(214, 227, 246, 0.66);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-decision-card strong {
  font-family: "Fraunces", serif;
  font-size: 1.24rem;
  line-height: 0.98;
  color: #f7fbff;
}

.card-decision-card span {
  color: rgba(221, 232, 247, 0.72);
  font-size: 12px;
  line-height: 1.3;
}

.card-decision-card--sell {
  background:
    radial-gradient(circle at top left, rgba(74, 210, 194, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 15, 28, 0.74);
}

.card-decision-card--buy {
  background:
    radial-gradient(circle at top left, rgba(255, 186, 84, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(22, 16, 10, 0.74);
}

.card-decision-card--spread {
  background:
    radial-gradient(circle at top left, rgba(114, 146, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 16, 28, 0.74);
}
.market-listing-price {
  color: #eff5ff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.card-data-stack {
  display: grid;
  gap: 12px;
}

.card-disclosure {
  padding: 0;
  overflow: hidden;
}

.card-disclosure-summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
}

.card-disclosure-summary::-webkit-details-marker {
  display: none;
}

.card-disclosure-copy {
  display: grid;
  gap: 4px;
}

.card-disclosure-copy strong {
  font-family: "Fraunces", serif;
  font-size: 1.02rem;
  line-height: 1;
  color: #f7fbff;
}

.card-disclosure-copy small {
  color: rgba(213, 227, 247, 0.66);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.card-disclosure-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11, 19, 31, 0.78);
  border: 1px solid rgba(147, 168, 196, 0.12);
  color: rgba(233, 242, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
}

.card-disclosure[open] .card-disclosure-toggle {
  color: transparent;
  position: relative;
}

.card-disclosure[open] .card-disclosure-toggle::before {
  content: "Fechar";
  color: rgba(233, 242, 255, 0.82);
}

.card-disclosure-body {
  padding: 0 16px 16px;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
}

.mini-table th,
.mini-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(147, 168, 196, 0.08);
  text-align: left;
  vertical-align: top;
}

.mini-table th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.empty-state {
  padding: 24px;
  border-radius: 24px;
  background: rgba(12, 21, 34, 0.66);
  border: 1px dashed rgba(147, 168, 196, 0.2);
  color: var(--muted);
}

.editor-shell {
  padding: 24px;
}

.site-footer-legal {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px 6px 4px;
  text-align: center;
}

.footer-studio-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: rgba(6, 12, 23, 0.45);
  color: rgba(231, 238, 251, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-studio-credit img {
  display: block;
  width: clamp(132px, 14vw, 168px);
  height: auto;
  object-fit: contain;
  object-position: center;
  opacity: 0.94;
}

.footer-note {
  display: inline-block;
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  opacity: 0.82;
}

.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  color: rgba(155, 188, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-links a + a::before {
  content: "/";
  margin-right: 12px;
  color: rgba(147, 168, 196, 0.42);
  text-decoration: none;
}

.legal-page {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.legal-hero,
.legal-card {
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 30%),
    rgba(8, 15, 27, 0.82);
  box-shadow:
    0 22px 48px rgba(2, 7, 18, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.legal-hero {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 5vw, 46px);
  border-radius: 30px;
}

.legal-kicker {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  color: #f5f8ff;
  font-family: "Fraunces", serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.legal-hero p,
.legal-card p,
.legal-card li,
.legal-hero small {
  color: rgba(221, 232, 248, 0.78);
  line-height: 1.55;
}

.legal-hero p {
  max-width: 68ch;
  margin: 0;
  font-size: clamp(15px, 1.7vw, 19px);
}

.legal-hero small {
  font-size: 0.82rem;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.legal-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(9, 16, 30, 0.78);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.legal-action--primary {
  border-color: rgba(59, 130, 246, 0.72);
  background: linear-gradient(135deg, #2f80ff, #1d5ce8);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  padding: clamp(18px, 3vw, 26px);
  border-radius: 24px;
}

.legal-card h2 {
  margin: 0 0 12px;
  color: #f5f8ff;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.08;
}

.legal-card p {
  margin: 0;
}

.legal-card p + p {
  margin-top: 10px;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.legal-card a {
  color: #9bbcff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-detail-hero {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.card-detail-hero .card-art {
  width: min(100%, 320px);
  margin: 0 auto;
  aspect-ratio: auto;
  overflow: visible;
}

.card-detail-hero .card-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.card-detail-hero-copy {
  min-width: 0;
}

.card-detail-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-detail-set-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(119, 174, 255, .18);
  border-radius: 8px;
  background: rgba(8, 15, 28, .5);
  color: inherit;
  text-decoration: none;
}

.card-detail-set-link:hover,
.card-detail-set-link:focus-visible {
  border-color: rgba(125, 211, 252, .42);
  background: rgba(14, 165, 233, .1);
}

.card-detail-set-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 54px;
  min-height: 28px;
}

.card-detail-set-logo {
  display: block;
  max-width: 54px;
  max-height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

.card-detail-set-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 26px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(30, 64, 175, .24);
  color: #dbeafe;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.card-detail-set-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.card-detail-set-copy small {
  color: rgba(184, 208, 255, .72);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.card-detail-set-copy strong {
  color: rgba(241, 247, 255, .92);
  font-size: .84rem;
  font-weight: 850;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.card-detail-version-tabs {
  margin-top: 16px;
}

.card-detail-slab-tabs {
  margin-top: 12px;
}

.card-detail-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: min(100%, 270px);
  margin-top: 14px;
  padding: 3px;
  border: 1px solid rgba(157, 213, 255, .28);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(38, 60, 84, .86), rgba(12, 22, 38, .9)),
    rgba(9, 15, 27, .94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    inset 0 -1px 0 rgba(4, 10, 20, .52),
    0 8px 14px rgba(2, 8, 18, .22);
  overflow: visible;
}

.card-detail-action-row .search-result-quick-action {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #eef6ff;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  overflow: visible;
}

.card-detail-action-row .search-result-quick-action + .search-result-quick-action {
  border-left: 1px solid rgba(157, 213, 255, .16);
}

.card-detail-action-row .search-result-quick-action[data-search-count-value]:not([data-search-count-value="0"]) {
  border-radius: 13px;
  box-shadow:
    inset 0 0 0 1px rgba(125, 211, 252, .44),
    inset 0 0 18px rgba(125, 211, 252, .18),
    0 0 12px rgba(56, 189, 248, .2);
}

.card-detail-action-row .search-result-quick-action span[data-search-action-icon] {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
}

.card-detail-action-row .search-result-quick-action span[data-search-action-icon] svg {
  display: block;
  height: 1em;
  width: 1em;
}

.card-detail-action-row .search-result-quick-action small[data-search-count-badge] {
  position: absolute;
  top: -10px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 1px solid rgba(255, 143, 143, .62);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 25%, #ffe0df, #ef4444 42%, #b91c1c 100%);
  color: #fff7f7;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 3px 8px rgba(7, 12, 22, .42),
    0 0 10px rgba(239, 68, 68, .32);
}

.card-detail-action-notice {
  margin-top: 14px;
}

body.page-card .card-search-sheet-form {
  display: grid;
  gap: 12px;
}

body.page-card .card-search-sheet-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(147, 168, 196, .14);
  border-radius: 14px;
  background: rgba(7, 14, 28, .72);
}

body.page-card .card-search-sheet-card strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.15;
}

body.page-card .card-search-sheet-card small {
  color: rgba(211, 225, 244, .72);
  line-height: 1.25;
}

body.page-card .card-search-filter-grid {
  display: grid;
  gap: 10px;
}

body.page-card .card-search-filter-grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-card .card-search-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

body.page-card .card-search-field span {
  color: rgba(226, 235, 248, .9);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

body.page-card .card-search-field input,
body.page-card .card-search-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(147, 168, 196, .18);
  border-radius: 12px;
  background: rgba(7, 13, 26, .88);
  color: #f8fafc;
  font: inherit;
}

body.page-card .card-search-sell-modes {
  display: grid;
  gap: 8px;
}

body.page-card .checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(226, 235, 248, .88);
  font-size: .88rem;
  font-weight: 700;
}

body.page-card .card-search-topbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(147, 168, 196, .18);
  border-radius: 14px;
  background: rgba(12, 20, 34, .92);
  color: #eef6ff;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
}

body.page-card .card-search-topbutton--submit {
  border: 0;
  background: linear-gradient(135deg, #38bdf8, #2dd4bf);
  color: #03111d;
}

.card-price-overview {
  display: grid;
  gap: 14px;
}

.card-price-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card-price-overview-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.card-price-main {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(119, 174, 255, .2);
  border-radius: 16px;
  background: rgba(9, 18, 36, .72);
}

.card-price-main strong {
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1;
  color: #ffffff;
}

.card-price-reference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.card-price-main span,
.card-price-main em {
  color: rgba(232, 238, 255, .72);
  font-style: normal;
}

.card-price-main .card-price-reference-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 2px;
  padding: 6px 9px;
  border: 1px solid rgba(56, 189, 248, .35);
  border-radius: 999px;
  color: #7dd3fc;
  background: rgba(14, 165, 233, .12);
  font-size: .76rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.card-price-main .card-price-reference-cta:hover,
.card-price-main .card-price-reference-cta:focus-visible {
  border-color: rgba(125, 211, 252, .7);
  background: rgba(14, 165, 233, .22);
  color: #e0f7ff;
}

.card-price-main .card-price-reference-cta span {
  color: inherit;
}

.card-price-reference-icon,
.card-price-reference-icon svg {
  width: 14px;
  height: 14px;
}

.card-price-reference-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.card-price-main--local {
  border-color: rgba(56, 189, 248, .28);
}

.card-price-range-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.card-price-range-tab {
  min-width: 48px;
  text-align: center;
  padding: 9px 12px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  color: rgba(232, 238, 255, .78);
  background: rgba(15, 23, 42, .62);
  font-weight: 800;
}

.card-price-range-tab.is-active {
  color: #ffffff;
  border-color: rgba(56, 189, 248, .65);
  background: linear-gradient(135deg, rgba(37, 99, 235, .8), rgba(14, 165, 233, .7));
}

.card-price-chart {
  min-height: 132px;
  border: 1px solid rgba(119, 174, 255, .18);
  border-radius: 18px;
  padding: 10px;
  background: radial-gradient(circle at 15% 20%, rgba(56, 189, 248, .16), transparent 34%), rgba(3, 7, 18, .55);
}

.card-price-chart svg {
  display: block;
  width: 100%;
  height: 132px;
}

.card-price-chart-grid {
  stroke: rgba(148, 163, 184, .16);
  stroke-width: 1;
}

.card-price-chart-line {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, .45));
}

.card-price-chart-dot {
  fill: #ffffff;
  stroke: #38bdf8;
  stroke-width: 3;
}

.card-sellers-shell {
  display: grid;
  gap: 14px;
}

.card-seller-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.card-seller-controls label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: rgba(232, 238, 255, .66);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.card-seller-controls select,
.card-seller-controls input {
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(7, 12, 24, .8);
  padding: 0 10px;
}

.card-seller-filter-submit {
  width: 44px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
}

.card-seller-filter-submit svg {
  width: 18px;
  height: 18px;
  display: block;
}

.card-seller-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 16px;
}

.card-seller-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.card-seller-table th,
.card-seller-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  text-align: left;
  white-space: nowrap;
}

.card-seller-table th {
  color: rgba(232, 238, 255, .58);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.card-seller-table td {
  color: rgba(232, 238, 255, .84);
}

.seller-country-flag {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  border-radius: 9px;
  background: rgba(15, 23, 42, .8);
  font-size: 1.08rem;
}

.seller-mode-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seller-mode-icon {
  width: 22px;
  height: 22px;
  color: rgba(125, 211, 252, .9);
}

.seller-mode-icon svg {
  width: 100%;
  height: 100%;
}

.seller-check-mark,
.seller-check-empty {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, .24);
}

.seller-check-mark {
  color: #ffffff;
  background: rgba(34, 197, 94, .78);
  border-color: rgba(134, 239, 172, .65);
  font-weight: 900;
}

.seller-check-empty {
  background: rgba(15, 23, 42, .7);
}

.card-seller-interest {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(45, 212, 191, .28);
  border-radius: 10px;
  background: rgba(20, 184, 166, .14);
  color: #ccfbf1;
  font-size: .76rem;
  font-weight: 850;
  text-decoration: none;
}

.market-interest-alert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 1px solid rgba(254, 202, 202, .72);
  background: #ef4444;
  color: #ffffff;
  font-size: .68rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(127, 29, 29, .32), 0 6px 12px rgba(239, 68, 68, .28);
}

.card-seller-interest--disabled {
  opacity: .58;
  pointer-events: none;
}

.market-results-shell {
  display: grid;
  gap: 14px;
}

.market-results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.market-results-head strong {
  color: #f7fbff;
  font-size: 1rem;
  line-height: 1.1;
}

.market-results-head small {
  color: rgba(226, 236, 253, .68);
  font-size: .82rem;
  line-height: 1.2;
  text-align: right;
}

.market-card-list {
  display: grid;
  gap: 12px;
}

.market-card-row {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1.45fr) minmax(86px, .62fr) minmax(86px, .62fr) minmax(84px, .54fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(139, 170, 214, .16);
  background:
    radial-gradient(circle at top left, rgba(76, 150, 255, .12), transparent 34%),
    linear-gradient(180deg, rgba(17, 29, 47, .88), rgba(10, 17, 30, .94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 16px 28px rgba(2, 8, 18, .22);
  overflow: hidden;
}

.market-card-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .055), transparent 34%);
  pointer-events: none;
}

.market-card-row > * {
  position: relative;
  z-index: 1;
}

.market-card-art {
  display: block;
  width: 74px;
  aspect-ratio: .72;
  padding: 3px;
  border-radius: 13px;
  border: 1px solid rgba(148, 189, 239, .18);
  background: rgba(6, 13, 25, .8);
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(2, 8, 18, .24);
}

.market-card-art img,
.market-card-art-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 9px;
}

.market-card-art img {
  object-fit: cover;
  object-position: center;
}

.market-card-art-empty {
  color: rgba(229, 240, 255, .72);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .08em;
  background: rgba(12, 23, 39, .88);
}

.market-card-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.market-card-main > a {
  color: #f8fbff;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.08;
  text-decoration: none;
}

.market-card-main small {
  color: rgba(210, 224, 246, .72);
  font-size: .78rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.market-card-version {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .18);
  background: rgba(29, 78, 216, .18);
  color: #dceafe;
  font-size: .69rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-card-price,
.market-card-count {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.market-card-price span,
.market-card-count span {
  color: rgba(190, 207, 232, .66);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.market-card-price strong,
.market-card-count strong {
  color: #f9fbff;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.05;
}

.market-card-count strong {
  color: #aaf3df;
}

.market-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(74, 210, 194, .24);
  background: rgba(20, 184, 166, .13);
  color: #d9fff7;
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.market-card-row > .card-seller-interest {
  min-height: 36px;
  border-radius: 999px;
  white-space: nowrap;
}

.card-seller-interest-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.card-seller-interest-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.market-interest-section,
.market-thread-shell,
.seller-profile-shell {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(139, 170, 214, .16);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(76, 150, 255, .10), transparent 34%),
    linear-gradient(180deg, rgba(17, 29, 47, .88), rgba(10, 17, 30, .95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 18px 34px rgba(2, 8, 18, .22);
}

.market-thread-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.market-thread-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .16);
  background: rgba(15, 31, 52, .78);
  color: #e5f3ff;
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}

.market-thread-list {
  display: grid;
  gap: 10px;
}

.market-thread-message {
  display: grid;
  gap: 7px;
  max-width: 82%;
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(139, 170, 214, .14);
  background: rgba(7, 14, 27, .58);
}

.market-thread-message.is-own {
  justify-self: end;
  border-color: rgba(45, 212, 191, .24);
  background: rgba(20, 184, 166, .12);
}

.market-thread-message-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.market-thread-message-meta strong {
  color: #f8fbff;
  font-size: .82rem;
  font-weight: 900;
}

.market-thread-message-meta small {
  color: rgba(210, 224, 246, .6);
  font-size: .72rem;
}

.market-thread-message p {
  margin: 0;
  color: rgba(229, 239, 255, .84);
  font-size: .88rem;
  line-height: 1.45;
}

.market-thread-form,
.market-sale-form,
.market-rating-form {
  display: grid;
  gap: 12px;
}

.market-rating-group {
  display: grid;
  gap: 7px;
}

.market-rating-group > span {
  color: rgba(226, 236, 253, .78);
  font-size: .78rem;
  font-weight: 900;
}

.market-thread-form textarea,
.market-sale-form select,
.market-deal-item-form input,
.market-multi-buy-qty input,
.market-rating-note textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(139, 170, 214, .2);
  border-radius: 14px;
  background: rgba(5, 12, 24, .72);
  color: #f8fbff;
  font: inherit;
  font-weight: 750;
  outline: none;
}

.market-thread-form textarea,
.market-rating-note textarea {
  resize: vertical;
  padding: 12px 13px;
  line-height: 1.4;
}

.market-sale-form select {
  min-height: 42px;
  padding: 0 12px;
}

.market-deal-items-panel,
.market-multi-buy-shell {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(139, 170, 214, .16);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(76, 150, 255, .1), transparent 34%),
    linear-gradient(180deg, rgba(17, 29, 47, .88), rgba(10, 17, 30, .95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 18px 34px rgba(2, 8, 18, .22);
}

.market-deal-item-list,
.market-multi-buy-list,
.seller-sale-records {
  display: grid;
  gap: 10px;
}

.market-deal-item-card,
.market-multi-buy-card,
.seller-sale-record {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(139, 170, 214, .14);
  background: rgba(7, 14, 27, .54);
}

.market-deal-item-card {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
}

.market-deal-item-art,
.market-multi-buy-art {
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: .72;
  overflow: hidden;
  border-radius: 11px;
  background: rgba(5, 12, 24, .78);
}

.market-deal-item-art img,
.market-multi-buy-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-deal-item-copy,
.market-multi-buy-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.market-deal-item-copy strong,
.market-multi-buy-copy strong {
  color: #f8fbff;
  font-size: .94rem;
  line-height: 1.12;
}

.market-deal-item-copy small,
.market-deal-item-copy span,
.market-multi-buy-copy small,
.market-multi-buy-copy span {
  color: rgba(210, 224, 246, .68);
  font-size: .78rem;
  line-height: 1.25;
}

.market-deal-item-side {
  display: grid;
  justify-items: end;
  gap: 5px;
  color: rgba(210, 224, 246, .7);
  font-size: .74rem;
}

.market-deal-item-side strong {
  color: #f8fbff;
  font-size: .9rem;
}

.market-deal-item-status,
.market-interest-deal-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .22);
  background: rgba(14, 165, 233, .14);
  color: #bff4ff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.market-deal-item-card--rejected .market-deal-item-status,
.market-deal-item-card--cancelled .market-deal-item-status {
  border-color: rgba(248, 113, 113, .22);
  background: rgba(127, 29, 29, .2);
  color: #fecaca;
}

.market-deal-item-card--sold .market-deal-item-status,
.market-deal-item-card--accepted .market-deal-item-status,
.market-deal-item-card--changed .market-deal-item-status {
  border-color: rgba(45, 212, 191, .26);
  background: rgba(20, 184, 166, .16);
  color: #bdf8dc;
}

.market-deal-item-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(70px, 96px) minmax(0, auto) minmax(0, auto);
  gap: 8px;
  align-items: end;
}

.market-deal-item-form label,
.market-multi-buy-qty {
  display: grid;
  gap: 5px;
  color: rgba(226, 236, 253, .72);
  font-size: .72rem;
  font-weight: 900;
}

.market-deal-item-form input,
.market-multi-buy-qty input {
  min-height: 36px;
  padding: 0 10px;
}

.button-link.danger {
  border-color: rgba(248, 113, 113, .24);
  color: #fecaca;
}

.market-multi-buy-form {
  display: grid;
  gap: 14px;
}

.market-multi-buy-card {
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
}

.market-multi-buy-select {
  display: grid;
  grid-template-columns: 22px 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  cursor: pointer;
}

.market-multi-buy-select input {
  width: 18px;
  height: 18px;
  accent-color: #38bdf8;
}

.market-multi-buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .22);
  background: rgba(14, 165, 233, .12);
  color: #dff8ff;
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
}

.market-multi-buy-link--table {
  min-height: 30px;
  font-size: .7rem;
}

.card-seller-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.market-sale-panel,
.market-rating-panel {
  display: grid;
  gap: 13px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, .18);
  background: linear-gradient(145deg, rgba(20, 184, 166, .12), rgba(8, 17, 31, .78));
}

.market-sale-panel-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.market-sale-panel-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(37, 99, 235, .18);
  color: #bfdbfe;
}

.market-sale-panel-icon svg {
  width: 19px;
  height: 19px;
}

.market-sale-panel-copy strong {
  display: block;
  color: #f8fbff;
  font-size: .96rem;
  line-height: 1.14;
}

.market-sale-panel-copy small {
  display: block;
  color: rgba(210, 224, 246, .66);
  font-size: .78rem;
  line-height: 1.35;
}

.market-sale-form label,
.market-rating-note {
  display: grid;
  gap: 7px;
  color: rgba(226, 236, 253, .78);
  font-size: .78rem;
  font-weight: 850;
}

.market-sale-submit {
  justify-self: start;
  min-height: 38px;
  border-radius: 999px;
}

.market-rating-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.market-rating-star {
  cursor: pointer;
}

.market-rating-star input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.market-rating-star span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 48px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(139, 170, 214, .18);
  background: rgba(7, 14, 27, .58);
  color: rgba(226, 236, 253, .76);
  font-size: .78rem;
  font-weight: 900;
}

.market-rating-star input:checked + span,
.market-rating-star.is-selected span {
  border-color: rgba(250, 204, 21, .48);
  background: rgba(250, 204, 21, .16);
  color: #fef3c7;
  box-shadow: 0 0 18px rgba(250, 204, 21, .16);
}

.market-interest-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(139, 170, 214, .14);
  background: rgba(7, 14, 27, .54);
}

.market-interest-card-thumb {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: .72;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 12, 24, .78);
}

.market-interest-card-thumb img,
.market-interest-empty-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-interest-card-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.market-interest-card-label {
  width: fit-content;
  min-height: 20px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .16);
  background: rgba(14, 165, 233, .11);
  color: #bff4ff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.market-interest-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.market-interest-card-title a {
  color: #f8fbff;
  text-decoration: none;
}

.market-interest-card-copy small,
.market-interest-card-copy span,
.market-interest-card-copy p,
.market-interest-card-side small {
  color: rgba(210, 224, 246, .66);
}

.market-interest-card-copy p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.35;
}

.market-interest-card-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.market-interest-card-side strong {
  color: #f8fbff;
  font-size: .96rem;
}

.market-interest-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.market-interest-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, .16);
  background: rgba(14, 165, 233, .1);
  color: #dff8ff;
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
}

.seller-sale-records {
  margin-top: 4px;
}

.seller-sale-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.seller-sale-record-head span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.seller-sale-record-head strong {
  color: #f8fbff;
}

.seller-sale-record-head small {
  color: rgba(210, 224, 246, .62);
  font-size: .72rem;
  font-weight: 850;
}

.seller-sale-record-rating {
  color: #86efac;
  font-size: .86rem;
  letter-spacing: .03em;
}

.seller-sale-record-body {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.seller-sale-record-body span {
  display: grid;
  gap: 3px;
  min-height: 48px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(4, 10, 19, .45);
}

.seller-sale-record-body small {
  color: rgba(210, 224, 246, .58);
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.seller-sale-record-body strong {
  color: #f8fbff;
  font-size: .82rem;
  overflow-wrap: anywhere;
}

.seller-profile-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.seller-profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(125, 211, 252, .22);
  background: linear-gradient(145deg, rgba(59, 130, 246, .22), rgba(20, 184, 166, .14));
  color: #f8fbff;
  font-size: 1.35rem;
  font-weight: 950;
}

.seller-profile-copy {
  display: grid;
  gap: 5px;
}

.seller-profile-copy strong {
  color: #f8fbff;
  font-size: 1.25rem;
  line-height: 1.1;
}

.seller-profile-country {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(226, 236, 253, .74);
  font-size: .84rem;
  font-weight: 850;
}

.seller-profile-rating,
.seller-profile-stats,
.seller-profile-games {
  display: grid;
  gap: 10px;
}

.seller-profile-rating {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(250, 204, 21, .16);
  background: rgba(250, 204, 21, .08);
}

.seller-profile-rating > span {
  color: #facc15;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.seller-profile-rating strong {
  color: #f8fbff;
  font-size: 1.25rem;
}

.seller-profile-rating small {
  color: rgba(226, 236, 253, .66);
}

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

.seller-profile-stats span,
.seller-profile-game-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(139, 170, 214, .14);
  background: rgba(7, 14, 27, .54);
}

.seller-profile-stats small,
.seller-profile-game-card small {
  color: rgba(210, 224, 246, .62);
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.seller-profile-stats strong,
.seller-profile-game-card strong {
  color: #f8fbff;
  font-size: 1.35rem;
  line-height: 1;
}

.seller-profile-games {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seller-profile-game-card {
  color: #e5f3ff;
  text-decoration: none;
}

@media (max-width: 760px) {
  .card-detail-hero {
    grid-template-columns: 1fr;
  }

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

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

  .card-seller-filter-submit {
    width: 100%;
  }

  body.page-market .market-results-shell {
    gap: 12px;
  }

  body.page-market .market-results-head {
    padding: 0 2px;
  }

  body.page-market .market-results-head strong {
    font-size: .96rem;
  }

  body.page-market .market-results-head small {
    font-size: .78rem;
  }

  body.page-market .market-card-list {
    gap: 10px;
  }

  body.page-market .market-card-row {
    grid-template-columns: 78px minmax(0, 1fr) 42px;
    gap: 7px 11px;
    align-items: start;
    padding: 12px;
    border-radius: 19px;
  }

  body.page-market .market-card-art {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 78px;
    border-radius: 14px;
  }

  body.page-market .market-card-main {
    grid-column: 2;
    grid-row: 1;
    gap: 5px;
    padding-top: 1px;
  }

  body.page-market .market-card-main > a {
    font-size: .94rem;
  }

  body.page-market .market-card-main small {
    font-size: .72rem;
    -webkit-line-clamp: 2;
  }

  body.page-market .market-card-version {
    min-height: 21px;
    padding: 0 8px;
    font-size: .62rem;
  }

  body.page-market .market-card-price,
  body.page-market .market-card-count {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 10px;
    background: rgba(7, 14, 27, .42);
    border: 1px solid rgba(144, 172, 213, .08);
  }

  body.page-market .market-card-price {
    grid-row: 2;
  }

  body.page-market .market-card-price--internal {
    grid-row: 3;
  }

  body.page-market .market-card-count {
    grid-row: 4;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    gap: 14px;
  }

  body.page-market .market-card-price span,
  body.page-market .market-card-count span {
    font-size: .55rem;
    letter-spacing: .13em;
  }

  body.page-market .market-card-price strong,
  body.page-market .market-card-count strong {
    font-size: .78rem;
    text-align: right;
  }

  body.page-market .market-card-row > .card-seller-interest {
    grid-column: 3;
    grid-row: 4;
    align-self: center;
    justify-self: end;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(20, 184, 166, .16);
  }

  body.page-market .market-card-row > .card-seller-interest > span:not(.card-seller-interest-icon):not(.market-interest-alert-badge) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body.page-market .market-card-row > .card-seller-interest .card-seller-interest-icon {
    width: 18px;
    height: 18px;
  }

  body.page-market .market-card-row > .card-seller-interest .market-interest-alert-badge {
    position: absolute;
    top: -5px;
    right: -5px;
  }

  body.page-market .market-card-row > .market-row-action {
    grid-column: 2 / 4;
    justify-self: stretch;
    min-height: 34px;
  }

  .market-interest-section,
  .market-thread-shell,
  .seller-profile-shell {
    padding: 14px;
    border-radius: 18px;
  }

  .market-thread-nav {
    gap: 8px;
  }

  .market-thread-nav-link {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
    font-size: .76rem;
  }

  .market-thread-message {
    max-width: 100%;
  }

  .market-sale-panel,
  .market-rating-panel {
    padding: 12px;
  }

  .market-deal-items-panel,
  .market-multi-buy-shell {
    padding: 14px;
    border-radius: 18px;
  }

  .market-deal-item-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
  }

  .market-deal-item-art,
  .market-multi-buy-art {
    width: 46px;
    border-radius: 10px;
  }

  .market-deal-item-side {
    grid-column: 2;
    justify-items: start;
  }

  .market-deal-item-form {
    grid-template-columns: 72px 1fr 1fr;
    gap: 7px;
  }

  .market-deal-item-form .button-link {
    min-height: 34px;
    padding-inline: 8px;
    font-size: .7rem;
  }

  .market-multi-buy-card {
    grid-template-columns: 1fr;
  }

  .market-multi-buy-select {
    grid-template-columns: 20px 46px minmax(0, 1fr);
    gap: 8px;
  }

  .market-multi-buy-qty {
    grid-template-columns: auto minmax(80px, 1fr);
    align-items: center;
  }

  .seller-sale-record-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-sale-form {
    grid-template-columns: 1fr;
  }

  .market-sale-submit {
    justify-self: stretch;
  }

  .market-rating-stars {
    gap: 6px;
  }

  .market-rating-star span {
    min-width: 43px;
    min-height: 32px;
    padding: 0 8px;
    font-size: .72rem;
  }

  .market-interest-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
  }

  .market-interest-card-thumb {
    width: 54px;
  }

  .market-interest-card-side {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-items: stretch;
    gap: 10px;
    width: 100%;
    padding-top: 2px;
  }

  .market-interest-card-actions {
    justify-content: flex-end;
  }

  .seller-profile-stats,
  .seller-profile-games {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .legal-page {
    gap: 12px;
    margin-top: 10px;
  }

  .legal-hero {
    gap: 10px;
    padding: 18px 14px;
    border-radius: 22px;
  }

  .legal-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.02;
  }

  .legal-hero p,
  .legal-card p,
  .legal-card li {
    font-size: 13.5px;
    line-height: 1.42;
  }

  .legal-actions {
    display: grid;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .legal-card {
    padding: 14px;
    border-radius: 18px;
  }

  .legal-card h2 {
    font-size: 19px;
  }
}

.text-link {
  color: #b8d0ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.coin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 92, 0.28);
  background: linear-gradient(180deg, rgba(255, 214, 92, 0.18), rgba(255, 168, 76, 0.12));
  color: #ffe6a7;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.coin-pill::before {
  content: "◉";
  color: #ffd65c;
}

.coin-pill.large {
  padding: 14px 18px;
  font-size: 1.05rem;
}

.wallet-card {
  min-height: 100%;
}

.dashboard-spotlight {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: 28px;
  padding: 0;
  isolation: isolate;
  background: rgba(7, 14, 26, 0.96);
  border: 1px solid rgba(123, 160, 255, 0.22);
  box-shadow:
    0 28px 70px rgba(2, 7, 18, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dashboard-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04), rgba(122, 165, 255, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.dashboard-spotlight::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  pointer-events: none;
}

.dashboard-spotlight-track {
  position: relative;
  display: grid;
  min-height: inherit;
  isolation: isolate;
  border-radius: inherit;
  overflow: hidden;
}

.dashboard-spotlight-slide {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  min-height: inherit;
  gap: 16px;
  padding: 24px 24px 58px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px) scale(0.985);
  transition:
    opacity 360ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 360ms;
  --spotlight-accent: rgba(122, 165, 255, 0.9);
  --spotlight-accent-soft: rgba(122, 165, 255, 0.22);
  --spotlight-accent-deep: rgba(62, 166, 180, 0.85);
  --spotlight-shadow: rgba(6, 12, 24, 0.58);
  --spotlight-foil: rgba(255, 255, 255, 0.18);
  --spotlight-bg-position: center center;
  --spotlight-art-opacity: 0.16;
  --spotlight-fx-opacity: 0.56;
  --spotlight-fx-blend: screen;
  --spotlight-fx-position: center center;
  --spotlight-fx-size: cover;
  --spotlight-fx-inset: -22px -34px -26px 18px;
  --spotlight-orbit-size: 176px;
  --spotlight-orbit-inset: 8px -22px 8px auto;
  --spotlight-card-front-right: 12px;
  --spotlight-card-front-top: -2px;
  --spotlight-card-front-rotation: -9deg;
  --spotlight-card-front-bg-position: center center;
  --spotlight-card-front-bg-size: cover;
  --spotlight-card-back-one-left: 18px;
  --spotlight-card-back-one-top: 18px;
  --spotlight-card-back-one-rotation: -14deg;
  --spotlight-card-back-one-opacity: 0.84;
  --spotlight-card-back-two-left: -2px;
  --spotlight-card-back-two-top: 30px;
  --spotlight-card-back-two-rotation: -22deg;
  --spotlight-card-back-two-opacity: 0.72;
}

.dashboard-spotlight-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 8, 18, 0.74) 0%, rgba(4, 9, 20, 0.66) 32%, rgba(5, 10, 18, 0.18) 64%, rgba(5, 10, 18, 0.42) 100%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.14), transparent 0 18%),
    radial-gradient(circle at 18% 88%, rgba(255, 255, 255, 0.07), transparent 0 22%);
  pointer-events: none;
}

.dashboard-spotlight-slide::after {
  content: "";
  position: absolute;
  right: -34px;
  top: 24px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--spotlight-accent-soft) 0%, rgba(255, 255, 255, 0.04) 38%, transparent 72%);
  filter: blur(14px);
  opacity: 0.95;
  pointer-events: none;
}

.dashboard-spotlight-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition:
    opacity 360ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

.dashboard-spotlight-slide--pokemon {
  --spotlight-accent: rgba(255, 214, 79, 0.96);
  --spotlight-accent-soft: rgba(255, 214, 79, 0.24);
  --spotlight-accent-deep: rgba(31, 111, 235, 0.92);
  --spotlight-foil: rgba(255, 244, 186, 0.24);
  --spotlight-bg-image: url('/static/dashboard/dashboard-bg-pokemon.webp');
  --spotlight-bg-position: center 52%;
  --spotlight-art-image: var(--spotlight-bg-image);
  --spotlight-card-image: url('/static/dashboard/dashboard-card-pokemon.webp');
  --spotlight-fx-image: url('/static/dashboard/dashboard-fx-pokemon.webp');
  --spotlight-fx-opacity: 0.62;
  --spotlight-art-opacity: 0.18;
  --spotlight-fx-position: 56% 46%;
  --spotlight-orbit-size: 182px;
  --spotlight-orbit-inset: 4px -18px 12px auto;
  --spotlight-card-front-right: 14px;
  --spotlight-card-front-top: -6px;
  --spotlight-card-front-rotation: -8deg;
  --spotlight-card-front-bg-position: center 44%;
  --spotlight-card-back-one-left: 22px;
  --spotlight-card-back-one-top: 20px;
  --spotlight-card-back-one-rotation: -15deg;
  --spotlight-card-back-two-left: 2px;
  --spotlight-card-back-two-top: 32px;
  --spotlight-card-back-two-rotation: -24deg;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.58), rgba(7, 12, 22, 0.48)),
    radial-gradient(circle at 82% 22%, rgba(255, 212, 61, 0.24), transparent 30%),
    radial-gradient(circle at 24% 82%, rgba(31, 111, 235, 0.24), transparent 38%),
    var(--spotlight-bg-image) var(--spotlight-bg-position)/cover no-repeat;
}

.dashboard-spotlight-slide--onepiece {
  --spotlight-accent: rgba(255, 126, 89, 0.96);
  --spotlight-accent-soft: rgba(255, 126, 89, 0.24);
  --spotlight-accent-deep: rgba(255, 203, 84, 0.9);
  --spotlight-foil: rgba(255, 226, 170, 0.22);
  --spotlight-bg-image: url('/static/dashboard/dashboard-bg-onepiece.webp');
  --spotlight-bg-position: center 54%;
  --spotlight-art-image: var(--spotlight-bg-image);
  --spotlight-card-image: url('/static/dashboard/dashboard-card-onepiece.webp');
  --spotlight-fx-image: url('/static/dashboard/dashboard-fx-onepiece.webp');
  --spotlight-fx-opacity: 0.56;
  --spotlight-art-opacity: 0.19;
  --spotlight-fx-position: 60% 52%;
  --spotlight-orbit-size: 188px;
  --spotlight-orbit-inset: 10px -28px 6px auto;
  --spotlight-card-front-right: 10px;
  --spotlight-card-front-top: -4px;
  --spotlight-card-front-rotation: -10deg;
  --spotlight-card-front-bg-position: center 48%;
  --spotlight-card-back-one-left: 20px;
  --spotlight-card-back-one-top: 16px;
  --spotlight-card-back-one-rotation: -13deg;
  --spotlight-card-back-two-left: 0;
  --spotlight-card-back-two-top: 28px;
  --spotlight-card-back-two-rotation: -20deg;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.62), rgba(8, 12, 22, 0.52)),
    radial-gradient(circle at 82% 22%, rgba(255, 108, 84, 0.24), transparent 34%),
    radial-gradient(circle at 22% 82%, rgba(255, 196, 92, 0.18), transparent 38%),
    var(--spotlight-bg-image) var(--spotlight-bg-position)/cover no-repeat;
}

.dashboard-spotlight-slide--ygo {
  --spotlight-accent: rgba(186, 120, 255, 0.98);
  --spotlight-accent-soft: rgba(186, 120, 255, 0.25);
  --spotlight-accent-deep: rgba(62, 166, 180, 0.86);
  --spotlight-foil: rgba(222, 204, 255, 0.2);
  --spotlight-bg-image: url('/static/dashboard/dashboard-bg-ygo.webp');
  --spotlight-bg-position: center 47%;
  --spotlight-art-image: var(--spotlight-bg-image);
  --spotlight-card-image: url('/static/dashboard/dashboard-card-ygo.webp');
  --spotlight-fx-image: url('/static/dashboard/dashboard-fx-ygo.webp');
  --spotlight-fx-opacity: 0.58;
  --spotlight-art-opacity: 0.2;
  --spotlight-fx-position: 58% 44%;
  --spotlight-fx-blend: lighten;
  --spotlight-orbit-size: 184px;
  --spotlight-orbit-inset: 2px -24px 14px auto;
  --spotlight-card-front-right: 12px;
  --spotlight-card-front-top: -5px;
  --spotlight-card-front-rotation: -9deg;
  --spotlight-card-front-bg-position: center 46%;
  --spotlight-card-back-one-left: 18px;
  --spotlight-card-back-one-top: 16px;
  --spotlight-card-back-one-rotation: -12deg;
  --spotlight-card-back-two-left: -4px;
  --spotlight-card-back-two-top: 29px;
  --spotlight-card-back-two-rotation: -19deg;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.62), rgba(7, 12, 22, 0.52)),
    radial-gradient(circle at 82% 20%, rgba(179, 110, 255, 0.28), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(62, 166, 180, 0.2), transparent 40%),
    var(--spotlight-bg-image) var(--spotlight-bg-position)/cover no-repeat;
}

.dashboard-spotlight-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-spotlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(9, 16, 28, 0.46);
  color: #f4f8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 20px rgba(5, 10, 18, 0.14);
}

.dashboard-spotlight-chip--game {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(9, 16, 28, 0.56);
}

.dashboard-spotlight-chip--ambient {
  padding-inline: 10px;
  color: rgba(230, 239, 251, 0.74);
  letter-spacing: 0.12em;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 14, 24, 0.3);
}

.dashboard-spotlight-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--spotlight-accent), var(--spotlight-accent-deep));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06), 0 0 16px var(--spotlight-accent-soft);
}

.dashboard-spotlight-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(156px, 198px);
  align-items: start;
  gap: 18px;
}

.dashboard-spotlight-hero > div:first-child {
  position: relative;
  z-index: 1;
}

.dashboard-spotlight-stage {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.dashboard-spotlight-stage::before {
  content: none;
}

.dashboard-spotlight-stage::after {
  content: none;
}

.dashboard-spotlight-copy {
  display: grid;
  gap: 12px;
}

.dashboard-spotlight-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.dashboard-spotlight-value-block {
  display: grid;
  gap: 8px;
  max-width: 100%;
}

.dashboard-spotlight-value-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--spotlight-accent) 40%, transparent), color-mix(in srgb, var(--spotlight-accent-deep) 30%, transparent)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f3f8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 24px rgba(12, 28, 68, 0.2);
}

.dashboard-spotlight-value {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 2px;
  white-space: nowrap;
  text-shadow:
    0 18px 38px rgba(3, 12, 24, 0.42),
    0 0 32px var(--spotlight-accent-soft);
}

.dashboard-spotlight-value-number,
.dashboard-spotlight-value-decimals,
.dashboard-spotlight-value-currency {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 42%, var(--spotlight-accent) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.dashboard-spotlight-value-number {
  font-size: clamp(2.55rem, 5.9vw, 3.9rem);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.dashboard-spotlight-value-decimals {
  padding-top: 0.2em;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  opacity: 0.88;
}

.dashboard-spotlight-value-currency {
  margin-left: 0.18em;
  padding-top: 0.34em;
  font-size: clamp(0.86rem, 1.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.84;
}

.dashboard-spotlight-caption {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.92rem;
  color: rgba(226, 236, 250, 0.78);
  max-width: 20ch;
  line-height: 1.25;
}

.dashboard-spotlight-art {
  position: relative;
  min-height: 196px;
  filter: drop-shadow(0 28px 52px rgba(4, 10, 22, 0.28));
}

.dashboard-spotlight-fx {
  position: absolute;
  inset: var(--spotlight-fx-inset);
  border-radius: 42px;
  background: var(--spotlight-fx-image) var(--spotlight-fx-position)/var(--spotlight-fx-size) no-repeat;
  mix-blend-mode: var(--spotlight-fx-blend);
  opacity: var(--spotlight-fx-opacity, 0.56);
  filter: saturate(1.08) contrast(1.02);
  pointer-events: none;
}

.dashboard-spotlight-art::before {
  content: "";
  position: absolute;
  inset: -12px -26px -16px 4px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, 0.06), rgba(10, 18, 32, 0.4)),
    var(--spotlight-art-image) var(--spotlight-bg-position, center)/cover no-repeat;
  opacity: var(--spotlight-art-opacity);
  mask-image: radial-gradient(circle at 72% 44%, black 0%, black 52%, transparent 84%);
  -webkit-mask-image: radial-gradient(circle at 72% 44%, black 0%, black 52%, transparent 84%);
  pointer-events: none;
}

.dashboard-spotlight-orbit {
  position: absolute;
  inset: var(--spotlight-orbit-inset);
  width: var(--spotlight-orbit-size);
  height: var(--spotlight-orbit-size);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.14), transparent 0 26%),
    conic-gradient(from 120deg, var(--spotlight-accent-soft), rgba(255, 255, 255, 0.02), rgba(190, 112, 255, 0.24), rgba(255, 255, 255, 0.02), var(--spotlight-accent-soft));
  filter: blur(1px);
  opacity: 0.92;
  z-index: 1;
  animation: dashboard-spotlight-orbit-spin 14s linear infinite;
}

.dashboard-spotlight-card-stack {
  position: absolute;
  right: 2px;
  top: 4px;
  width: 182px;
  height: 188px;
  z-index: 2;
  transform-origin: center;
  animation: dashboard-spotlight-float 5.6s ease-in-out infinite;
}

.dashboard-spotlight-card-stack::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 10px;
  width: 124px;
  height: 164px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, var(--spotlight-accent-soft) 0%, color-mix(in srgb, var(--spotlight-accent) 46%, transparent) 32%, transparent 72%);
  filter: blur(18px);
  opacity: 0.96;
  z-index: 0;
  animation: dashboard-spotlight-glow-breathe 4.4s ease-in-out infinite;
}

.dashboard-spotlight-card {
  position: absolute;
  width: 102px;
  height: 144px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(9, 18, 34, 0.96), rgba(14, 27, 48, 0.88)),
    rgba(14, 27, 48, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 26px rgba(3, 8, 18, 0.28),
    0 0 16px rgba(255, 255, 255, 0.04);
}

.dashboard-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.dashboard-spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 16px);
  opacity: 0.42;
}

.dashboard-spotlight-card.back-one {
  left: var(--spotlight-card-back-one-left);
  top: var(--spotlight-card-back-one-top);
  transform: rotate(var(--spotlight-card-back-one-rotation)) scale(0.98);
  opacity: var(--spotlight-card-back-one-opacity);
  z-index: 1;
}

.dashboard-spotlight-card.back-two {
  left: var(--spotlight-card-back-two-left);
  top: var(--spotlight-card-back-two-top);
  transform: rotate(var(--spotlight-card-back-two-rotation)) scale(0.96);
  opacity: var(--spotlight-card-back-two-opacity);
  z-index: 0;
}

.dashboard-spotlight-card.front {
  right: var(--spotlight-card-front-right);
  top: var(--spotlight-card-front-top);
  width: 128px;
  height: 176px;
  transform: rotate(var(--spotlight-card-front-rotation));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--spotlight-accent-soft) 92%, transparent), transparent 52%),
    var(--spotlight-card-image) var(--spotlight-card-front-bg-position)/var(--spotlight-card-front-bg-size) no-repeat,
    linear-gradient(180deg, rgba(12, 22, 40, 0.96), rgba(8, 16, 30, 0.92));
  background-blend-mode: screen, screen, normal, normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 32px 44px rgba(3, 8, 18, 0.46),
    0 0 40px var(--spotlight-accent-soft);
}

.dashboard-spotlight-card.front::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.08), transparent 34%),
    repeating-linear-gradient(115deg, transparent 0 8px, color-mix(in srgb, var(--spotlight-foil) 72%, transparent) 8px 10px, transparent 10px 18px),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.3), transparent 28%),
    radial-gradient(circle at 82% 82%, color-mix(in srgb, var(--spotlight-accent) 42%, transparent), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.dashboard-spotlight-card.front::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.04) 34%, rgba(255, 255, 255, 0.34) 48%, rgba(255, 255, 255, 0.08) 58%, transparent 74%);
  transform: translateX(-120%);
  opacity: 0.8;
  animation: dashboard-spotlight-sheen 5.8s ease-in-out infinite;
}

.dashboard-spotlight-card-logo {
  position: relative;
  z-index: 1;
  width: 82%;
  max-height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.92))
    drop-shadow(0 8px 18px rgba(3, 8, 18, 0.34))
    drop-shadow(0 0 18px color-mix(in srgb, var(--spotlight-accent-soft) 96%, transparent));
}

.dashboard-spotlight-card-logo.game-logo-onepiece {
  width: 88%;
  max-height: 62px;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.9))
    drop-shadow(0 8px 18px rgba(3, 8, 18, 0.34))
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.24));
}

.dashboard-spotlight-lane {
  position: relative;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--spotlight-accent) 92%, transparent), color-mix(in srgb, var(--spotlight-accent-deep) 86%, transparent), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 18px color-mix(in srgb, var(--spotlight-accent-soft) 86%, transparent);
}

.dashboard-spotlight-stats {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  margin-top: 0;
}

.dashboard-spotlight-stats > div {
  display: grid;
  gap: 1px;
  min-width: 0;
  width: 100%;
  padding: 12px 13px 13px;
  border-radius: 24px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 24, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 30px rgba(3, 8, 18, 0.24);
  backdrop-filter: blur(14px);
}

.dashboard-spotlight-stat-card {
  position: relative;
  overflow: hidden;
}

.dashboard-spotlight-stats small {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.dashboard-spotlight-stats strong {
  display: block;
  font-size: 2rem;
  line-height: 0.92;
  color: #f7fbff;
}

.dashboard-spotlight-stat-number {
  display: inline-block;
  font-size: clamp(2.08rem, 3.8vw, 2.55rem);
  letter-spacing: -0.04em;
  text-shadow: 0 0 20px var(--spotlight-accent-soft);
}

.dashboard-spotlight-stats span {
  color: rgba(223, 232, 247, 0.78);
  font-size: 12px;
  line-height: 1.05;
  max-width: 12ch;
}

.dashboard-spotlight-trend {
  display: grid;
  gap: 4px;
  align-content: start;
  justify-items: end;
  margin-top: 4px;
}

.dashboard-spotlight-trend strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 28px rgba(3, 8, 18, 0.22);
}

.dashboard-spotlight-trend span {
  color: rgba(223, 232, 247, 0.76);
  font-size: 9px;
  white-space: nowrap;
}

.dashboard-spotlight-trend.is-up strong {
  color: #dfffea;
  background: linear-gradient(135deg, rgba(23, 157, 94, 0.72), rgba(57, 198, 136, 0.38));
}

.dashboard-spotlight-trend.is-down strong {
  color: #ffe4e6;
  background: linear-gradient(135deg, rgba(197, 60, 91, 0.72), rgba(255, 120, 148, 0.36));
}

.dashboard-spotlight-trend.is-flat strong,
.dashboard-spotlight-trend.is-na strong {
  color: #f4f8ff;
  background: linear-gradient(135deg, rgba(112, 126, 154, 0.54), rgba(162, 178, 205, 0.2));
}

.dashboard-spotlight-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

.dashboard-spotlight-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(147, 168, 196, 0.24);
  transition: transform 180ms ease, background 180ms ease, width 220ms ease, box-shadow 220ms ease;
}

.dashboard-spotlight-dot.is-active {
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.92), rgba(62, 166, 180, 0.86));
  width: 28px;
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(75, 129, 255, 0.16);
}

.dashboard-spotlight[data-dashboard-spotlight-game="pokemon"] .dashboard-spotlight-dot.is-active {
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.96), rgba(255, 214, 79, 0.92));
  box-shadow: 0 0 0 3px rgba(255, 214, 79, 0.14);
}

.dashboard-spotlight[data-dashboard-spotlight-game="onepiece"] .dashboard-spotlight-dot.is-active {
  background: linear-gradient(135deg, rgba(255, 126, 89, 0.96), rgba(255, 203, 84, 0.92));
  box-shadow: 0 0 0 3px rgba(255, 173, 112, 0.15);
}

.dashboard-spotlight[data-dashboard-spotlight-game="ygo"] .dashboard-spotlight-dot.is-active {
  background: linear-gradient(135deg, rgba(186, 120, 255, 0.98), rgba(62, 166, 180, 0.9));
  box-shadow: 0 0 0 3px rgba(186, 120, 255, 0.16);
}

.collection-widgets-panel {
  display: grid;
  gap: 18px;
}

.collection-widgets-head {
  align-items: flex-start;
  gap: 12px;
}

.collection-widgets-head p {
  margin: 6px 0 0;
  max-width: 44ch;
}

.collection-widgets-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.collection-widgets-chip {
  display: inline-grid;
  gap: 3px;
  min-width: 88px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 24, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(3, 8, 18, 0.14);
}

.collection-widgets-chip small {
  color: rgba(221, 232, 248, 0.66);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.collection-widgets-chip strong {
  color: #f7fbff;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.collection-widgets-link {
  align-self: start;
  min-height: 38px;
  padding-inline: 16px;
  white-space: nowrap;
}

.app-only-widget-link,
.app-only-widget-surface {
  display: none !important;
}

.collection-widgets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.collection-widget {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(7, 14, 26, 0.94);
  border: 1px solid rgba(126, 156, 224, 0.18);
  box-shadow:
    0 22px 48px rgba(2, 8, 18, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --widget-accent: rgba(122, 165, 255, 0.92);
  --widget-accent-soft: rgba(122, 165, 255, 0.2);
  --widget-accent-deep: rgba(62, 166, 180, 0.86);
  --widget-foil: rgba(255, 255, 255, 0.16);
  --widget-bg-image: none;
  --widget-fx-image: none;
  --widget-card-image: none;
}

.collection-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 18, 0.06), rgba(4, 8, 18, 0.44)),
    radial-gradient(circle at 82% 18%, var(--widget-accent-soft), transparent 28%),
    var(--widget-bg-image) center center/cover no-repeat;
  pointer-events: none;
}

.collection-widget::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 32%, transparent 68%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 18% 88%, rgba(255, 255, 255, 0.08), transparent 18%);
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
}

.collection-widget--pokemon {
  --widget-accent: rgba(255, 214, 79, 0.96);
  --widget-accent-soft: rgba(255, 214, 79, 0.2);
  --widget-accent-deep: rgba(31, 111, 235, 0.92);
  --widget-foil: rgba(255, 244, 186, 0.24);
  --widget-bg-image: url('/static/dashboard/dashboard-bg-pokemon.webp');
  --widget-fx-image: url('/static/dashboard/dashboard-fx-pokemon.webp');
  --widget-card-image: url('/static/dashboard/dashboard-card-pokemon.webp');
}

.collection-widget--onepiece {
  --widget-accent: rgba(255, 126, 89, 0.96);
  --widget-accent-soft: rgba(255, 126, 89, 0.2);
  --widget-accent-deep: rgba(255, 203, 84, 0.9);
  --widget-foil: rgba(255, 226, 170, 0.22);
  --widget-bg-image: url('/static/dashboard/dashboard-bg-onepiece.webp');
  --widget-fx-image: url('/static/dashboard/dashboard-fx-onepiece.webp');
  --widget-card-image: url('/static/dashboard/dashboard-card-onepiece.webp');
}

.collection-widget--ygo {
  --widget-accent: rgba(186, 120, 255, 0.98);
  --widget-accent-soft: rgba(186, 120, 255, 0.22);
  --widget-accent-deep: rgba(62, 166, 180, 0.86);
  --widget-foil: rgba(222, 204, 255, 0.22);
  --widget-bg-image: url('/static/dashboard/dashboard-bg-ygo.webp');
  --widget-fx-image: url('/static/dashboard/dashboard-fx-ygo.webp');
  --widget-card-image: url('/static/dashboard/dashboard-card-ygo.webp');
}

.collection-widget.is-current {
  border-color: color-mix(in srgb, var(--widget-accent) 32%, rgba(255, 255, 255, 0.14));
  box-shadow:
    0 24px 54px rgba(2, 8, 18, 0.34),
    0 0 0 1px color-mix(in srgb, var(--widget-accent) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.collection-widget-surface {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.collection-widget-stage {
  position: relative;
  min-height: 156px;
  border-radius: 24px;
  overflow: hidden;
}

.collection-widget-fx {
  position: absolute;
  inset: -18px;
  background: var(--widget-fx-image) center center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.62;
  filter: saturate(1.08) contrast(1.02);
}

.collection-widget-orbit {
  position: absolute;
  right: -6px;
  top: 6px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.14), transparent 0 24%),
    conic-gradient(from 120deg, var(--widget-accent-soft), rgba(255, 255, 255, 0.02), color-mix(in srgb, var(--widget-accent-deep) 68%, transparent), rgba(255, 255, 255, 0.02), var(--widget-accent-soft));
  opacity: 0.9;
  filter: blur(1px);
  animation: dashboard-spotlight-orbit-spin 14s linear infinite;
}

.collection-widget-card-stack {
  position: absolute;
  right: 4px;
  top: 6px;
  width: 132px;
  height: 144px;
  animation: dashboard-spotlight-float 5.8s ease-in-out infinite;
}

.collection-widget-card {
  position: absolute;
  width: 74px;
  height: 104px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.96), rgba(14, 27, 48, 0.88)),
    rgba(14, 27, 48, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 24px rgba(3, 8, 18, 0.24),
    0 0 14px rgba(255, 255, 255, 0.04);
}

.collection-widget-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.collection-widget-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 13px);
  opacity: 0.42;
}

.collection-widget-card.back-one {
  left: 14px;
  top: 14px;
  transform: rotate(-14deg);
  opacity: 0.82;
}

.collection-widget-card.back-two {
  left: 0;
  top: 25px;
  transform: rotate(-22deg);
  opacity: 0.68;
}

.collection-widget-card.front {
  right: 2px;
  top: 0;
  width: 92px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: rotate(-9deg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--widget-accent-soft) 92%, transparent), transparent 52%),
    var(--widget-card-image) center center/cover no-repeat,
    linear-gradient(180deg, rgba(12, 22, 40, 0.96), rgba(8, 16, 30, 0.92));
  background-blend-mode: screen, screen, normal, normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 36px rgba(3, 8, 18, 0.42),
    0 0 32px var(--widget-accent-soft);
}

.collection-widget-card.front::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.1)),
    repeating-linear-gradient(115deg, transparent 0 8px, color-mix(in srgb, var(--widget-foil) 72%, transparent) 8px 10px, transparent 10px 18px),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.3), transparent 28%),
    radial-gradient(circle at 82% 82%, color-mix(in srgb, var(--widget-accent) 42%, transparent), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0.88;
}

.collection-widget-card.front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.04) 34%, rgba(255, 255, 255, 0.34) 48%, rgba(255, 255, 255, 0.08) 58%, transparent 74%);
  transform: translateX(-120%);
  opacity: 0.8;
  animation: dashboard-spotlight-sheen 5.8s ease-in-out infinite;
}

.collection-widget-card-logo {
  position: relative;
  z-index: 1;
  width: 80%;
  max-height: 44px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.92))
    drop-shadow(0 8px 18px rgba(3, 8, 18, 0.34))
    drop-shadow(0 0 18px color-mix(in srgb, var(--widget-accent-soft) 96%, transparent));
}

.collection-widget-card-logo.game-logo-onepiece {
  width: 86%;
  max-height: 48px;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.9))
    drop-shadow(0 8px 18px rgba(3, 8, 18, 0.34))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.24));
}

.collection-widget-copy,
.collection-widget-value-block {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.collection-widget-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.collection-widget-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(9, 16, 28, 0.48);
  color: #f4f8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-widget-chip--ambient {
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(230, 239, 251, 0.74);
  letter-spacing: 0.12em;
  background: rgba(8, 14, 24, 0.28);
}

.collection-widget-value-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--widget-accent) 40%, transparent), color-mix(in srgb, var(--widget-accent-deep) 28%, transparent)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f3f8ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.collection-widget .dashboard-spotlight-value {
  gap: 2px;
  margin-top: 0;
  text-shadow:
    0 18px 38px rgba(3, 12, 24, 0.42),
    0 0 32px var(--widget-accent-soft);
}

.collection-widget .dashboard-spotlight-value-number,
.collection-widget .dashboard-spotlight-value-decimals,
.collection-widget .dashboard-spotlight-value-currency {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 42%, var(--widget-accent) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.collection-widget .dashboard-spotlight-value-number {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.collection-widget .dashboard-spotlight-value-decimals {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.collection-widget .dashboard-spotlight-value-currency {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}

.collection-widget-caption {
  color: rgba(226, 236, 250, 0.76);
  font-size: 0.88rem;
  line-height: 1.2;
  max-width: 28ch;
}

.collection-widget-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.collection-widget-stat {
  display: grid;
  gap: 4px;
  padding: 12px 12px 13px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 24, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 24px rgba(3, 8, 18, 0.18);
  backdrop-filter: blur(10px);
}

.collection-widget-stat small {
  color: rgba(223, 232, 247, 0.66);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.collection-widget-stat strong {
  color: #f7fbff;
  font-size: 1.55rem;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-shadow: 0 0 20px var(--widget-accent-soft);
}

.collection-widget-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collection-widget-actions > * {
  flex: 1 1 0;
  min-width: 0;
}

.collection-widget.is-large {
  padding: 18px;
  border-radius: 32px;
}

.collection-widget.is-large .collection-widget-surface {
  grid-template-columns: minmax(0, 1fr) 196px;
  gap: 24px;
}

.collection-widget.is-large .collection-widget-stage {
  min-height: 212px;
}

.collection-widget.is-large .collection-widget-card-stack {
  right: 10px;
  top: 10px;
  width: 164px;
  height: 176px;
}

.collection-widget.is-large .collection-widget-card {
  width: 92px;
  height: 128px;
}

.collection-widget.is-large .collection-widget-card.front {
  width: 116px;
  height: 162px;
}

.collection-widget.is-large .collection-widget-card-logo {
  max-height: 56px;
}

.collection-widget.is-large .dashboard-spotlight-value-number {
  font-size: clamp(2.6rem, 5vw, 3.5rem);
}

.collection-widget-page-hero {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.collection-widget-page-copy {
  display: grid;
  gap: 8px;
}

.collection-widget-page-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 245, 255, 0.82);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
}

.collection-widget-page-copy h2 {
  margin: 0;
}

.collection-widget-page-copy p {
  margin: 0;
  max-width: 46ch;
}

.collection-widget-page-rhythm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.collection-widget-page-rhythm-card {
  display: grid;
  gap: 6px;
  padding: 14px 14px 15px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(122, 165, 255, 0.16), transparent 34%),
    rgba(7, 14, 24, 0.56);
  border: 1px solid rgba(126, 156, 224, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 32px rgba(4, 9, 21, 0.16);
}

.collection-widget-page-rhythm-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(122, 165, 255, 0.72), rgba(75, 209, 192, 0.18));
}

.collection-widget-page-rhythm-card small {
  color: rgba(223, 232, 247, 0.62);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.collection-widget-page-rhythm-card strong {
  color: #f7fbff;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.collection-widget-page-rhythm-card span {
  color: rgba(226, 236, 250, 0.76);
  font-size: 13px;
  line-height: 1.38;
}

.collection-widget-page-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.collection-widget-page-tab {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 24, 0.42);
  color: rgba(236, 244, 255, 0.78);
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.collection-widget-page-tab:hover {
  transform: translateY(-1px);
}

.collection-widget-page-tab.is-active {
  color: #f7fbff;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(9, 16, 28, 0.56);
}

.collection-widget-page-stage {
  margin-top: 18px;
}

.collection-widget-page-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.92fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.collection-widget-page-preview-rail {
  display: grid;
  gap: 16px;
}

.collection-widget-page-preview-card {
  display: grid;
  gap: 12px;
}

.collection-widget-page-preview-card.is-large {
  margin-top: 2px;
}

.collection-widget-page-preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.collection-widget-page-preview-head span {
  color: rgba(223, 232, 247, 0.66);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.collection-widget-page-preview-head strong {
  color: #f7fbff;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.collection-widget-page-aside {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 28px;
  position: sticky;
  top: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(122, 165, 255, 0.12), transparent 28%),
    rgba(7, 14, 24, 0.78);
  border: 1px solid rgba(126, 156, 224, 0.16);
  box-shadow:
    0 24px 46px rgba(2, 8, 18, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.collection-widget-page-aside-copy {
  display: grid;
  gap: 8px;
}

.collection-widget-page-aside-copy h3 {
  margin: 0;
}

.collection-widget-page-aside-copy p {
  margin: 0;
  color: rgba(226, 236, 250, 0.78);
  line-height: 1.4;
}

.collection-widget-page-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.collection-widget-page-metric {
  display: grid;
  gap: 5px;
  padding: 12px 12px 13px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 24, 0.54);
}

.collection-widget-page-metric small {
  color: rgba(223, 232, 247, 0.66);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.collection-widget-page-metric strong {
  color: #f7fbff;
  font-size: 1.15rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.collection-widget-page-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.collection-widget-page-note {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(236, 244, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.collection-widget-page-install-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.collection-widget-page-install-actions [hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .collection-widgets-grid {
    grid-template-columns: 1fr;
  }

  .collection-widgets-head {
    grid-template-columns: 1fr;
  }

  .collection-widgets-link {
    width: 100%;
    justify-content: center;
  }

  .collection-widget-surface,
  .collection-widget.is-large .collection-widget-surface {
    grid-template-columns: 1fr;
  }

  .collection-widget-page-showcase {
    grid-template-columns: 1fr;
  }

  .collection-widget-page-rhythm {
    grid-template-columns: 1fr;
  }

  .collection-widget-page-aside {
    position: relative;
    top: auto;
  }
}

@keyframes dashboard-spotlight-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes dashboard-spotlight-glow-breathe {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes dashboard-spotlight-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes dashboard-spotlight-sheen {
  0%,
  18% {
    transform: translateX(-120%);
    opacity: 0;
  }
  32% {
    opacity: 0.9;
  }
  46% {
    transform: translateX(120%);
    opacity: 0.28;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-atmosphere-orb--north,
  .page-atmosphere-orb--east,
  .page-atmosphere-grid,
  .topbar::before,
  .landing-hero::before,
  .landing-hero::after,
  .page-overview-shell::after,
  .dashboard-vault-shell::before,
  .dashboard-app-strip::before,
  .dashboard-spotlight-fx,
  .dashboard-spotlight-orbit,
  .dashboard-spotlight-card-stack,
  .dashboard-spotlight-card-stack::before,
  .dashboard-spotlight-card.front::after {
    animation: none;
  }

  .page-atmosphere-orb--north,
  .page-atmosphere-orb--east,
  .page-atmosphere-grid,
  .dashboard-spotlight-fx,
  .dashboard-spotlight-orbit {
    display: none;
  }

  .desktop-user-menu-panel,
  .dashboard-spotlight-slide {
    transition: none;
  }
}

body.page-lite-effects .page-atmosphere-orb--north,
body.page-lite-effects .page-atmosphere-orb--east,
body.page-lite-effects .page-atmosphere-grid {
  display: none;
}

body.page-lite-effects .page-atmosphere-noise {
  opacity: 0.2;
}

body.page-lite-effects .topbar::before,
body.page-lite-effects .page-overview-shell::after,
body.page-lite-effects .dashboard-vault-shell::before {
  animation: none;
}

body.page-lite-effects .page-overview-shell::after {
  opacity: 0.46;
}

body.page-lite-effects .dashboard-vault-shell::before {
  opacity: 0.62;
}

body.page-lite-effects .dashboard-vault-shell,
body.page-lite-effects .page-overview-stage,
body.page-lite-effects .profile-identity-game-shell,
body.page-lite-effects .profile-identity-banner-chip,
body.page-lite-effects .collection-widget-page-aside,
body.page-lite-effects .collection-widget-page-metric {
  backdrop-filter: none;
}

body.page-dashboard.dashboard-scroll-active .page-atmosphere-orb--north,
body.page-dashboard.dashboard-scroll-active .page-atmosphere-orb--east,
body.page-dashboard.dashboard-scroll-active .page-atmosphere-grid,
body.page-dashboard.dashboard-scroll-active .page-atmosphere-noise,
body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-fx,
body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-orbit,
body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-slide::after,
body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-art::before,
body.page-dashboard.dashboard-scroll-active .collection-widget-fx,
body.page-dashboard.dashboard-scroll-active .collection-widget-orbit {
  display: none;
}

body.page-dashboard.dashboard-scroll-active .dashboard-vault-shell::before,
body.page-dashboard.dashboard-scroll-active .dashboard-app-strip::before,
body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-card-stack,
body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-card-stack::before,
body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-card.front::after,
body.page-dashboard.dashboard-scroll-active .collection-widget-card-stack,
body.page-dashboard.dashboard-scroll-active .collection-widget-card.front::after {
  animation: none;
}

body.page-dashboard.dashboard-scroll-active .dashboard-vault-shell,
body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-stats > div,
body.page-dashboard.dashboard-scroll-active .collection-widget-stat {
  backdrop-filter: none;
}

body.page-dashboard.dashboard-scroll-active .dashboard-vault-shell::before,
body.page-dashboard.dashboard-scroll-active .dashboard-app-strip::before {
  opacity: 0.34;
}

body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-slide,
body.page-dashboard.dashboard-scroll-active .dashboard-spotlight-dot {
  transition: none;
}

.dashboard-identity-card {
  display: grid;
  gap: 14px;
}

.dashboard-identity-card .wallet-balance {
  align-items: start;
}

.dashboard-identity-card .button-row {
  align-items: stretch;
}

.dashboard-identity-card .button-row > * {
  flex: 1 1 180px;
}

.dashboard-filter-panel .section-head {
  margin-bottom: 12px;
}

.wallet-balance {
  display: grid;
  gap: 10px;
}

.shop-wallet-balance {
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 14px;
}

.shop-wallet-copy {
  display: grid;
  gap: 2px;
  justify-items: end;
  text-align: right;
}

.shop-wallet-copy strong {
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  line-height: 1;
  color: #f7fbff;
}

.shop-wallet-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.shop-wallet-stat {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(87, 176, 255, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(14, 23, 38, 0.88), rgba(8, 15, 27, 0.9));
  overflow: hidden;
}

.shop-wallet-stat::after {
  content: "";
  position: absolute;
  inset: auto -18% -56% 40%;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 184, 84, 0.22), transparent 68%);
  pointer-events: none;
}

.shop-wallet-stat strong {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  color: #f7fbff;
}

.shop-wallet-stat small {
  position: relative;
  z-index: 1;
  color: rgba(216, 228, 247, 0.72);
}

.shop-owned-chips {
  gap: 8px;
}

.shop-owned-chip {
  display: inline-grid;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(114, 89, 255, 0.16), transparent 65%),
    rgba(9, 16, 27, 0.76);
}

.shop-owned-chip small {
  color: rgba(216, 228, 247, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-owned-chip strong {
  font-size: 0.96rem;
  color: #f7fbff;
}

.shop-summary-grid {
  align-items: stretch;
}

.shop-focus-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 201, 93, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(87, 164, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(18, 28, 46, 0.96), rgba(8, 14, 24, 0.98));
}

.shop-focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 180px) 1fr;
  gap: 16px;
  align-items: stretch;
}

.shop-focus-preview {
  position: relative;
  min-height: 156px;
  padding: 14px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at top left, rgba(111, 134, 255, 0.26), transparent 54%),
    linear-gradient(145deg, rgba(24, 42, 70, 0.96), rgba(10, 18, 30, 0.94));
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.shop-focus-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 15, 0.38));
  pointer-events: none;
}

.shop-focus-preview > * {
  position: relative;
  z-index: 1;
}

.shop-focus-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(6, 11, 19, 0.54);
  color: rgba(233, 241, 255, 0.82);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-focus-preview strong {
  font-size: 1.08rem;
  line-height: 1.1;
  text-shadow: 0 8px 28px rgba(4, 8, 16, 0.42);
}

.shop-focus-copy {
  display: grid;
  gap: 10px;
  align-content: center;
}

.shop-focus-copy p {
  margin: 0;
  color: var(--muted);
}

.shop-focus-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-focus-note {
  display: inline-grid;
  gap: 2px;
  min-width: 92px;
  padding: 9px 11px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 14, 24, 0.62);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.shop-focus-note small {
  color: rgba(214, 227, 246, 0.68);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.shop-focus-note strong {
  color: #f6fbff;
  font-size: clamp(0.72rem, 2.2vw, 0.78rem);
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-focus-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shop-focus-stat {
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(7, 13, 22, 0.58);
  border: 1px solid rgba(147, 168, 196, 0.1);
}

.shop-focus-stat strong {
  display: block;
  font-size: 1.05rem;
  color: #fff4d2;
}

.shop-focus-stat small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.equipped-grid {
  display: grid;
  gap: 10px;
}

.equipped-row-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(106, 179, 255, 0.14);
  color: rgba(226, 239, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.equipped-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 14, 24, 0.55);
}

.equipped-row strong {
  font-size: 0.95rem;
  text-align: right;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.shop-item-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 30, 49, 0.94), rgba(11, 21, 36, 0.94));
  box-shadow: 0 24px 40px rgba(5, 10, 18, 0.28);
  overflow: hidden;
}

.shop-item-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% 40%;
  height: 140px;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.24), transparent 68%);
  pointer-events: none;
}

.shop-item-card.rarity-rare::after {
  background: radial-gradient(circle, rgba(77, 215, 255, 0.24), transparent 68%);
}

.shop-item-card.rarity-epic::after {
  background: radial-gradient(circle, rgba(178, 112, 255, 0.26), transparent 68%);
}

.shop-item-card.rarity-legendary::after {
  background: radial-gradient(circle, rgba(255, 191, 84, 0.3), transparent 68%);
}

.shop-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.shop-item-top .tag-row {
  flex-wrap: wrap;
}

.shop-item-preview {
  position: relative;
  min-height: 160px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(111, 134, 255, 0.24), transparent 25%),
    linear-gradient(180deg, rgba(26, 42, 67, 0.82), rgba(10, 18, 30, 0.92));
  overflow: hidden;
}

.shop-item-preview.has-image {
  background-size: cover;
  background-position: center;
}

.shop-item-preview::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(9, 15, 27, 0.8));
}

.shop-preview-rarity {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(7, 13, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eff5ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.shop-preview-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 13, 22, 0.78);
  color: #eef4ff;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.shop-item-copy {
  display: grid;
  gap: 8px;
}

.shop-item-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-item-category,
.shop-item-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shop-item-category {
  background: rgba(10, 18, 29, 0.76);
  border: 1px solid rgba(147, 168, 196, 0.12);
  color: rgba(218, 230, 247, 0.76);
}

.shop-item-state {
  border: 1px solid transparent;
}

.shop-item-state--equipped {
  background: rgba(75, 167, 255, 0.18);
  border-color: rgba(111, 191, 255, 0.18);
  color: #dff3ff;
}

.shop-item-state--owned {
  background: rgba(88, 208, 174, 0.16);
  border-color: rgba(114, 215, 195, 0.16);
  color: #ddfff7;
}

.shop-item-state--locked {
  background: rgba(255, 191, 84, 0.14);
  border-color: rgba(255, 204, 122, 0.16);
  color: #ffeab8;
}

.shop-item-copy h4 {
  margin: 0;
  font-size: 1.06rem;
}

.shop-item-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.shop-category-tab {
  display: inline-grid;
  gap: 4px;
  min-width: 112px;
  padding: 10px 14px;
  border-radius: 18px;
}

.shop-category-tab span {
  display: block;
  white-space: nowrap;
}

.shop-category-tab strong {
  font-size: 0.75rem;
  color: rgba(216, 228, 247, 0.72);
}

.shop-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.showoff-preview-shell,
.showoff-public-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(111, 134, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(20, 34, 54, 0.96), rgba(8, 15, 27, 0.98));
}

.showoff-preview-shell::before,
.showoff-public-shell::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 22%);
  pointer-events: none;
}

.showoff-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.showoff-style-pills {
  gap: 8px;
  margin-bottom: 14px;
}

.showoff-preview-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.showoff-preview-note {
  display: inline-grid;
  gap: 2px;
  min-width: 98px;
  padding: 9px 11px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(108, 144, 255, 0.16), transparent 64%),
    rgba(8, 14, 24, 0.7);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.showoff-preview-note small {
  color: rgba(217, 229, 247, 0.68);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showoff-preview-note strong {
  color: #f6fbff;
  font-size: clamp(0.74rem, 2.3vw, 0.86rem);
  line-height: 1.14;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showoff-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.showoff-preview-stat {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(108, 144, 255, 0.16), transparent 64%),
    rgba(8, 14, 24, 0.68);
  border: 1px solid rgba(147, 168, 196, 0.12);
}

.showoff-preview-stat small {
  color: rgba(217, 229, 247, 0.66);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showoff-preview-stat strong {
  color: #f6fbff;
  font-size: 0.9rem;
}

.showoff-style-pill {
  display: inline-grid;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(108, 144, 255, 0.16), transparent 64%),
    rgba(8, 14, 24, 0.7);
}

.showoff-style-pill small {
  color: rgba(217, 229, 247, 0.68);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showoff-style-pill strong {
  color: #f6fbff;
  font-size: 0.9rem;
}

.showoff-binder-tab {
  min-width: 124px;
}

.showoff-grid.editable {
  margin-top: 16px;
}

.showoff-slot {
  display: grid;
  gap: 10px;
}

.showoff-slot-art {
  position: relative;
  display: block;
  aspect-ratio: 0.72;
  border-radius: 14px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 17, 30, 0.84);
}

.showoff-slot-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 10px;
  filter: drop-shadow(0 14px 22px rgba(5, 10, 18, 0.22));
}

.showoff-slot-code {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(6, 12, 21, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f3f8ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.showoff-slot small {
  color: var(--muted);
  text-align: center;
}

.showoff-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 12px;
  border-radius: inherit;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 12px, transparent 12px, transparent 24px),
    rgba(7, 12, 22, 0.82);
}

.showoff-slot.editable select {
  width: 100%;
}

.showoff-slot.editable .showoff-slot-art {
  border-style: dashed;
}

.showoff-editor-switcher {
  display: grid;
  gap: 12px;
}

.showoff-editor-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.showoff-editor-tab {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background: rgba(11, 19, 31, 0.84);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.showoff-editor-tab.is-active {
  border-color: rgba(255, 221, 131, 0.22);
  background:
    radial-gradient(circle at top left, rgba(255, 196, 83, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(36, 53, 82, 0.96), rgba(16, 26, 42, 0.98));
  color: #f7fbff;
}

.showoff-editor-pane {
  display: none;
}

.showoff-editor-pane.is-active {
  display: block;
}

.showoff-editor-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.showoff-field {
  display: grid;
  gap: 6px;
}

.showoff-field--wide {
  grid-column: 1 / -1;
}

.showoff-field--toggle {
  align-content: end;
}

.profile-identity-shell {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(7, 13, 24, 0.16), rgba(7, 13, 24, 0.74)),
    linear-gradient(135deg, rgba(20, 34, 58, 0.96), rgba(8, 14, 26, 0.98));
}

.profile-identity-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at bottom right, rgba(95, 153, 255, 0.18), transparent 28%);
  pointer-events: none;
}

.profile-identity-hero,
.profile-identity-pills {
  position: relative;
  z-index: 1;
}

.profile-identity-banner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background:
    linear-gradient(135deg, rgba(26, 44, 72, 0.96), rgba(10, 18, 29, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 34px rgba(4, 9, 17, 0.24);
}

.profile-identity-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 28%, transparent 68%, rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 12% 22%, rgba(255, 214, 92, 0.14), transparent 22%),
    radial-gradient(circle at 88% 78%, rgba(95, 153, 255, 0.18), transparent 28%);
  pointer-events: none;
}

.profile-identity-banner-glow {
  position: absolute;
  inset: auto -12% -80% 38%;
  height: 180px;
  background: radial-gradient(circle, rgba(110, 168, 255, 0.26), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.profile-identity-banner-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-identity-banner-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(7, 13, 24, 0.72);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: #eef5ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.profile-identity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  gap: 18px;
  align-items: end;
}

.profile-identity-showcase {
  display: grid;
  gap: 12px;
}

.profile-identity-game-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at bottom right, rgba(95, 153, 255, 0.2), transparent 28%),
    rgba(7, 13, 24, 0.62);
  backdrop-filter: blur(12px);
}

.profile-identity-game-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.profile-identity-game-logo,
.profile-identity-game-badge {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background: rgba(10, 18, 30, 0.82);
}

.profile-identity-game-logo {
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
}

.profile-identity-game-badge {
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
  color: #f7fbff;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.profile-identity-game-copy {
  display: grid;
  gap: 4px;
}

.profile-identity-game-copy small {
  color: rgba(217, 229, 247, 0.66);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-identity-game-copy strong {
  color: #f8fbff;
  font-size: 1.1rem;
  line-height: 1;
}

.profile-identity-game-copy span {
  color: rgba(230, 238, 251, 0.74);
  font-size: 0.84rem;
}

.profile-identity-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.profile-avatar-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-frame {
  width: 92px;
  height: 92px;
}

.profile-avatar-frame img,
.profile-avatar-frame .avatar-fallback {
  width: 92px;
  height: 92px;
  border-radius: 50%;
}

.profile-avatar-frame .avatar-fallback {
  display: grid;
  place-items: center;
  background: rgba(13, 22, 36, 0.86);
  color: #f4f8ff;
  font-size: 2rem;
  font-weight: 800;
}

.profile-identity-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.profile-identity-topline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-level-pill,
.profile-joined-pill {
  background: rgba(8, 14, 24, 0.74);
}

.profile-identity-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 0.94;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.profile-identity-signature {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(9, 16, 28, 0.54);
  border: 1px solid rgba(147, 168, 196, 0.14);
  color: rgba(231, 239, 251, 0.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-identity-copy p {
  display: block;
  margin: 0;
  color: rgba(230, 238, 251, 0.8);
  max-width: 34ch;
  line-height: 1.24;
}

.profile-identity-stats {
  display: grid;
  gap: 10px;
}

.profile-identity-stat {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  padding: 14px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(111, 134, 255, 0.16), transparent 52%),
    rgba(7, 13, 24, 0.62);
  backdrop-filter: blur(12px);
}

.profile-identity-stat small {
  color: rgba(217, 229, 247, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-identity-stat strong {
  color: #f8fbff;
  font-size: 1.3rem;
  line-height: 1;
}

.profile-section-jumps {
  gap: 8px;
  margin-top: 14px;
}

.profile-section-jump {
  display: inline-grid;
  gap: 2px;
  min-width: 86px;
  padding: 8px 11px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(255, 201, 93, 0.14), transparent 62%),
    rgba(8, 14, 24, 0.72);
}

.profile-section-jump small {
  color: rgba(217, 229, 247, 0.68);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-section-jump strong {
  color: #f6fbff;
  font-size: 0.92rem;
}

.profile-identity-pills {
  gap: 8px;
  margin-top: 16px;
}

.profile-identity-pill {
  display: inline-grid;
  gap: 2px;
  padding: 8px 11px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(95, 153, 255, 0.16), transparent 64%),
    rgba(8, 14, 24, 0.7);
}

.profile-identity-pill small {
  color: rgba(217, 229, 247, 0.68);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-identity-pill strong {
  color: #f6fbff;
  font-size: 0.88rem;
}

.showcase-galaxy,
.theme-nebula {
  background:
    radial-gradient(circle at top left, rgba(95, 153, 255, 0.24), transparent 24%),
    radial-gradient(circle at top right, rgba(196, 90, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(28, 34, 78, 0.94), rgba(8, 15, 27, 0.98));
}

.showcase-neon,
.theme-flare {
  background:
    radial-gradient(circle at top left, rgba(255, 91, 116, 0.24), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 197, 73, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(54, 23, 46, 0.94), rgba(12, 16, 26, 0.98));
}

.theme-tidal {
  background:
    radial-gradient(circle at top left, rgba(60, 214, 220, 0.22), transparent 24%),
    radial-gradient(circle at bottom right, rgba(73, 130, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(13, 41, 62, 0.94), rgba(8, 15, 27, 0.98));
}

.theme-noir {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(28, 28, 34, 0.96), rgba(8, 12, 18, 0.98));
}

.binder-aurora {
  background:
    radial-gradient(circle at top left, rgba(110, 255, 194, 0.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(111, 134, 255, 0.18), transparent 26%);
}

.binder-inferno {
  background:
    radial-gradient(circle at top left, rgba(255, 120, 73, 0.16), transparent 22%),
    radial-gradient(circle at bottom right, rgba(255, 74, 146, 0.16), transparent 26%);
}

.binder-mystic {
  background:
    radial-gradient(circle at top left, rgba(190, 122, 255, 0.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(74, 125, 255, 0.16), transparent 26%);
}

.binder-emerald {
  background:
    radial-gradient(circle at top left, rgba(103, 255, 167, 0.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(70, 194, 255, 0.16), transparent 26%);
}

.binder-glass {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.binder-goldleaf {
  border: 1px solid rgba(255, 212, 116, 0.36);
  box-shadow: 0 0 0 1px rgba(255, 212, 116, 0.12), inset 0 1px 0 rgba(255, 232, 176, 0.12);
}

.binder-carbon {
  border: 1px solid rgba(128, 142, 166, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.frame-starlight .showoff-slot-art,
.glow-holo .showoff-slot-art {
  box-shadow: 0 0 0 1px rgba(123, 196, 255, 0.24), 0 0 22px rgba(99, 179, 255, 0.18);
}

.frame-gold-rush .showoff-slot-art {
  box-shadow: 0 0 0 1px rgba(255, 214, 92, 0.28), 0 0 22px rgba(255, 188, 60, 0.18);
}

.frame-crimson-edge .showoff-slot-art {
  box-shadow: 0 0 0 1px rgba(255, 92, 120, 0.28), 0 0 22px rgba(255, 92, 120, 0.18);
}

.frame-violet-crown .showoff-slot-art,
.glow-prismatic .showoff-slot-art {
  box-shadow: 0 0 0 1px rgba(191, 112, 255, 0.28), 0 0 22px rgba(191, 112, 255, 0.18);
}

.glow-firefoil .showoff-slot-art {
  box-shadow: 0 0 0 1px rgba(255, 140, 76, 0.28), 0 0 22px rgba(255, 140, 76, 0.18);
}

body.header-nebula .topbar {
  background:
    radial-gradient(circle at top left, rgba(95, 153, 255, 0.18), transparent 22%),
    radial-gradient(circle at top right, rgba(196, 90, 255, 0.14), transparent 28%),
    rgba(13, 22, 37, 0.92);
}

body.header-flare .topbar {
  background:
    radial-gradient(circle at top left, rgba(255, 117, 87, 0.2), transparent 22%),
    radial-gradient(circle at top right, rgba(255, 214, 92, 0.14), transparent 28%),
    rgba(18, 24, 34, 0.92);
}

body.header-tidal .topbar {
  background:
    radial-gradient(circle at top left, rgba(72, 202, 228, 0.18), transparent 22%),
    radial-gradient(circle at top right, rgba(63, 127, 255, 0.16), transparent 28%),
    rgba(12, 23, 39, 0.92);
}

body.header-noir .topbar {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at top right, rgba(156, 110, 255, 0.12), transparent 28%),
    rgba(12, 16, 24, 0.94);
}

body.binder-aurora .collection-binder-shell,
body.binder-aurora .set-section .list-card,
body.binder-aurora .list-card.collection-binder-shell {
  background:
    radial-gradient(circle at top left, rgba(110, 255, 194, 0.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(111, 134, 255, 0.16), transparent 28%),
    rgba(11, 19, 31, 0.94);
}

body.binder-inferno .collection-binder-shell,
body.binder-inferno .set-section .list-card,
body.binder-inferno .list-card.collection-binder-shell {
  background:
    radial-gradient(circle at top left, rgba(255, 120, 73, 0.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(255, 74, 146, 0.14), transparent 28%),
    rgba(11, 19, 31, 0.94);
}

body.binder-mystic .collection-binder-shell,
body.binder-mystic .set-section .list-card,
body.binder-mystic .list-card.collection-binder-shell {
  background:
    radial-gradient(circle at top left, rgba(190, 122, 255, 0.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(74, 125, 255, 0.14), transparent 28%),
    rgba(11, 19, 31, 0.94);
}

body.binder-emerald .collection-binder-shell,
body.binder-emerald .set-section .list-card,
body.binder-emerald .list-card.collection-binder-shell {
  background:
    radial-gradient(circle at top left, rgba(103, 255, 167, 0.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(70, 194, 255, 0.14), transparent 28%),
    rgba(11, 19, 31, 0.94);
}

body.binder-glass .collection-binder-shell,
body.binder-glass .set-section .list-card,
body.binder-glass .list-card.collection-binder-shell {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.binder-goldleaf .collection-binder-shell,
body.binder-goldleaf .set-section .list-card,
body.binder-goldleaf .list-card.collection-binder-shell {
  border-color: rgba(255, 214, 92, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 214, 92, 0.1), inset 0 1px 0 rgba(255, 235, 188, 0.08);
}

body.binder-carbon .collection-binder-shell,
body.binder-carbon .set-section .list-card,
body.binder-carbon .list-card.collection-binder-shell {
  border-color: rgba(128, 142, 166, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.glow-holo .collection-binder-thumb,
body.glow-holo .binder-thumb {
  box-shadow: 0 0 0 1px rgba(123, 196, 255, 0.18), 0 0 18px rgba(99, 179, 255, 0.12);
}

body.glow-prismatic .collection-binder-thumb,
body.glow-prismatic .binder-thumb {
  box-shadow: 0 0 0 1px rgba(191, 112, 255, 0.18), 0 0 18px rgba(191, 112, 255, 0.12);
}

body.glow-firefoil .collection-binder-thumb,
body.glow-firefoil .binder-thumb {
  box-shadow: 0 0 0 1px rgba(255, 140, 76, 0.18), 0 0 18px rgba(255, 140, 76, 0.12);
}

@media (max-width: 980px) {
  .grid.two,
  .grid.three,
  .split,
  .price-grid,
  .card-hero,
  .lookup,
  .form-grid,
  .filter-grid,
  .search-grid,
  .search-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 26px;
  }

  .landing-hero,
  .landing-games-grid,
  .showcase-stack {
    grid-template-columns: 1fr;
  }

  .landing-games-grid {
    gap: 14px;
  }

  .landing-hero h2 {
    max-width: none;
    font-size: clamp(34px, 10vw, 52px);
    text-wrap: balance;
  }

  .landing-copy p {
    font-size: 18px;
    max-width: none;
  }

  .landing-search-inline .quick-search-form {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-link {
    min-width: max-content;
  }

  .set-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .set-hero-logo,
  .set-code-tile--hero {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .set-hero-logo {
    padding: 14px;
  }

  .set-code-tile--hero {
    font-size: 20px;
  }

  .quick-search-form,
  .quick-search-shell.compact .quick-search-form {
    grid-template-columns: 1fr;
  }

  .quick-search-actions {
    justify-content: flex-start;
  }

  .market-set-form {
    grid-template-columns: 1fr;
  }

  .market-set-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 8px 8px 24px;
  }

  .topbar {
    position: sticky;
    top: 8px;
    z-index: 40;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .brand h1 {
    font-size: 15px;
  }

  .brand .eyebrow,
  .brand .muted {
    font-size: 11px;
  }

  .brand .muted {
    line-height: 1.2;
  }

  .hero {
    padding: 16px;
    border-radius: 20px;
  }

  .landing-hero {
    min-height: auto;
    gap: 12px;
    background:
      linear-gradient(180deg, rgba(7, 14, 26, 0.44), rgba(7, 14, 26, 0.84)),
      url("/static/home/home-hero-bg.webp") center/cover no-repeat;
  }

  .landing-hero h2 {
    max-width: none;
    font-size: clamp(24px, 8.2vw, 32px);
    line-height: 1;
    text-wrap: balance;
  }

  .landing-copy {
    gap: 10px;
  }

  .landing-copy p {
    font-size: 13px;
    line-height: 1.34;
    max-width: none;
  }

  .landing-discord-callout {
    padding: 12px;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .landing-discord-callout p {
    font-size: 14px;
    max-width: none;
  }

  .landing-pill-row {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .landing-pill-row::-webkit-scrollbar,
  .landing-set-strip::-webkit-scrollbar {
    display: none;
  }

  .landing-pill {
    white-space: nowrap;
  }

  .landing-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .landing-hero-stat {
    padding: 12px 10px;
    border-radius: 16px;
  }

  .landing-hero-stat strong {
    font-size: 17px;
  }

  .landing-hero-stat small {
    font-size: 10px;
  }

  .landing-showcase {
    display: grid;
    gap: 8px;
  }

  .landing-search-inline {
    margin-top: 0;
  }

  .section-head {
    gap: 8px;
  }

  .section-head .muted {
    width: 100%;
  }

  .landing-games-grid {
    grid-template-columns: 1fr;
  }

  .game-spotlight {
    min-height: 248px;
    gap: 10px;
    padding: 14px 14px;
  }

  .game-logo-large {
    width: min(100%, 100%);
    max-width: 330px;
    max-height: 94px;
    margin-inline: auto;
  }

  .game-logo-pokemon,
  .game-logo-ygo {
    width: min(100%, 100%);
    max-width: 360px;
    max-height: 108px;
  }

  .game-spotlight-summary {
    font-size: 15px;
    max-width: none;
    text-align: center;
  }

  .game-spotlight-brand {
    min-height: 82px;
  }

  .game-spotlight .button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .showcase-stack {
    display: none;
  }

  .showcase-card {
    padding: 14px;
    border-radius: 20px;
  }

  .showcase-card strong {
    font-size: 18px;
  }

  .showcase-card p {
    font-size: 13px;
    line-height: 1.35;
  }

  .showcase-scene {
    min-height: 168px;
    margin-top: 14px;
  }

  .showcase-device {
    inset: 14px;
    border-radius: 20px;
  }

  .showcase-device-top {
    padding: 10px 12px;
    font-size: 10px;
  }

  .showcase-device-body {
    padding: 12px 12px 14px;
    gap: 10px;
  }

  .showcase-device-value strong {
    font-size: 36px;
  }

  .showcase-device-stack {
    right: 10px;
    top: 16px;
    width: 88px;
    height: 108px;
  }

  .showcase-inline-metrics {
    gap: 8px;
  }

  .showcase-inline-metric {
    padding: 10px 8px;
    border-radius: 14px;
  }

  .landing-set-strip {
    padding: 10px;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .hero-actions,
  .button-row,
  .quick-search-actions {
    width: 100%;
  }

  .hero-actions > *,
  .quick-search-actions > *,
  .button-row > * {
    flex: 1 1 100%;
  }

  .nav-link {
    min-height: 40px;
    width: auto;
    min-width: max-content;
    padding: 0 11px;
    font-size: 12px;
    gap: 8px;
  }

  .featured-card {
    width: clamp(176px, 52vw, 212px);
    flex-basis: clamp(176px, 52vw, 212px);
    border-radius: 16px;
  }

  .featured-card img {
    height: clamp(248px, 72vw, 300px);
  }

  .featured-card-copy {
    padding: 10px;
    margin-top: -20px;
  }

  .featured-card-copy small {
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.54rem;
  }

  .featured-card-copy strong {
    font-size: 1rem;
  }

  .featured-card-footer span {
    font-size: 0.72rem;
  }

  .nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .landing-search-inline .quick-search-form,
  .quick-search-form,
  .quick-search-shell.compact .quick-search-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-search-shell {
    padding: 16px;
    border-radius: 18px;
  }

  .quick-search-input input,
  .quick-search-game select {
    min-height: 50px;
    font-size: 16px;
  }

  .landing-search-inline .quick-search-actions button,
  .landing-search-inline .quick-search-actions .button-link,
  .quick-search-actions button,
  .quick-search-actions .button-link,
  .button-row .button-link,
  .button-row button {
    width: 100%;
  }

  .section-title {
    font-size: clamp(28px, 8.4vw, 40px);
  }

  .featured-cards-shell .section-head,
  .landing-games .section-head {
    align-items: start;
  }

  .stat {
    padding: 14px 16px;
    border-radius: 18px;
  }

  .stat strong {
    font-size: 30px;
  }

  .list-card {
    padding: 14px;
    border-radius: 18px;
  }

  .section-head {
    margin-bottom: 10px;
  }

  .set-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .set-card {
    padding: 14px;
    border-radius: 18px;
  }

  .set-card-main {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }

  .set-logo,
  .set-badge,
  .set-code-tile {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .completion-block {
    padding: 12px 14px;
    border-radius: 18px;
  }

  .completion-meta strong {
    font-size: 16px;
  }

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .collection-card {
    grid-template-columns: 78px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .collection-thumb {
    min-height: 112px;
    border-radius: 12px;
  }

  .collection-card-copy {
    gap: 8px;
  }

  .collection-card-copy h4 {
    font-size: 18px;
  }

  .collection-binder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .collection-binder-code {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .collection-binder-thumb {
    border-radius: 10px;
  }

  .binder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .binder-card {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    gap: 6px;
    box-shadow: none;
  }

  .binder-thumb {
    min-height: 0;
    border-radius: 12px;
    aspect-ratio: 0.72;
  }

  .binder-copy {
    gap: 4px;
    align-items: center;
  }

  .binder-copy .tag-row {
    justify-content: center;
  }

  .binder-copy .tag {
    display: none;
  }

  .binder-copy h4,
  .binder-copy p,
  .binder-actions {
    display: none;
  }

  .binder-copy .code {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .market-set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .market-card-grid-shell {
    padding: 14px;
    border-radius: 20px;
    background:
      radial-gradient(circle at top left, rgba(82, 149, 255, 0.12), transparent 26%),
      radial-gradient(circle at bottom right, rgba(74, 210, 194, 0.08), transparent 28%),
      rgba(8, 15, 25, 0.92);
  }

  .market-active-set-bar {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 18px;
  }

  .market-active-set-logo,
  .market-active-set-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .market-active-set-copy {
    gap: 4px;
  }

  .market-active-set-eyebrow {
    min-height: 22px;
    padding: 0 8px;
    font-size: 9px;
  }

  .market-active-set-copy strong {
    font-size: 17px;
  }

  .market-active-set-copy small {
    font-size: 10px;
    line-height: 1.15;
  }

  .market-active-set-swap {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 14px;
    font-size: 10px;
  }

  .market-set-link {
    padding: 8px;
  }

  .market-set-card {
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
      rgba(10, 18, 29, 0.84);
    border-color: rgba(123, 196, 255, 0.12);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 10px 18px rgba(3, 8, 18, 0.16);
  }

  .market-set-thumb {
    min-height: 0;
    border-radius: 10px;
    aspect-ratio: 0.72;
  }

  .market-set-thumb::before {
    opacity: 0.54;
  }

  .market-set-thumb::after {
    inset: auto 10% -24% 10%;
    height: 40%;
    opacity: 0.46;
  }

  .market-set-version {
    left: 7px;
    bottom: 7px;
    min-height: 18px;
    max-width: calc(100% - 14px);
    padding: 0 6px;
    font-size: 0.52rem;
  }

  .set-nav {
    gap: 8px;
  }

  .set-pill {
    padding: 8px 12px;
  }

  .mini-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shop-item-card {
    padding: 14px;
    border-radius: 20px;
  }

  .shop-item-preview {
    min-height: 132px;
    border-radius: 16px;
  }

  .showoff-grid {
    gap: 10px;
  }

  .showoff-slot-art {
    border-radius: 14px;
  }

  .coin-pill.large {
    font-size: 0.96rem;
  }

  .shop-wallet-balance {
    grid-template-columns: 1fr;
  }

  .shop-wallet-copy {
    justify-items: start;
    text-align: left;
  }

  .shop-wallet-stats {
    grid-template-columns: 1fr 1fr;
  }

  .equipped-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .equipped-row strong {
    text-align: left;
  }
}

@media (max-width: 340px) {
  body.is-mobile-ui.page-collection .collection-binder-grid,
  body.is-mobile-ui.page-wanted-list .collection-binder-grid,
  body.is-mobile-ui.page-sell-list .collection-binder-grid,
  body.is-mobile-ui .binder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  body.is-mobile-ui.page-collection .collection-binder-version,
  body.is-mobile-ui.page-wanted-list .collection-binder-version,
  body.is-mobile-ui.page-sell-list .collection-binder-version,
  body.is-mobile-ui.page-profile .collection-binder-version,
  body.is-mobile-ui.page-collection .collection-binder-qty,
  body.is-mobile-ui.page-wanted-list .collection-binder-qty,
  body.is-mobile-ui.page-sell-list .collection-binder-qty,
  body.is-mobile-ui.page-profile .collection-binder-qty {
    max-width: calc(100% - 8px);
    min-height: 16px;
    padding: 0 4px;
    font-size: 0.44rem;
    letter-spacing: 0.01em;
  }

  body.is-mobile-ui.page-dashboard .dashboard-spotlight-hero {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
  }

  body.is-mobile-ui.page-dashboard .dashboard-spotlight-card-stack {
    width: 116px;
    height: 132px;
  }

  body.is-mobile-ui.page-dashboard .dashboard-spotlight-card {
    width: 74px;
    height: 104px;
  }

  body.is-mobile-ui.page-dashboard .dashboard-spotlight-card.front {
    width: 86px;
    height: 120px;
  }

  body.is-mobile-ui .showcase-device {
    inset: 10px;
  }

  body.is-mobile-ui .showcase-device-stack {
    width: 72px;
    height: 92px;
    right: 8px;
    top: 12px;
  }
}

body.pwa-standalone {
  background:
    radial-gradient(circle at top left, rgba(111, 134, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #09111d 0%, #0d1522 100%);
}

body.pwa-standalone .shell {
  max-width: 100%;
  padding: 12px 12px 40px;
}

body.pwa-standalone.page-widget {
  background:
    radial-gradient(circle at top left, rgba(255, 126, 89, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(122, 165, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #08101b 0%, #0d1522 100%);
}

body.pwa-standalone .app-only-widget-link,
body.pwa-standalone .app-only-widget-surface {
  display: initial !important;
}

body.pwa-standalone .dashboard-block.app-only-widget-surface {
  display: block !important;
}

body.pwa-standalone .mobile-utility-link.app-only-widget-link,
body.pwa-standalone .nav-link.app-only-widget-link,
body.pwa-standalone .dashboard-app-quicklink.app-only-widget-link {
  display: inline-flex !important;
}

body.pwa-standalone .topbar {
  position: sticky;
  top: 0;
  z-index: 94;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 20px;
}

body.pwa-standalone.auth-user .topbar.auth-topbar {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(8, 14, 24, 0.84);
  border-color: rgba(126, 156, 224, 0.18);
  box-shadow:
    0 24px 52px rgba(2, 8, 18, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

body.pwa-standalone.auth-user .mobile-level-pill {
  border-color: rgba(126, 156, 224, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(26, 46, 86, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(4, 10, 22, 0.18);
}

body.pwa-standalone.auth-user .mobile-page-pill {
  border-color: rgba(126, 156, 224, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(16, 27, 46, 0.62);
  color: rgba(244, 248, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 18px rgba(4, 10, 22, 0.16);
}

body.pwa-standalone.auth-user .mobile-utility-link,
body.pwa-standalone.auth-user .mobile-auth-button {
  border-color: rgba(126, 156, 224, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(9, 16, 28, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 20px rgba(3, 8, 18, 0.18);
}

body.pwa-standalone.auth-user .mobile-bottom-nav {
  left: 12px;
  right: 12px;
  bottom: max(10px, env(safe-area-inset-bottom));
  padding: 6px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(8, 14, 24, 0.9);
  border: 1px solid rgba(126, 156, 224, 0.16);
  box-shadow:
    0 28px 50px rgba(2, 8, 18, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

body.pwa-standalone.auth-user .mobile-bottom-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02), rgba(122, 165, 255, 0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

body.pwa-standalone.auth-user .mobile-nav-link {
  border-radius: 18px;
}

body.pwa-standalone .desktop-nav [data-install-app],
body.pwa-standalone .desktop-utility-nav [data-install-app],
body.pwa-standalone .mobile-utility-nav [data-install-app],
body.pwa-standalone [data-install-panel] {
  display: none !important;
}

body.pwa-standalone .brand {
  min-width: 0;
}

body.pwa-standalone .brand h1 {
  font-size: 20px;
}

body.pwa-standalone .nav {
  width: 100%;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 4px;
}

body.pwa-standalone .button-link,
body.pwa-standalone button,
body.pwa-standalone .button {
  min-height: 42px;
  white-space: nowrap;
}

body.pwa-standalone .hero,
body.pwa-standalone .panel,
body.pwa-standalone .list-card,
body.pwa-standalone .editor-shell,
body.pwa-standalone .stat {
  border-radius: 22px;
}

body.pwa-standalone.page-widget .shell {
  max-width: 1320px;
  padding-top: max(12px, env(safe-area-inset-top));
}

body.pwa-standalone.page-widget .topbar {
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(8, 14, 24, 0.82);
  backdrop-filter: blur(22px);
}

body.pwa-standalone.page-widget .collection-widget-page-hero {
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 24%),
    rgba(7, 14, 24, 0.74);
  border: 1px solid rgba(126, 156, 224, 0.18);
  box-shadow:
    0 30px 60px rgba(2, 8, 18, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.pwa-standalone.page-widget .collection-widget-page-showcase {
  gap: 20px;
}

body.pwa-standalone.page-widget .collection-widget-page-aside {
  border-radius: 30px;
  box-shadow:
    0 28px 56px rgba(2, 8, 18, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.pwa-standalone.page-widget .collection-widget-page-install-actions .button-link,
body.pwa-standalone.page-widget .collection-widget-page-install-actions button {
  min-height: 46px;
}

body.pwa-standalone .hero {
  padding: 24px 18px;
}

body.pwa-standalone .landing-hero {
  grid-template-columns: 1fr;
  gap: 18px;
}

body.pwa-standalone .landing-hero h2 {
  max-width: 11ch;
  font-size: clamp(34px, 10vw, 52px);
}

body.pwa-standalone .landing-copy p {
  max-width: none;
  font-size: 18px;
}

body.pwa-standalone .showcase-stack,
 body.pwa-standalone .landing-search-shell .grid.two {
  grid-template-columns: 1fr;
}

body.pwa-standalone .hero-actions {
  display: grid;
  grid-template-columns: 1fr;
}

body.pwa-standalone .hero-actions > * {
  width: 100%;
}

@media (max-width: 640px) {
  body.pwa-standalone .nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  body.pwa-standalone .nav-link {
    width: auto;
  }

  body.pwa-standalone .landing-hero h2 {
    max-width: 9ch;
    font-size: clamp(24px, 9vw, 34px);
  }

  body.pwa-standalone .landing-copy p {
    font-size: 14px;
    line-height: 1.34;
  }
}

@media (max-width: 768px) {
  .desktop-nav,
  .desktop-utility-nav {
    display: none !important;
  }

  body.auth-user .topbar.auth-topbar .desktop-nav {
    display: none !important;
  }

  body.auth-user .topbar.auth-topbar {
    position: sticky;
    top: 8px;
    z-index: 60;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "meta actions";
    align-items: center;
    gap: clamp(10px, 3vw, 12px);
    padding: clamp(12px, 3.6vw, 15px) clamp(12px, 3.8vw, 15px) clamp(14px, 4vw, 18px);
    margin-bottom: 12px;
    min-height: clamp(132px, 38vw, 150px);
    border-radius: var(--ui-radius-lg);
    overflow: hidden;
  }

  body.auth-user .topbar.auth-topbar .brand {
    display: none !important;
  }

  body.auth-user .topbar.auth-topbar .mobile-user-meta {
    display: flex;
    grid-area: meta;
    min-width: 0;
    align-items: center;
    gap: clamp(10px, 3.2vw, 14px);
    align-self: center;
    position: relative;
    padding: 4px 0 0;
    min-height: clamp(96px, 27vw, 112px);
  }

  body.auth-user .topbar.auth-topbar .mobile-user-stack {
    display: grid;
    gap: clamp(8px, 2.6vw, 10px);
    align-content: center;
    min-width: 0;
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
  }

  body.auth-user .topbar.auth-topbar .mobile-user-avatar {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
  }

  body.auth-user .topbar.auth-topbar .mobile-user-avatar::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(122, 165, 255, 0.34), transparent 68%);
    opacity: 0.88;
    pointer-events: none;
    animation: topbar-avatar-breathe 4.8s ease-in-out infinite;
  }

  body.auth-user .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(68px, 20vw, 80px);
    height: clamp(68px, 20vw, 80px);
    z-index: 1;
  }

  body.auth-user .topbar.auth-topbar .mobile-user-name {
    max-width: 100%;
    color: #f5f8ff;
    font-size: clamp(0.96rem, 4.7vw, 1.18rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 8px 20px rgba(8, 13, 26, 0.34);
  }

  body.auth-user .topbar.auth-topbar .mobile-user-edit {
    position: absolute;
    right: 0;
    bottom: 4px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(32px, 9vw, 36px);
    height: clamp(32px, 9vw, 36px);
    border-radius: var(--ui-radius-sm);
    text-decoration: none;
    color: #f6fbff;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
      rgba(16, 26, 43, 0.72);
    border: 1px solid rgba(126, 156, 224, 0.18);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 12px 22px rgba(3, 8, 18, 0.16);
  }

  body.auth-user .topbar.auth-topbar .mobile-top-actions {
    display: flex;
    grid-area: actions;
    justify-content: stretch;
    margin-left: 0;
    width: auto;
    min-width: 0;
    align-self: start;
  }

  body.auth-user .topbar.auth-topbar .mobile-top-actions form,
  body.auth-user .topbar.auth-topbar .mobile-top-actions .mobile-auth-button {
    width: 100%;
    min-width: 0;
  }

  body.auth-user .topbar.auth-topbar .mobile-top-actions form {
    display: flex;
  }

  body.auth-user .topbar.auth-topbar .mobile-utility-nav {
    display: none;
  }

  body.auth-user .topbar.auth-topbar .mobile-user-avatar img,
  body.auth-user .topbar.auth-topbar .mobile-user-avatar .avatar-fallback {
    width: clamp(58px, 17vw, 68px) !important;
    height: clamp(58px, 17vw, 68px) !important;
  }

  body.auth-user .topbar.auth-topbar .mobile-level-pill {
    min-height: clamp(32px, 9.5vw, 38px);
    width: fit-content;
    max-width: 100%;
    padding: 0 clamp(12px, 3.8vw, 16px);
    font-size: var(--ui-font-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 12px 20px rgba(4, 10, 22, 0.16);
  }

  body.auth-user .topbar.auth-topbar .mobile-auth-button,
  body.auth-user .topbar.auth-topbar .mobile-utility-link {
    min-height: clamp(40px, 10.5vw, 46px);
    min-width: 0;
    padding: 0 var(--ui-inline-pad);
    gap: 6px;
  }

  body.auth-user .topbar.auth-topbar .mobile-icon-link {
    min-width: clamp(40px, 10.5vw, 46px);
    padding: 0;
    border-radius: var(--ui-radius-md);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
      rgba(16, 26, 43, 0.62);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 12px 22px rgba(3, 8, 18, 0.18);
  }

  body.auth-user .topbar.auth-topbar .mobile-auth-button {
    min-height: var(--ui-button-h);
    justify-content: center;
    border-radius: var(--ui-radius-md);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
      rgba(16, 26, 43, 0.74);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 14px 24px rgba(3, 8, 18, 0.2);
  }

  body.auth-user .topbar.auth-topbar .mobile-auth-button--icon {
    width: clamp(40px, 10.5vw, 46px);
    min-width: clamp(40px, 10.5vw, 46px);
    padding: 0;
    gap: 0;
  }

  body.auth-user .topbar.auth-topbar .mobile-utility-link .nav-icon,
  body.auth-user .topbar.auth-topbar .mobile-auth-button .nav-icon {
    width: clamp(16px, 4.2vw, 18px);
    height: clamp(16px, 4.2vw, 18px);
    flex: 0 0 clamp(16px, 4.2vw, 18px);
  }

  body.auth-user .topbar.auth-topbar .mobile-utility-link .nav-icon svg,
  body.auth-user .topbar.auth-topbar .mobile-auth-button .nav-icon svg {
    width: 17px;
    height: 17px;
  }

  body.auth-user .topbar.auth-topbar .mobile-toolbar-link,
  body.auth-user .topbar.auth-topbar .mobile-toolbar-label {
    display: none;
  }

  body.auth-user .topbar.auth-topbar .mobile-utility-link:active,
  body.auth-user .topbar.auth-topbar .mobile-auth-button:active {
    transform: translateY(1px) scale(0.985);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 8px 16px rgba(3, 8, 18, 0.16);
  }

  body.page-home .section-head,
  body.page-dashboard .section-head,
  body.page-collection .section-head,
  body.page-wanted-list .section-head,
  body.page-sell-list .section-head,
  body.page-market .section-head,
  body.page-search .section-head,
  body.page-showoff .section-head,
  body.page-shop .section-head {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: flex-start;
  }

  body.page-home .section-head .muted,
  body.page-dashboard .section-head .muted,
  body.page-collection .section-head .muted,
  body.page-wanted-list .section-head .muted,
  body.page-sell-list .section-head .muted,
  body.page-market .section-head .muted,
  body.page-search .section-head .muted,
  body.page-showoff .section-head .muted,
  body.page-shop .section-head .muted {
    display: none;
  }

  body.page-dashboard .hero.compact,
  body.page-collection .hero.compact,
  body.page-wanted-list .hero.compact,
  body.page-sell-list .hero.compact,
  body.page-market .hero.compact,
  body.page-search .hero.compact,
  body.page-profile .hero.compact,
  body.page-sets .hero.compact,
  body.page-showoff .hero.compact,
  body.page-shop .hero.compact {
    padding: 14px;
    gap: 10px;
  }

  body.page-dashboard .hero.compact h2,
  body.page-collection .hero.compact h2,
  body.page-wanted-list .hero.compact h2,
  body.page-sell-list .hero.compact h2,
  body.page-market .hero.compact h2,
  body.page-search .hero.compact h2,
  body.page-profile .hero.compact h2,
  body.page-sets .hero.compact h2,
  body.page-showoff .hero.compact h2,
  body.page-shop .hero.compact h2 {
    max-width: none;
    font-size: clamp(22px, 7.8vw, 32px);
    line-height: 0.98;
    text-wrap: balance;
  }

  body.page-dashboard .hero.compact p,
  body.page-collection .hero.compact p,
  body.page-wanted-list .hero.compact p,
  body.page-sell-list .hero.compact p,
  body.page-market .hero.compact p,
  body.page-search .hero.compact p,
  body.page-profile .hero.compact p,
  body.page-sets .hero.compact p,
  body.page-showoff .hero.compact p,
  body.page-shop .hero.compact p {
    display: none;
  }

  body.page-dashboard .hero-actions,
  body.page-collection .hero-actions,
  body.page-wanted-list .hero-actions,
  body.page-sell-list .hero-actions,
  body.page-market .hero-actions,
  body.page-search .hero-actions,
  body.page-profile .hero-actions,
  body.page-sets .hero-actions,
  body.page-showoff .hero-actions,
  body.page-shop .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.page-dashboard .hero-actions > *,
  body.page-collection .hero-actions > *,
  body.page-wanted-list .hero-actions > *,
  body.page-sell-list .hero-actions > *,
  body.page-market .hero-actions > *,
  body.page-search .hero-actions > *,
  body.page-profile .hero-actions > *,
  body.page-sets .hero-actions > *,
  body.page-showoff .hero-actions > *,
  body.page-shop .hero-actions > * {
    width: 100%;
  }

  body.page-collection .hero-actions,
  body.page-wanted-list .hero-actions,
  body.page-sell-list .hero-actions,
  body.page-shop .hero-actions {
    display: flex;
    grid-template-columns: none;
  }

  body.page-collection .hero-actions .section-share-link,
  body.page-wanted-list .hero-actions .section-share-link,
  body.page-sell-list .hero-actions .section-share-link,
  body.page-profile .section-share-link {
    flex: 0 0 40px;
    width: 40px;
    max-width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 50%;
    gap: 0;
    justify-content: center;
  }

  body.page-collection .hero-actions .section-share-label,
  body.page-wanted-list .hero-actions .section-share-label,
  body.page-sell-list .hero-actions .section-share-label,
  body.page-profile .section-share-label {
    display: none;
  }

  body.page-collection .hero-actions .section-share-link .nav-icon,
  body.page-wanted-list .hero-actions .section-share-link .nav-icon,
  body.page-sell-list .hero-actions .section-share-link .nav-icon,
  body.page-profile .section-share-link .nav-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  body.page-collection .hero-actions .section-share-link .nav-icon svg,
  body.page-wanted-list .hero-actions .section-share-link .nav-icon svg,
  body.page-sell-list .hero-actions .section-share-link .nav-icon svg,
  body.page-profile .section-share-link .nav-icon svg {
    width: 16px;
    height: 16px;
  }

  body.page-shop .hero-actions > * {
    width: auto;
  }

  body.page-shop .hero.compact {
    padding: 12px;
    gap: 8px;
  }

  body.page-shop .hero.compact h2 {
    font-size: clamp(20px, 7vw, 28px);
    line-height: 1;
    letter-spacing: -0.03em;
  }

  body.page-shop .hero-actions .button-link.flat {
    flex: 1 1 auto;
  }

  body.page-shop .hero-actions .coin-pill {
    flex: 0 0 auto;
    min-height: 40px;
    padding-inline: 14px;
  }

  body.page-shop .shop-summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.page-shop .wallet-card {
    position: relative;
    overflow: hidden;
    padding: 14px;
    border-radius: 22px;
    background:
      radial-gradient(circle at top left, rgba(79, 151, 255, 0.18), transparent 24%),
      radial-gradient(circle at bottom right, rgba(121, 95, 255, 0.14), transparent 28%),
      linear-gradient(180deg, rgba(17, 27, 45, 0.94), rgba(9, 16, 28, 0.97));
  }

  body.page-shop .wallet-card .section-title {
    font-size: 1rem;
  }

  body.page-shop .shop-owned-chips {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-inline: -2px;
    scrollbar-width: none;
  }

  body.page-shop .shop-owned-chips::-webkit-scrollbar {
    display: none;
  }

  body.page-shop .shop-owned-chip {
    min-width: 116px;
  }

  body.page-shop .equipped-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.page-shop .equipped-row {
    padding: 12px;
    border-radius: 16px;
    background:
      radial-gradient(circle at top right, rgba(66, 212, 240, 0.12), transparent 50%),
      rgba(8, 14, 24, 0.68);
  }

  body.page-shop .equipped-row-label {
    font-size: 0.62rem;
    padding: 4px 8px;
  }

  body.page-shop .equipped-row strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  body.page-shop .page-scope-panel .tag-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.page-shop .page-scope-panel .tag-row::-webkit-scrollbar {
    display: none;
  }

  body.page-shop .shop-focus-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.page-shop .shop-focus-preview {
    min-height: 132px;
    border-radius: 18px;
    padding: 12px;
  }

  body.page-shop .shop-focus-preview strong {
    font-size: 0.98rem;
  }

  body.page-shop .shop-focus-copy {
    gap: 8px;
  }

  body.page-shop .shop-focus-copy p {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  body.page-shop .shop-focus-notes {
    gap: 6px;
  }

  body.page-shop .shop-focus-note {
    min-width: 0;
    flex: 1 1 calc(50% - 3px);
    padding: 8px 10px;
    border-radius: 14px;
  }

  body.page-shop .shop-focus-note strong {
    font-size: 11px;
  }

  body.page-shop .shop-focus-stats {
    gap: 8px;
  }

  body.page-shop .shop-focus-stat {
    padding: 10px;
    border-radius: 14px;
  }

  body.page-shop .shop-focus-stat strong {
    font-size: 0.96rem;
  }

  body.page-shop .shop-focus-stat small {
    font-size: 0.62rem;
  }

  body.page-shop .shop-category-tab {
    min-width: 124px;
    border-radius: 20px;
    padding: 10px 12px;
    background:
      radial-gradient(circle at top left, rgba(90, 167, 255, 0.14), transparent 60%),
      rgba(8, 14, 24, 0.76);
  }

  body.page-shop .shop-category-tab.active {
    background:
      radial-gradient(circle at top left, rgba(255, 196, 83, 0.22), transparent 60%),
      linear-gradient(180deg, rgba(36, 53, 82, 0.96), rgba(16, 26, 42, 0.98));
    box-shadow: inset 0 0 0 1px rgba(255, 221, 131, 0.18);
  }

  body.page-shop .shop-category-tab strong {
    font-size: 0.72rem;
  }

  body.page-shop .page-section-panel {
    padding: clamp(12px, 3.4vw, 14px);
  }

  body.page-shop .shop-grid {
    gap: 12px;
  }

  body.page-shop .shop-item-card {
    gap: clamp(10px, 3vw, 12px);
    padding: clamp(12px, 3.4vw, 14px);
    border-radius: var(--ui-radius-lg);
    background:
      radial-gradient(circle at top left, rgba(86, 163, 255, 0.14), transparent 25%),
      linear-gradient(180deg, rgba(18, 29, 47, 0.96), rgba(8, 15, 27, 0.98));
    box-shadow: 0 18px 34px rgba(4, 9, 17, 0.34);
  }

  body.page-shop .shop-item-preview {
    min-height: clamp(136px, 40vw, 150px);
    border-radius: var(--ui-radius-md);
  }

  body.page-shop .shop-item-copy {
    gap: 6px;
  }

  body.page-shop .shop-item-copy h3 {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: clamp(0.9rem, 3.8vw, 1rem);
    line-height: 1.08;
  }

  body.page-shop .shop-item-copy .muted {
    display: block;
    font-size: var(--ui-font-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(220, 232, 247, 0.68);
  }

  body.page-shop .shop-item-meta-row {
    gap: 6px;
  }

  body.page-shop .shop-item-category,
  body.page-shop .shop-item-state {
    min-height: clamp(20px, 5.6vw, 24px);
    padding: 0 clamp(7px, 2vw, 8px);
    font-size: clamp(0.54rem, 2.2vw, 0.66rem);
  }

  body.page-shop .shop-item-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: clamp(0.78rem, 3.2vw, 0.84rem);
    line-height: 1.34;
  }

  body.page-shop .shop-item-top {
    align-items: flex-start;
  }

  body.page-shop .shop-item-top .tag {
    padding-inline: 10px;
    min-height: 28px;
    font-size: 0.72rem;
  }

  body.page-shop .shop-preview-rarity {
    top: 10px;
    right: 10px;
    min-height: 24px;
    padding-inline: 8px;
    font-size: 0.66rem;
  }

  body.page-shop .shop-preview-label {
    left: 10px;
    bottom: 10px;
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  body.page-shop .shop-item-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.page-shop .shop-item-actions > * {
    width: 100%;
  }

  body.page-shop .shop-item-actions form {
    width: 100%;
  }

  body.page-shop .shop-item-actions button,
  body.page-shop .shop-item-actions .button {
    width: 100%;
  }

  body.page-profile .profile-identity-shell {
    padding: 13px;
    border-radius: 22px;
  }

  body.page-profile .profile-identity-banner {
    padding: 10px 11px;
    border-radius: 16px;
  }

  body.page-profile .profile-identity-banner-row {
    gap: 5px;
  }

  body.page-profile .profile-identity-banner-chip {
    min-height: 22px;
    padding: 0 7px;
    font-size: 0.6rem;
  }

  body.page-profile .profile-identity-hero {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  body.page-profile .profile-identity-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  body.page-profile .profile-identity-game-shell {
    grid-template-columns: 46px 1fr;
    gap: 9px;
    padding: 10px;
    border-radius: 18px;
  }

  body.page-profile .profile-identity-game-logo,
  body.page-profile .profile-identity-game-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  body.page-profile .profile-identity-game-logo {
    padding: 8px;
  }

  body.page-profile .profile-identity-game-copy strong {
    font-size: 0.9rem;
  }

  body.page-profile .profile-identity-game-copy span {
    font-size: 0.7rem;
  }

  body.page-profile .profile-identity-main {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  body.page-profile .profile-avatar-frame {
    width: 68px;
    height: 68px;
  }

  body.page-profile .profile-avatar-frame img,
  body.page-profile .profile-avatar-frame .avatar-fallback {
    width: 68px;
    height: 68px;
    font-size: 1.55rem;
  }

  body.page-profile .profile-identity-copy {
    gap: 5px;
  }

  body.page-profile .profile-identity-copy h2 {
    font-size: clamp(24px, 8vw, 34px);
    line-height: 0.98;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body.page-profile .profile-identity-signature {
    min-height: 28px;
    padding: 0 11px;
    font-size: 9px;
  }

  body.page-profile .profile-identity-quickline {
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.page-profile .profile-identity-quickline::-webkit-scrollbar {
    display: none;
  }

  body.page-profile .profile-identity-quick-chip {
    min-height: 24px;
    padding: 0 9px;
    font-size: 10px;
  }

  body.page-profile .profile-identity-copy p {
    display: none;
  }

  body.page-profile .profile-identity-topline {
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.page-profile .profile-identity-topline::-webkit-scrollbar {
    display: none;
  }

  body.page-profile .profile-level-pill,
  body.page-profile .profile-joined-pill {
    min-height: 26px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  body.page-profile .profile-identity-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.page-profile .profile-identity-stat {
    padding: 9px;
    border-radius: 14px;
  }

  body.page-profile .profile-identity-stat small {
    font-size: 0.62rem;
  }

  body.page-profile .profile-identity-stat strong {
    font-size: 1rem;
  }

  body.page-profile .profile-identity-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.page-profile .profile-identity-pills::-webkit-scrollbar {
    display: none;
  }

  body.page-profile .profile-identity-pill {
    min-width: 92px;
  }

  body.page-profile .profile-section-jumps {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.page-profile .profile-section-jumps::-webkit-scrollbar {
    display: none;
  }

  body.page-profile .profile-section-jump {
    min-width: 0;
    flex: 0 0 auto;
  }

  body.page-showoff .hero.compact {
    padding: 12px;
    gap: 8px;
  }

  body.page-showoff .hero.compact h2 {
    font-size: clamp(20px, 7vw, 28px);
    line-height: 1;
    letter-spacing: -0.03em;
  }

  body.page-showoff .page-scope-panel .tag-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.page-showoff .page-scope-panel .tag-row::-webkit-scrollbar {
    display: none;
  }

  body.page-showoff .showoff-binder-tab {
    min-width: 132px;
    border-radius: 18px;
    padding: 10px 12px;
    background:
      radial-gradient(circle at top left, rgba(122, 150, 255, 0.14), transparent 60%),
      rgba(8, 14, 24, 0.74);
  }

  body.page-showoff .showoff-binder-tab.active {
    background:
      radial-gradient(circle at top left, rgba(255, 200, 103, 0.24), transparent 60%),
      linear-gradient(180deg, rgba(35, 51, 80, 0.96), rgba(15, 24, 40, 0.98));
    box-shadow: inset 0 0 0 1px rgba(255, 224, 144, 0.2);
  }

  body.page-showoff .page-showcase-panel,
  body.page-showoff .page-editor-panel {
    padding: clamp(12px, 3.4vw, 14px);
    border-radius: var(--ui-radius-lg);
  }

  body.page-showoff .showoff-binder-identity {
    margin-bottom: 10px;
    padding: clamp(9px, 2.8vw, 11px);
    border-radius: var(--ui-radius-md);
  }

  body.page-showoff .showoff-binder-identity strong {
    font-size: 0.92rem;
  }

  body.page-showoff .showoff-binder-status {
    min-height: 22px;
    padding: 0 8px;
    font-size: 9px;
  }

  body.page-showoff .showoff-style-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.page-showoff .showoff-style-pills::-webkit-scrollbar {
    display: none;
  }

  body.page-showoff .showoff-style-pill {
    min-width: 112px;
  }

  body.page-showoff .showoff-preview-notes {
    gap: 6px;
    margin-bottom: 12px;
  }

  body.page-showoff .showoff-preview-note {
    min-width: 0;
    flex: 1 1 calc(50% - 3px);
    padding: clamp(8px, 2.6vw, 10px);
    border-radius: var(--ui-radius-sm);
  }

  body.page-showoff .showoff-preview-note strong {
    font-size: clamp(0.74rem, 3vw, 0.8rem);
  }

  body.page-showoff .showoff-preview-stats {
    gap: 8px;
    margin-bottom: 12px;
  }

  body.page-showoff .showoff-preview-stat {
    padding: clamp(8px, 2.6vw, 9px);
    border-radius: var(--ui-radius-sm);
  }

  body.page-showoff .showoff-preview-stat small {
    font-size: clamp(0.5rem, 1.9vw, 0.58rem);
  }

  body.page-showoff .showoff-preview-stat strong {
    font-size: clamp(0.74rem, 3vw, 0.82rem);
  }

  body.page-showoff .showoff-grid {
    gap: 8px;
  }

  body.page-showoff .showoff-slot-art {
    border-radius: 16px;
  }

  body.page-showoff .showoff-slot-code {
    left: 6px;
    right: 6px;
    bottom: 6px;
    min-height: 22px;
    font-size: 0.62rem;
  }

  body.page-showoff .showoff-slot.editable select {
    min-height: clamp(36px, 9.8vw, 40px);
    font-size: clamp(0.76rem, 3.1vw, 0.82rem);
  }

  body.page-showoff .page-editor-panel label {
    gap: 6px;
  }

  body.page-showoff .showoff-editor-tabs {
    gap: 6px;
  }

  body.page-showoff .showoff-editor-tab {
    min-height: clamp(38px, 10vw, 40px);
    padding: 0 clamp(7px, 2vw, 8px);
    font-size: var(--ui-font-sm);
  }

  body.page-showoff .showoff-editor-fields {
    gap: 10px;
  }

  body.page-showoff .showoff-field {
    gap: 4px;
  }

  body.page-showoff .showoff-field--toggle {
    min-height: 40px;
    align-items: center;
  }

  body.page-showoff .page-editor-panel input,
  body.page-showoff .page-editor-panel select {
    min-height: 40px;
  }

  body.page-collection .set-nav-wrap {
    margin-bottom: 16px;
    padding: 0 2px;
  }

  body.page-collection .hero.compact {
    padding: 14px;
    gap: 10px;
  }

  body.page-collection .collection-hero-stats {
    gap: 8px;
    margin-top: 0;
  }

  body.page-collection .collection-hero-stat {
    padding: 10px;
    border-radius: 16px;
  }

  body.page-collection .collection-hero-stat strong {
    font-size: 0.96rem;
  }

  body.page-collection .set-nav {
    gap: 8px;
    padding-bottom: 2px;
    margin-inline: -2px;
    padding-inline: 2px;
    scroll-snap-type: x proximity;
  }

  body.page-collection .set-pill {
    gap: 7px;
    padding: 9px 12px;
    border-radius: 18px;
    background:
      radial-gradient(circle at top left, rgba(84, 148, 255, 0.14), transparent 34%),
      rgba(11, 19, 31, 0.78);
    border-color: rgba(147, 168, 196, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    scroll-snap-align: start;
  }

  body.page-collection .set-pill span {
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    font-size: 11px;
  }

  body.page-collection .set-section {
    margin-top: 14px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(147, 168, 196, 0.12);
    background:
      radial-gradient(circle at top left, rgba(88, 151, 255, 0.1), transparent 30%),
      radial-gradient(circle at bottom right, rgba(90, 219, 192, 0.08), transparent 30%),
      rgba(10, 17, 28, 0.82);
    box-shadow: 0 18px 30px rgba(3, 8, 18, 0.18);
  }

  body.page-collection .completion-block {
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(7, 12, 22, 0.54);
    border-color: rgba(147, 168, 196, 0.08);
  }

  body.page-collection .completion-meta {
    margin-bottom: 8px;
  }

  body.page-collection .completion-meta small {
    font-size: 11px;
    letter-spacing: 0.03em;
  }

  body.page-collection .completion-meta strong {
    font-size: 15px;
  }

  body.page-collection .set-progress-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 8px;
  }

  body.page-collection .set-progress-actions .button-link {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 14px;
    font-size: 10px;
  }

  body.page-collection .collection-binder-shell {
    padding: 12px 10px 10px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
      rgba(8, 14, 24, 0.48);
    border-color: rgba(147, 168, 196, 0.08);
    box-shadow: none;
  }

  body.page-collection .collection-binder-head {
    gap: 6px;
    align-items: flex-start;
  }

  body.page-collection .collection-binder-head-copy {
    gap: 7px;
  }

  body.page-collection .collection-binder-eyebrow {
    min-height: 26px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  body.page-collection .collection-binder-head .card-title {
    font-size: 16px;
    line-height: 1;
  }

  body.page-collection .collection-binder-head-meta {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body.page-collection .collection-binder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.page-collection .collection-binder-card {
    gap: 4px;
  }

  body.page-collection .collection-binder-thumb {
    border-radius: 12px;
    border-color: rgba(182, 200, 226, 0.14);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%),
      linear-gradient(160deg, rgba(31, 111, 235, 0.2), rgba(62, 166, 180, 0.12));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 12px 18px rgba(3, 8, 18, 0.2);
  }

  body.page-collection .collection-binder-thumb::before {
    opacity: 0.54;
  }

  body.page-collection .collection-binder-thumb::after {
    inset: auto 10% -24% 10%;
    height: 42%;
    opacity: 0.44;
  }

  body.page-collection .collection-binder-qty,
  body.page-collection .collection-binder-version {
    min-height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(7, 12, 22, 0.8);
    border-color: rgba(182, 200, 226, 0.14);
    backdrop-filter: blur(10px);
    font-size: 0.5rem;
    line-height: 1;
  }

  body.page-collection .collection-binder-qty {
    top: 7px;
    right: 7px;
  }

  body.page-collection .collection-binder-version {
    left: 7px;
    bottom: 7px;
    max-width: calc(100% - 14px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.page-collection .collection-binder-code {
    font-size: 9px;
    letter-spacing: 0.03em;
    line-height: 1;
  }

  body.page-collection .set-card > .button-link {
    display: none;
  }

  body.page-collection .set-card {
    padding: 12px;
    border-radius: 18px;
    background:
      radial-gradient(circle at top left, rgba(95, 153, 255, 0.12), transparent 40%),
      linear-gradient(180deg, rgba(18, 29, 47, 0.96), rgba(8, 15, 27, 0.98));
  }

  body.page-collection .set-card-main {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  body.page-collection .set-copy strong {
    font-size: 12px;
    line-height: 1.08;
  }

  body.page-collection .set-copy span {
    color: rgba(255, 235, 174, 0.82);
  }

  body.page-wanted-list .hero.compact {
    padding: 14px;
    gap: 10px;
  }

  body.page-wanted-list .collection-hero-stats {
    gap: 8px;
    margin-top: 0;
  }

  body.page-wanted-list .list-intent-strip {
    gap: 8px;
    margin-top: 2px;
  }

  body.page-wanted-list .list-intent-pill {
    padding: 10px 11px;
    border-radius: 18px;
  }

  body.page-wanted-list .list-intent-pill strong {
    font-size: 11px;
  }

  body.page-wanted-list .list-intent-pill small {
    font-size: 10px;
  }

  body.page-wanted-list .collection-hero-stat {
    padding: 10px;
    border-radius: 16px;
    background:
      radial-gradient(circle at top left, rgba(255, 177, 104, 0.18), transparent 58%),
      rgba(22, 12, 20, 0.58);
    border: 1px solid rgba(255, 191, 128, 0.14);
  }

  body.page-wanted-list .collection-hero-stat strong {
    font-size: 0.96rem;
  }

  body.page-wanted-list .page-scope-panel {
    padding: 12px;
    border-radius: 20px;
    background:
      radial-gradient(circle at top left, rgba(255, 170, 92, 0.12), transparent 30%),
      rgba(18, 11, 20, 0.86);
  }

  body.page-wanted-list .set-grid {
    gap: 10px;
  }

  body.page-wanted-list .set-card {
    padding: 12px;
    gap: 9px;
    border-radius: 18px;
    background:
      radial-gradient(circle at top left, rgba(255, 170, 92, 0.12), transparent 40%),
      linear-gradient(180deg, rgba(32, 18, 30, 0.96), rgba(18, 11, 20, 0.98));
  }

  body.page-wanted-list .set-card-main {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  body.page-wanted-list .set-copy strong {
    font-size: 12px;
    line-height: 1.08;
  }

  body.page-wanted-list .set-copy span {
    color: rgba(255, 220, 188, 0.82);
  }

  body.page-wanted-list .panel > .empty-state,
  body.page-wanted-list .collection-binder-shell--wishlist .empty-state {
    padding: 18px 16px;
    border-radius: 20px;
    border: 1px dashed rgba(255, 191, 128, 0.14);
    background:
      radial-gradient(circle at top left, rgba(255, 168, 96, 0.12), transparent 36%),
      rgba(21, 12, 20, 0.58);
    color: rgba(245, 228, 213, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  body.page-wanted-list .panel > .empty-state {
    min-height: 108px;
    display: flex;
    align-items: center;
  }

  body.page-wanted-list .panel > .empty-state::before,
  body.page-wanted-list .collection-binder-shell--wishlist .empty-state::before {
    content: "Wanted";
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 11px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(255, 150, 84, 0.14);
    border: 1px solid rgba(255, 191, 128, 0.18);
    color: rgba(255, 233, 213, 0.92);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  body.page-collection .wishlist-empty-card,
  body.page-wanted-list .wishlist-empty-card,
  body.page-sell-list .wishlist-empty-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 191, 128, 0.14);
    background:
      radial-gradient(circle at top left, rgba(255, 170, 92, 0.18), transparent 44%),
      rgba(18, 11, 20, 0.62);
    color: rgba(245, 228, 213, 0.96);
    box-shadow:
      0 16px 32px rgba(3, 6, 10, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    text-decoration: none;
  }

  body.page-collection .wishlist-empty-card-thumb,
  body.page-wanted-list .wishlist-empty-card-thumb,
  body.page-sell-list .wishlist-empty-card-thumb {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 191, 128, 0.18);
    flex: 0 0 auto;
    overflow: hidden;
  }

  body.page-collection .wishlist-empty-card-plus,
  body.page-collection .wishlist-empty-card-plus svg,
  body.page-wanted-list .wishlist-empty-card-plus,
  body.page-wanted-list .wishlist-empty-card-plus svg,
  body.page-sell-list .wishlist-empty-card-plus,
  body.page-sell-list .wishlist-empty-card-plus svg {
    display: block;
    width: 26px;
    height: 26px;
  }

  body.page-collection .wishlist-empty-card-copy,
  body.page-wanted-list .wishlist-empty-card-copy,
  body.page-sell-list .wishlist-empty-card-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
  }

  body.page-collection .wishlist-empty-card-copy strong,
  body.page-wanted-list .wishlist-empty-card-copy strong,
  body.page-sell-list .wishlist-empty-card-copy strong {
    font-size: 14px;
    line-height: 1.08;
    letter-spacing: -0.01em;
  }

  body.page-collection .wishlist-empty-card-copy p,
  body.page-wanted-list .wishlist-empty-card-copy p,
  body.page-sell-list .wishlist-empty-card-copy p {
    margin: 0;
    color: rgba(245, 228, 213, 0.78);
    font-size: 12px;
    line-height: 1.26;
  }

  body.page-sell-list .hero.compact {
    padding: 14px;
    gap: 10px;
  }

  body.page-sell-list .collection-hero-stats {
    gap: 8px;
    margin-top: 0;
  }

  body.page-sell-list .list-intent-strip {
    gap: 8px;
    margin-top: 2px;
  }

  body.page-sell-list .list-intent-pill {
    padding: 10px 11px;
    border-radius: 18px;
  }

  body.page-sell-list .list-intent-pill strong {
    font-size: 11px;
  }

  body.page-sell-list .list-intent-pill small {
    font-size: 10px;
  }

  body.page-sell-list .collection-hero-stat {
    padding: 10px;
    border-radius: 16px;
    background:
      radial-gradient(circle at top left, rgba(90, 219, 192, 0.18), transparent 58%),
      rgba(9, 18, 22, 0.58);
    border: 1px solid rgba(114, 215, 195, 0.14);
  }

  body.page-sell-list .collection-hero-stat strong {
    font-size: 0.96rem;
  }

  body.page-sell-list .page-scope-panel {
    padding: 12px;
    border-radius: 20px;
    background:
      radial-gradient(circle at top left, rgba(96, 220, 200, 0.12), transparent 30%),
      rgba(9, 18, 22, 0.86);
  }

  body.page-sell-list .set-grid {
    gap: 10px;
  }

  body.page-sell-list .set-card {
    padding: 12px;
    gap: 9px;
    border-radius: 18px;
    background:
      radial-gradient(circle at top left, rgba(96, 220, 200, 0.12), transparent 40%),
      linear-gradient(180deg, rgba(13, 27, 31, 0.96), rgba(9, 18, 22, 0.98));
  }

  body.page-sell-list .set-card-main {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  body.page-sell-list .set-copy strong {
    font-size: 12px;
    line-height: 1.08;
  }

  body.page-sell-list .set-copy span {
    color: rgba(195, 247, 237, 0.82);
  }

  body.page-sell-list .panel > .empty-state,
  body.page-sell-list .collection-binder-shell--listing .empty-state {
    padding: 18px 16px;
    border-radius: 20px;
    border: 1px dashed rgba(114, 215, 195, 0.14);
    background:
      radial-gradient(circle at top left, rgba(96, 220, 200, 0.12), transparent 36%),
      rgba(9, 18, 22, 0.58);
    color: rgba(221, 255, 247, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  body.page-sell-list .panel > .empty-state {
    min-height: 108px;
    display: flex;
    align-items: center;
  }

  body.page-sell-list .panel > .empty-state::before,
  body.page-sell-list .collection-binder-shell--listing .empty-state::before {
    content: "Sell";
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 11px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(86, 221, 194, 0.14);
    border: 1px solid rgba(114, 215, 195, 0.18);
    color: rgba(220, 255, 247, 0.92);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  body.page-market .page-scope-panel {
    padding: 14px;
    border-radius: 20px;
    background:
      radial-gradient(circle at top left, rgba(80, 150, 255, 0.12), transparent 28%),
      rgba(10, 18, 28, 0.88);
  }

  body.page-market .collection-hero-stats {
    gap: 8px;
    margin-top: 0;
  }

  body.page-market .collection-hero-stat {
    padding: 10px;
    border-radius: 16px;
    background:
      radial-gradient(circle at top left, rgba(80, 150, 255, 0.18), transparent 58%),
      rgba(10, 18, 28, 0.58);
    border: 1px solid rgba(123, 196, 255, 0.14);
  }

  body.page-market .collection-hero-stat strong {
    font-size: 0.94rem;
  }

  body.page-market .market-set-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
  }

  body.page-market .market-set-form label {
    gap: 6px;
  }

  body.page-market .market-active-set-bar {
    grid-template-columns: 1fr;
    gap: clamp(8px, 2.8vw, 10px);
    align-items: start;
  }

  body.page-market .market-active-set-visual {
    justify-content: start;
  }

  body.page-market .market-active-set-logo,
  body.page-market .market-active-set-badge {
    width: clamp(46px, 14vw, 52px);
    height: clamp(46px, 14vw, 52px);
    border-radius: var(--ui-radius-sm);
  }

  body.page-market .market-active-set-copy strong {
    font-size: clamp(0.96rem, 4.3vw, 1.125rem);
    line-height: 1.08;
  }

  body.page-market .market-card-grid-shell {
    padding-top: 14px;
    border-radius: 22px;
  }

  body.page-market .market-active-set-stats {
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  body.page-market .market-active-set-stat {
    padding: clamp(8px, 2.6vw, 9px) clamp(8px, 2.8vw, 10px);
    border-radius: var(--ui-radius-sm);
  }

  body.page-market .market-active-set-stat strong {
    font-size: clamp(0.82rem, 3.4vw, 0.98rem);
  }

  body.page-market .market-active-set-stat strong {
    font-size: 14px;
  }

  body.page-market .market-active-set-swap {
    width: 100%;
  }

  body.page-market .market-set-grid {
    gap: 10px;
  }

  body.page-market .market-set-link {
    gap: 8px;
    padding: 10px;
  }

  body.page-market .market-set-card {
    border-radius: 18px;
  }

  body.page-market .market-set-thumb {
    min-height: 0;
    aspect-ratio: 0.72;
    border-radius: 12px;
  }

  body.page-market .market-set-copy {
    gap: 6px;
  }

  body.page-market .market-set-copy small {
    font-size: clamp(0.56rem, 2vw, 0.625rem);
  }

  body.page-market .market-set-copy strong {
    font-size: clamp(0.8rem, 2.8vw, 0.9rem);
  }

  body.page-market .market-set-price,
  body.page-market .market-set-open {
    min-height: 26px;
    padding: 0 8px;
    font-size: 10px;
  }

  body.page-market .market-set-spotlight {
    top: 8px;
    right: 8px;
    min-height: 22px;
    padding: 0 8px;
    font-size: 9px;
  }

  body.page-market .set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.page-market .set-card {
    padding: 10px;
    border-radius: 18px;
    background:
      radial-gradient(circle at top left, rgba(82, 149, 255, 0.16), transparent 32%),
      radial-gradient(circle at bottom right, rgba(74, 210, 194, 0.1), transparent 34%),
      rgba(10, 17, 28, 0.86);
    border-color: rgba(123, 196, 255, 0.16);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 14px 24px rgba(3, 8, 18, 0.18);
  }

  body.page-market .set-card-main {
    grid-template-columns: 46px 1fr;
    gap: 10px;
    align-items: start;
  }

  body.page-market .set-logo,
  body.page-market .set-badge,
  body.page-market .set-code-tile {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(8, 16, 28, 0.88);
  }

  body.page-market .set-copy strong {
    font-size: 13px;
    line-height: 1.12;
  }

  body.page-market .set-copy small,
  body.page-market .set-copy span {
    font-size: 10px;
    line-height: 1.18;
  }

  body.page-card .card-hero {
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
  }

  body.page-card .card-art {
    min-height: 0;
    border-radius: 18px;
    aspect-ratio: 0.72;
  }

  body.page-card .card-detail-hero .card-art {
    aspect-ratio: auto;
    overflow: visible;
  }

  body.page-card .card-detail-hero .card-art img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  body.page-card .card-hero .section-title {
    font-size: 24px;
    line-height: 0.98;
  }

  body.page-card .market-card-hero p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
  }

  body.page-card .market-card-hero .tag-row {
    gap: 6px;
  }

  body.page-card .market-card-topline {
    margin: 6px 0 8px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  body.page-card .market-card-meta {
    margin-bottom: 12px;
  }

  body.page-card .market-card-meta .code {
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }

  body.page-card .market-card-hero .tag {
    padding: 6px 9px;
    font-size: 10px;
  }

  body.page-card .market-card-snapshot {
    gap: 8px;
    margin: 14px 0 12px;
  }

  body.page-card .market-card-snapshot-item {
    padding: 10px 9px;
    border-radius: 16px;
  }

  body.page-card .market-card-snapshot-item strong {
    font-size: 14px;
  }

  body.page-card .card-quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body.page-card .card-utility-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.page-card .market-card-hero .button-row,
  body.page-card .card-quick-actions,
  body.page-card .card-utility-actions {
    display: grid;
    width: 100%;
  }

  body.page-card .market-card-hero .button-row > *,
  body.page-card .card-quick-actions > *,
  body.page-card .card-utility-actions > * {
    width: 100%;
  }

  body.page-card .card-quick-actions .button-link,
  body.page-card .card-utility-actions .button-link {
    min-height: 42px;
    padding: 0 8px;
    font-size: 11px;
  }

  body.page-card .card-quick-link {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 72px;
    padding: 10px;
    border-radius: 16px;
  }

  body.page-card .card-quick-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  body.page-card .card-quick-link-copy strong {
    font-size: 12px;
  }

  body.page-card .card-quick-link-copy small {
    font-size: 9px;
  }

  body.page-card .market-card-filter-shell,
  body.page-card .market-price-shell,
  body.page-card .market-listings-card {
    padding: 14px;
    border-radius: 20px;
  }

  body.page-card .card-data-stack {
    gap: 10px;
  }

  body.page-card .card-disclosure-summary {
    padding: 13px 14px;
  }

  body.page-card .card-disclosure-copy strong {
    font-size: 0.98rem;
  }

  body.page-card .card-disclosure-copy small,
  body.page-card .card-disclosure-toggle {
    font-size: 0.68rem;
  }

  body.page-card .card-disclosure-body {
    padding: 0 14px 14px;
  }

  body.page-card .market-filter-block + .market-filter-block {
    margin-top: 12px;
  }

  body.page-card .market-price-pills {
    gap: 8px;
    margin-bottom: 12px;
  }

  body.page-card .market-price-pill {
    padding: 9px 10px;
    border-radius: 16px;
  }

  body.page-card .market-card-snapshot-item {
    padding: 10px 9px;
    border-radius: 16px;
  }

  body.page-card .market-card-snapshot-item strong {
    font-size: 14px;
  }

  body.page-card .card-decision-shell {
    padding: 14px;
    border-radius: 20px;
  }

  body.page-card .card-decision-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.page-card .card-decision-card {
    padding: 12px;
    border-radius: 18px;
  }

  body.page-card .card-decision-card strong {
    font-size: 1.08rem;
  }

  body.page-card .card-decision-card span {
    font-size: 11px;
  }

  body.page-card .market-filter-block .tag-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    margin-inline: -2px;
    padding-inline: 2px;
    gap: 6px;
  }

  body.page-card .market-filter-block .tag {
    flex: 0 0 auto;
    padding: 6px 9px;
    font-size: 10px;
  }

  body.page-card .market-listings-grid {
    gap: 12px;
  }

  body.page-card .market-listings-headline {
    gap: 8px;
  }

  body.page-card .market-listings-summary {
    width: 100%;
  }

  body.page-card .market-listings-summary-pill {
    padding: 9px 10px;
    border-radius: 16px;
  }

  body.page-card .market-listings-card .empty-state {
    min-height: 124px;
    gap: 7px;
  }

  body.page-card .market-listings-card .empty-state p {
    font-size: 11px;
  }

  body.page-card .market-listings-stack {
    gap: 10px;
  }

  body.page-card .market-listing-row {
    gap: 7px;
    padding: 12px;
    border-radius: 18px;
  }

  body.page-card .market-listing-topline {
    gap: 8px;
  }

  body.page-card .market-listing-qty {
    min-height: 26px;
    padding: 0 8px;
    font-size: 10px;
  }

  body.page-card .market-listing-head {
    gap: 8px;
  }

  body.page-card .market-listing-row strong {
    font-size: 16px;
  }

  body.page-card .market-listing-price {
    font-size: 1.05rem;
  }

  body.page-card .mini-table {
    display: block;
    overflow-x: auto;
  }

  body.page-card #card-actions .grid.three {
    gap: 10px;
  }

  body.page-card .card-action-switch {
    gap: 6px;
  }

  body.page-card .card-action-tab {
    min-height: 40px;
    padding: 0 8px;
    font-size: 11px;
  }

  body.page-card #card-actions .card-action-form {
    padding: 14px;
    border-radius: 18px;
  }

  .set-nav-wrap--wishlist {
    margin-bottom: 16px;
    padding: 0 2px;
  }

  .set-nav-wrap--wishlist .set-nav {
    gap: 8px;
    padding-bottom: 2px;
    margin-inline: -2px;
    padding-inline: 2px;
    scroll-snap-type: x proximity;
  }

  .set-pill--wishlist {
    gap: 7px;
    padding: 9px 12px;
    border-radius: 18px;
    background:
      radial-gradient(circle at top left, rgba(255, 178, 92, 0.16), transparent 34%),
      rgba(20, 14, 24, 0.8);
    border-color: rgba(255, 191, 128, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.06);
    scroll-snap-align: start;
  }

  .set-pill--wishlist strong,
  .set-pill--listing strong {
    font-size: 12px;
    line-height: 1.04;
  }

  .set-pill--wishlist span {
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    font-size: 11px;
    background: rgba(255, 140, 76, 0.18);
  }

  .set-section--wishlist {
    margin-top: 14px;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255, 191, 128, 0.14);
    background:
      radial-gradient(circle at top left, rgba(255, 170, 92, 0.1), transparent 30%),
      radial-gradient(circle at bottom right, rgba(255, 93, 150, 0.08), transparent 30%),
      rgba(17, 11, 22, 0.84);
    box-shadow: 0 18px 30px rgba(9, 5, 14, 0.2);
  }

  .collection-binder-shell--wishlist {
    padding: 14px 12px 12px;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
      rgba(22, 12, 26, 0.5);
    border-color: rgba(255, 191, 128, 0.1);
    box-shadow: none;
  }

  .collection-binder-shell--wishlist .collection-binder-head {
    gap: 8px;
    align-items: flex-start;
    padding: 10px 10px 9px;
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
      rgba(25, 13, 22, 0.46);
    border-color: rgba(255, 191, 128, 0.12);
  }

  .collection-binder-shell--wishlist .collection-binder-head-copy {
    gap: 7px;
  }

  .collection-binder-shell--wishlist .collection-binder-eyebrow {
    min-height: 26px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
    background: rgba(55, 24, 36, 0.88);
    border-color: rgba(255, 191, 128, 0.18);
  }

  .collection-binder-shell--wishlist .collection-binder-head .card-title {
    font-size: 18px;
    line-height: 1;
  }

  .collection-binder-shell--wishlist .collection-binder-head-meta {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

.set-section--wishlist .collection-binder-grid {
  grid-template-columns: repeat(auto-fit, minmax(118px, 118px));
  gap: 10px;
  justify-content: start;
}

  .set-section--wishlist .collection-binder-card {
    gap: 5px;
  }

  .set-section--wishlist .collection-binder-thumb {
    border-radius: 10px;
    border-color: rgba(255, 191, 128, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%),
      linear-gradient(160deg, rgba(255, 140, 76, 0.22), rgba(255, 82, 138, 0.12));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 12px 18px rgba(13, 5, 16, 0.22);
  }

  .set-section--wishlist .collection-binder-thumb::before {
    opacity: 0.48;
  }

  .set-section--wishlist .collection-binder-thumb::after {
    inset: auto 10% -24% 10%;
    height: 42%;
    opacity: 0.44;
  }

  .set-section--wishlist .collection-binder-qty,
  .set-section--wishlist .collection-binder-version {
    min-height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(27, 11, 20, 0.82);
    border-color: rgba(255, 191, 128, 0.16);
    backdrop-filter: blur(10px);
    font-size: 0.5rem;
    line-height: 1;
  }

  .set-section--wishlist .collection-binder-qty {
    top: 7px;
    right: 7px;
  }

  .set-section--wishlist .collection-binder-version {
    left: 7px;
    bottom: 7px;
    max-width: calc(100% - 14px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .set-section--wishlist .collection-binder-code {
    font-size: 9px;
    letter-spacing: 0.03em;
    line-height: 1;
  }

  .set-nav-wrap--listing {
    margin-bottom: 16px;
    padding: 0 2px;
  }

  .set-nav-wrap--listing .set-nav {
    gap: 8px;
    padding-bottom: 2px;
    margin-inline: -2px;
    padding-inline: 2px;
    scroll-snap-type: x proximity;
  }

  .set-pill--listing {
    gap: 7px;
    padding: 9px 12px;
    border-radius: 18px;
    background:
      radial-gradient(circle at top left, rgba(90, 219, 192, 0.16), transparent 34%),
      rgba(10, 18, 22, 0.8);
    border-color: rgba(114, 215, 195, 0.16);
    box-shadow: inset 0 1px 0 rgba(221, 255, 247, 0.05);
    scroll-snap-align: start;
  }

  .set-pill--listing span {
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    font-size: 11px;
    background: rgba(68, 189, 156, 0.2);
  }

  .set-section--listing {
    margin-top: 14px;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(114, 215, 195, 0.14);
    background:
      radial-gradient(circle at top left, rgba(96, 220, 200, 0.1), transparent 30%),
      radial-gradient(circle at bottom right, rgba(77, 160, 255, 0.08), transparent 30%),
      rgba(9, 17, 22, 0.84);
    box-shadow: 0 18px 30px rgba(4, 10, 14, 0.2);
  }

  .collection-binder-shell--listing {
    padding: 14px 12px 12px;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
      rgba(10, 18, 22, 0.5);
    border-color: rgba(114, 215, 195, 0.1);
    box-shadow: none;
  }

  .collection-binder-shell--listing .collection-binder-head {
    gap: 8px;
    align-items: flex-start;
    padding: 10px 10px 9px;
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
      rgba(10, 19, 21, 0.46);
    border-color: rgba(114, 215, 195, 0.12);
  }

  .collection-binder-shell--listing .collection-binder-head-copy {
    gap: 7px;
  }

  .collection-binder-shell--listing .collection-binder-eyebrow {
    min-height: 26px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
    background: rgba(15, 42, 43, 0.88);
    border-color: rgba(114, 215, 195, 0.18);
  }

  .collection-binder-shell--listing .collection-binder-head .card-title {
    font-size: 18px;
    line-height: 1;
  }

  .collection-binder-shell--listing .collection-binder-head-meta {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

.set-section--listing .collection-binder-grid {
  grid-template-columns: repeat(auto-fit, minmax(118px, 118px));
  gap: 10px;
  justify-content: start;
}

  .set-section--listing .collection-binder-card {
    gap: 5px;
  }

  .set-section--listing .collection-binder-thumb {
    border-radius: 10px;
    border-color: rgba(114, 215, 195, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%),
      linear-gradient(160deg, rgba(64, 183, 156, 0.2), rgba(73, 130, 255, 0.12));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 12px 18px rgba(4, 10, 14, 0.22);
  }

  .set-section--listing .collection-binder-thumb::before {
    opacity: 0.48;
  }

  .set-section--listing .collection-binder-thumb::after {
    inset: auto 10% -24% 10%;
    height: 42%;
    opacity: 0.44;
  }

  .set-section--listing .collection-binder-qty,
  .set-section--listing .collection-binder-version {
    min-height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(9, 21, 24, 0.82);
    border-color: rgba(114, 215, 195, 0.16);
    backdrop-filter: blur(10px);
    font-size: 0.49rem;
    line-height: 1;
  }

  .set-section--listing .collection-binder-qty {
    top: 7px;
    right: 7px;
  }

  .set-section--listing .collection-binder-version {
    left: 7px;
    bottom: 7px;
    max-width: calc(100% - 14px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .set-section--listing .collection-binder-code {
    font-size: 9px;
    letter-spacing: 0.03em;
    line-height: 1;
  }

  body.page-dashboard .wallet-card,
  body.page-dashboard .profile-link-card,
  body.page-dashboard .panel,
  body.page-dashboard .stat {
    padding: 14px;
    border-radius: 18px;
  }

  body.page-dashboard .dashboard-spotlight {
    min-height: 246px;
    border-radius: 22px;
    padding: 0;
  }

  body.page-dashboard .dashboard-spotlight-slide {
    padding: 18px 16px 54px;
    gap: 10px;
  }

  body.page-dashboard .dashboard-spotlight-hero {
    grid-template-columns: minmax(0, 1fr) 128px;
    align-items: start;
    gap: 12px;
  }

  body.page-dashboard .dashboard-spotlight-stage {
    gap: 12px;
  }

  body.page-dashboard .dashboard-spotlight-side {
    gap: 8px;
  }

  body.page-dashboard .dashboard-spotlight-slide::after {
    right: -42px;
    top: 30px;
    width: 148px;
    height: 148px;
  }

  body.page-dashboard .dashboard-spotlight-art {
    min-height: 152px;
  }

  body.page-dashboard .dashboard-spotlight-art::before {
    inset: -12px -16px -10px 0;
    border-radius: 24px;
    opacity: 0.14;
  }

  body.page-dashboard .dashboard-spotlight-orbit {
    right: -6px;
    top: -2px;
    width: 126px;
    height: 126px;
  }

  body.page-dashboard .dashboard-spotlight-card-stack {
    right: 4px;
    top: -4px;
    width: 150px;
    height: 160px;
  }

  body.page-dashboard .dashboard-spotlight-card {
    width: 92px;
    height: 128px;
    border-radius: 16px;
  }

  body.page-dashboard .dashboard-spotlight-card.front {
    width: 92px;
    height: 128px;
  }

  body.page-dashboard .dashboard-spotlight-card.back-one {
  }

  body.page-dashboard .dashboard-spotlight-card.back-two {
  }

  body.page-dashboard .dashboard-spotlight-value-label {
    min-height: 30px;
    padding: 0 14px;
    font-size: 11px;
  }

  body.page-dashboard .dashboard-spotlight-value {
    gap: 2px;
  }

  body.page-dashboard .dashboard-spotlight-value-number {
    font-size: 2.24rem;
  }

  body.page-dashboard .dashboard-spotlight-value-decimals {
    font-size: 1rem;
  }

  body.page-dashboard .dashboard-spotlight-value-currency {
    font-size: 0.74rem;
  }

  body.page-dashboard .dashboard-spotlight-caption {
    max-width: 13ch;
    font-size: 0.82rem;
    line-height: 1.18;
  }

  body.page-dashboard .dashboard-spotlight-stats {
    justify-content: stretch;
    margin-top: -2px;
  }

  body.page-dashboard .dashboard-spotlight-stats > div {
    min-width: 0;
    gap: 1px;
    padding: 11px 11px 11px;
    border-radius: 16px;
  }

  body.page-dashboard .dashboard-spotlight-stats small {
    font-size: 11px;
  }

  body.page-dashboard .dashboard-spotlight-stats strong {
    font-size: 1.8rem;
  }

  body.page-dashboard .dashboard-spotlight-stats span {
    font-size: 11px;
    line-height: 1.05;
  }

  body.page-dashboard .dashboard-spotlight-trend {
    justify-items: start;
    margin-top: 2px;
  }

  body.page-dashboard .dashboard-spotlight-trend strong {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  body.page-dashboard .dashboard-spotlight-trend span {
    font-size: 8px;
  }

  body.page-dashboard .dashboard-spotlight-dots {
    bottom: 12px;
  }

  body.page-dashboard .dashboard-spotlight-slide--pokemon {
    --spotlight-fx-position: 58% 44%;
    --spotlight-card-front-right: 4px;
    --spotlight-card-front-top: -2px;
    --spotlight-card-front-rotation: -6deg;
    --spotlight-card-back-one-left: 46px;
    --spotlight-card-back-one-top: 8px;
    --spotlight-card-back-two-left: 36px;
    --spotlight-card-back-two-top: 15px;
  }

  body.page-dashboard .dashboard-spotlight-slide--onepiece {
    --spotlight-fx-position: 62% 52%;
    --spotlight-card-front-right: 1px;
    --spotlight-card-front-top: -1px;
    --spotlight-card-front-rotation: -8deg;
    --spotlight-card-back-one-left: 42px;
    --spotlight-card-back-one-top: 7px;
    --spotlight-card-back-two-left: 32px;
    --spotlight-card-back-two-top: 13px;
  }

  body.page-dashboard .dashboard-spotlight-slide--ygo {
    --spotlight-fx-position: 60% 42%;
    --spotlight-card-front-right: 2px;
    --spotlight-card-front-top: -2px;
    --spotlight-card-front-rotation: -7deg;
    --spotlight-card-back-one-left: 43px;
    --spotlight-card-back-one-top: 7px;
    --spotlight-card-back-two-left: 33px;
    --spotlight-card-back-two-top: 13px;
  }

  body.page-dashboard .dashboard-identity-card .button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .collection-widgets-grid {
    grid-template-columns: 1fr;
  }

  .collection-widget {
    padding: 12px;
    border-radius: 24px;
  }

  .collection-widget-surface,
  .collection-widget.is-large .collection-widget-surface {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .collection-widget-stage,
  .collection-widget.is-large .collection-widget-stage {
    min-height: 144px;
  }

  .collection-widget-card-stack,
  .collection-widget.is-large .collection-widget-card-stack {
    right: 0;
    top: 2px;
    width: 138px;
    height: 148px;
  }

  .collection-widget-card,
  .collection-widget.is-large .collection-widget-card {
    width: 74px;
    height: 104px;
  }

  .collection-widget-card.front,
  .collection-widget.is-large .collection-widget-card.front {
    width: 92px;
    height: 128px;
  }

  .collection-widget .dashboard-spotlight-value-number,
  .collection-widget.is-large .dashboard-spotlight-value-number {
    font-size: 2.14rem;
  }

  .collection-widget .dashboard-spotlight-value-decimals,
  .collection-widget.is-large .dashboard-spotlight-value-decimals {
    font-size: 1rem;
  }

  .collection-widget .dashboard-spotlight-value-currency,
  .collection-widget.is-large .dashboard-spotlight-value-currency {
    font-size: 0.74rem;
  }

  .collection-widget-caption {
    max-width: 17ch;
    font-size: 0.8rem;
  }

  .collection-widget-stat {
    padding: 11px 11px 12px;
    border-radius: 16px;
  }

  .collection-widget-stat small {
    font-size: 10px;
  }

  .collection-widget-stat strong {
    font-size: 1.42rem;
  }

  .collection-widget-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .collection-widget-page-hero {
    padding: 18px;
    gap: 14px;
  }

  .collection-widget-page-copy h2 {
    font-size: 1.65rem;
    line-height: 1.02;
  }

  .collection-widget-page-tabs {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .collection-widget-page-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .collection-widget-page-preview-head {
    align-items: center;
  }

  .collection-widget-page-preview-head strong {
    font-size: 0.92rem;
  }

  .collection-widget-page-aside {
    padding: 16px;
    border-radius: 22px;
    gap: 14px;
  }

  .collection-widget-page-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .collection-widget-page-metric {
    padding: 10px 10px 11px;
    border-radius: 16px;
  }

  .collection-widget-page-metric small {
    font-size: 10px;
  }

  .collection-widget-page-metric strong {
    font-size: 1rem;
  }

  .collection-widget-page-note {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  body.page-dashboard .featured-card {
    width: clamp(164px, 46vw, 184px);
    flex: 0 0 clamp(164px, 46vw, 184px);
    border-radius: 18px;
  }

  body.page-dashboard .featured-card img {
    height: clamp(222px, 62vw, 248px);
  }

  body.page-dashboard .featured-card-rank {
    top: 10px;
    left: 10px;
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  body.page-dashboard .featured-card-copy {
    gap: 5px;
    padding: 12px;
  }

  body.page-dashboard .featured-card-copy strong {
    font-size: clamp(0.96rem, 4.2vw, 1.125rem);
  }

  body.page-dashboard .featured-card-meta {
    gap: 8px;
  }

  body.page-dashboard .featured-card-value {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  body.page-dashboard .dashboard-top-summary {
    gap: 8px;
    margin-bottom: 12px;
  }

  body.page-dashboard .dashboard-top-summary-chip {
    min-width: 0;
    flex: 1 1 calc(33.333% - 6px);
    padding: 10px;
    border-radius: 16px;
  }

  body.page-dashboard .dashboard-top-summary-chip strong {
    font-size: 13px;
  }

  body.page-dashboard .dashboard-top-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.page-dashboard .dashboard-top-card {
    border-radius: 18px;
  }

  body.page-dashboard .dashboard-top-card--lead {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  body.page-dashboard .dashboard-top-card-media {
    min-height: 152px;
  }

  body.page-dashboard .dashboard-top-card--compact {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  body.page-dashboard .dashboard-top-card--compact img {
    min-height: 98px;
  }

  body.page-dashboard .dashboard-top-card-copy {
    gap: 6px;
    padding: 12px;
  }

  body.page-dashboard .dashboard-top-card-copy small {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  body.page-dashboard .dashboard-top-card-copy strong {
    font-size: 0.94rem;
  }

  body.page-dashboard .dashboard-top-card-rank {
    left: 8px;
    top: 8px;
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  body.page-dashboard .dashboard-top-card-value {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  body.page-dashboard .dashboard-alert-group {
    padding: 12px;
    border-radius: 18px;
  }

  body.page-dashboard .dashboard-alert-summary {
    gap: 8px;
    margin-bottom: 12px;
  }

  body.page-dashboard .dashboard-alert-summary-pill {
    min-width: 0;
    flex: 1 1 calc(33.333% - 6px);
    padding: 10px;
    border-radius: 16px;
  }

  body.page-dashboard .dashboard-alert-summary-pill strong {
    font-size: 13px;
  }

  body.page-dashboard .dashboard-app-strip,
  body.page-search .dashboard-app-strip,
  body.page-market .dashboard-app-strip,
  body.page-card .dashboard-app-strip,
  body.page-sets .dashboard-app-strip,
  body.page-shop .dashboard-app-strip,
  body.page-showoff .dashboard-app-strip {
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
  }

  body.page-dashboard .dashboard-app-strip-hero,
  body.page-collection .dashboard-app-strip-hero,
  body.page-search .dashboard-app-strip-hero,
  body.page-market .dashboard-app-strip-hero,
  body.page-card .dashboard-app-strip-hero,
  body.page-sets .dashboard-app-strip-hero,
  body.page-shop .dashboard-app-strip-hero,
  body.page-showoff .dashboard-app-strip-hero {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  body.page-dashboard .dashboard-app-strip-logo-shell,
  body.page-collection .dashboard-app-strip-logo-shell,
  body.page-search .dashboard-app-strip-logo-shell,
  body.page-market .dashboard-app-strip-logo-shell,
  body.page-card .dashboard-app-strip-logo-shell,
  body.page-sets .dashboard-app-strip-logo-shell,
  body.page-shop .dashboard-app-strip-logo-shell,
  body.page-showoff .dashboard-app-strip-logo-shell {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  body.page-dashboard .dashboard-app-strip-logo,
  body.page-collection .dashboard-app-strip-logo,
  body.page-search .dashboard-app-strip-logo,
  body.page-market .dashboard-app-strip-logo,
  body.page-card .dashboard-app-strip-logo,
  body.page-sets .dashboard-app-strip-logo,
  body.page-shop .dashboard-app-strip-logo,
  body.page-showoff .dashboard-app-strip-logo {
    max-width: 42px;
    max-height: 28px;
  }

  body.page-dashboard .dashboard-app-strip-copy strong,
  body.page-sets .dashboard-app-strip-copy strong,
  body.page-shop .dashboard-app-strip-copy strong,
  body.page-showoff .dashboard-app-strip-copy strong,
  body.page-search .dashboard-app-strip-copy strong,
  body.page-market .dashboard-app-strip-copy strong,
  body.page-card .dashboard-app-strip-copy strong {
    font-size: 0.94rem;
  }

  body.page-dashboard .dashboard-app-strip-copy p,
  body.page-sets .dashboard-app-strip-copy p,
  body.page-shop .dashboard-app-strip-copy p,
  body.page-showoff .dashboard-app-strip-copy p,
  body.page-search .dashboard-app-strip-copy p,
  body.page-market .dashboard-app-strip-copy p,
  body.page-card .dashboard-app-strip-copy p {
    font-size: 13px;
    line-height: 1.35;
  }

  body.page-dashboard .dashboard-app-strip-chips,
  body.page-collection .dashboard-app-strip-chips,
  body.page-search .dashboard-app-strip-chips,
  body.page-market .dashboard-app-strip-chips,
  body.page-card .dashboard-app-strip-chips,
  body.page-sets .dashboard-app-strip-chips,
  body.page-shop .dashboard-app-strip-chips,
  body.page-showoff .dashboard-app-strip-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.page-dashboard .dashboard-app-quicklinks,
  body.page-collection .dashboard-app-quicklinks,
  body.page-search .dashboard-app-quicklinks,
  body.page-market .dashboard-app-quicklinks,
  body.page-card .dashboard-app-quicklinks,
  body.page-sets .dashboard-app-quicklinks,
  body.page-shop .dashboard-app-quicklinks,
  body.page-showoff .dashboard-app-quicklinks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.page-dashboard .dashboard-app-quicklink,
  body.page-collection .dashboard-app-quicklink,
  body.page-search .dashboard-app-quicklink,
  body.page-market .dashboard-app-quicklink,
  body.page-card .dashboard-app-quicklink,
  body.page-sets .dashboard-app-quicklink,
  body.page-shop .dashboard-app-quicklink,
  body.page-showoff .dashboard-app-quicklink {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 74px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  body.page-dashboard .dashboard-app-quicklink-icon,
  body.page-collection .dashboard-app-quicklink-icon,
  body.page-search .dashboard-app-quicklink-icon,
  body.page-market .dashboard-app-quicklink-icon,
  body.page-card .dashboard-app-quicklink-icon,
  body.page-sets .dashboard-app-quicklink-icon,
  body.page-shop .dashboard-app-quicklink-icon,
  body.page-showoff .dashboard-app-quicklink-icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  body.page-dashboard .dashboard-app-quicklink strong,
  body.page-collection .dashboard-app-quicklink strong,
  body.page-search .dashboard-app-quicklink strong,
  body.page-market .dashboard-app-quicklink strong,
  body.page-card .dashboard-app-quicklink strong,
  body.page-sets .dashboard-app-quicklink strong,
  body.page-shop .dashboard-app-quicklink strong,
  body.page-showoff .dashboard-app-quicklink strong {
    font-size: 13px;
  }

  body.page-dashboard .dashboard-app-quicklink span,
  body.page-collection .dashboard-app-quicklink span,
  body.page-search .dashboard-app-quicklink span,
  body.page-market .dashboard-app-quicklink span,
  body.page-card .dashboard-app-quicklink span,
  body.page-sets .dashboard-app-quicklink span,
  body.page-shop .dashboard-app-quicklink span,
  body.page-showoff .dashboard-app-quicklink span {
    font-size: 11px;
  }

  body.page-dashboard .dashboard-app-chip,
  body.page-collection .dashboard-app-chip,
  body.page-search .dashboard-app-chip,
  body.page-market .dashboard-app-chip,
  body.page-card .dashboard-app-chip,
  body.page-sets .dashboard-app-chip,
  body.page-shop .dashboard-app-chip,
  body.page-showoff .dashboard-app-chip {
    min-height: 64px;
    padding: 10px;
    border-radius: 16px;
  }

  body.page-dashboard .dashboard-app-chip strong,
  body.page-collection .dashboard-app-chip strong,
  body.page-search .dashboard-app-chip strong,
  body.page-market .dashboard-app-chip strong,
  body.page-card .dashboard-app-chip strong,
  body.page-sets .dashboard-app-chip strong,
  body.page-shop .dashboard-app-chip strong,
  body.page-showoff .dashboard-app-chip strong {
    font-size: 14px;
  }

  body.page-dashboard .dashboard-alert-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  body.page-dashboard .dashboard-alert-meta {
    justify-self: start;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  body.page-dashboard .tag-row,
  body.page-collection .tag-row,
  body.page-wanted-list .tag-row,
  body.page-sell-list .tag-row,
  body.page-market .tag-row {
    gap: 6px;
  }

  body.page-dashboard .tag,
  body.page-collection .tag,
  body.page-wanted-list .tag,
  body.page-sell-list .tag,
  body.page-market .tag {
    padding: 6px 10px;
    font-size: 11px;
  }

  body.page-dashboard .quick-search-shell,
  body.page-market .quick-search-shell {
    padding: 14px;
    border-radius: 18px;
  }
}

@media (max-width: 1120px) and (min-width: 721px) {
  body.page-dashboard .dashboard-spotlight {
    min-height: 286px;
  }

  body.page-dashboard .dashboard-spotlight-slide {
    padding: clamp(18px, 5vw, 22px) clamp(16px, 4.6vw, 20px) clamp(44px, 14vw, 52px);
    --spotlight-orbit-size: 154px;
    --spotlight-orbit-inset: 2px -12px 10px auto;
  }

  body.page-dashboard .dashboard-spotlight-hero {
    grid-template-columns: minmax(0, 1fr) clamp(128px, 42vw, 160px);
    gap: clamp(10px, 3.4vw, 14px);
  }

  body.page-dashboard .dashboard-spotlight-art {
    min-height: clamp(152px, 48vw, 174px);
  }

  body.page-dashboard .dashboard-spotlight-card-stack {
    width: clamp(132px, 42vw, 162px);
    height: clamp(144px, 44vw, 170px);
    right: 2px;
  }

  body.page-dashboard .dashboard-spotlight-card {
    width: clamp(82px, 27vw, 98px);
    height: clamp(114px, 38vw, 136px);
  }

  body.page-dashboard .dashboard-spotlight-card.front {
    width: clamp(92px, 30vw, 108px);
    height: clamp(128px, 41vw, 150px);
  }

  body.page-dashboard .dashboard-spotlight-caption {
    max-width: 17ch;
  }

  body.page-dashboard .dashboard-spotlight-stats > div {
    padding: clamp(9px, 2.8vw, 12px);
  }

  body.page-dashboard .dashboard-spotlight-side {
    min-width: 0;
    gap: clamp(6px, 2.4vw, 8px);
  }

  body.page-dashboard .dashboard-spotlight-value-number {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }
}

body.page-collection .collection-flow-surface .collection-flow-strip-copy p {
  display: none;
}

body.page-collection .page-overview-shell {
  background:
    radial-gradient(circle at top right, rgba(111, 134, 255, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(16, 27, 44, 0.98), rgba(8, 15, 27, 0.98));
  border-color: rgba(126, 170, 255, 0.18);
  box-shadow:
    0 28px 68px rgba(3, 8, 18, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.page-collection .page-overview-copy h2 {
  text-wrap: balance;
  max-width: 9ch;
}

body.page-collection .dashboard-app-strip.collection-flow-strip .collection-flow-strip-copy p {
  display: block;
}

body.page-collection .dashboard-app-strip.collection-flow-strip .dashboard-app-quicklinks {
  gap: 8px;
}

body.page-collection .dashboard-app-strip.collection-flow-strip .dashboard-app-quicklink {
  min-height: 82px;
}

body.page-dashboard .dashboard-vault-shell .section-head,
body.page-collection .dashboard-vault-shell .section-head {
  align-items: center;
}

body.page-collection .set-nav-wrap--collection .section-head {
  display: none;
}

body.page-collection .set-nav-wrap--collection .set-nav {
  gap: 8px;
  padding-bottom: 4px;
}

body.page-collection .set-section {
  margin-top: 12px;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background:
    radial-gradient(circle at top left, rgba(88, 151, 255, 0.1), transparent 30%),
    radial-gradient(circle at bottom right, rgba(90, 219, 192, 0.08), transparent 32%),
    rgba(9, 16, 28, 0.74);
}

body.page-collection .completion-block {
  margin-bottom: 6px;
  padding: 7px 10px;
  border-radius: 16px;
}

body.page-collection .completion-bar {
  height: 8px;
}

body.page-collection .set-progress-actions {
  margin-bottom: 6px;
}

body.page-collection .set-progress-actions .button-link {
  min-height: 34px;
  padding: 0 10px;
  font-size: 10px;
}

body.page-collection .collection-binder-shell,
body.page-profile .collection-binder-shell {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.page-collection .collection-binder-head,
body.page-profile .collection-binder-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 2px 8px;
  background: transparent;
  border: 0;
}

body.page-collection .collection-binder-head-copy,
body.page-profile .collection-binder-head-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.page-collection .collection-binder-eyebrow,
body.page-profile .collection-binder-eyebrow {
  min-height: 24px;
  padding: 0 9px;
  font-size: 9px;
  letter-spacing: 0.08em;
}

body.page-collection .collection-binder-head .card-title,
body.page-profile .collection-binder-head .card-title {
  font-size: 14px;
  line-height: 1;
}

body.page-collection .collection-binder-head-meta,
body.page-profile .collection-binder-head-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(8, 15, 28, 0.72);
  border: 1px solid rgba(147, 168, 196, 0.12);
  color: rgba(228, 237, 251, 0.76);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.page-collection .collection-binder-grid,
body.page-profile .collection-binder-grid {
  grid-template-columns: repeat(auto-fit, minmax(118px, 118px));
  gap: 8px;
  justify-content: start;
}

body.page-collection .collection-binder-card,
body.page-profile .collection-binder-card {
  gap: 0;
}

body.page-collection .collection-binder-thumb,
body.page-profile .collection-binder-thumb {
  border-radius: 10px;
  border-color: rgba(182, 200, 226, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%),
    linear-gradient(160deg, rgba(31, 111, 235, 0.2), rgba(62, 166, 180, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 16px rgba(3, 8, 18, 0.16);
}

body.page-collection .collection-binder-thumb::before,
body.page-profile .collection-binder-thumb::before {
  opacity: 0.42;
}

body.page-collection .collection-binder-thumb::after,
body.page-profile .collection-binder-thumb::after {
  inset: auto 12% -26% 12%;
  height: 40%;
  opacity: 0.36;
}

body.page-collection .collection-binder-qty,
body.page-collection .collection-binder-version,
body.page-profile .collection-binder-qty,
body.page-profile .collection-binder-version {
  min-height: 16px;
  padding: 0 5px;
  background: rgba(7, 12, 22, 0.82);
  border-color: rgba(182, 200, 226, 0.14);
  backdrop-filter: blur(10px);
  font-size: 0.46rem;
  line-height: 1;
}

body.page-collection .collection-binder-qty,
body.page-profile .collection-binder-qty {
  top: 5px;
  right: 5px;
}

body.page-collection .collection-binder-version,
body.page-profile .collection-binder-version {
  left: 5px;
  bottom: 5px;
  max-width: calc(100% - 10px);
}

body.page-collection .collection-binder-code,
body.page-profile .collection-binder-code {
  display: none;
}

@media (max-width: 720px) {
  body.page-collection .collection-flow-surface .dashboard-app-quicklinks,
  body.page-profile .collection-flow-surface .dashboard-app-quicklinks {
    display: none;
  }

  body.page-collection .set-section,
  body.page-profile .set-section {
    margin-top: 10px;
    padding: 6px;
    border-radius: 16px;
  }

  body.page-collection .completion-block {
    padding: 6px 8px;
    border-radius: 12px;
  }

  body.page-collection .completion-meta {
    margin-bottom: 6px;
  }

  body.page-collection .completion-meta small {
    display: none;
  }

  body.page-collection .completion-meta strong {
    font-size: 12px;
  }

  body.page-collection .set-progress-actions {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  body.page-collection .set-progress-actions .button-link {
    min-height: 28px;
    padding: 0 8px;
    font-size: 9px;
  }

  body.page-collection .collection-binder-head,
  body.page-profile .collection-binder-head {
    gap: 6px;
    padding: 0 2px 6px;
  }

  body.page-collection .collection-binder-head .card-title,
  body.page-profile .collection-binder-head .card-title {
    font-size: 12px;
  }

  body.page-collection .collection-binder-eyebrow,
  body.page-collection .collection-binder-head-meta,
  body.page-profile .collection-binder-eyebrow,
  body.page-profile .collection-binder-head-meta {
    min-height: 20px;
    padding: 0 6px;
    font-size: 8px;
  }

  body.page-collection .collection-binder-grid,
  body.page-profile .collection-binder-grid,
  body.page-wanted-list .set-section--wishlist .collection-binder-grid,
  body.page-sell-list .set-section--listing .collection-binder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body.page-collection .collection-binder-thumb,
  body.page-profile .collection-binder-thumb,
  body.page-wanted-list .set-section--wishlist .collection-binder-thumb,
  body.page-sell-list .set-section--listing .collection-binder-thumb {
    border-radius: 8px;
  }

  body.page-collection .collection-binder-qty,
  body.page-collection .collection-binder-version,
  body.page-profile .collection-binder-qty,
  body.page-profile .collection-binder-version,
  body.page-wanted-list .set-section--wishlist .collection-binder-qty,
  body.page-wanted-list .set-section--wishlist .collection-binder-version,
  body.page-sell-list .set-section--listing .collection-binder-qty,
  body.page-sell-list .set-section--listing .collection-binder-version {
    min-height: 14px;
    max-width: calc(100% - 8px);
    padding: 0 4px;
    font-size: 0.4rem;
  }

  body.page-collection .collection-binder-qty,
  body.page-profile .collection-binder-qty,
  body.page-wanted-list .set-section--wishlist .collection-binder-qty,
  body.page-sell-list .set-section--listing .collection-binder-qty {
    top: 4px;
    right: 4px;
  }

  body.page-collection .collection-binder-version,
  body.page-profile .collection-binder-version,
  body.page-wanted-list .set-section--wishlist .collection-binder-version,
  body.page-sell-list .set-section--listing .collection-binder-version {
    left: 4px;
    bottom: 4px;
  }
}

@media (max-width: 380px) {
  body.page-collection .collection-binder-grid,
  body.page-profile .collection-binder-grid,
  body.page-wanted-list .set-section--wishlist .collection-binder-grid,
  body.page-sell-list .set-section--listing .collection-binder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.page-collection .set-progress-actions .set-progress-link,
body.page-wanted-list .set-progress-actions .set-progress-link,
body.page-sell-list .set-progress-actions .set-progress-link {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  font-size: 0;
}

@media (max-width: 720px) {
  .browser-pref-shell {
    padding: 12px;
  }

  .browser-pref-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .browser-pref-toolbar {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .browser-pref-toolbar::-webkit-scrollbar {
    display: none;
  }

  .icon-control-group {
    gap: 6px;
    padding: 5px;
  }

  .icon-control {
    width: 44px;
    height: 44px;
  }

  .icon-control .nav-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  body.is-mobile-ui .page-scope-panel .tag-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.is-mobile-ui .page-scope-panel .tag-row::-webkit-scrollbar {
    display: none;
  }

  body.page-collection .set-progress-actions .set-progress-link,
  body.page-wanted-list .set-progress-actions .set-progress-link,
  body.page-sell-list .set-progress-actions .set-progress-link {
    width: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  body.page-collection .set-progress-actions .set-progress-link .nav-icon,
  body.page-wanted-list .set-progress-actions .set-progress-link .nav-icon,
  body.page-sell-list .set-progress-actions .set-progress-link .nav-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }
}

.landing-marketing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 26, 0.52), rgba(7, 14, 26, 0.78)),
    linear-gradient(120deg, rgba(8, 15, 27, 0.96) 0%, rgba(12, 22, 38, 0.86) 42%, rgba(21, 27, 52, 0.74) 100%),
    url("/static/home/home-hero-bg.webp") center/cover no-repeat;
}

.landing-marketing-hero::before {
  content: "";
  position: absolute;
  inset: auto -54px -94px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 134, 255, 0.22), rgba(111, 134, 255, 0) 72%);
  pointer-events: none;
}

.landing-marketing-copy,
.landing-hero-preview {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.landing-marketing-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  max-width: 660px;
}

.landing-marketing-hero h2 {
  max-width: 10ch;
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 0.94;
}

.landing-marketing-copy p {
  margin: 0;
  max-width: 34ch;
  font-size: 18px;
  line-height: 1.46;
  color: rgba(231, 238, 251, 0.82);
}

.landing-marketing-actions,
.landing-story-actions,
.landing-install-shell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.landing-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-hero-note span,
.landing-preview-badge,
.landing-install-shell-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(9, 16, 28, 0.56);
  color: rgba(235, 242, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.landing-hero-preview {
  display: flex;
  align-items: stretch;
}

.landing-preview-shell {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.22), transparent 30%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.12), transparent 30%),
    rgba(8, 15, 27, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 52px rgba(3, 8, 18, 0.22);
}

.landing-preview-top,
.landing-preview-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.landing-preview-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(6, 12, 22, 0.78);
}

.landing-preview-card--primary {
  grid-column: 1 / -1;
}

.landing-preview-card small,
.landing-preview-footer span {
  color: rgba(219, 232, 255, 0.68);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.landing-preview-card strong {
  font-size: 24px;
  line-height: 1.06;
}

.landing-preview-card p {
  margin: 0;
  max-width: 28ch;
  color: rgba(231, 238, 251, 0.74);
  font-size: 14px;
  line-height: 1.42;
}

.landing-search-band {
  display: grid;
  gap: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(13, 21, 34, 0.94), rgba(8, 14, 24, 0.96));
}

.landing-search-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.landing-search-band-form .quick-search-shell {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.landing-search-band-form .quick-search-form {
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) auto;
  gap: 12px;
}

.landing-search-band-form .quick-search-input input,
.landing-search-band-form .quick-search-game select {
  background: rgba(7, 14, 26, 0.74);
  border-color: rgba(147, 168, 196, 0.14);
}

.landing-search-band-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.landing-search-band-label {
  color: rgba(219, 232, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.landing-story-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-story-card {
  display: grid;
  gap: 16px;
  align-content: start;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(9, 16, 28, 0.9);
}

.landing-story-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.landing-story-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(101, 127, 255, 0.14);
  border: 1px solid rgba(147, 168, 255, 0.18);
  color: #edf3ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-story-meta {
  color: rgba(214, 226, 246, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-story-card h3 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.02;
}

.landing-story-card p {
  margin: 0;
  color: rgba(231, 238, 251, 0.78);
  line-height: 1.48;
}

.landing-story-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.landing-story-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(231, 238, 251, 0.82);
  line-height: 1.4;
}

.landing-story-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(101, 127, 255, 0.92), rgba(74, 210, 194, 0.82));
  box-shadow: 0 0 0 4px rgba(101, 127, 255, 0.12);
}

.landing-story-visual {
  display: grid;
  align-items: center;
  min-height: 172px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(6, 12, 22, 0.72);
}

.landing-story-lane-board,
.landing-story-result-list,
.landing-story-profile-card {
  display: grid;
  gap: 10px;
}

.landing-story-lane,
.landing-story-result,
.landing-story-profile-actions span {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: rgba(8, 15, 27, 0.72);
}

.landing-story-lane--active {
  background:
    linear-gradient(135deg, rgba(101, 127, 255, 0.18), rgba(74, 210, 194, 0.1)),
    rgba(8, 15, 27, 0.8);
  border-color: rgba(147, 168, 255, 0.2);
}

.landing-story-lane strong,
.landing-story-result strong,
.landing-story-profile-card strong {
  font-size: 18px;
  line-height: 1.04;
}

.landing-story-lane small,
.landing-story-result small,
.landing-story-profile-card small {
  color: rgba(216, 228, 248, 0.7);
  line-height: 1.35;
}

.landing-story-profile-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.18), transparent 36%),
    rgba(8, 15, 27, 0.76);
}

.landing-story-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.landing-story-profile-actions span {
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(231, 238, 251, 0.82);
}

.landing-story-link {
  color: rgba(194, 214, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
}

.landing-install-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(74, 210, 194, 0.1), transparent 30%),
    rgba(8, 15, 27, 0.92);
}

.landing-install-shell-copy {
  display: grid;
  gap: 10px;
  max-width: 54ch;
}

.landing-install-shell-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.82);
  border: 1px solid rgba(147, 168, 196, 0.16);
  color: rgba(238, 244, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-install-shell h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.02;
}

.landing-install-shell p {
  margin: 0;
  max-width: 42ch;
  color: rgba(225, 236, 252, 0.82);
  line-height: 1.48;
}

.landing-install-shell-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-install-shell-side {
  display: grid;
  gap: 12px;
  min-width: 280px;
  justify-items: end;
}

.landing-install-shell-preview {
  display: grid;
  gap: 6px;
  width: min(320px, 100%);
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 15, 27, 0.82);
}

.landing-install-shell-preview small {
  color: rgba(219, 232, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-install-shell-preview strong {
  font-size: 18px;
  line-height: 1.1;
}

.landing-install-shell-preview p {
  max-width: none;
  font-size: 14px;
  line-height: 1.42;
}

@media (max-width: 1120px) {
  .landing-marketing-hero,
  .landing-search-band-grid,
  .landing-install-shell {
    grid-template-columns: 1fr;
  }

  .landing-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hero-preview,
  .landing-install-shell-side {
    min-width: 0;
  }

  .landing-install-shell-side {
    justify-items: stretch;
  }
}

@media (max-width: 768px) {
  .landing-marketing-hero {
    gap: 18px;
  }

  .landing-marketing-hero h2 {
    max-width: 11ch;
    font-size: clamp(34px, 10vw, 52px);
  }

  .landing-marketing-copy p {
    font-size: 16px;
  }

  .landing-preview-grid,
  .landing-story-grid {
    grid-template-columns: 1fr;
  }

  .landing-search-band-form .quick-search-form {
    grid-template-columns: 1fr;
  }

  .landing-search-band-form .quick-search-actions {
    justify-content: stretch;
  }

  .landing-search-band-form .quick-search-actions > * {
    width: 100%;
  }

  .landing-story-card h3 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .landing-marketing-actions,
  .landing-story-actions,
  .landing-install-shell-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-marketing-actions > *,
  .landing-story-actions > *,
  .landing-install-shell-actions > * {
    width: 100%;
  }

  .landing-preview-shell,
  .landing-story-visual,
  .landing-install-shell-preview {
    padding: 14px;
  }

  .landing-story-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-install-shell-side {
    min-width: 0;
  }

  .landing-install-shell-preview {
    width: 100%;
  }
}

.landing-hero-simple {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 14, 26, 0.54), rgba(7, 14, 26, 0.78)),
    linear-gradient(120deg, rgba(8, 15, 27, 0.97) 0%, rgba(12, 20, 34, 0.9) 48%, rgba(21, 27, 52, 0.72) 100%),
    url("/static/home/home-hero-bg.webp") center/cover no-repeat;
}

.landing-hero-simple::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 127, 255, 0.18), transparent 72%);
  pointer-events: none;
}

.landing-hero-simple-copy,
.landing-hero-simple-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.landing-hero-simple-copy {
  display: grid;
  gap: 16px;
  align-content: center;
  max-width: 640px;
}

.landing-hero-simple h2 {
  max-width: 8ch;
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: 0.92;
  margin: 0;
}

.landing-hero-simple-copy p {
  margin: 0;
  max-width: 30ch;
  font-size: 18px;
  line-height: 1.44;
  color: rgba(231, 238, 251, 0.82);
}

.landing-simple-actions,
.landing-install-minimal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.landing-hero-subnote {
  color: rgba(219, 232, 255, 0.78);
  font-size: 14px;
  line-height: 1.4;
}

.landing-simple-search {
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 14, 24, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(3, 8, 18, 0.18);
}

.landing-simple-search .quick-search-shell {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.landing-simple-search .quick-search-form {
  grid-template-columns: minmax(170px, 210px) minmax(0, 1fr) auto;
  gap: 12px;
}

.landing-simple-search .quick-search-input input,
.landing-simple-search .quick-search-game select {
  background: rgba(7, 14, 26, 0.78);
  border-color: rgba(147, 168, 196, 0.14);
}

.landing-hero-simple-visual {
  display: flex;
  align-items: stretch;
}

.landing-hero-simple-device {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.18), transparent 28%),
    rgba(10, 17, 30, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 48px rgba(3, 8, 18, 0.2);
}

.landing-hero-simple-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-hero-simple-tabs span,
.landing-hero-simple-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background: rgba(9, 16, 28, 0.64);
  color: rgba(233, 241, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
}

.landing-hero-simple-screen {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(6, 12, 22, 0.76);
}

.landing-hero-simple-screen strong {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.04;
}

.landing-hero-simple-screen p {
  margin: 0;
  max-width: 28ch;
  color: rgba(231, 238, 251, 0.74);
  font-size: 15px;
  line-height: 1.45;
}

.landing-hero-simple-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-flow-strip {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(9, 16, 28, 0.92);
}

.landing-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.landing-flow-item {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.landing-flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(101, 127, 255, 0.18);
  border: 1px solid rgba(147, 168, 255, 0.18);
  color: #eef3ff;
  font-size: 12px;
  font-weight: 800;
}

.landing-flow-item strong {
  font-size: 22px;
  line-height: 1.08;
}

.landing-flow-item p {
  margin: 0;
  max-width: 26ch;
  color: rgba(231, 238, 251, 0.76);
  line-height: 1.46;
}

.landing-install-minimal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(101, 127, 255, 0.12), transparent 28%),
    rgba(8, 15, 27, 0.92);
}

.landing-install-minimal-copy {
  display: grid;
  gap: 10px;
  max-width: 58ch;
}

.landing-install-minimal-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.84);
  border: 1px solid rgba(147, 168, 196, 0.16);
  color: rgba(238, 244, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-install-minimal h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.landing-install-minimal p {
  margin: 0;
  color: rgba(225, 236, 252, 0.82);
  line-height: 1.48;
}

@media (max-width: 1120px) {
  .landing-hero-simple,
  .landing-install-minimal {
    grid-template-columns: 1fr;
  }

  .landing-flow-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .landing-hero-simple h2 {
    max-width: 9ch;
    font-size: clamp(34px, 10vw, 54px);
  }

  .landing-hero-simple-copy p {
    font-size: 16px;
  }

  .landing-simple-search .quick-search-form {
    grid-template-columns: 1fr;
  }

  .landing-simple-search .quick-search-actions {
    justify-content: stretch;
  }

  .landing-simple-search .quick-search-actions > * {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .landing-simple-actions,
  .landing-install-minimal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-simple-actions > *,
  .landing-install-minimal-actions > * {
    width: 100%;
  }

  .landing-simple-search,
  .landing-hero-simple-device {
    padding: 14px;
  }

  .landing-hero-simple-screen {
    padding: 14px;
  }
}

.mobile-nav-link--button {
  border: 0;
  background: transparent;
  font: inherit;
}

.mobile-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(4, 10, 20, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.mobile-sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sheet-backdrop[hidden],
.mobile-sheet[hidden] {
  display: none !important;
}

.mobile-sheet {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(8, 15, 27, 0.98);
  box-shadow:
    0 28px 56px rgba(2, 7, 18, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-sheet.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-sheet-handle {
  width: 44px;
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(224, 233, 249, 0.28);
}

.mobile-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-sheet-head strong {
  font-size: 1rem;
  color: #f5f9ff;
}

.mobile-sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background: rgba(18, 28, 44, 0.82);
  color: #f6fbff;
  font-size: 1.3rem;
  line-height: 1;
}

.mobile-sheet-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 12px;
}

.mobile-sheet-stack {
  display: grid;
  gap: 10px;
}

.mobile-sheet-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 6px 2px 2px;
}

.mobile-sheet-profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mobile-sheet-profile-avatar .global-avatar-shell {
  width: 48px;
  height: 48px;
}

.mobile-sheet-profile-avatar img,
.mobile-sheet-profile-avatar .avatar-fallback {
  width: 48px !important;
  height: 48px !important;
}

.mobile-sheet-profile-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.mobile-sheet-profile-copy strong {
  font-size: 0.98rem;
  line-height: 1.05;
  color: #f6fbff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-sheet-profile-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-sheet-link {
  justify-content: flex-start;
}

.mobile-sheet-game-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 12px 10px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(10, 18, 31, 0.8);
}

.mobile-sheet-game-option.is-active {
  border-color: rgba(122, 165, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(70, 110, 255, 0.14);
}

body.mobile-sheet-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  .mobile-sheet-backdrop,
  .mobile-sheet {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.mobile-sheet-open {
    overflow: auto;
  }
}

body.is-desktop-ui .brand,
body.is-desktop-ui .desktop-nav,
body.is-desktop-ui .desktop-primary-nav,
body.is-desktop-ui .desktop-utility-nav {
  overflow: visible;
}

@media (max-width: 768px) {
  body.is-mobile-ui .brand,
  body.auth-user .topbar.auth-topbar .brand {
    display: none !important;
  }

  body.is-mobile-ui .mobile-header-core {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    justify-self: stretch;
  }

  body.is-mobile-ui .mobile-header-main {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 10px;
    min-width: 0;
    width: 100%;
  }

  body.is-mobile-ui .site-mark {
    justify-content: center;
    gap: 0;
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  body.is-mobile-ui .site-mark-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  body.is-mobile-ui .site-mark-wordmark {
    display: none !important;
  }

  body.is-mobile-ui .mobile-game-menu-trigger {
    min-width: 112px;
    max-width: 148px;
    justify-content: space-between;
    padding: 8px 12px;
    gap: 8px;
  }

  body.is-mobile-ui .mobile-game-menu-trigger .topbar-game-logo {
    max-width: 84px;
    height: 24px;
  }

  body.is-mobile-ui .mobile-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 0;
    flex: 0 0 auto;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-header-core .mobile-top-actions,
  body.auth-user .topbar.auth-topbar .mobile-header-core .mobile-top-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    grid-area: auto !important;
    justify-self: end;
    align-self: center;
    width: auto;
    min-width: 0;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-header-core .mobile-top-actions form,
  body.auth-user .topbar.auth-topbar .mobile-header-core .mobile-top-actions form {
    display: flex;
    width: auto;
  }

  body.is-mobile-ui .topbar,
  body.auth-user .topbar.auth-topbar {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 10px;
    min-height: 0;
    overflow: visible;
    padding: 12px;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-meta,
  body.auth-user .topbar.auth-topbar .mobile-user-meta {
    display: grid;
    grid-area: auto !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 0;
    width: 100%;
    justify-self: stretch;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-top-actions,
  body.auth-user .topbar.auth-topbar .mobile-top-actions {
    display: flex;
    width: auto;
    justify-content: flex-end;
    align-self: center;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-top-actions form,
  body.auth-user .topbar.auth-topbar .mobile-top-actions form {
    display: flex;
    width: auto;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-auth-button,
  body.auth-user .topbar.auth-topbar .mobile-auth-button {
    min-width: clamp(40px, 10.5vw, 46px);
    padding: 0;
    gap: 0;
  }

  body.is-mobile-ui .mobile-bottom-nav {
    grid-template-columns: repeat(var(--mobile-nav-count, 3), minmax(0, 1fr));
  }

  body.is-mobile-ui .mobile-sheet-grid {
    grid-template-columns: 1fr !important;
  }

  body.is-mobile-ui .landing-hero-simple {
    overflow: visible;
  }

  body.is-mobile-ui .shell {
    padding-bottom: 164px;
  }

  body.is-mobile-ui .site-footer-legal {
    padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-avatar,
  body.auth-user .topbar.auth-topbar .mobile-user-avatar {
    justify-content: flex-start;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-avatar::after,
  body.auth-user .topbar.auth-topbar .mobile-user-avatar::after {
    inset: -6px;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell,
  body.auth-user .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell {
    width: 58px;
    height: 58px;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-avatar img,
  body.is-mobile-ui .topbar.auth-topbar .mobile-user-avatar .avatar-fallback,
  body.auth-user .topbar.auth-topbar .mobile-user-avatar img,
  body.auth-user .topbar.auth-topbar .mobile-user-avatar .avatar-fallback {
    width: 50px !important;
    height: 50px !important;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-stack,
  body.auth-user .topbar.auth-topbar .mobile-user-stack {
    gap: 8px;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-name,
  body.auth-user .topbar.auth-topbar .mobile-user-name {
    font-size: clamp(1rem, 4.7vw, 1.14rem);
    line-height: 1;
    -webkit-line-clamp: 1;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-level-pill,
  body.auth-user .topbar.auth-topbar .mobile-level-pill {
    min-height: 30px;
    padding: 0 12px;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-edit,
  body.auth-user .topbar.auth-topbar .mobile-user-edit {
    position: static;
    right: auto;
    bottom: auto;
    width: 34px;
    height: 34px;
    align-self: center;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-edit .nav-icon,
  body.auth-user .topbar.auth-topbar .mobile-user-edit .nav-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  body.is-mobile-ui .topbar.auth-topbar .mobile-user-edit .nav-icon svg,
  body.auth-user .topbar.auth-topbar .mobile-user-edit .nav-icon svg {
    width: 15px;
    height: 15px;
  }
}

.rarity-badge {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  min-height: 22px !important;
  padding: 0 7px !important;
  border-radius: 8px !important;
  border: 1px solid var(--rarity-border, rgba(147, 168, 196, 0.18)) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 42%),
    var(--rarity-bg, linear-gradient(180deg, rgba(98, 116, 146, 0.24), rgba(35, 46, 67, 0.76))) !important;
  box-shadow:
    0 8px 18px rgba(2, 8, 18, 0.18),
    0 0 18px var(--rarity-glow, rgba(101, 127, 255, 0.16)) !important;
  color: var(--rarity-text, #f5f9ff) !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  line-height: 1 !important;
  overflow: hidden !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  isolation: isolate;
}

.rarity-badge::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.12), transparent 55%);
  opacity: 0.78;
  pointer-events: none !important;
}

.rarity-badge__code {
  position: relative !important;
  z-index: 1 !important;
}

.rarity-badge--compact {
  min-width: 22px !important;
  min-height: 22px !important;
  padding: 0 6px !important;
  border-radius: 7px !important;
  font-size: 0.64rem !important;
}

.rarity-badge--chip {
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  font-size: 0.68rem !important;
}

.rarity-badge--neutral {
  --rarity-border: rgba(121, 132, 153, 0.16);
  --rarity-bg: linear-gradient(180deg, rgba(73, 84, 107, 0.24), rgba(22, 30, 44, 0.86));
  --rarity-text: #e7eef7;
  --rarity-glow: rgba(121, 132, 153, 0.12);
}

.rarity-badge--common {
  --rarity-border: rgba(162, 172, 187, 0.24);
  --rarity-bg: linear-gradient(180deg, rgba(146, 157, 172, 0.28), rgba(43, 53, 67, 0.92));
  --rarity-text: #f8fbff;
  --rarity-glow: rgba(148, 163, 184, 0.12);
}

.rarity-badge--uncommon {
  --rarity-border: rgba(74, 222, 200, 0.4);
  --rarity-bg: linear-gradient(180deg, rgba(22, 207, 188, 0.38), rgba(8, 112, 122, 0.94));
  --rarity-text: #effffb;
  --rarity-glow: rgba(45, 212, 191, 0.3);
}

.rarity-badge--rare {
  --rarity-border: rgba(96, 165, 250, 0.46);
  --rarity-bg: linear-gradient(180deg, rgba(74, 129, 255, 0.42), rgba(19, 73, 204, 0.94));
  --rarity-text: #f7fbff;
  --rarity-glow: rgba(96, 165, 250, 0.34);
}

.rarity-badge--super-rare {
  --rarity-border: rgba(221, 140, 255, 0.44);
  --rarity-bg: linear-gradient(180deg, rgba(200, 102, 255, 0.44), rgba(103, 38, 181, 0.96));
  --rarity-text: #fff6ff;
  --rarity-glow: rgba(216, 127, 255, 0.36);
}

.rarity-badge--leader {
  --rarity-border: rgba(255, 214, 102, 0.52);
  --rarity-bg: linear-gradient(180deg, rgba(255, 225, 118, 0.5), rgba(172, 111, 11, 0.98));
  --rarity-text: #fffdf4;
  --rarity-glow: rgba(251, 191, 36, 0.34);
}

.rarity-badge--promo {
  --rarity-border: rgba(61, 220, 142, 0.42);
  --rarity-bg: linear-gradient(180deg, rgba(36, 200, 129, 0.34), rgba(13, 113, 76, 0.94));
  --rarity-text: #effffb;
  --rarity-glow: rgba(45, 212, 191, 0.22);
}

.rarity-badge--special {
  --rarity-border: rgba(249, 115, 184, 0.44);
  --rarity-bg:
    linear-gradient(135deg, rgba(249, 115, 184, 0.34), rgba(168, 85, 247, 0.26) 38%, rgba(245, 158, 11, 0.24) 72%, rgba(244, 63, 94, 0.28));
  --rarity-text: #fff7fb;
  --rarity-glow: rgba(249, 115, 184, 0.3);
}

.rarity-badge--parallel,
.rarity-badge--illustration,
.rarity-badge--shiny,
.rarity-badge--holo {
  --rarity-border: rgba(255, 255, 255, 0.42);
  --rarity-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(59, 130, 246, 0.26) 24%, rgba(168, 85, 247, 0.28) 44%, rgba(251, 191, 36, 0.24) 66%, rgba(34, 197, 94, 0.26) 86%);
  --rarity-text: #ffffff;
  --rarity-glow: rgba(255, 255, 255, 0.22);
}

.rarity-badge--parallel::after,
.rarity-badge--illustration::after,
.rarity-badge--shiny::after,
.rarity-badge--holo::after {
  content: "" !important;
  position: absolute !important;
  inset: -18% !important;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.45), transparent 24%),
    linear-gradient(122deg, transparent 18%, rgba(255, 255, 255, 0.22) 27%, transparent 36%, rgba(255, 255, 255, 0.16) 44%, transparent 56%, rgba(255, 255, 255, 0.2) 68%, transparent 78%);
  opacity: 0.78;
  pointer-events: none !important;
  mix-blend-mode: screen;
}

.rarity-badge--secret {
  --rarity-border: rgba(255, 122, 122, 0.52);
  --rarity-bg:
    linear-gradient(180deg, rgba(255, 119, 119, 0.46), rgba(109, 15, 27, 0.98)),
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.22), transparent 32%);
  --rarity-text: #fff6f6;
  --rarity-glow: rgba(248, 113, 113, 0.38);
}

.rarity-badge--secret::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(135deg, transparent 36%, rgba(0, 0, 0, 0.42) 38%, rgba(255, 255, 255, 0.08) 46%, transparent 49%);
  opacity: 0.95;
  pointer-events: none !important;
}

.rarity-badge--ultra {
  --rarity-border: rgba(251, 146, 60, 0.46);
  --rarity-bg: linear-gradient(180deg, rgba(255, 182, 101, 0.38), rgba(197, 88, 18, 0.96));
  --rarity-text: #fff9f0;
  --rarity-glow: rgba(251, 146, 60, 0.3);
}

.rarity-badge--ultimate {
  --rarity-border: rgba(245, 205, 98, 0.42);
  --rarity-bg: linear-gradient(180deg, rgba(245, 205, 98, 0.2), rgba(12, 18, 26, 0.96));
  --rarity-text: #fff7cf;
  --rarity-glow: rgba(245, 205, 98, 0.26);
}

.rarity-badge--ghost {
  --rarity-border: rgba(196, 181, 253, 0.42);
  --rarity-bg: linear-gradient(180deg, rgba(178, 155, 255, 0.24), rgba(50, 43, 106, 0.96));
  --rarity-text: #fbf8ff;
  --rarity-glow: rgba(196, 181, 253, 0.28);
}

.rarity-badge--gold {
  --rarity-border: rgba(255, 223, 92, 0.48);
  --rarity-bg: linear-gradient(180deg, rgba(255, 228, 118, 0.44), rgba(183, 111, 7, 0.96));
  --rarity-text: #fffbe9;
  --rarity-glow: rgba(250, 204, 21, 0.34);
}

.rarity-badge--legend {
  --rarity-border: rgba(148, 197, 255, 0.42);
  --rarity-bg: linear-gradient(180deg, rgba(133, 183, 255, 0.26), rgba(20, 49, 140, 0.96));
  --rarity-text: #f8fbff;
  --rarity-glow: rgba(96, 165, 250, 0.28);
}

.rarity-badge--break,
.rarity-badge--foil {
  --rarity-border: rgba(217, 119, 6, 0.42);
  --rarity-bg: linear-gradient(180deg, rgba(251, 170, 96, 0.3), rgba(153, 66, 23, 0.96));
  --rarity-text: #fff8f0;
  --rarity-glow: rgba(251, 146, 60, 0.26);
}

.rarity-badge--trainer {
  --rarity-border: rgba(104, 167, 255, 0.42);
  --rarity-bg: linear-gradient(180deg, rgba(94, 141, 255, 0.34), rgba(24, 48, 112, 0.98));
  --rarity-text: #fff7fd;
  --rarity-glow: rgba(104, 167, 255, 0.28);
}

.rarity-badge--print,
.rarity-badge--new,
.rarity-badge--debut {
  --rarity-border: rgba(119, 136, 163, 0.28);
  --rarity-bg: linear-gradient(180deg, rgba(60, 74, 92, 0.28), rgba(12, 18, 32, 0.96));
  --rarity-text: #edf6ff;
  --rarity-glow: rgba(119, 136, 163, 0.14);
}

.card-search-set-thumb-fallback.rarity-badge {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border-radius: 9px !important;
  font-size: 0.55rem !important;
  align-self: center !important;
  justify-self: center !important;
}

.card-search-set-thumb-fallback.rarity-badge .rarity-badge__code {
  font-size: inherit !important;
}

.card-rarity-badge.rarity-badge {
  position: absolute !important;
  bottom: 6px !important;
  left: 6px !important;
  z-index: 2 !important;
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  border-radius: 8px !important;
}

.card-rarity-badge.rarity-badge .rarity-badge__code {
  font-size: 0.6rem !important;
}

.card-rarity-under {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.card-rarity-under-version {
  color: #aebbd0;
  font-size: 0.92em;
}

.premium-search-card-meta .rarity-badge,
.search-card-tags .rarity-badge,
.card-rarity-under .rarity-badge {
  margin-right: 2px;
}

.premium-search-card-meta .rarity-badge,
.search-card-tags .rarity-badge {
  vertical-align: middle;
}
/* App polish: tighter visual shop and marketplace surfaces without changing browser currencies. */
body.page-shop .shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

body.page-shop .shop-item-card {
  padding: 13px;
  border-radius: 20px;
}

body.page-shop .shop-item-preview {
  min-height: 138px;
}

body.page-shop .shop-item-copy {
  gap: 6px;
}

body.page-shop .shop-item-copy p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-shop .shop-item-actions > *,
body.page-shop .shop-item-actions button {
  width: 100%;
}

body.page-market .market-card-grid-shell,
body.page-market .market-scope-shell,
body.page-shop .shop-focus-shell,
body.page-shop .shop-category-shell {
  border-radius: 22px;
}

body.page-market .market-set-grid {
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 14px;
}

body.page-market .market-set-card {
  border-radius: 20px;
  overflow: hidden;
}

body.page-market .market-set-thumb {
  min-height: 132px;
}

body.page-market .market-set-copy small,
body.page-market .market-active-set-copy small,
body.page-shop .shop-focus-copy p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 620px) {
  body.page-shop .shop-summary-grid,
  body.page-shop .shop-focus-layout {
    grid-template-columns: 1fr;
  }

  body.page-shop .shop-grid,
  body.page-market .market-set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.page-shop .shop-item-card,
  body.page-market .market-set-card {
    padding: 10px;
  }

  body.page-shop .shop-item-preview,
  body.page-market .market-set-thumb {
    min-height: 118px;
  }
}

/* Homepage template integration: mobile-first FN TCG Market entry. */
body.page-home {
  --page-accent: rgba(59, 130, 246, 0.2);
  --page-accent-secondary: rgba(124, 58, 237, 0.14);
  --page-border: rgba(96, 165, 250, 0.2);
  --page-glow: rgba(59, 130, 246, 0.14);
  --page-glow-secondary: rgba(124, 58, 237, 0.1);
}

body.page-home .shell {
  max-width: 1180px;
}

.market-home-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 780px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: clamp(38px, 7vw, 82px) clamp(16px, 4vw, 34px);
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.44), rgba(5, 8, 16, 0.82)),
    linear-gradient(120deg, rgba(8, 15, 28, 0.96), rgba(11, 17, 35, 0.82)),
    url("/static/home/home-hero-bg.webp") center/cover no-repeat;
  box-shadow:
    0 28px 58px rgba(2, 7, 18, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.market-home-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.market-home-badge,
.market-home-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: rgba(59, 130, 246, 0.11);
  color: #93c5fd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.market-home-badge .nav-icon {
  width: 14px;
  height: 14px;
  margin-right: 7px;
  color: #ffffff;
}

.market-home-badge .nav-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.market-home-hero h2 {
  max-width: 12ch;
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(42px, 9vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.market-home-hero h2 span {
  display: block;
  color: #93c5fd;
}

.market-home-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(226, 235, 249, 0.84);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.52;
}

.market-home-hero-actions,
.market-home-levelup-actions,
.market-home-install-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.market-home-search {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: minmax(112px, 150px) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 24, 39, 0.9);
  box-shadow:
    0 24px 54px rgba(2, 7, 18, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.market-home-search label {
  min-width: 0;
}

.market-home-search select,
.market-home-search input {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  color: #f8fbff;
  background: rgba(7, 14, 26, 0.78);
  font: inherit;
  outline: none;
}

.market-home-search select {
  padding: 0 12px;
}

.market-home-search input {
  padding: 0 14px;
}

.market-home-search button {
  min-height: 46px;
  border-radius: 16px;
  padding-inline: 20px;
}

.market-home-hero-art {
  position: absolute;
  inset: auto 0 18px;
  z-index: 1;
  height: clamp(180px, 24vw, 300px);
  pointer-events: none;
  opacity: 0.78;
}

.market-home-hero-pack {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: clamp(120px, 17vw, 210px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 28px rgba(0, 0, 0, 0.45));
}

.market-home-hero-pack--onepiece {
  transform: translateX(-126%) rotate(-10deg);
}

.market-home-hero-pack--pokemon {
  transform: translateX(-50%) translateY(-14px);
}

.market-home-hero-pack--ygo {
  transform: translateX(24%) rotate(10deg);
}

.market-home-section {
  margin-top: 22px;
}

.market-home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.market-home-section-head h3,
.market-home-levelup h3,
.market-home-install h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: 0;
}

.market-home-inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  color: rgba(219, 232, 255, 0.86);
  background: rgba(8, 15, 27, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.market-home-set-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.market-home-set-card {
  position: relative;
  min-height: clamp(320px, 34vw, 440px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(147, 168, 196, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 15, 27, 0.88);
  box-shadow:
    0 24px 46px rgba(2, 7, 18, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 160ms ease, border-color 160ms ease;
}

.market-home-set-card:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.34);
}

.market-home-set-pack {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(330px, 112%, 500px);
  height: auto;
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.42));
}

.market-home-set-print {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: flex;
  width: clamp(116px, 38%, 168px);
  height: min(70%, 300px);
  min-height: 224px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(34px, 4vw, 54px) 0 clamp(48px, 4.8vw, 68px);
  box-sizing: border-box;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, -49%);
}

.market-home-set-logo-wrap,
.market-home-set-title {
  z-index: 1;
}

.market-home-set-logo-wrap {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
}

.market-home-set-logo {
  max-width: 100%;
  max-height: 46px;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 1px rgba(0, 0, 0, 0.88))
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.72))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.34));
}

.market-home-set-card--onepiece .market-home-set-logo {
  max-height: 38px;
  filter:
    drop-shadow(0 2px 1px rgba(1, 12, 24, 0.95))
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.8))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.34));
}

.market-home-set-card--pokemon .market-home-set-logo {
  max-height: 44px;
  filter:
    drop-shadow(0 2px 1px rgba(55, 30, 6, 0.95))
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.62))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.28));
}

.market-home-set-card--ygo .market-home-set-logo {
  max-height: 42px;
  filter:
    drop-shadow(0 2px 1px rgba(5, 4, 18, 0.95))
    drop-shadow(0 0 9px rgba(0, 0, 0, 0.78))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.36));
}

.market-home-set-logo-fallback {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.market-home-set-title {
  width: 112%;
  max-height: 3.45em;
  overflow: hidden;
  padding: 0.02em 0 0.16em;
  color: #fff8ef;
  -webkit-text-fill-color: #fff8ef;
  font-family: "Fraunces", serif;
  font-size: clamp(15px, 1.65vw, 22px);
  font-weight: 900;
  line-height: 1.08;
  -webkit-text-stroke: 0.48px rgba(3, 8, 18, 0.98);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.9),
    0 2px 1px rgba(0, 0, 0, 0.88),
    0 4px 8px rgba(0, 0, 0, 0.78),
    0 0 12px rgba(0, 0, 0, 0.58);
}

.market-home-set-card--onepiece .market-home-set-title {
  -webkit-text-stroke-color: rgba(1, 12, 24, 0.98);
}

.market-home-set-card--pokemon .market-home-set-title {
  color: #fff4d6;
  -webkit-text-fill-color: #fff4d6;
  -webkit-text-stroke-color: rgba(72, 38, 5, 0.98);
}

.market-home-set-card--ygo .market-home-set-title {
  -webkit-text-stroke-color: rgba(8, 5, 22, 0.98);
}

.market-home-set-code {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(236, 244, 255, 0.86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.market-home-levelup,
.market-home-install {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 30px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 28%),
    rgba(8, 15, 27, 0.86);
  overflow: hidden;
}

.market-home-levelup-copy {
  display: grid;
  gap: 16px;
}

.market-home-levelup-copy p,
.market-home-install p {
  margin: 0;
  color: rgba(225, 236, 252, 0.8);
  line-height: 1.52;
}

.market-home-levelup-copy ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-home-levelup-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(239, 246, 255, 0.9);
  font-weight: 700;
}

.market-home-levelup-copy li .nav-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #34d399;
}

.market-home-levelup-copy li .nav-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.market-home-levelup-actions {
  justify-content: flex-start;
}

.market-home-levelup-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.market-home-levelup-visual img {
  width: min(100%, 420px);
  max-height: 320px;
  object-fit: contain;
  border-radius: 22px;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.38));
}

.market-home-levelup-visual span {
  position: absolute;
  right: 8%;
  bottom: 8%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  font-weight: 900;
}

.market-home-install {
  grid-template-columns: minmax(0, 1fr) auto;
}

.market-home-install > div:first-child {
  display: grid;
  gap: 10px;
}

.market-home-featured {
  margin-top: 22px;
}

body.page-home .featured-cards-shell {
  margin-top: 22px !important;
  border-radius: 30px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  padding: clamp(18px, 3vw, 26px);
}

.companion-tools-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 110px;
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: 32px;
  border: 1px solid rgba(116, 151, 206, 0.26);
  background:
    linear-gradient(145deg, rgba(8, 15, 28, 0.98), rgba(7, 13, 25, 0.94) 52%, rgba(10, 25, 52, 0.9)),
    rgba(7, 13, 25, 0.96);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.companion-tools-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 84% 18%, rgba(42, 110, 246, 0.22), transparent 27%),
    linear-gradient(90deg, transparent 0, rgba(60, 117, 226, 0.08) 72%, transparent 100%);
}

.companion-tools-showcase:target {
  padding-top: clamp(84px, 8vw, 112px);
}

.companion-tools-mark {
  position: absolute;
  top: 22px;
  right: clamp(28px, 8vw, 130px);
  width: clamp(160px, 24vw, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  opacity: 0.34;
  pointer-events: none;
}

.companion-tools-mark::before,
.companion-tools-mark::after,
.companion-tools-mark span {
  content: "";
  position: absolute;
  border: 1px solid rgba(68, 128, 246, 0.34);
  border-radius: 50%;
  inset: 10%;
}

.companion-tools-mark::after {
  inset: 27%;
  border-color: rgba(68, 128, 246, 0.22);
}

.companion-tools-mark span {
  inset: 31%;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(45deg, transparent 43%, rgba(80, 141, 255, 0.92) 44% 56%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, rgba(80, 141, 255, 0.92) 44% 56%, transparent 57%);
  transform: rotate(45deg);
  filter: drop-shadow(0 0 24px rgba(57, 120, 255, 0.54));
}

.companion-tools-head {
  position: relative;
  z-index: 1;
  max-width: 680px;
  display: grid;
  gap: 16px;
}

.companion-tools-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(71, 132, 246, 0.34);
  background: rgba(30, 75, 156, 0.2);
  color: #83b4ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.companion-tools-kicker .nav-icon,
.companion-tools-footer .nav-icon {
  width: 16px;
  height: 16px;
}

.companion-tools-head h3 {
  max-width: 13ch;
  margin: 0;
  color: #f4f8ff;
  font-family: "Fraunces", serif;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.companion-tools-head h3::after {
  content: " ecossistema.";
  color: #6ea1ff;
}

.companion-tools-head p {
  max-width: 620px;
  margin: 0;
  color: rgba(221, 232, 248, 0.78);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
}

.companion-tools-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 4vw, 46px);
}

.companion-tool-card {
  position: relative;
  min-width: 0;
  min-height: 270px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(126, 154, 205, 0.18);
  background:
    linear-gradient(145deg, rgba(18, 31, 55, 0.92), rgba(9, 16, 30, 0.94)),
    rgba(10, 18, 33, 0.94);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.companion-tool-card--featured {
  border-color: rgba(52, 124, 255, 0.86);
  background:
    linear-gradient(145deg, rgba(16, 45, 96, 0.94), rgba(8, 18, 34, 0.95)),
    rgba(9, 20, 39, 0.96);
  box-shadow:
    0 0 0 1px rgba(61, 133, 255, 0.18),
    0 0 34px rgba(35, 107, 255, 0.28),
    0 18px 44px rgba(0, 0, 0, 0.26);
}

.companion-tool-card-bg {
  position: absolute;
  top: 34px;
  right: 30px;
  color: rgba(119, 153, 214, 0.08);
  pointer-events: none;
}

.companion-tool-card-bg .nav-icon {
  width: 118px;
  height: 118px;
}

.companion-tool-card-bg .nav-icon svg {
  width: 118px;
  height: 118px;
}

.companion-tool-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(136, 169, 225, 0.16);
  background:
    linear-gradient(145deg, rgba(73, 115, 186, 0.22), rgba(13, 25, 45, 0.84)),
    rgba(12, 23, 42, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.companion-tool-icon .nav-icon {
  width: 40px;
  height: 40px;
}

.companion-tool-icon .nav-icon svg {
  width: 40px;
  height: 40px;
}

.companion-tool-icon--discord {
  color: #8da9ff;
}

.companion-tool-icon--twitch,
.companion-tool-cta--twitch {
  color: #a855f7;
}

.companion-tool-icon--android {
  color: #a3e635;
}

.companion-tool-spark {
  position: absolute;
  top: 76px;
  left: 34%;
  width: 18px;
  height: 18px;
  color: #4c8dff;
}

.companion-tool-card--twitch .companion-tool-spark {
  color: #a855f7;
}

.companion-tool-copy {
  position: relative;
  display: grid;
  gap: 10px;
}

.companion-tool-copy h4 {
  margin: 0;
  color: #f5f8ff;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
}

.companion-tool-copy h4::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: #2f7df6;
}

.companion-tool-card--twitch .companion-tool-copy h4::after {
  background: #a855f7;
}

.companion-tool-copy p {
  margin: 0;
  color: rgba(221, 232, 248, 0.76);
  font-size: 0.98rem;
  line-height: 1.45;
}

.companion-tool-cta {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid currentColor;
  color: #3b82f6;
  background: rgba(5, 12, 24, 0.46);
  font-weight: 900;
  text-decoration: none;
}

.companion-tool-cta .nav-icon {
  width: 22px;
  height: 22px;
}

.companion-tool-cta--android {
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.72);
  background: linear-gradient(135deg, #2185ff, #1453e8);
  box-shadow: 0 14px 28px rgba(22, 93, 232, 0.28);
}

.companion-tools-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  color: rgba(129, 164, 224, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.companion-tools-footer::before,
.companion-tools-footer::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(116, 151, 206, 0.14);
}

.companion-tool-page {
  margin-top: 18px;
}

.companion-tool-page-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 4vw, 46px);
  border-radius: 32px;
  border: 1px solid rgba(116, 151, 206, 0.22);
  background:
    radial-gradient(circle at 78% 10%, rgba(50, 113, 242, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(8, 15, 28, 0.98), rgba(7, 13, 25, 0.94));
}

.companion-tool-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-bottom: 24px;
  color: rgba(210, 225, 250, 0.82);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.companion-tool-back .nav-icon {
  width: 18px;
  height: 18px;
}

.companion-tool-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.72fr);
  gap: clamp(22px, 4vw, 50px);
  align-items: center;
}

.companion-tool-page-copy {
  display: grid;
  gap: 18px;
}

.companion-tool-page-status {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(71, 132, 246, 0.28);
  background: rgba(30, 75, 156, 0.16);
  color: #93c5fd;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.companion-tool-page-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.companion-tool-page-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 20px;
  border: 1px solid rgba(136, 169, 225, 0.16);
  background: rgba(15, 29, 52, 0.88);
}

.companion-tool-page-icon .nav-icon {
  width: 42px;
  height: 42px;
}

.companion-tool-page-icon--twitch {
  color: #a855f7;
}

.companion-tool-page-icon--android {
  color: #a3e635;
}

.companion-tool-page h1 {
  margin: 0;
  color: #f5f8ff;
  font-family: "Fraunces", serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.companion-tool-page-copy > p {
  max-width: 62ch;
  margin: 0;
  color: rgba(221, 232, 248, 0.78);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.companion-tool-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.companion-tool-page-cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(71, 132, 246, 0.48);
  background: linear-gradient(135deg, #2f7df6, #1d54cf);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.companion-tool-page-cta--flat,
.companion-tool-page-cta--disabled {
  background: rgba(8, 15, 27, 0.7);
  color: rgba(220, 232, 250, 0.84);
}

.companion-tool-page-cta--twitch {
  border-color: rgba(168, 85, 247, 0.62);
  background: linear-gradient(135deg, #8b45f6, #5620b8);
}

.companion-tool-page-cta--android {
  border-color: rgba(59, 130, 246, 0.72);
}

.companion-tool-page-cta--disabled {
  cursor: default;
  color: #a855f7;
}

.companion-tool-page-visual {
  min-height: 330px;
  display: grid;
  place-items: center;
}

.companion-tool-device {
  width: min(100%, 350px);
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(126, 154, 205, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(9, 18, 34, 0.9);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.26);
}

.companion-tool-device-top {
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: rgba(134, 165, 220, 0.34);
}

.companion-tool-device strong {
  color: #f5f8ff;
}

.companion-tool-device-card {
  display: grid;
  gap: 6px;
  min-height: 120px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(47, 125, 246, 0.2), rgba(8, 15, 27, 0.9)),
    rgba(8, 15, 27, 0.82);
}

.companion-tool-device-card span,
.companion-tool-device-card small {
  color: rgba(218, 231, 250, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
}

.companion-tool-device-card b {
  color: #f5f8ff;
  font-size: 1.15rem;
}

.companion-tool-device-list {
  display: grid;
  gap: 8px;
}

.companion-tool-device-list span {
  height: 12px;
  border-radius: 999px;
  background: rgba(136, 169, 225, 0.14);
}

.companion-tool-device-list span:nth-child(2) {
  width: 78%;
}

.companion-tool-device-list span:nth-child(3) {
  width: 56%;
}

.companion-tool-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  margin-top: 26px;
}

.companion-tool-how,
.companion-tool-bullets {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(126, 154, 205, 0.16);
  background: rgba(8, 15, 27, 0.58);
}

.companion-tool-how h2,
.companion-tool-bullets h2 {
  margin: 0 0 14px;
  color: #f5f8ff;
  font-size: 1.1rem;
}

.companion-tool-how > div {
  display: grid;
  gap: 10px;
}

.companion-tool-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
}

.companion-tool-step span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(47, 125, 246, 0.16);
  color: #93c5fd;
  font-weight: 900;
}

.companion-tool-step strong {
  color: #f5f8ff;
}

.companion-tool-step p,
.companion-tool-bullets li {
  margin: 0;
  color: rgba(221, 232, 248, 0.72);
  line-height: 1.45;
}

.companion-tool-bullets ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 900px) {
  .companion-tools-grid,
  .companion-tool-page-hero,
  .companion-tool-page-grid {
    grid-template-columns: 1fr;
  }

  .companion-tool-page-visual {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .companion-tools-showcase {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .companion-tools-mark {
    top: 18px;
    right: -18px;
    width: 210px;
  }

  .companion-tools-head h3 {
    max-width: 10.5ch;
    font-size: clamp(42px, 12vw, 56px);
  }

  .companion-tool-card {
    min-height: 0;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    padding: 20px;
    border-radius: 22px;
  }

  .companion-tool-card-bg {
    top: 24px;
    right: 22px;
  }

  .companion-tool-card-bg .nav-icon,
  .companion-tool-card-bg .nav-icon svg {
    width: 92px;
    height: 92px;
  }

  .companion-tool-copy {
    align-self: center;
  }

  .companion-tool-icon {
    width: 72px;
    height: 72px;
  }

  .companion-tool-spark {
    top: 54px;
    left: 28%;
  }

  .companion-tool-cta {
    grid-column: 1 / -1;
  }

  .companion-tools-footer {
    letter-spacing: 0.22em;
    font-size: 10px;
  }

  .companion-tool-page-shell {
    padding: 20px;
    border-radius: 26px;
  }

  .companion-tool-page-title-row {
    display: grid;
    gap: 14px;
  }

  .companion-tool-page-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
body.is-mobile-ui .mobile-nav-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

body.is-mobile-ui .mobile-bottom-nav {
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  padding-inline: 12px;
}

@media (max-width: 920px) {
  .market-home-hero {
    min-height: auto;
    padding-bottom: 220px;
  }

  .market-home-set-rail,
  .market-home-levelup,
  .market-home-install {
    grid-template-columns: 1fr;
  }

  .market-home-levelup-visual {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  body.page-home .shell {
    padding-inline: 8px;
  }

  .market-home-hero {
    border-radius: 24px;
    padding: 32px 14px 182px;
  }

  .market-home-hero h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .market-home-hero-actions,
  .market-home-levelup-actions,
  .market-home-install-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .market-home-search {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .market-home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .market-home-set-rail {
    display: flex;
    gap: 14px;
    margin-inline: -8px;
    padding-inline: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .market-home-set-rail::-webkit-scrollbar {
    display: none;
  }

  .market-home-set-card {
    min-width: min(76vw, 300px);
    min-height: 360px;
  }

  .market-home-levelup,
  .market-home-install {
    padding: 18px;
    border-radius: 24px;
  }

  .market-home-levelup-visual {
    min-height: 190px;
  }

  .market-home-levelup-copy li {
    align-items: flex-start;
  }
}

/* Cleaned up redundant final mobile overrides */

/* Mobile Home v2 final overrides: these intentionally win older mobile rules. */
@media (max-width: 768px) {
  body.is-mobile-ui .shell {
    padding-inline: 8px;
    padding-bottom: 74px;
  }

  .home-dashboard {
    gap: 10px;
    margin-top: 8px;
  }

  .home-portfolio-hero {
    gap: 12px;
    padding: 14px;
    border-radius: 26px;
  }

  .home-value-block span {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .home-value-block strong {
    font-size: clamp(2.35rem, 11.3vw, 3rem);
    letter-spacing: 0;
  }

  .home-chart-toolbar {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .home-chart-caption {
    font-size: 8.5px;
  }

  .home-range-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .home-range-tab {
    min-width: 0;
    flex: 1 1 0;
    height: 26px;
    padding: 0 5px;
    font-size: 9px;
  }

  .home-chart-shell {
    height: 78px;
    border-radius: 19px;
  }
  .home-chart-gridline {
    fill: none;
    stroke: rgba(160, 181, 214, 0.1);
    stroke-width: 1;
  }

  .home-chart-axis-label {
    font-size: 7.2px;
  }

  .home-chart-glow {
    fill: none;
    stroke: rgba(114, 231, 217, 0.24);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: blur(2px);
  }

  .home-chart-line {
    stroke-width: 4.2;
  }

  .home-metric-row span {
    min-height: 52px;
    padding: 8px 9px;
    border-radius: 17px;
  }

  .home-metric-row small {
    font-size: 8.5px;
  }

  .home-dashboard-panel {
    gap: 10px;
    padding: 12px;
    border-radius: 24px;
  }

  .home-forecast-row,
  .home-alert-row {
    min-height: 56px;
    padding: 8px;
    border-radius: 18px;
  }

  .home-action-strip .dashboard-app-quicklink {
    min-height: 70px;
    padding: 8px 5px;
    border-radius: 18px;
  }
}

/* Unified app shell: mobile keeps the app-style layout, desktop uses the wide shell. */
@media (max-width: 768px) {
  body.unified-mobile-shell {
    min-height: 100vh;
    background:
      radial-gradient(circle at 50% -12%, rgba(62, 166, 180, 0.13), transparent 34%),
      linear-gradient(180deg, #0b111d 0%, #0d1522 100%);
  }

  body.unified-mobile-shell .shell {
    width: min(100%, 430px);
    max-width: 430px;
    padding: 0 8px calc(70px + env(safe-area-inset-bottom, 0px));
  }

  body.unified-mobile-shell .brand,
  body.unified-mobile-shell .desktop-nav,
  body.unified-mobile-shell .desktop-utility-nav,
  body.unified-mobile-shell .desktop-brand-game {
    display: none !important;
  }

  body.unified-mobile-shell .mobile-header-core {
    display: grid !important;
  }

  body.unified-mobile-shell .mobile-top-actions,
  body.unified-mobile-shell .mobile-global-actions {
    display: flex !important;
  }

  body.unified-mobile-shell .mobile-header-core--global {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center;
    width: 100%;
  }

  body.unified-mobile-shell .topbar.auth-topbar .mobile-header-core .mobile-top-actions,
  body.unified-mobile-shell .topbar.auth-topbar .mobile-top-actions {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: end;
    align-self: center;
    justify-content: flex-end;
    width: auto;
  }

  body.unified-mobile-shell .topbar {
    margin-left: -8px !important;
    margin-right: -8px !important;
    width: calc(100% + 16px) !important;
    max-width: calc(100% + 16px) !important;
  }

  body.unified-mobile-shell .site-footer-legal {
    display: grid;
    padding-bottom: 4px;
  }

  body.unified-mobile-shell .mobile-bottom-nav {
    display: grid !important;
    left: 50% !important;
    right: auto !important;
    width: min(100vw, 430px);
    transform: translateX(-50%);
  }

  body.unified-mobile-shell .mobile-sheet {
    left: 50%;
    right: auto;
    width: min(calc(100vw - 24px), 406px);
    transform: translate(-50%, 16px);
  }

  body.unified-mobile-shell .mobile-sheet.is-open {
    transform: translate(-50%, 0);
  }

  body.unified-mobile-shell .home-dashboard-grid,
  body.unified-mobile-shell .home-top-card-rail {
    grid-template-columns: 1fr;
  }

  body.unified-mobile-shell .home-dashboard {
    gap: 10px;
    margin-top: 8px;
  }

  body.unified-mobile-shell .home-top-card-rail {
    display: flex;
    margin-inline: -8px;
    padding-inline: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.unified-mobile-shell .home-top-card-rail::-webkit-scrollbar {
    display: none;
  }

  body.unified-mobile-shell .home-top-card {
    min-width: 126px;
  }

  body.unified-mobile-shell .page-overview-stats,
  body.unified-mobile-shell .set-grid,
  body.unified-mobile-shell .collection-binder-grid,
  body.unified-mobile-shell .market-set-grid,
  body.unified-mobile-shell .profile-identity-stats,
  body.unified-mobile-shell .dashboard-app-quicklinks {
    grid-template-columns: 1fr;
  }

  body.unified-mobile-shell.page-interests .page-command-strip--listing-interests .dashboard-app-quicklinks,
  body.unified-mobile-shell.page-interests .page-command-strip--market-interests .dashboard-app-quicklinks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile density pass for the Android app shell. */
@media (max-width: 768px) {
  body.is-mobile-ui.page-home .topbar {
    margin-left: -8px !important;
    margin-right: -8px !important;
    width: calc(100% + 16px) !important;
    max-width: calc(100% + 16px) !important;
  }

  body.is-mobile-ui.page-home .mobile-header-main--tcg .site-mark {
    justify-content: flex-start;
    width: auto;
    height: 48px;
    flex: 0 0 auto;
    gap: 9px;
  }

  body.is-mobile-ui.page-home .mobile-header-main--tcg .site-mark-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  body.is-mobile-ui.page-home .mobile-header-main--tcg .site-mark-wordmark {
    display: grid !important;
    gap: 2px;
    min-width: 0;
    line-height: 1;
    color: #f6fbff;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.is-mobile-ui.page-home .mobile-header-main--tcg .site-mark-title {
    font-size: 15.5px;
  }

  body.is-mobile-ui.page-home .mobile-header-main--tcg .site-mark-subtitle {
    font-size: 8.5px;
  }

  body.page-home .market-home-hero {
    min-height: 0;
    padding: 24px 12px 148px;
    border-radius: 22px;
  }

  body.page-home .market-home-hero-copy {
    gap: 12px;
  }

  body.page-home .market-home-badge,
  body.page-home .market-home-kicker {
    min-height: 26px;
    padding: 0 10px;
    font-size: 9px;
    letter-spacing: 0.11em;
  }

  body.page-home .market-home-hero h2 {
    max-width: 13.5ch;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.02;
  }

  body.page-home .market-home-hero p {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.42;
  }

  body.page-home .market-home-search {
    gap: 7px;
    padding: 8px;
    border-radius: 18px;
  }

  body.page-home .market-home-search select,
  body.page-home .market-home-search input,
  body.page-home .market-home-search button {
    min-height: 42px;
    border-radius: 13px;
  }

  body.page-home .market-home-section {
    margin-top: 14px;
  }

  body.page-home .market-home-section-head {
    gap: 8px;
    margin-bottom: 10px;
  }

  body.page-home .market-home-section-head h3,
  body.page-home .market-home-levelup h3,
  body.page-home .market-home-install h3 {
    font-size: clamp(23px, 7vw, 28px);
    line-height: 1.05;
  }

  body.page-home .market-home-levelup,
  body.page-home .market-home-install,
  body.page-home .featured-cards-shell {
    padding: 14px;
    border-radius: 22px;
  }

  body.page-home .market-home-levelup-copy {
    gap: 10px;
  }

  body.page-home .market-home-levelup-copy p,
  body.page-home .market-home-install p {
    font-size: 14px;
    line-height: 1.42;
  }

  body.page-home .companion-tools-showcase {
    padding: 18px 14px;
    border-radius: 22px;
  }

  body.page-home .companion-tools-mark {
    top: 14px;
    right: -44px;
    width: 150px;
    opacity: 0.28;
  }

  body.page-home .companion-tools-head {
    max-width: 100%;
    gap: 10px;
  }

  body.page-home .companion-tools-kicker {
    min-height: 27px;
    gap: 7px;
    padding: 0 11px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  body.page-home .companion-tools-kicker .nav-icon {
    width: 14px;
    height: 14px;
  }

  body.page-home .companion-tools-head h3 {
    max-width: 14.5ch;
    font-size: clamp(29px, 8.2vw, 34px);
    line-height: 1.02;
  }

  body.page-home .companion-tools-head p {
    max-width: 34ch;
    font-size: 13.5px;
    line-height: 1.38;
  }

  body.page-home .companion-tools-grid {
    gap: 10px;
    margin-top: 16px;
  }

  body.page-home .companion-tool-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px;
    border-radius: 18px;
  }

  body.page-home .companion-tool-card-bg {
    top: 16px;
    right: 16px;
  }

  body.page-home .companion-tool-card-bg .nav-icon,
  body.page-home .companion-tool-card-bg .nav-icon svg {
    width: 66px;
    height: 66px;
  }

  body.page-home .companion-tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  body.page-home .companion-tool-icon .nav-icon,
  body.page-home .companion-tool-icon .nav-icon svg {
    width: 28px;
    height: 28px;
  }

  body.page-home .companion-tool-spark {
    display: none;
  }

  body.page-home .companion-tool-copy {
    gap: 6px;
  }

  body.page-home .companion-tool-copy h4 {
    font-size: 20px;
    line-height: 1.05;
  }

  body.page-home .companion-tool-copy h4::after {
    width: 18px;
    margin-top: 6px;
  }

  body.page-home .companion-tool-copy p {
    font-size: 13px;
    line-height: 1.32;
  }

  body.page-home .companion-tool-cta {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13.5px;
  }

  body.page-home .companion-tool-cta .nav-icon {
    width: 18px;
    height: 18px;
  }

  body.page-home .companion-tools-footer {
    gap: 8px;
    margin-top: 14px;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-align: center;
  }
}

@media (max-width: 380px) {
  body.page-home .companion-tools-head h3 {
    font-size: 29px;
  }

  body.page-home .companion-tool-copy p {
    font-size: 12.6px;
  }
}

/* Catalog proposals and online review queue */
.catalog-edit-control,
.catalog-create-control {
  flex: 0 0 42px;
  min-width: 42px;
  padding: 0;
}

.catalog-edit-control .nav-icon,
.catalog-create-control .nav-icon {
  width: 18px;
  height: 18px;
}

.set-card > .catalog-edit-control {
  justify-self: end;
  position: relative;
  z-index: 1;
}

body.page-card .card-utility-actions {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
}

body.page-card .page-command-strip .dashboard-app-quicklink[href*="/edit"] {
  display: none;
}

.catalog-proposal-shell {
  width: min(100%, 980px);
  padding: clamp(18px, 3vw, 28px);
  margin-inline: auto;
}

.catalog-proposal-note {
  max-width: 480px;
  margin: 8px 0 0;
}

.catalog-proposal-main-fields {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.catalog-proposal-advanced {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: rgba(8, 14, 24, 0.44);
}

.catalog-proposal-advanced summary {
  cursor: pointer;
  color: rgba(236, 244, 255, 0.92);
  font-weight: 700;
}

.catalog-proposal-advanced[open] summary {
  margin-bottom: 14px;
}

.catalog-missing-shell .hero-actions {
  align-items: center;
}

.catalog-admin-shell {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.catalog-admin-head,
.catalog-admin-queue,
.catalog-review-head,
.catalog-review-preview,
.catalog-review-diff,
.catalog-review-edit,
.catalog-review-decisions {
  background:
    linear-gradient(180deg, rgba(18, 29, 47, 0.96), rgba(8, 14, 24, 0.98)),
    rgba(10, 18, 30, 0.94);
}

.catalog-admin-head h1,
.catalog-review-head h1 {
  margin: 0;
}

.catalog-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-admin-tabs a,
.catalog-review-meta span,
.catalog-review-meta time {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: rgba(7, 13, 24, 0.62);
  color: rgba(231, 240, 253, 0.8);
  text-decoration: none;
  font-weight: 700;
}

.catalog-admin-tabs a.active {
  border-color: rgba(101, 127, 255, 0.34);
  background: rgba(31, 111, 235, 0.22);
  color: #f7fbff;
}

.catalog-request-table,
.catalog-diff-table {
  display: grid;
  gap: 8px;
}

.catalog-request-row {
  display: grid;
  grid-template-columns: 140px minmax(150px, 1fr) 110px minmax(140px, 1fr) 190px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: rgba(7, 13, 24, 0.56);
  color: inherit;
  text-decoration: none;
}

.catalog-request-row:not(.catalog-request-row--head):hover {
  border-color: rgba(62, 166, 180, 0.32);
  background: rgba(11, 22, 37, 0.86);
}

.catalog-request-row--head {
  min-height: 0;
  background: transparent;
  border: 0;
  color: rgba(198, 214, 236, 0.64);
  font-size: 12px;
  font-weight: 700;
}

.catalog-request-row strong {
  text-transform: capitalize;
}

.catalog-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.catalog-review-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
}

.catalog-review-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.catalog-review-images figure {
  display: grid;
  gap: 9px;
  min-height: 240px;
  margin: 0;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.12);
  background: rgba(7, 13, 24, 0.58);
}

.catalog-review-images figure span {
  color: rgba(202, 218, 239, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.catalog-review-images img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}

.catalog-review-images em {
  display: grid;
  place-items: center;
  min-height: 180px;
  color: var(--muted);
}

.catalog-diff-row {
  display: grid;
  grid-template-columns: 120px repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7, 13, 24, 0.5);
  border: 1px solid rgba(147, 168, 196, 0.1);
}

.catalog-diff-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.catalog-diff-row--head {
  background: transparent;
  color: rgba(198, 214, 236, 0.64);
  font-size: 12px;
  font-weight: 700;
}

.catalog-review-editor {
  display: grid;
  gap: 14px;
}

.catalog-review-note {
  margin-top: 2px;
}

.catalog-review-decisions {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr);
  gap: 14px;
  align-items: end;
}

.catalog-review-reject {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.catalog-review-reject textarea {
  min-height: 56px;
}

@media (max-width: 900px) {
  .catalog-request-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .catalog-request-row--head {
    display: none;
  }

  .catalog-review-grid,
  .catalog-review-decisions,
  .catalog-review-reject {
    grid-template-columns: 1fr;
  }

  .catalog-review-images {
    grid-template-columns: 1fr;
  }

  .catalog-review-images figure {
    min-height: 148px;
  }

  .catalog-review-images em {
    min-height: 84px;
  }

  .catalog-review-images figure.is-empty {
    min-height: 104px;
  }

  .catalog-review-images figure.is-empty em {
    min-height: 40px;
  }

  .catalog-diff-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PREMIUM WEB FEATURES (Fase 2) - SCANNER & FANTASY MODE
   ========================================================================== */

/* Botão Flutuante Lupa/Scanner no Bottom Nav */
body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scanner {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.22), rgba(255, 140, 0, 0.16)) !important;
  border: 2px solid rgba(255, 215, 0, 0.48) !important;
  box-shadow: 
    0 -4px 20px rgba(255, 215, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-14px) scale(1.1) !important;
  border-radius: 50% !important;
  width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  max-width: 54px !important;
  margin-top: -8px !important;
  margin-bottom: 4px !important;
  z-index: 90 !important;
  align-self: center !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
}

body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scanner:hover,
body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scanner:focus-visible {
  transform: translateY(-16px) scale(1.15) !important;
  border-color: rgba(255, 215, 0, 0.8) !important;
  box-shadow: 
    0 -6px 24px rgba(255, 215, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scanner.active {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 140, 0, 0.32)) !important;
  border-color: rgba(255, 215, 0, 0.95) !important;
  box-shadow: 
    0 -6px 28px rgba(255, 215, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scanner .mobile-nav-icon {
  margin: 0 !important;
}

body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scanner .mobile-nav-icon svg {
  width: 22px !important;
  height: 22px !important;
  color: #ffd700 !important;
}

body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scanner .mobile-nav-label {
  display: none !important;
}

/* Efeito Háptico Visual */
.haptic-pulse {
  animation: haptic-pulse-anim 0.2s ease-out;
}

@keyframes haptic-pulse-anim {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); opacity: 0.85; }
  100% { transform: scale(1); }
}

/* Transições e Efeitos do Modo Fantasy Premium */
.fantasy-enter-animation {
  animation: fantasy-intro-glow 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  position: relative;
  overflow: hidden;
}

.fantasy-enter-animation::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-25deg);
  animation: fantasy-shimmer-sparkle 1.8s ease-out;
}

@keyframes fantasy-intro-glow {
  0% {
    filter: brightness(0.6) contrast(1.1) saturate(0.8) blur(3px);
    box-shadow: 0 0 0 rgba(191, 112, 255, 0);
  }
  100% {
    filter: brightness(1) contrast(1) saturate(1) blur(0);
    box-shadow: 0 0 30px rgba(191, 112, 255, 0.12);
  }
}

@keyframes fantasy-shimmer-sparkle {
  0% { left: -150%; }
  100% { left: 150%; }
}

/* Logótipo Customizado para o Fantasy Mode */
.fantasy-logo-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(191, 112, 255, 0.14), rgba(70, 110, 255, 0.08));
  border: 1px solid rgba(191, 112, 255, 0.32);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 
    0 4px 12px rgba(191, 112, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fantasy-logo-text {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e5c3ff, #73a6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(191, 112, 255, 0.2);
}

.fantasy-logo-badge {
  background: #bf70ff;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px rgba(191, 112, 255, 0.4);
}

/* ==========================================================================
   PREMIUM COLLECTION PAGE & BOTTOM NAV REDESIGN
   ========================================================================== */

/* Premium Header and Title Group */
.collection-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  margin-bottom: 16px;
  padding-inline: 4px;
}

.collection-page-title-group h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #f3f7ff;
  letter-spacing: -0.02em;
}

.collection-page-title-group p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #9aa8c8;
}

.collection-page-header-actions {
  display: flex;
  gap: 10px;
}

.collection-header-action {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(121, 145, 198, 0.16);
  display: grid;
  place-items: center;
  color: #9aa8c8;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: all 0.2s ease;
}

.collection-header-action:hover {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(72, 113, 255, 0.4);
  color: #f3f7ff;
}

.collection-header-action .bell-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  background: #a855f7;
  border-radius: 50%;
  box-shadow: 0 0 6px #a855f7;
}

.collection-header-action svg {
  width: 18px;
  height: 18px;
}

/* Glassmorphic Stats Card */
.collection-stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.04)), rgba(10, 18, 38, 0.45);
  border: 1px solid rgba(117, 154, 255, 0.16);
  box-shadow: 
    0 12px 36px rgba(3, 7, 19, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 18px;
}

.collection-stats-card .stat-col {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.collection-stats-card .stat-icon-wrapper {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: #c084fc;
}

.collection-stats-card .stat-icon-wrapper .nav-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.collection-stats-card .stat-icon-wrapper .nav-icon svg {
  width: 20px;
  height: 20px;
}

.collection-stats-card .stat-icon-wrapper--progress {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
}

.collection-stats-card .stat-icon-wrapper--progress .progress-circle-container {
  width: 100%;
  height: 100%;
}

.collection-stats-card .stat-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.collection-stats-card .stat-copy small {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.collection-stats-card .stat-copy strong {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 2px;
  white-space: nowrap;
}

/* Stats Progress Circle */
.collection-stats-card .circular-col {
  justify-content: flex-start;
}

.progress-circle-container {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.progress-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-circle .circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 3.2;
}

.progress-circle .circle-val {
  fill: none;
  stroke: #3b82f6; 
  stroke-width: 3.2;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease;
}

.progress-percentage {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 640px) {
  body.page-collection .collection-stats-card,
  body.page-wanted-list .collection-stats-card,
  body.page-sell-list .collection-stats-card {
    position: sticky;
    top: var(--collection-summary-sticky-top, 112px);
    z-index: 55;
    background:
      linear-gradient(135deg, rgba(59, 130, 246, 0.13), rgba(139, 92, 246, 0.08)),
      rgba(9, 17, 34, 0.9);
    border-color: rgba(117, 154, 255, 0.26);
    box-shadow:
      0 16px 34px rgba(3, 7, 19, 0.56),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .collection-stats-card {
    padding: 10px 8px;
    gap: 8px;
    margin-bottom: 12px;
  }
  .collection-stats-card .stat-col {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
  }
  .collection-stats-card .stat-icon-wrapper {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
  .collection-stats-card .stat-icon-wrapper .nav-icon,
  .collection-stats-card .stat-icon-wrapper .nav-icon svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  .collection-stats-card .stat-icon-wrapper--progress {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
  .collection-stats-card .stat-copy {
    align-items: flex-start;
  }
  .collection-stats-card .stat-copy small {
    font-size: 9px;
    line-height: 1;
    text-align: left;
  }
  .collection-stats-card .stat-copy strong {
    font-size: 14px;
    line-height: 1.1;
    margin-top: 0;
  }
  .collection-stats-card .stat-icon-wrapper--progress .progress-circle-container {
    min-width: 30px;
    min-height: 30px;
  }
  .progress-percentage {
    font-size: 10px;
  }
}

/* Custom Search Box */
.collection-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(121, 145, 198, 0.18);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.collection-search-box:focus-within {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  background: rgba(15, 23, 42, 0.5);
}

.collection-search-box .search-icon-left {
  position: absolute;
  left: 12px;
  color: #ffffff;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.collection-search-box .search-icon-left svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.collection-search-box input {
  width: 100%;
  height: 44px;
  padding: 0 42px;
  border: 0;
  outline: 0;
  color: #f8fafc;
  background: transparent;
  font-size: 14px;
}

.collection-search-box input::placeholder {
  color: rgba(148, 163, 184, 0.55);
}

.collection-search-box .scan-icon-right {
  position: absolute;
  right: 12px;
  color: #94a3b8;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: color 0.2s;
}

.collection-search-box .scan-icon-right:hover {
  color: #3b82f6;
}

.collection-search-box .scan-icon-right svg {
  width: 18px;
  height: 18px;
}

/* Category Tabs */
.collection-category-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.collection-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(121, 145, 198, 0.12);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-tab-btn .tab-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.collection-tab-btn:hover {
  background: rgba(15, 23, 42, 0.45);
  color: #f3f7ff;
  border-color: rgba(121, 145, 198, 0.25);
}

.collection-tab-btn.is-active {
  background: rgba(59, 130, 246, 0.08);
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 
    0 0 14px rgba(59, 130, 246, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.02);
}

/* Sort & Filter Row */
.collection-sort-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #94a3b8;
  padding-inline: 2px;
}

.sort-select-label,
.filter-select-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

.sort-select-label:hover,
.filter-select-label:hover {
  color: #f3f7ff;
}

.active-sort-text,
.active-filter-text {
  color: #c084fc;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.active-sort-text select,
.active-filter-text select {
  min-width: 0;
  max-width: 128px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  appearance: none;
  outline: none;
}

.active-sort-text svg,
.active-filter-text svg {
  width: 12px;
  height: 12px;
  margin-left: 2px;
}

.funnel-icon {
  display: inline-grid;
  place-items: center;
  color: #94a3b8;
  margin-left: 3px;
}

.funnel-icon svg {
  width: 14px;
  height: 14px;
}
body.collection-pref-open {
  overflow: hidden;
}

.collection-pref-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(4, 8, 16, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.collection-pref-backdrop.is-open {
  opacity: 1;
}

.collection-pref-sheet {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 96;
  width: min(720px, calc(100vw - 24px));
  max-height: min(84vh, 760px);
  overflow: auto;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(147, 168, 196, 0.18);
  background:
    linear-gradient(180deg, rgba(20, 31, 50, 0.98), rgba(10, 17, 29, 0.98)),
    rgba(11, 17, 29, 0.98);
  box-shadow:
    0 32px 72px rgba(2, 8, 18, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -48%) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 180ms;
}

.collection-pref-sheet.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0s;
}

.collection-pref-sheet--remove,
.collection-pref-sheet--edit,
.collection-pref-sheet--publish {
  width: min(520px, calc(100vw - 24px));
  max-height: min(78vh, 620px);
  gap: 12px;
}

.collection-pref-sheet-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.collection-pref-sheet-head--sort .collection-pref-sheet-title,
.collection-pref-sheet-head--filter strong {
  min-width: 0;
}

.collection-pref-sheet-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.collection-pref-sheet-title strong,
.collection-pref-sheet-head--filter strong {
  font-size: 18px;
  line-height: 1.05;
  font-weight: 800;
  color: #f6fbff;
  letter-spacing: 0;
}

.collection-pref-sheet-icon,
.collection-pref-option-arrow,
.collection-filter-section-icon,
.collection-filter-section-toggle,
.collection-pref-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.collection-pref-sheet-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
}

.collection-pref-sheet-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.collection-pref-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e8effa;
  box-shadow: none;
}

.collection-pref-close svg {
  width: 18px;
  height: 18px;
  display: block;
}

.managed-remove-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(147, 168, 196, 0.2);
  background:
    linear-gradient(180deg, rgba(18, 29, 47, 0.96), rgba(9, 16, 28, 0.96));
  color: #edf4ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 14px rgba(2, 8, 18, 0.18);
  aspect-ratio: 1 / 1;
  line-height: 0;
  overflow: hidden;
  transition:
    transform 120ms ease,
    border-color 120ms ease,
    background 120ms ease,
    color 120ms ease;
}

.managed-remove-trigger:hover,
.managed-remove-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 140, 0.36);
  background:
    linear-gradient(180deg, rgba(58, 21, 33, 0.98), rgba(25, 12, 18, 0.98));
  color: #fff3f5;
}

.managed-remove-trigger svg {
  width: 10px;
  height: 10px;
  display: block;
}

.managed-remove-copy {
  margin: 0;
}

.managed-remove-summary {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background:
    radial-gradient(circle at top left, rgba(255, 124, 124, 0.12), transparent 48%),
    rgba(8, 14, 24, 0.72);
}

.managed-remove-summary strong {
  font-size: 18px;
  line-height: 1.08;
  color: #f6fbff;
}

.managed-remove-summary small,
.managed-remove-current {
  color: rgba(220, 232, 247, 0.74);
  font-size: 12px;
}

.managed-remove-form {
  display: grid;
  gap: 12px;
}

.managed-remove-field {
  display: grid;
  gap: 7px;
}

.managed-remove-field > span {
  color: #c9d7ea;
  font-size: 14px;
  font-weight: 700;
}

.managed-remove-field input,
.managed-remove-field select {
  max-width: 240px;
}

.managed-remove-field select {
  min-height: 42px;
}

.managed-remove-field textarea {
  min-height: 92px;
  resize: vertical;
}

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

.managed-remove-submit {
  border: 1px solid rgba(255, 122, 140, 0.36);
  background:
    linear-gradient(180deg, rgba(248, 113, 113, 0.32), rgba(220, 38, 38, 0.36)),
    rgba(9, 16, 28, 0.96);
  color: #fff;
}

.managed-remove-submit:hover,
.managed-remove-submit:focus-visible {
  border-color: rgba(255, 122, 140, 0.5);
  background:
    linear-gradient(180deg, rgba(248, 113, 113, 0.42), rgba(220, 38, 38, 0.46)),
    rgba(14, 18, 30, 0.98);
}

.managed-edit-copy {
  margin: 0;
}

.managed-edit-form {
  gap: 10px;
}

.managed-edit-form .managed-remove-field select {
  width: 100%;
  max-width: none;
}

.managed-edit-final-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  align-items: end;
}

.managed-edit-language-field select {
  font-size: 22px;
  line-height: 1;
  text-align: center;
}

.managed-edit-quantity-field select {
  font-weight: 800;
  text-align: center;
}

.managed-edit-submit {
  border: 1px solid rgba(45, 212, 191, 0.36);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.26), rgba(34, 197, 94, 0.24)),
    rgba(9, 16, 28, 0.96);
  color: #f6fffb;
}

.managed-edit-submit:hover,
.managed-edit-submit:focus-visible {
  border-color: rgba(45, 212, 191, 0.52);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.36), rgba(34, 197, 94, 0.34)),
    rgba(14, 18, 30, 0.98);
}

.managed-publish-form {
  gap: 12px;
}

.managed-publish-price-field input {
  font-size: 20px;
  font-weight: 850;
  max-width: 180px;
}

.managed-publish-modes {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  border-radius: 14px;
  background: rgba(8, 14, 24, 0.48);
}

.managed-publish-modes legend {
  padding: 0 6px;
  color: #c9d7ea;
  font-size: 12px;
  font-weight: 800;
}

.managed-publish-mode {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  color: #d8e6f7;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.managed-publish-mode input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #22d3ee;
}

.managed-publish-mode-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.18);
  background: rgba(15, 23, 42, 0.8);
}

.managed-publish-mode-icon svg {
  display: block;
  width: 13px;
  height: 13px;
}

.managed-publish-mode .market-listing-support-icon--online {
  color: #93c5fd;
}

.managed-publish-mode .market-listing-support-icon--in_person {
  color: #facc15;
}

.managed-publish-mode .market-listing-support-icon--trade {
  color: #86efac;
}

.managed-publish-zone-field[hidden] {
  display: none;
}

.managed-publish-submit {
  border: 1px solid rgba(45, 212, 191, 0.36);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.28), rgba(14, 165, 233, 0.24)),
    rgba(9, 16, 28, 0.96);
  color: #f6fffb;
}

.managed-publish-submit:hover,
.managed-publish-submit:focus-visible {
  border-color: rgba(45, 212, 191, 0.52);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.38), rgba(14, 165, 233, 0.34)),
    rgba(14, 18, 30, 0.98);
}

.collection-pref-clear {
  justify-self: end;
  color: #c084fc;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

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

.collection-pref-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(147, 168, 196, 0.15);
  background: rgba(13, 21, 40, 0.92);
  color: #b9c7dc;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 120ms ease,
    border-color 120ms ease,
    background 120ms ease,
    color 120ms ease;
}

.collection-pref-option:hover,
.collection-pref-option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(122, 165, 255, 0.34);
  background: rgba(17, 28, 48, 0.98);
  color: #f6fbff;
}

.collection-pref-option.is-active {
  border-color: rgba(59, 130, 246, 0.7);
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.2), rgba(62, 166, 180, 0.12)),
    rgba(13, 21, 40, 0.98);
  color: #f8fbff;
}

.collection-pref-option-arrow {
  width: 18px;
  height: 18px;
  color: #7ea2ff;
}

.collection-pref-option-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}

.collection-pref-option > span:last-child {
  min-width: 0;
  line-height: 1.25;
  font-weight: 700;
}

.collection-pref-filter-stack {
  display: grid;
  gap: 12px;
}

.collection-filter-section {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background: rgba(11, 18, 31, 0.92);
}

.collection-filter-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.collection-filter-section > summary::-webkit-details-marker {
  display: none;
}

.collection-filter-section-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #f2f6ff;
  font-weight: 700;
}

.collection-filter-section-icon {
  width: 18px;
  height: 18px;
  color: #93c5fd;
}

.collection-filter-section-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.collection-filter-section-toggle {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(223, 232, 247, 0.7);
  border-bottom: 2px solid rgba(223, 232, 247, 0.7);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.collection-filter-section[open] .collection-filter-section-toggle {
  transform: rotate(-135deg);
}

.collection-filter-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.collection-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 196, 0.14);
  background: rgba(25, 33, 50, 0.92);
  color: #c5d1e4;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.collection-filter-chip.is-active {
  border-color: rgba(122, 165, 255, 0.42);
  background: rgba(31, 111, 235, 0.18);
  color: #f6fbff;
}

.collection-filter-chip--set {
  text-transform: uppercase;
}

.collection-filter-empty {
  padding: 4px 0 2px;
  color: #8fa2bf;
  font-size: 12px;
}

@media (max-width: 768px) {
  .collection-pref-sheet {
    width: min(720px, calc(100vw - 16px));
    max-height: min(88vh, 780px);
    padding: 14px;
    border-radius: 22px;
  }

  .collection-pref-sheet--remove,
  .collection-pref-sheet--edit,
  .collection-pref-sheet--publish {
    width: min(520px, calc(100vw - 16px));
    max-height: min(84vh, 720px);
  }

  .collection-pref-sort-grid {
    gap: 8px;
  }

  .collection-pref-option {
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 12px;
  }

  .collection-pref-sheet-title strong,
  .collection-pref-sheet-head--filter strong {
    font-size: 16px;
  }

  .collection-pref-sheet-icon,
  .collection-pref-close {
    width: 32px;
    height: 32px;
  }

  body.is-mobile-ui .managed-remove-trigger {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
  }

  body.is-mobile-ui .managed-remove-trigger svg {
    width: 9px;
    height: 9px;
  }

  .managed-remove-field input,
  .managed-remove-field select,
  .managed-remove-field textarea {
    max-width: none;
  }
}

@media (max-width: 768px) {
  body.is-mobile-ui .collection-pref-sheet {
    left: 8px;
    right: 8px;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    bottom: calc(112px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(12px) scale(0.99);
  }

  body.is-mobile-ui .collection-pref-sheet.is-open {
    transform: translateY(0) scale(1);
  }

  body.is-mobile-ui .collection-pref-sheet--remove,
  body.is-mobile-ui .collection-pref-sheet--edit,
  body.is-mobile-ui .collection-pref-sheet--publish {
    width: auto;
    max-height: none;
  }

  body.is-mobile-ui .collection-pref-sheet--edit {
    gap: 10px;
    overflow: hidden;
    padding: 14px;
  }

  body.is-mobile-ui .collection-pref-sheet--edit .managed-edit-copy {
    font-size: 11px;
    line-height: 1.3;
  }

  body.is-mobile-ui .collection-pref-sheet--edit .managed-edit-summary {
    padding: 12px 14px;
  }

  body.is-mobile-ui .collection-pref-sheet--edit .managed-edit-summary strong {
    font-size: 17px;
  }

  body.is-mobile-ui .managed-edit-form,
  body.is-mobile-ui .managed-publish-form,
  body.is-mobile-ui .managed-remove-form {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  body.is-mobile-ui .collection-pref-sheet--edit .managed-edit-form {
    gap: 9px;
    padding-bottom: 0;
  }

  body.is-mobile-ui .collection-pref-sheet--edit .managed-remove-field {
    gap: 5px;
  }

  body.is-mobile-ui .collection-pref-sheet--edit .managed-remove-field > span {
    font-size: 13px;
  }

  body.is-mobile-ui .collection-pref-sheet--edit .managed-remove-field select {
    min-height: 38px;
  }

  body.is-mobile-ui .collection-pref-sheet--edit .managed-edit-final-row {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  body.is-mobile-ui .managed-edit-form .managed-remove-actions,
  body.is-mobile-ui .managed-remove-form .managed-remove-actions {
    position: sticky;
    bottom: -14px;
    z-index: 2;
    margin: 2px -14px -14px;
    padding: 12px 14px 14px;
    background:
      linear-gradient(180deg, rgba(13, 21, 40, 0), rgba(10, 17, 29, 0.98) 34%),
      rgba(10, 17, 29, 0.98);
  }

  body.is-mobile-ui .collection-pref-sheet--edit .managed-remove-actions {
    position: static;
    margin: 2px 0 0;
    padding: 0;
    background: none;
  }

  body.is-mobile-ui .managed-edit-form .managed-remove-actions .button,
  body.is-mobile-ui .managed-remove-form .managed-remove-actions .button {
    flex: 1 1 0;
    min-width: 0;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 768px) {
    body.is-mobile-ui .collection-pref-sheet {
      max-height: calc(100dvh - 120px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }
  }
}
/* Premium Card Grid */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  padding: 0 !important;
}

.premium-item-card {
  display: flex !important;
  flex-direction: column !important;
  background: rgba(13, 21, 40, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 14px !important;
  padding: 7px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  position: relative !important;
}

.premium-item-card:hover {
  transform: translateY(-4px) !important;
  background: rgba(13, 21, 40, 0.5) !important;
}

.premium-thumb-wrapper {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 0.7 !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  display: block !important;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5) !important;
}

.premium-thumb-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 9px !important;
}

/* Overlay badges */
.card-element-badge {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: rgba(3, 7, 19, 0.72) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 4px !important;
}

.card-element-badge svg {
  width: 100% !important;
  height: 100% !important;
}

.card-rarity-badge {
  position: absolute !important;
  bottom: 6px !important;
  left: 6px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: rgba(3, 7, 19, 0.72) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: grid !important;
  place-items: center !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  color: #e2e8f0 !important;
  letter-spacing: -0.5px !important;
}

.card-qty-badge {
  position: absolute !important;
  bottom: 6px !important;
  right: 6px !important;
  height: 20px !important;
  padding: 0 7px !important;
  border-radius: 99px !important;
  background: rgba(3, 7, 19, 0.72) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

/* Info row under thumbnail */
.card-meta-under {
  display: flex !important;
  flex-direction: column !important;
  margin-top: 8px !important;
  padding: 0 4px !important;
}

.card-title-under {
  color: #e2e8f0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.2s !important;
}

.card-title-under:hover {
  color: #fff !important;
}

.card-price-under {
  display: inline-flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  color: #10b981 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  margin-top: 3px !important;
}

.card-price-version {
  color: rgba(226, 232, 240, 0.78) !important;
  font-weight: 700 !important;
}

.card-price-value {
  color: inherit !important;
  font-weight: inherit !important;
}

/* Elemental Borders & Glows */
.element-fire {
  border-color: rgba(239, 68, 68, 0.35) !important;
}
.element-fire:hover {
  border-color: rgba(239, 68, 68, 0.75) !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.element-fire .card-element-badge {
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.element-water {
  border-color: rgba(56, 182, 255, 0.35) !important;
}
.element-water:hover {
  border-color: rgba(56, 182, 255, 0.75) !important;
  box-shadow: 0 0 16px rgba(56, 182, 255, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.element-water .card-element-badge {
  color: #60a5fa !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

.element-grass {
  border-color: rgba(56, 239, 125, 0.3) !important;
}
.element-grass:hover {
  border-color: rgba(56, 239, 125, 0.75) !important;
  box-shadow: 0 0 16px rgba(56, 239, 125, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.element-grass .card-element-badge {
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

.element-shadow {
  border-color: rgba(181, 95, 230, 0.35) !important;
}
.element-shadow:hover {
  border-color: rgba(181, 95, 230, 0.75) !important;
  box-shadow: 0 0 16px rgba(181, 95, 230, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.element-shadow .card-element-badge {
  color: #c084fc !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
}

.element-light {
  border-color: rgba(255, 222, 89, 0.3) !important;
}
.element-light:hover {
  border-color: rgba(255, 222, 89, 0.75) !important;
  box-shadow: 0 0 16px rgba(255, 222, 89, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.element-light .card-element-badge {
  color: #facc15 !important;
  border-color: rgba(234, 179, 8, 0.4) !important;
}

.element-neutral {
  border-color: rgba(148, 163, 184, 0.22) !important;
}
.element-neutral:hover {
  border-color: rgba(148, 163, 184, 0.55) !important;
  box-shadow: 0 0 16px rgba(148, 163, 184, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.element-neutral .card-element-badge {
  color: #cbd5e1 !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
}

/* Mobile Bottom Navigation Bar Styles matching Mockup */
@media (max-width: 768px) {
  body.unified-mobile-shell .mobile-bottom-nav {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    background: rgba(6, 10, 22, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    height: 68px !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    box-shadow: 0 -8px 32px rgba(3, 7, 19, 0.8) !important;
    overflow: visible !important; /* Allow floating scan button to overflow */
  }

  .mobile-bottom-nav .mobile-nav-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    height: 100% !important;
    flex: 1 !important;
    position: relative !important;
    transition: all 0.2s ease !important;
  }

  .mobile-bottom-nav .mobile-nav-link.active {
    color: #3b82f6 !important;
  }

  /* Active Indicator Glow Line above the active button */
  .mobile-bottom-nav .mobile-nav-link.active::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
    height: 3px !important;
    background: #3b82f6 !important;
    box-shadow: 0 0 10px #3b82f6, 0 0 4px #3b82f6 !important;
    border-radius: 0 0 4px 4px !important;
  }

  .mobile-bottom-nav .mobile-nav-link .mobile-nav-icon {
    display: grid !important;
    place-items: center !important;
    margin-bottom: 2px !important;
    transition: transform 0.2s ease !important;
  }

  .mobile-bottom-nav .mobile-nav-link.active .mobile-nav-icon {
    transform: translateY(-2px) !important;
  }

  .mobile-bottom-nav .mobile-nav-link .mobile-nav-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 1.85 !important;
  }

  /* Centered Scan Floating Button */
  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan {
    position: relative !important;
    z-index: 100 !important;
    align-self: center !important;
    max-width: 64px !important;
    height: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan .mobile-nav-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%) !important;
    border: 3px solid rgba(6, 10, 22, 0.95) !important;
    display: grid !important;
    place-items: center !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4) !important;
    margin: 0 auto !important;
    transform: translateY(-14px) !important; /* Float only the icon circle up! */
    position: relative !important;
    overflow: visible !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  }

  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan .mobile-nav-icon svg {
    width: 22px !important;
    height: 22px !important;
    color: #fff !important;
    stroke-width: 2 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan.active .mobile-nav-icon,
  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan:hover .mobile-nav-icon {
    transform: translateY(-14px) scale(1.1) !important; /* Maintain the translation while scaling! */
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.6), 0 0 12px #3b82f6 !important;
  }

  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan .mobile-nav-label {
    margin-top: -6px !important; /* Adjust position so label stays aligned at bottom */
    font-size: 10px !important;
    color: #94a3b8 !important;
  }

  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan.active .mobile-nav-label {
    color: #3b82f6 !important;
  }

  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan::before {
    display: none !important; /* Hide standard line indicator for scan */
  }
}

/* ==========================================
   EXCLUSIVE PREMIUM EFFECTS FOR ANDROID APP
   ========================================== */

/* 0. Android Solid Bottom Navigation Bar (No Transparency, No Float) */
.is-android-app body .mobile-bottom-nav,
.is-android-app body.pwa-standalone.auth-user .mobile-bottom-nav {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  border-radius: 0 !important;
  background: #060a16 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 0 !important;
  height: 68px !important;
  box-shadow: 0 -8px 32px rgba(3, 7, 19, 0.8) !important;
}

.is-android-app body .mobile-bottom-nav .mobile-nav-link {
  border-radius: 0 !important;
}

.is-android-app body .mobile-bottom-nav .mobile-nav-link--scan .mobile-nav-icon {
  border-color: #060a16 !important;
}

/* 1. Android Active Tab Indicator Pulse */
.is-android-app .mobile-bottom-nav .mobile-nav-link.active::before {
  animation: android-tab-glow 2s infinite ease-in-out alternate !important;
}

@keyframes android-tab-glow {
  0% {
    box-shadow: 0 0 6px #3b82f6, 0 0 2px #3b82f6 !important;
    opacity: 0.8;
  }
  100% {
    box-shadow: 0 0 16px #3b82f6, 0 0 8px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.4) !important;
    opacity: 1;
  }
}

.page-transition-layer {
  display: none;
}

@media (max-width: 768px) {
  body.is-mobile-ui .page-transition-layer {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 96px 24px 116px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    --page-transition-progress: 0%;
    background:
      linear-gradient(180deg, rgba(5, 9, 18, 0.62), rgba(5, 9, 18, 0.78)),
      rgba(5, 9, 18, 0.5);
    backdrop-filter: blur(10px);
    transition: opacity 110ms ease, visibility 110ms ease;
  }

  body.is-mobile-ui.page-transition-active .page-transition-layer {
    opacity: 1;
    visibility: visible;
  }

  body.is-mobile-ui.page-transition-active .shell > :not(.topbar):not(.site-footer-legal) {
    opacity: 0.9;
    transition: opacity 110ms ease;
  }

  body.is-mobile-ui .page-transition-loader {
    width: min(78vw, 270px);
    min-height: 190px;
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 22px 22px 20px;
    border: 1px solid rgba(93, 176, 255, 0.34);
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(20, 32, 54, 0.94), rgba(8, 13, 27, 0.98)),
      rgba(8, 13, 27, 0.96);
    box-shadow:
      0 26px 80px rgba(0, 0, 0, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 0 26px rgba(59, 130, 246, 0.16);
    transform: translateY(8px) scale(0.98);
    transition: transform 150ms ease, box-shadow 150ms ease;
  }

  body.is-mobile-ui.page-transition-active .page-transition-loader {
    transform: translateY(0) scale(1);
  }

  body.is-mobile-ui.page-transition-complete .page-transition-loader {
    box-shadow:
      0 26px 80px rgba(0, 0, 0, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 0 34px rgba(45, 212, 191, 0.24);
  }

  body.is-mobile-ui .page-transition-logo-shell {
    position: relative;
    width: 204px;
    height: 104px;
    display: grid;
    place-items: center;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.is-mobile-ui .page-transition-logo-shell::before {
    content: none;
    display: none;
  }

  body.is-mobile-ui .page-transition-logo-shell::after {
    content: none;
    display: none;
  }

  body.is-mobile-ui .page-transition-logo {
    position: absolute;
    max-width: 170px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
  }

  body.is-mobile-ui .page-transition-logo--base {
    opacity: 0.26;
    filter: grayscale(1) brightness(1.35);
  }

  body.is-mobile-ui .page-transition-logo--fill {
    opacity: 1;
    clip-path: inset(calc(100% - var(--page-transition-progress)) 0 0 0);
    filter: none;
  }

  body.is-mobile-ui .page-transition-layer[data-transition-game="pokemon"] .page-transition-logo {
    max-width: 176px;
    max-height: 78px;
  }

  body.is-mobile-ui .page-transition-layer[data-transition-game="onepiece"] .page-transition-logo {
    max-width: 182px;
    max-height: 72px;
  }

  body.is-mobile-ui .page-transition-layer[data-transition-game="ygo"] .page-transition-logo {
    max-width: 172px;
    max-height: 86px;
  }

  body.is-mobile-ui .page-transition-meter {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.34);
  }

  body.is-mobile-ui .page-transition-meter-fill {
    display: block;
    width: var(--page-transition-progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #44d7ff, #2dd4bf, #fbbf24);
    box-shadow: 0 0 14px rgba(45, 212, 191, 0.32);
    transition: width 80ms linear;
  }

  body.is-mobile-ui .page-transition-percent {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    color: #e5f4ff;
    text-shadow: 0 0 16px rgba(68, 215, 255, 0.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-mobile-ui .page-transition-layer,
  body.is-mobile-ui .page-transition-loader,
  body.is-mobile-ui.page-transition-active .shell > :not(.topbar):not(.site-footer-legal),
  body.is-mobile-ui .page-transition-logo-shell::before,
  body.is-mobile-ui .page-transition-meter-fill {
    transition: none;
  }

  body.is-mobile-ui .page-transition-logo-shell::after {
    animation: none;
  }
}

@keyframes page-transition-line-pulse {
  0% {
    opacity: 0.22;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.22;
  }
}

/* 2. Shared Floating Scan Button Pulse */
  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan .mobile-nav-icon::before,
  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan .mobile-nav-icon::after {
    content: "" !important;
    position: absolute !important;
    inset: -6px !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 0 !important;
    transform-origin: center !important;
    will-change: transform, opacity, box-shadow, filter !important;
  }

  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan .mobile-nav-icon::before {
    inset: -4px !important;
    background: radial-gradient(
      circle,
      rgba(59, 130, 246, 0.42) 0%,
      rgba(168, 85, 247, 0.24) 28%,
      rgba(59, 130, 246, 0.1) 48%,
      rgba(59, 130, 246, 0) 68%
    ) !important;
    box-shadow:
      0 0 0 0 rgba(59, 130, 246, 0.2),
      0 0 10px rgba(168, 85, 247, 0.18) !important;
    filter: blur(0.1px) !important;
    animation: mobile-scan-radar-core 1.22s ease-out infinite !important;
  }

  body.is-mobile-ui .mobile-bottom-nav .mobile-nav-link--scan .mobile-nav-icon::after {
    inset: -8px !important;
    border-width: 0 !important;
    background: radial-gradient(
      circle,
      rgba(168, 85, 247, 0.26) 0%,
      rgba(59, 130, 246, 0.14) 32%,
      rgba(59, 130, 246, 0.05) 50%,
      rgba(59, 130, 246, 0) 72%
    ) !important;
    box-shadow:
      0 0 0 0 rgba(168, 85, 247, 0.14),
      0 0 12px rgba(59, 130, 246, 0.14) !important;
    animation: mobile-scan-radar-ring 1.22s ease-out infinite 0.36s !important;
  }

  @keyframes mobile-scan-radar-core {
    0% {
      transform: scale(0.84);
      opacity: 0;
    }
    14% {
      opacity: 0.9;
    }
    42% {
      opacity: 0.4;
    }
    100% {
      transform: scale(1.3);
      opacity: 0;
      border-color: rgba(255, 255, 255, 0);
      box-shadow:
        0 0 0 14px rgba(255, 255, 255, 0),
        0 0 18px rgba(168, 85, 247, 0);
    }
  }

  @keyframes mobile-scan-radar-ring {
    0% {
      transform: scale(0.88);
      opacity: 0;
    }
    16% {
      opacity: 0.84;
    }
    40% {
      opacity: 0.3;
    }
    100% {
      transform: scale(1.42);
      opacity: 0;
      box-shadow:
        0 0 0 12px rgba(59, 130, 246, 0),
        0 0 16px rgba(59, 130, 246, 0);
    }
  }

/* 3. Android Input Focus Shimmer */
.is-android-app .collection-search-box input:focus {
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(59, 130, 246, 0.45) !important;
}





/* Collection, Wishlist, and Sell List Flat Premium Grid Styles */
body.page-collection .collection-binder-shell--collection-flat,
body.page-wanted-list .collection-binder-shell--collection-flat,
body.page-sell-list .collection-binder-shell--collection-flat {
  background: rgba(8, 14, 24, 0.48) !important;
  border: 1px solid rgba(147, 168, 196, 0.08) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  padding: 12px 10px 10px !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-binder-grid.premium-grid,
body.page-wanted-list .collection-binder-shell--collection-flat .collection-binder-grid.premium-grid,
body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-grid.premium-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
  gap: 16px !important;
  justify-content: stretch !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-binder-card.premium-item-card,
body.page-wanted-list .collection-binder-shell--collection-flat .collection-binder-card.premium-item-card,
body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-card.premium-item-card {
  background: rgba(25, 33, 50, 0.96) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(3, 8, 18, 0.22) !important;
  gap: 10px !important;
  padding: 8px 8px 12px !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-card.premium-item-card {
  padding-bottom: 48px !important;
  position: relative !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-binder-thumb.premium-thumb-wrapper,
body.page-wanted-list .collection-binder-shell--collection-flat .collection-binder-thumb.premium-thumb-wrapper,
body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-thumb.premium-thumb-wrapper {
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  padding: 0 !important;
  aspect-ratio: 0.716 !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-binder-thumb::before,
body.page-collection .collection-binder-shell--collection-flat .collection-binder-thumb::after,
body.page-wanted-list .collection-binder-shell--collection-flat .collection-binder-thumb::before,
body.page-wanted-list .collection-binder-shell--collection-flat .collection-binder-thumb::after,
body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-thumb::before,
body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-thumb::after {
  display: none !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-binder-thumb img,
body.page-wanted-list .collection-binder-shell--collection-flat .collection-binder-thumb img,
body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-thumb img {
  border-radius: 7px !important;
  filter: none !important;
  object-fit: contain !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-element-badge,
body.page-collection .collection-binder-shell--collection-flat .card-rarity-badge,
body.page-collection .collection-binder-shell--collection-flat .card-qty-badge,
body.page-wanted-list .collection-binder-shell--collection-flat .card-element-badge,
body.page-wanted-list .collection-binder-shell--collection-flat .card-rarity-badge,
body.page-wanted-list .collection-binder-shell--collection-flat .card-qty-badge,
body.page-sell-list .collection-binder-shell--collection-flat .card-element-badge,
body.page-sell-list .collection-binder-shell--collection-flat .card-rarity-badge,
body.page-sell-list .collection-binder-shell--collection-flat .card-qty-badge {
  display: none !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-meta-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-meta-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-meta-under {
  gap: 6px !important;
  margin-top: 0 !important;
  padding: 0 4px !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-title-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-title-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-title-under {
  color: #f8fafc !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-code-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-code-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-code-under {
  color: #f8fafc !important;
  font-size: 17px !important;
  line-height: 1.05 !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-price-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-price-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-price-under {
  color: #f8fafc !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  margin-top: 0 !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-set-under,
body.page-collection .collection-binder-shell--collection-flat .card-rarity-under,
body.page-collection .collection-binder-shell--collection-flat .card-condition-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-set-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-rarity-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-condition-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-set-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-rarity-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-condition-under {
  color: #aebbd0 !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-set-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-set-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-set-under {
  align-items: center !important;
  display: inline-flex !important;
  gap: 7px !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-set-logo-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-set-logo-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-set-logo-under {
  border-radius: 3px !important;
  flex: 0 0 auto !important;
  max-height: 18px !important;
  max-width: 42px !important;
  object-fit: contain !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-rarity-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-rarity-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-rarity-under {
  color: #7f8da6 !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-condition-under,
body.page-wanted-list .collection-binder-shell--collection-flat .card-condition-under,
body.page-sell-list .collection-binder-shell--collection-flat .card-condition-under {
  display: flex !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-condition-lang {
  align-items: center !important;
  display: inline-flex !important;
  gap: 6px !important;
  min-width: 0 !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-condition-lang .card-language-flag {
  font-size: 16px !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-publish-trigger {
  align-items: center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(20, 184, 166, 0.98), rgba(14, 116, 144, 0.98)) !important;
  border: 1px solid rgba(103, 232, 249, 0.42) !important;
  border-radius: 50% !important;
  bottom: 10px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 18px rgba(2, 8, 18, 0.28),
    0 0 18px rgba(34, 211, 238, 0.16) !important;
  box-sizing: border-box !important;
  color: #ecfeff !important;
  cursor: pointer !important;
  display: inline-flex !important;
  height: 38px !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 38px !important;
  min-width: 38px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  right: 10px !important;
  width: 38px !important;
  z-index: 5 !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-publish-icon {
  align-items: center !important;
  display: inline-grid !important;
  height: 20px !important;
  justify-items: center !important;
  width: 20px !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-publish-icon svg {
  display: block !important;
  height: 100% !important;
  width: 100% !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-publish-trigger:hover,
body.page-sell-list .collection-binder-shell--collection-flat .sell-list-publish-trigger:focus-visible {
  border-color: rgba(165, 243, 252, 0.72) !important;
  transform: translateY(-1px) !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-version-under,
body.page-collection .collection-binder-shell--collection-flat .card-rarity-condition-under,
body.page-collection .collection-binder-shell--collection-flat .card-price-language-under,
body.page-collection .collection-binder-shell--collection-flat .card-quantity-actions-under {
  align-items: center !important;
  display: flex !important;
  gap: 7px !important;
  min-width: 0 !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-version-under,
body.page-collection .collection-binder-shell--collection-flat .card-rarity-condition-under {
  flex-wrap: wrap !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-price-language-under,
body.page-collection .collection-binder-shell--collection-flat .card-quantity-actions-under {
  justify-content: space-between !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-version-chip,
body.page-collection .collection-binder-shell--collection-flat .collection-condition-chip {
  align-items: center !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  flex: 0 1 auto !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  justify-content: center !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  min-height: 22px !important;
  padding: 5px 7px !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-version-chip--standard {
  background: rgba(148, 163, 184, 0.12) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #d7e0ee !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-version-chip--variant {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(20, 184, 166, 0.14)) !important;
  border: 1px solid rgba(96, 165, 250, 0.36) !important;
  color: #dbeafe !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-version-chip--rare {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.24), rgba(34, 197, 94, 0.14)) !important;
  border: 1px solid rgba(45, 212, 191, 0.42) !important;
  color: #ccfbf1 !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-version-chip--chase {
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(236, 72, 153, 0.22)),
    rgba(17, 24, 39, 0.78) !important;
  border: 1px solid rgba(250, 204, 21, 0.48) !important;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.16) !important;
  color: #fff7d6 !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-version-chip--slab {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(113, 63, 18, 0.7)),
    rgba(15, 23, 42, 0.96) !important;
  border: 1px solid rgba(251, 191, 36, 0.58) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(251, 191, 36, 0.14) !important;
  color: #fde68a !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-rarity-condition-under .rarity-badge {
  flex: 0 1 auto !important;
  min-height: 22px !important;
  padding: 5px 7px !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-condition-chip--best {
  background: rgba(16, 185, 129, 0.16) !important;
  border: 1px solid rgba(45, 212, 191, 0.42) !important;
  color: #bbf7d0 !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-condition-chip--good {
  background: rgba(96, 165, 250, 0.14) !important;
  border: 1px solid rgba(96, 165, 250, 0.36) !important;
  color: #dbeafe !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-condition-chip--played {
  background: rgba(251, 191, 36, 0.12) !important;
  border: 1px solid rgba(251, 191, 36, 0.28) !important;
  color: #fde68a !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-condition-chip--worn {
  background: rgba(248, 113, 113, 0.12) !important;
  border: 1px solid rgba(248, 113, 113, 0.28) !important;
  color: #fecaca !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-language-flag {
  align-items: center !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

body.page-collection .collection-binder-shell--collection-flat .card-quantity-text {
  color: #d6e1f0 !important;
  flex: 1 1 auto !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-card-action-buttons {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  gap: 6px !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-card-action-button {
  align-items: center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  display: inline-flex !important;
  height: 30px !important;
  justify-content: center !important;
  line-height: 0 !important;
  min-height: 30px !important;
  min-width: 30px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 30px !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-card-action-button.managed-remove-trigger {
  bottom: auto !important;
  left: auto !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
  z-index: auto !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-card-action-button svg {
  display: block !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-card-action-button--edit {
  background: linear-gradient(180deg, rgba(21, 94, 117, 0.92), rgba(13, 42, 64, 0.96)) !important;
  border: 1px solid rgba(103, 232, 249, 0.36) !important;
  color: #cffafe !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 14px rgba(2, 8, 18, 0.2) !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-card-action-button--edit svg {
  height: 15px !important;
  width: 15px !important;
}

body.page-collection .collection-binder-shell--collection-flat .collection-card-action-button--remove svg {
  height: 11px !important;
  width: 11px !important;
}

@media (max-width: 720px) {
  body.page-collection .collection-binder-shell--collection-flat .collection-binder-grid.premium-grid,
  body.page-wanted-list .collection-binder-shell--collection-flat .collection-binder-grid.premium-grid,
  body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-grid.premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.page-collection .collection-binder-shell--collection-flat .collection-binder-card.premium-item-card,
  body.page-wanted-list .collection-binder-shell--collection-flat .collection-binder-card.premium-item-card,
  body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-card.premium-item-card {
    padding: 7px 7px 10px !important;
  }

  body.page-sell-list .collection-binder-shell--collection-flat .collection-binder-card.premium-item-card {
    padding-bottom: 44px !important;
  }

  body.page-collection .collection-binder-shell--collection-flat .card-title-under,
  body.page-wanted-list .collection-binder-shell--collection-flat .card-title-under,
  body.page-sell-list .collection-binder-shell--collection-flat .card-title-under {
    font-size: 15px !important;
  }

  body.page-collection .collection-binder-shell--collection-flat .card-code-under,
  body.page-collection .collection-binder-shell--collection-flat .card-price-under,
  body.page-wanted-list .collection-binder-shell--collection-flat .card-code-under,
  body.page-wanted-list .collection-binder-shell--collection-flat .card-price-under,
  body.page-sell-list .collection-binder-shell--collection-flat .card-code-under,
  body.page-sell-list .collection-binder-shell--collection-flat .card-price-under {
    font-size: 14px !important;
  }

  body.page-collection .collection-binder-shell--collection-flat .card-set-under,
  body.page-collection .collection-binder-shell--collection-flat .card-rarity-under,
  body.page-collection .collection-binder-shell--collection-flat .card-condition-under,
  body.page-wanted-list .collection-binder-shell--collection-flat .card-set-under,
  body.page-wanted-list .collection-binder-shell--collection-flat .card-rarity-under,
  body.page-wanted-list .collection-binder-shell--collection-flat .card-condition-under,
  body.page-sell-list .collection-binder-shell--collection-flat .card-set-under,
  body.page-sell-list .collection-binder-shell--collection-flat .card-rarity-under,
  body.page-sell-list .collection-binder-shell--collection-flat .card-condition-under {
    font-size: 12px !important;
  }

  body.page-collection .collection-binder-shell--collection-flat .collection-version-chip,
  body.page-collection .collection-binder-shell--collection-flat .collection-condition-chip,
  body.page-collection .collection-binder-shell--collection-flat .card-rarity-condition-under .rarity-badge {
    font-size: 10px !important;
    min-height: 20px !important;
    padding: 4px 6px !important;
  }

  body.page-collection .collection-binder-shell--collection-flat .card-quantity-text {
    font-size: 12px !important;
  }

  body.page-collection .collection-binder-shell--collection-flat .collection-card-action-button {
    height: 28px !important;
    min-height: 28px !important;
    min-width: 28px !important;
    width: 28px !important;
  }

  body.page-sell-list .collection-binder-shell--collection-flat .sell-list-publish-trigger {
    bottom: 9px !important;
    height: 34px !important;
    min-height: 34px !important;
    min-width: 34px !important;
    right: 9px !important;
    width: 34px !important;
  }
}

/* Sort/filter controls stay text-like and open popups; keep the visual weight light. */
.collection-sort-filter-row button.sort-select-label,
.collection-sort-filter-row button.filter-select-label {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #aebbd0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.collection-sort-filter-row button.sort-select-label:hover,
.collection-sort-filter-row button.filter-select-label:hover {
  background: transparent !important;
  color: #f8fafc !important;
  border-color: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

.collection-sort-filter-row button.sort-select-label .active-sort-text,
.collection-sort-filter-row button.filter-select-label .active-filter-text {
  color: #c084fc !important;
  font-weight: 700 !important;
  margin-left: 2px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.collection-sort-filter-row button.sort-select-label .active-sort-text svg,
.collection-sort-filter-row button.filter-select-label .active-filter-text svg {
  color: currentColor !important;
}

@media (max-width: 768px) {
  .collection-sort-filter-row button.sort-select-label,
  .collection-sort-filter-row button.filter-select-label {
    font-size: 12px !important;
    gap: 3px !important;
  }
}


/* =======================================================
   COLLECTION SET OVERVIEW & SET CARDS STYLES
   ======================================================= */
.collection-set-shell {
  background: rgba(8, 14, 24, 0.48) !important;
  border: 1px solid rgba(147, 168, 196, 0.08) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  margin-top: 14px !important;
}

.collection-set-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding-bottom: 10px !important;
}

.collection-set-head .section-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin: 0 !important;
}

.collection-set-head .muted {
  font-size: 13px !important;
  color: #64748b !important;
}

.collection-set-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 18px !important;
  padding: 0 !important;
}

.collection-set-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 16px !important;
  border-radius: 16px !important;
  background: rgba(25, 33, 50, 0.96) !important;
  border: 1px solid rgba(147, 168, 196, 0.1) !important;
  box-shadow: 0 10px 24px rgba(3, 8, 18, 0.2) !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  gap: 12px !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.collection-set-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  box-shadow: 0 16px 32px rgba(3, 8, 18, 0.35), 0 0 12px rgba(59, 130, 246, 0.2) !important;
}

.collection-set-card.is-active {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3) !important;
}

.collection-set-card-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

.collection-set-card-value {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #10b981 !important;
  letter-spacing: -0.02em !important;
}

.collection-set-card-progress {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.collection-set-card-progress-count {
  font-size: 13px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

.collection-set-card-progress-count strong {
  color: #f8fafc !important;
  font-weight: 700 !important;
}

.collection-set-progress-circle {
  width: 22px !important;
  height: 22px !important;
  position: relative !important;
}

.collection-set-progress-circle .progress-circle {
  width: 22px !important;
  height: 22px !important;
}

.collection-set-card-logo-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 80px !important;
  width: 100% !important;
  margin: 6px 0 !important;
  overflow: hidden !important;
}

.collection-set-logo {
  max-height: 80px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25)) !important;
  transition: transform 0.3s ease !important;
}

.collection-set-card:hover .collection-set-logo {
  transform: scale(1.05) !important;
}

.collection-set-logo--fallback {
  width: 100% !important;
  height: 64px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px dashed rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
}

.collection-set-card-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  align-items: center !important;
  text-align: center !important;
}

.collection-set-card-copy strong {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

.collection-set-card-code {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
}

@media (max-width: 768px) {
  .collection-set-shell {
    padding: 12px !important;
  }

  .collection-set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .collection-set-card {
    padding: 12px !important;
    gap: 8px !important;
  }

  .collection-set-card-logo-wrap {
    height: 64px !important;
  }

  .collection-set-logo {
    max-height: 64px !important;
  }

  .collection-set-card-copy strong {
    font-size: 13px !important;
  }

  .collection-set-card-value {
    font-size: 15px !important;
  }
}

/* =======================================================
   PREMIUM STYLES FOR BINDER GRID (SETS DETAIL PAGE)
   ======================================================= */
.binder-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
  gap: 16px !important;
  justify-content: stretch !important;
  padding: 0 !important;
}

.binder-card {
  display: flex !important;
  flex-direction: column !important;
  background: rgba(25, 33, 50, 0.96) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(3, 8, 18, 0.22) !important;
  gap: 10px !important;
  padding: 8px 8px 12px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.binder-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px rgba(3, 8, 18, 0.35) !important;
}

.binder-thumb {
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  padding: 0 !important;
  aspect-ratio: 0.716 !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

.binder-thumb::before,
.binder-thumb::after {
  display: none !important;
}

.binder-thumb img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 7px !important;
  filter: none !important;
  object-fit: contain !important;
}

.binder-card.missing {
  opacity: 1 !important;
}

.binder-card.missing .binder-thumb img {
  filter: grayscale(0.85) opacity(0.35) !important;
}

.binder-copy {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 0 4px !important;
  margin-top: 0 !important;
}

.binder-copy h4 {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
}

.binder-copy h4 a {
  color: #f8fafc !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.binder-copy p.muted {
  margin: 0 !important;
  color: #aebbd0 !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
}

.binder-copy .tag-row {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
  margin-bottom: 2px !important;
}

.binder-copy .code {
  color: #f8fafc !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.binder-copy .tag {
  color: #7f8da6 !important;
  font-size: 13px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.binder-actions {
  margin-top: auto !important;
  width: 100% !important;
}

.binder-actions button,
.binder-actions .tag {
  width: 100% !important;
  min-height: 32px !important;
  height: 32px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
}

.binder-actions .tag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.binder-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.binder-actions button:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 720px) {
  .binder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .binder-card {
    padding: 7px 7px 10px !important;
  }

  .binder-copy h4 {
    font-size: 15px !important;
  }

  .binder-copy p.muted,
  .binder-copy .code,
  .binder-copy .tag {
    font-size: 12px !important;
  }
}


/* Collector ID, Showoff murals and the non-persistent Social Post Engine. */

.icon-glyph-control {
  appearance: none;
  align-items: center;
  background: rgba(8, 15, 27, 0.78);
  border: 1px solid rgba(178, 205, 235, 0.2);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.24);
  color: #eaf4ff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  margin: 0;
  min-height: 42px;
  padding: 0;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 150ms ease;
  width: 42px;
}

.icon-glyph-control:hover,
.icon-glyph-control:focus-visible {
  border-color: rgba(238, 207, 138, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 0 0 3px rgba(93, 202, 255, 0.1), 0 12px 28px rgba(0, 0, 0, 0.32);
  color: #f5d996;
  outline: none;
  transform: translateY(-1px);
}

.icon-glyph-control:disabled {
  cursor: not-allowed;
  filter: saturate(0.4);
  opacity: 0.42;
  transform: none;
}

.icon-glyph-control--primary {
  background: linear-gradient(145deg, #e7c77b, #9f7130);
  border-color: rgba(255, 238, 188, 0.75);
  color: #10141d;
}

.icon-glyph-control--danger {
  color: #ff9fa9;
}

.icon-glyph {
  font-family: "Space Grotesk", "Segoe UI Symbol", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

/* Collector ID */
.collector-id-page {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 1240px;
}

.collector-id-card {
  background: #080d18 url("/static/companion_media/collector-identity-stage.png") center / cover no-repeat;
  border: 1px solid rgba(213, 230, 248, 0.17);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
  padding: 24px 28px 26px;
  position: relative;
}

.collector-id-card::before {
  background: linear-gradient(105deg, rgba(3, 7, 14, 0.06), rgba(3, 7, 14, 0.78) 58%, rgba(3, 7, 14, 0.94));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.collector-id-card__texture {
  background: radial-gradient(circle at 16% 35%, rgba(88, 188, 255, 0.2), transparent 23%), linear-gradient(120deg, transparent 52%, rgba(255, 255, 255, 0.035) 52.3%, transparent 52.7%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.collector-id-toolbar,
.collector-id-content-bar,
.showoff-studio-bar,
.social-composer-head,
.social-composer-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.collector-id-kicker,
.showoff-studio-brand small,
.social-composer-head small,
.sell-social-toolbar-copy small {
  color: #e9cc8a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collector-id-actions,
.showoff-studio-actions,
.sell-social-toolbar-actions,
.showoff-public-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.collector-id-primary {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: 184px minmax(0, 1fr);
  margin-top: 32px;
  max-width: 760px;
}

.collector-id-avatar-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 184px;
  position: relative;
}

.collector-id-avatar {
  border: 3px solid rgba(241, 211, 144, 0.84);
  box-shadow: 0 0 0 8px rgba(11, 22, 40, 0.68), 0 0 46px rgba(87, 191, 255, 0.35);
  height: 142px;
  overflow: hidden;
  width: 142px;
}

.collector-id-level {
  background: linear-gradient(145deg, #f4d890, #9e6c2b);
  border: 2px solid #0a101c;
  border-radius: 999px;
  bottom: 6px;
  color: #10141c;
  font-size: 11px;
  font-weight: 800;
  left: 50%;
  max-width: 170px;
  overflow: hidden;
  padding: 7px 13px;
  position: absolute;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  white-space: nowrap;
}

.collector-id-copy h1 {
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.98;
  margin: 9px 0 12px;
}

.collector-id-copy p {
  color: rgba(226, 235, 246, 0.68);
  margin: 0 0 13px;
  max-width: 590px;
}

.collector-id-game {
  align-items: center;
  color: #e7c77d;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collector-id-game-monogram {
  align-items: center;
  background: linear-gradient(145deg, rgba(239, 207, 132, 0.17), rgba(112, 182, 224, 0.08));
  border: 1px solid rgba(238, 207, 136, 0.34);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: inline-flex;
  font-size: 9px;
  height: 28px;
  justify-content: center;
  letter-spacing: 0.08em;
  min-width: 36px;
  padding: 0 7px;
}

.collector-id-since {
  color: rgba(216, 228, 242, 0.48);
  font-size: 12px;
}

.collector-id-stat-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-left: 210px;
  margin-top: 30px;
}

.collector-id-stat-grid > span,
.collector-id-stat-grid > a {
  background: rgba(5, 10, 20, 0.7);
  border: 1px solid rgba(212, 229, 247, 0.12);
  border-radius: 16px;
  color: inherit;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px 14px;
  text-decoration: none;
}

.collector-id-stat-grid small {
  color: rgba(211, 223, 238, 0.52);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.collector-id-stat-grid strong {
  color: #fff;
  font-size: 20px;
}

.collector-id-flash:empty,
.showoff-studio-flash:empty {
  display: none;
}

.collector-id-content {
  background: rgba(7, 13, 24, 0.82);
  border: 1px solid rgba(190, 215, 240, 0.13);
  border-radius: 24px;
  overflow: hidden;
  padding: 14px;
}

.collector-id-content-bar {
  gap: 14px;
  margin-bottom: 12px;
}

.collector-id-tabs {
  display: flex;
  gap: 8px;
}

.collector-id-tab {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  color: rgba(231, 239, 248, 0.62);
  display: flex;
  gap: 8px;
  height: 40px;
  justify-content: center;
  min-width: 64px;
  padding: 0 12px;
}

.collector-id-tab.is-active {
  background: rgba(231, 199, 123, 0.13);
  border-color: rgba(231, 199, 123, 0.52);
  color: #f1d794;
}

.collector-id-tab b {
  font-size: 11px;
}

.collector-id-games .tag-row {
  flex-wrap: nowrap;
  overflow-x: auto;
}

.collector-id-panel[hidden] {
  display: none;
}

.identity-preview-rail {
  display: grid;
  gap: 12px;
  grid-auto-columns: minmax(118px, 1fr);
  grid-auto-flow: column;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.identity-preview-card {
  background: rgba(2, 7, 14, 0.75);
  border: 1px solid rgba(205, 224, 244, 0.11);
  border-radius: 16px;
  color: #f3f7fb;
  display: grid;
  gap: 5px;
  max-width: 160px;
  min-width: 118px;
  overflow: hidden;
  padding: 7px 7px 10px;
  text-decoration: none;
}

.identity-preview-card img,
.identity-preview-placeholder {
  aspect-ratio: 2.5 / 3.5;
  background: linear-gradient(145deg, #172c44, #3b1851);
  border-radius: 11px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.identity-preview-card strong {
  font-size: 11px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.identity-preview-card span {
  color: #e7c77d;
  font-size: 11px;
  font-weight: 700;
}

.identity-preview-empty {
  align-items: center;
  color: rgba(219, 230, 242, 0.55);
  display: flex;
  min-height: 150px;
  padding: 20px;
}

/* Showoff Studio */
.showoff-studio,
.showoff-public-page {
  margin: 0 auto;
  max-width: 1400px;
}

.showoff-studio-bar {
  background: rgba(5, 11, 21, 0.88);
  border: 1px solid rgba(197, 220, 244, 0.14);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.27);
  gap: 14px;
  min-height: 66px;
  padding: 10px 12px 10px 18px;
}

.showoff-studio-brand {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.showoff-studio-brand > span:last-child {
  display: grid;
  gap: 2px;
}

.showoff-studio-brand strong {
  color: rgba(230, 238, 247, 0.66);
  font-size: 11px;
}

.showoff-studio-mark {
  align-items: center;
  background: radial-gradient(circle, #f2d589, #8c5a23);
  border-radius: 13px;
  box-shadow: 0 0 24px rgba(235, 198, 112, 0.22);
  color: #111722;
  display: flex;
  font-size: 20px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.showoff-mural-tabs {
  display: flex;
  flex: 1 1 auto;
  gap: 7px;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
}

.showoff-mural-tab {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  color: rgba(229, 238, 247, 0.62);
  display: flex;
  flex: 0 0 52px;
  height: 40px;
  justify-content: space-evenly;
  text-decoration: none;
}

.showoff-mural-tab.is-active {
  background: linear-gradient(145deg, rgba(235, 204, 133, 0.2), rgba(53, 160, 214, 0.12));
  border-color: rgba(235, 204, 133, 0.58);
  color: #f2d690;
}

.showoff-mural-tab span {
  font-size: 15px;
  font-weight: 800;
}

.showoff-mural-tab small {
  font-size: 8px;
  opacity: 0.7;
}

.showoff-studio-actions form,
.showoff-studio-actions [data-managed-showoff-public-link] {
  display: contents;
}

.showoff-studio-flash {
  margin-top: 10px;
}

.showoff-studio-layout {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 350px;
  margin-top: 14px;
}

.showoff-stage,
.showoff-public-stage {
  background: #060b13;
  border: 1px solid rgba(232, 211, 157, 0.24);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  isolation: isolate;
  min-height: 690px;
  overflow: hidden;
  position: relative;
}

.showoff-stage::after,
.showoff-public-stage::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 30%, rgba(0, 0, 0, 0.5));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.showoff-stage-backdrop {
  background: url("/static/companion_media/showoff-vault-stage.png") center / cover no-repeat;
  filter: saturate(0.92) contrast(1.05);
  inset: 0;
  position: absolute;
  z-index: -2;
}

.showoff-stage-title {
  left: 34px;
  max-width: 70%;
  position: absolute;
  top: 28px;
  z-index: 2;
}

.showoff-stage-title span,
.showoff-public-title span,
.showoff-public-owner small,
.showoff-public-footer {
  color: #e9cc8a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.showoff-stage-title h1,
.showoff-public-title h1 {
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(28px, 4vw, 47px);
  line-height: 1;
  margin: 6px 0;
}

.showoff-stage-title p,
.showoff-public-title p {
  color: rgba(226, 234, 243, 0.67);
  font-size: 13px;
  margin: 0;
}

.showoff-stage-meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: absolute;
  right: 28px;
  top: 30px;
  z-index: 3;
}

.showoff-stage-meta > span:first-child {
  background: rgba(17, 72, 63, 0.74);
  border: 1px solid rgba(106, 231, 191, 0.32);
  border-radius: 999px;
  color: #8ce7c7;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 10px;
}

.showoff-stage-card-count {
  background: rgba(3, 8, 16, 0.72);
  border-radius: 999px;
  color: rgba(224, 233, 244, 0.68);
  display: inline-flex;
  font-size: 10px;
  gap: 5px;
  padding: 5px 9px;
}

.showoff-stage-card-count b {
  color: #fff;
}

.showoff-grid.showoff-grid--stage,
.showoff-grid.showoff-grid--public {
  display: grid;
  gap: clamp(10px, 1.4vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  left: 50%;
  max-width: 480px;
  position: absolute;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(55%, 480px);
  z-index: 1;
}

.showoff-grid--stage .showoff-slot,
.showoff-grid--public .showoff-slot {
  background: rgba(2, 6, 13, 0.5);
  border: 1px solid rgba(234, 209, 151, 0.25);
  border-radius: 15px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  min-width: 0;
  padding: 5px;
}

.showoff-grid--stage .showoff-slot-art,
.showoff-grid--public .showoff-slot-art {
  aspect-ratio: 2.5 / 3.5;
  background: rgba(5, 12, 24, 0.6);
  border-radius: 11px;
  min-height: 0;
  overflow: hidden;
}

.showoff-grid--stage .showoff-slot-art img,
.showoff-grid--public .showoff-slot-art img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.showoff-grid--stage .showoff-slot-code,
.showoff-grid--public .showoff-slot-code {
  bottom: 7px;
  font-size: 8px;
  left: 7px;
  padding: 4px 6px;
}

.showoff-grid--stage .showoff-empty,
.showoff-grid--public .showoff-empty {
  align-items: center;
  color: rgba(223, 233, 244, 0.25);
  display: flex;
  font-size: 10px;
  height: 100%;
  justify-content: center;
  min-height: 0;
}

.showoff-stage-style {
  bottom: 20px;
  display: flex;
  gap: 6px;
  left: 26px;
  position: absolute;
}

.showoff-stage-style .showoff-style-pill {
  background: rgba(3, 8, 16, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
  font-size: 9px;
  padding: 5px 8px;
}

.showoff-control-deck {
  background: rgba(6, 12, 22, 0.9);
  border: 1px solid rgba(199, 221, 244, 0.13);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.31);
  max-height: 690px;
  overflow: hidden;
  padding: 14px;
}

.showoff-control-deck .showoff-editor-switcher,
.showoff-control-deck .showoff-editor-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.showoff-control-deck .showoff-editor-tabs {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 14px;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
  padding: 5px;
}

.showoff-control-deck .showoff-editor-tab {
  align-items: center;
  border-radius: 11px;
  display: flex;
  font-size: 19px;
  height: 40px;
  justify-content: center;
  padding: 0;
}

.showoff-control-deck .showoff-editor-pane {
  min-height: 0;
  overflow: auto;
}

.showoff-control-deck .showoff-editor-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.showoff-control-deck .showoff-field {
  color: rgba(220, 231, 243, 0.58);
  display: grid;
  font-size: 10px;
  gap: 5px;
  text-transform: uppercase;
}

.showoff-control-deck .showoff-field--wide {
  grid-column: 1 / -1;
}

.showoff-control-deck input,
.showoff-control-deck select {
  background: rgba(1, 6, 13, 0.75);
  border: 1px solid rgba(195, 219, 242, 0.14);
  border-radius: 11px;
  color: #edf4fb;
  font-size: 12px;
  min-height: 40px;
  padding: 0 10px;
}

.showoff-control-deck .showoff-grid.editable {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showoff-control-deck .showoff-slot.editable {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-width: 0;
  padding: 5px;
}

.showoff-control-deck .showoff-slot.editable .showoff-slot-art {
  aspect-ratio: 2.5 / 3.5;
  min-height: 0;
}

.showoff-control-deck .showoff-slot.editable select {
  font-size: 9px;
  margin-top: 4px;
  min-height: 30px;
  padding: 0 4px;
  width: 100%;
}

.showoff-publish-control {
  align-items: center;
  align-self: flex-end;
  background: linear-gradient(145deg, #f0d28a, #9e6e2d);
  border: 1px solid rgba(255, 237, 185, 0.8);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  color: #111620;
  display: flex;
  font-size: 20px;
  height: 44px;
  justify-content: center;
  margin-top: 12px;
  min-height: 44px;
  padding: 0;
  width: 54px;
}

/* Public Showoff */
.showoff-public-stage {
  min-height: min(790px, calc(100vh - 130px));
}

.showoff-public-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 30px;
  position: absolute;
  right: 30px;
  top: 24px;
  z-index: 3;
}

.showoff-public-owner {
  display: grid;
  gap: 3px;
  text-decoration: none;
}

.showoff-public-owner strong {
  color: #fff;
  font-size: 16px;
}

.showoff-public-title {
  left: 30px;
  max-width: 340px;
  position: absolute;
  top: 105px;
  z-index: 2;
}

.showoff-public-title h1 {
  font-size: clamp(28px, 4vw, 52px);
}

.showoff-public-footer {
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  left: 28px;
  position: absolute;
  right: 28px;
}

/* Sell-list selection */
.sell-social-toolbar-wrap {
  position: sticky;
  top: 82px;
  z-index: 24;
}

.sell-social-toolbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(5, 12, 22, 0.9);
  border: 1px solid rgba(205, 226, 247, 0.15);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 64px;
  padding: 9px 11px 9px 16px;
}

.sell-social-toolbar-copy {
  display: grid;
  gap: 2px;
}

.sell-social-toolbar-copy strong,
.sell-social-toolbar-status {
  color: rgba(226, 235, 244, 0.68);
  font-size: 12px;
}

.sell-social-toolbar-copy b {
  color: #f0d28a;
  font-size: 15px;
}

.social-listing-card {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.social-listing-card.is-social-selected {
  border-color: rgba(239, 207, 133, 0.76) !important;
  box-shadow: 0 0 0 3px rgba(239, 207, 133, 0.13), 0 20px 48px rgba(0, 0, 0, 0.34) !important;
  transform: translateY(-2px);
}

.social-listing-toggle {
  left: 8px;
  position: absolute;
  top: 8px;
  z-index: 7;
}

.social-listing-card.is-social-selected .social-listing-toggle {
  background: linear-gradient(145deg, #f0d28a, #9e6e2d);
  color: #111620;
}

/* Social composer */
.social-composer {
  background: transparent;
  border: 0;
  color: #eef5fb;
  max-height: 96vh;
  max-width: min(940px, 96vw);
  padding: 0;
  width: 940px;
}

.social-composer::backdrop {
  backdrop-filter: blur(18px);
  background: rgba(0, 4, 10, 0.82);
}

.social-composer-shell {
  background: #080e19;
  border: 1px solid rgba(216, 231, 247, 0.18);
  border-radius: 26px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.62);
  overflow: hidden;
  padding: 14px;
}

.social-composer-head {
  padding: 2px 2px 12px 8px;
}

.social-composer-head > span {
  display: grid;
  gap: 2px;
}

.social-composer-head strong {
  font-size: 15px;
}

.social-composer-preview {
  align-items: center;
  background: #03070d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: flex;
  justify-content: center;
  max-height: calc(96vh - 160px);
  min-height: 400px;
  overflow: hidden;
  position: relative;
}

.social-composer-preview canvas {
  display: block;
  height: min(72vh, 760px);
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.social-composer-loading {
  animation: social-composer-pulse 900ms ease-in-out infinite alternate;
  color: #eed18a;
  font-size: 42px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.social-composer-loading[hidden] {
  display: none;
}

.social-composer-actions {
  gap: 12px;
  padding: 12px 2px 0 8px;
}

.social-composer-actions > span {
  color: rgba(221, 231, 242, 0.55);
  font-size: 11px;
}

.social-composer-actions > div {
  display: flex;
  gap: 8px;
}

@keyframes social-composer-pulse {
  from { opacity: 0.42; transform: translate(-50%, -50%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@media (max-width: 980px) {
  .collector-id-stat-grid {
    margin-left: 0;
  }

  .showoff-studio-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
}

@media (max-width: 768px) {
  .collector-id-card {
    background-position: 34% center;
    border-radius: 22px;
    min-height: 0;
    padding: 16px;
  }

  .collector-id-toolbar {
    align-items: flex-start;
  }

  .collector-id-primary {
    gap: 14px;
    grid-template-columns: 108px minmax(0, 1fr);
    margin-top: 26px;
  }

  .collector-id-avatar-wrap {
    min-height: 120px;
  }

  .collector-id-avatar {
    height: 94px;
    width: 94px;
  }

  .collector-id-level {
    font-size: 8px;
    padding: 5px 8px;
  }

  .collector-id-copy h1 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .collector-id-copy p {
    display: none;
  }

  .collector-id-stat-grid {
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
  }

  .collector-id-stat-grid > span,
  .collector-id-stat-grid > a {
    border-radius: 12px;
    padding: 9px;
  }

  .collector-id-stat-grid strong {
    font-size: 16px;
  }

  .collector-id-content-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .collector-id-games {
    max-width: 100%;
    overflow-x: auto;
  }

  .identity-preview-rail {
    grid-auto-columns: 112px;
  }

  .showoff-studio-bar {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 9px;
  }

  .showoff-studio-brand strong {
    display: none;
  }

  .showoff-mural-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    order: 3;
    width: 100%;
  }

  .showoff-studio-actions {
    justify-content: flex-end;
  }

  .showoff-studio-actions .icon-glyph-control,
  .collector-id-actions .icon-glyph-control {
    border-radius: 12px;
    flex-basis: 38px;
    height: 38px;
    min-height: 38px;
    width: 38px;
  }

  .showoff-studio-layout {
    grid-template-columns: 1fr;
  }

  .showoff-stage,
  .showoff-public-stage {
    border-radius: 20px;
    min-height: min(670px, calc(100svh - 190px));
  }

  .showoff-grid.showoff-grid--stage,
  .showoff-grid.showoff-grid--public {
    gap: 8px;
    top: 55%;
    width: min(76%, 520px);
  }

  .showoff-stage-title {
    left: 18px;
    top: 18px;
  }

  .showoff-stage-title h1,
  .showoff-public-title h1 {
    font-size: 27px;
  }

  .showoff-stage-meta {
    right: 16px;
    top: 18px;
  }

  .showoff-control-deck {
    max-height: none;
  }

  .showoff-public-header {
    left: 18px;
    right: 18px;
    top: 16px;
  }

  .showoff-public-title {
    left: 18px;
    top: 85px;
  }

  .showoff-public-footer {
    bottom: 12px;
    font-size: 7px;
    left: 14px;
    right: 14px;
  }

  .sell-social-toolbar-wrap {
    top: 70px;
  }

  .sell-social-toolbar {
    gap: 8px;
    min-height: 58px;
    padding: 7px 8px 7px 12px;
  }

  .sell-social-toolbar-status {
    display: none;
  }

  .social-composer {
    max-height: 100svh;
    max-width: 100vw;
    width: 100vw;
  }

  .social-composer-shell {
    border-radius: 0;
    min-height: 100svh;
    padding: 10px;
  }

  .social-composer-preview {
    max-height: calc(100svh - 150px);
    min-height: 0;
  }

  .social-composer-preview canvas {
    height: calc(100svh - 160px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-composer-loading {
    animation: none;
  }
}
