: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;
}

.browser-language-selector {
  position: relative;
  flex: 0 0 auto;
  color: var(--text);
}

.browser-language-selector summary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(126, 156, 224, 0.18);
  border-radius: 18px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(12, 20, 34, 0.82);
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.browser-language-selector summary::-webkit-details-marker {
  display: none;
}

.browser-language-selector summary:hover,
.browser-language-selector summary:focus-visible {
  border-color: rgba(122, 165, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(122, 165, 255, 0.14), rgba(62, 166, 180, 0.08)),
    rgba(12, 20, 34, 0.9);
  outline: none;
}

.browser-language-flag {
  display: inline-block;
  width: 22px;
  height: 15px;
  flex: 0 0 22px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 2px 5px rgba(0, 0, 0, 0.22);
  line-height: 1;
  object-fit: cover;
  vertical-align: middle;
}

.browser-language-caret {
  color: #8eaaff;
  font-size: 13px;
  transition: transform 160ms ease;
}

.browser-language-selector[open] .browser-language-caret {
  transform: rotate(180deg);
}

.browser-language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  width: 216px;
  display: grid;
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(126, 156, 224, 0.22);
  border-radius: 14px;
  background: rgba(8, 14, 25, 0.98);
  box-shadow: 0 24px 56px rgba(2, 6, 14, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.browser-language-menu a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  color: rgba(231, 238, 251, 0.82);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.browser-language-menu a:hover,
.browser-language-menu a:focus-visible,
.browser-language-menu a.is-active {
  color: #fff;
  background: rgba(122, 165, 255, 0.14);
  outline: none;
}

.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-icon svg[fill="none"] {
  fill: none;
}

.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 .browser-language-selector--compact summary {
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: var(--ui-radius-sm);
}

body.is-mobile-ui .browser-language-selector--compact .browser-language-code,
body.is-mobile-ui .browser-language-selector--compact .browser-language-caret {
  display: none;
}

body.is-mobile-ui .browser-language-selector--compact .browser-language-menu {
  width: min(216px, calc(100vw - 24px));
}

body.auth-user .topbar.auth-topbar .mobile-global-actions .browser-language-selector--compact {
  display: none !important;
}

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;
}

.nav-icon svg[fill="none"] {
  fill: none;
}

.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));
}

/* One Piece source scans are opaque RGB images whose rounded corners retain a
   few white pixels. Clip the cached One Piece assets themselves so every card
   surface (Collection, Studio, live viewers and Twitch) shares the same fix. */
img[src*="/generated/card-images/onepiece/"] {
  -webkit-clip-path: inset(0.25% round 4% / 2.9%);
  clip-path: inset(0.25% round 4% / 2.9%);
}

.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;
}

/* Public seller storefront: trust first, active inventory immediately after. */
.seller-profile-page {
  display: grid;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 0 36px;
}

.seller-profile-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(205, 220, 241, .58);
  font-size: .78rem;
  font-weight: 850;
}

.seller-profile-breadcrumb a {
  color: #8fe8ff;
  text-decoration: none;
}

.seller-profile-hero,
.seller-profile-catalog,
.seller-profile-proof {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 170, 214, .2);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(17, 37, 61, .96), rgba(8, 16, 29, .98) 58%, rgba(14, 33, 47, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 46px rgba(2, 8, 18, .26);
}

.seller-profile-hero {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.seller-profile-hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(56, 189, 248, .12), transparent 32%, transparent 67%, rgba(45, 212, 191, .09)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 22px);
  opacity: .9;
}

.seller-profile-hero-main,
.seller-profile-hero-trust {
  position: relative;
  z-index: 1;
}

.seller-profile-hero-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.seller-profile-avatar--hero {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(250, 204, 21, .62);
  background: linear-gradient(145deg, rgba(30, 64, 175, .76), rgba(13, 148, 136, .56));
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 950;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, .08), 0 14px 28px rgba(2, 8, 18, .36);
}

.seller-profile-avatar--hero img,
.seller-profile-avatar--hero > span {
  display: block;
  width: 100%;
  height: 100%;
}

.seller-profile-avatar--hero img {
  object-fit: cover;
}

.seller-profile-avatar--hero > span {
  display: grid;
  place-items: center;
}

.seller-profile-hero-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.seller-profile-eyebrow,
.seller-profile-section-kicker {
  color: #7dd3fc;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.seller-profile-hero-copy h1 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.seller-profile-hero-copy h1[data-fit-seller-name] {
  width: 100%;
  min-width: 0;
  text-wrap: balance;
}

.seller-profile-hero-copy p {
  margin: 2px 0 0;
  color: rgba(226, 236, 253, .72);
  font-size: .9rem;
  line-height: 1.35;
}

.seller-profile-member {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(226, 236, 253, .2);
  color: rgba(226, 236, 253, .55);
}

.seller-profile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.seller-profile-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(139, 170, 214, .22);
  border-radius: 13px;
  background: rgba(7, 16, 29, .58);
  color: #e7f6ff;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.seller-profile-hero-action:hover,
.seller-profile-hero-action:focus-visible {
  border-color: rgba(125, 211, 252, .68);
  background: rgba(14, 116, 144, .2);
}

.seller-profile-hero-action--primary {
  border-color: rgba(45, 212, 191, .5);
  background: linear-gradient(135deg, rgba(20, 184, 166, .92), rgba(14, 165, 233, .82));
  color: #03141b;
}

.seller-profile-hero-action .nav-icon,
.seller-profile-hero-action .nav-icon svg {
  width: 16px;
  height: 16px;
}

.seller-profile-hero-trust {
  display: grid;
  grid-template-columns: minmax(170px, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seller-profile-rating--hero,
.seller-profile-hero-stat {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(139, 170, 214, .16);
  border-radius: 17px;
  background: rgba(4, 12, 23, .52);
}

.seller-profile-rating--hero {
  border-color: rgba(250, 204, 21, .28);
  background: linear-gradient(145deg, rgba(120, 86, 8, .28), rgba(26, 24, 19, .28));
}

.seller-profile-rating-stars,
.seller-profile-review-stars {
  color: #facc15;
  font-size: 1rem;
  letter-spacing: .04em;
  white-space: nowrap;
}

.seller-profile-rating--hero strong,
.seller-profile-hero-stat strong {
  color: #f8fbff;
  font-size: 1.35rem;
  line-height: 1;
}

.seller-profile-rating--hero small,
.seller-profile-hero-stat small,
.seller-profile-hero-stat span {
  color: rgba(210, 224, 246, .62);
  font-size: .7rem;
  font-weight: 850;
}

.seller-profile-hero-stat small {
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seller-profile-hero-stat strong {
  color: #aaf3df;
}

.seller-profile-tcg-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 1px 4px;
  scrollbar-width: thin;
}

.seller-profile-tcg-tab {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 178px;
  min-height: 66px;
  padding: 10px 13px;
  border: 1px solid rgba(139, 170, 214, .16);
  border-radius: 17px;
  background: rgba(10, 20, 35, .72);
  color: #dfeeff;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.seller-profile-tcg-tab:hover,
.seller-profile-tcg-tab:focus-visible {
  border-color: rgba(125, 211, 252, .52);
  background: rgba(16, 39, 61, .9);
  transform: translateY(-1px);
}

.seller-profile-tcg-tab.is-active {
  border-color: rgba(125, 211, 252, .76);
  background: linear-gradient(135deg, rgba(37, 99, 235, .46), rgba(20, 184, 166, .22));
  box-shadow: 0 10px 22px rgba(14, 116, 144, .16), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.seller-profile-tcg-tab-mark {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 38px;
  border-radius: 10px;
  background: rgba(3, 10, 21, .62);
}

.seller-profile-tcg-tab-mark--all {
  color: #9fe9ff;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
}

.seller-profile-tcg-tab-logo {
  display: block;
  width: 54px;
  max-height: 30px;
  object-fit: contain;
}

.seller-profile-tcg-tab-badge {
  color: #e2f8ff;
  font-size: .9rem;
  font-weight: 950;
}

.seller-profile-tcg-tab-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.seller-profile-tcg-tab-copy strong {
  color: #f8fbff;
  font-size: .84rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.seller-profile-tcg-tab-copy small {
  color: rgba(210, 224, 246, .62);
  font-size: .7rem;
}

.seller-profile-catalog,
.seller-profile-proof {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.seller-profile-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.seller-profile-section-head h2 {
  margin: 7px 0 5px;
  color: #f8fbff;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1;
}

.seller-profile-section-head p {
  margin: 0;
  color: rgba(210, 224, 246, .66);
  font-size: .82rem;
}

.seller-profile-section-head p strong {
  color: #aaf3df;
}

.seller-profile-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: #8fe8ff;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.seller-profile-section-link:hover,
.seller-profile-section-link:focus-visible {
  color: #ffffff;
}

.seller-profile-catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px 44px;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(139, 170, 214, .14);
  border-radius: 17px;
  background: rgba(4, 11, 22, .44);
}

.seller-profile-search-field,
.seller-profile-sort-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.seller-profile-search-field {
  position: relative;
}

.seller-profile-search-icon {
  position: absolute;
  left: 13px;
  bottom: 12px;
  width: 17px;
  height: 17px;
  color: rgba(226, 236, 253, .68);
  pointer-events: none;
}

.seller-profile-search-icon svg,
.seller-profile-filter-submit svg {
  display: block;
  width: 100%;
  height: 100%;
}

.seller-profile-search-field input,
.seller-profile-sort-field select {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(139, 170, 214, .18);
  border-radius: 12px;
  background: rgba(5, 12, 24, .82);
  color: #f8fbff;
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
  outline: none;
}

.seller-profile-search-field input {
  padding: 0 12px 0 40px;
}

.seller-profile-sort-field span {
  color: rgba(210, 224, 246, .58);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.seller-profile-sort-field select {
  padding: 0 10px;
}

.seller-profile-search-field input:focus,
.seller-profile-sort-field select:focus {
  border-color: rgba(125, 211, 252, .68);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
}

.seller-profile-filter-submit {
  display: grid;
  place-items: center;
  width: 44px;
  height: 42px;
  border: 1px solid rgba(125, 211, 252, .32);
  border-radius: 12px;
  background: rgba(14, 116, 144, .18);
  color: #dff8ff;
}

.seller-profile-filter-submit:hover,
.seller-profile-filter-submit:focus-visible {
  border-color: rgba(125, 211, 252, .7);
  background: rgba(14, 116, 144, .32);
}

.seller-profile-listing-list {
  display: grid;
  gap: 10px;
}

.seller-profile-listing-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1.55fr) minmax(128px, .7fr) minmax(190px, auto);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(139, 170, 214, .16);
  border-radius: 19px;
  background:
    linear-gradient(125deg, rgba(19, 37, 58, .84), rgba(7, 15, 28, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 24px rgba(2, 8, 18, .16);
}

.seller-profile-listing-row:hover {
  border-color: rgba(125, 211, 252, .4);
}

.seller-profile-listing-art {
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: .72;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 13px;
  background: rgba(2, 8, 18, .72);
  box-shadow: 0 10px 18px rgba(2, 8, 18, .26);
}

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

.seller-profile-listing-art img {
  object-fit: contain;
}

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

.seller-profile-listing-copy,
.seller-profile-listing-meta,
.seller-profile-listing-actions {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.seller-profile-listing-title-row,
.seller-profile-listing-tags,
.seller-profile-listing-action-row,
.seller-profile-listing-supports {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.seller-profile-listing-game {
  color: #8fe8ff;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.seller-profile-listing-copy h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.seller-profile-listing-copy h3 a {
  color: #f8fbff;
  text-decoration: none;
}

.seller-profile-listing-copy h3 a:hover,
.seller-profile-listing-copy h3 a:focus-visible {
  color: #8fe8ff;
}

.seller-profile-listing-set {
  margin: 0;
  color: rgba(210, 224, 246, .68);
  font-size: .76rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.seller-profile-listing-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  max-width: 100%;
  padding: 0 8px;
  border: 1px solid rgba(139, 170, 214, .16);
  border-radius: 999px;
  background: rgba(6, 14, 27, .62);
  color: rgba(226, 236, 253, .78);
  font-size: .66rem;
  font-weight: 850;
  white-space: nowrap;
}

.seller-profile-listing-tag--language {
  color: #e7fbff;
}

.seller-profile-listing-tag .card-language-flag {
  font-size: .92rem;
}

.seller-profile-listing-meta {
  align-self: stretch;
  align-content: center;
  padding-left: 4px;
}

.seller-profile-listing-meta > span {
  display: grid;
  gap: 4px;
}

.seller-profile-listing-meta small,
.seller-profile-listing-reference small {
  color: rgba(190, 207, 232, .58);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seller-profile-listing-meta strong,
.seller-profile-listing-reference strong {
  color: #f8fbff;
  font-size: .95rem;
  line-height: 1;
}

.seller-profile-listing-price strong {
  color: #aaf3df;
  font-size: 1.1rem;
}

.seller-profile-listing-price em {
  color: rgba(210, 224, 246, .54);
  font-size: .65rem;
  font-style: normal;
}

.seller-profile-listing-supports {
  justify-content: flex-end;
  min-height: 24px;
}

.seller-profile-listing-support {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(45, 212, 191, .24);
  border-radius: 8px;
  background: rgba(20, 184, 166, .1);
  color: #8ff7e4;
}

.seller-profile-listing-support svg {
  width: 15px;
  height: 15px;
}

.seller-profile-listing-action-row {
  justify-content: flex-end;
}

.seller-profile-listing-action-row .card-seller-interest {
  min-height: 36px;
  padding-inline: 12px;
  border-radius: 11px;
  font-size: .72rem;
  white-space: nowrap;
}

.seller-profile-listing-action-row .market-listing-share-button--compact {
  flex: 0 0 36px;
}

.seller-profile-listing-view {
  justify-self: end;
  color: rgba(210, 224, 246, .62);
  font-size: .7rem;
  font-weight: 850;
  text-decoration: none;
}

.seller-profile-listing-view:hover,
.seller-profile-listing-view:focus-visible {
  color: #8fe8ff;
}

.seller-profile-catalog-empty,
.seller-profile-proof-empty {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 168px;
  padding: 22px;
  border: 1px dashed rgba(139, 170, 214, .22);
  border-radius: 18px;
  background: rgba(4, 12, 23, .36);
  color: rgba(210, 224, 246, .68);
  text-align: center;
}

.seller-profile-catalog-empty strong,
.seller-profile-proof-empty strong {
  color: #f8fbff;
}

.seller-profile-catalog-empty-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(125, 211, 252, .25);
  border-radius: 14px;
  background: rgba(14, 116, 144, .16);
  font-size: 1.1rem;
}

.seller-profile-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(210, 224, 246, .6);
  font-size: .74rem;
  font-weight: 850;
}

.seller-profile-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(139, 170, 214, .18);
  border-radius: 10px;
  background: rgba(5, 12, 24, .54);
  color: #dfeeff;
  text-decoration: none;
}

.seller-profile-pagination-link--primary {
  border-color: rgba(45, 212, 191, .38);
  background: rgba(20, 184, 166, .14);
  color: #c8fff2;
}

.seller-profile-pagination-link.is-disabled {
  opacity: .35;
}

.seller-profile-section-head--proof {
  align-items: center;
}

.seller-profile-proof-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f8fbff;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.seller-profile-review-list {
  display: grid;
  gap: 8px;
}

.seller-profile-review-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(139, 170, 214, .14);
  border-radius: 15px;
  background: rgba(4, 12, 23, .4);
}

.seller-profile-review-badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(20, 184, 166, .18);
  color: #8ff7e4;
  font-weight: 950;
}

.seller-profile-review-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.seller-profile-review-copy strong {
  color: #f8fbff;
  font-size: .8rem;
}

.seller-profile-review-copy small,
.seller-profile-review-detail small {
  color: rgba(210, 224, 246, .56);
  font-size: .67rem;
}

.seller-profile-review-detail {
  display: grid;
  gap: 3px;
  text-align: right;
}

.seller-profile-review-detail strong {
  color: #e5f3ff;
  font-size: .78rem;
}

@media (max-width: 760px) {
  .seller-profile-page {
    gap: 12px;
    padding: 12px 0 28px;
  }

  .seller-profile-hero,
  .seller-profile-catalog,
  .seller-profile-proof {
    padding: 14px;
    border-radius: 20px;
  }

  .seller-profile-hero-main {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .seller-profile-avatar--hero {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
  }

  .seller-profile-hero-copy h1 {
    font-size: clamp(1.55rem, 9vw, 2.25rem);
  }

  .seller-profile-hero-copy p {
    font-size: .78rem;
  }

  .seller-profile-hero-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .seller-profile-hero-action {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 9px;
    font-size: .7rem;
  }

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

  .seller-profile-rating--hero,
  .seller-profile-hero-stat {
    min-height: 82px;
    padding: 11px;
  }

  .seller-profile-rating--hero strong,
  .seller-profile-hero-stat strong {
    font-size: 1.12rem;
  }

  .seller-profile-tcg-tab {
    flex-basis: 156px;
    min-height: 60px;
    padding: 8px 10px;
  }

  .seller-profile-tcg-tab-mark {
    flex-basis: 50px;
    width: 50px;
    height: 32px;
  }

  .seller-profile-tcg-tab-logo {
    width: 45px;
    max-height: 25px;
  }

  .seller-profile-section-head,
  .seller-profile-section-head--proof {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }

  .seller-profile-section-link {
    align-self: flex-start;
  }

  .seller-profile-catalog-tools {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .seller-profile-sort-field {
    grid-column: 1 / 2;
  }

  .seller-profile-filter-submit {
    grid-column: 2;
    grid-row: 2;
  }

  .seller-profile-listing-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
  }

  .seller-profile-listing-art {
    width: 72px;
  }

  .seller-profile-listing-meta,
  .seller-profile-listing-actions {
    grid-column: 1 / -1;
  }

  .seller-profile-listing-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    padding: 9px 0 0;
    border-top: 1px solid rgba(139, 170, 214, .12);
  }

  .seller-profile-listing-actions {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .seller-profile-listing-supports {
    justify-content: flex-start;
  }

  .seller-profile-listing-action-row {
    justify-content: flex-end;
  }

  .seller-profile-listing-view {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .seller-profile-proof-summary {
    font-size: .9rem;
  }

  .seller-profile-review-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .seller-profile-review-detail {
    display: none;
  }
}

@media (max-width: 420px) {
  .seller-profile-hero-trust {
    grid-template-columns: 1fr;
  }

  .seller-profile-hero-action {
    white-space: normal;
    text-align: center;
  }

  .seller-profile-listing-actions {
    grid-template-columns: 1fr;
  }

  .seller-profile-listing-action-row {
    justify-content: flex-start;
  }

  .seller-profile-listing-view {
    margin-top: -2px;
  }
}

.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-sales-metric-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.card-sales-metric-tab {
  min-width: 44px;
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  color: rgba(232, 238, 255, .78);
  background: rgba(15, 23, 42, .62);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.card-sales-metric-tab.is-active {
  color: #ffffff;
  border-color: rgba(167, 139, 250, .72);
  background: linear-gradient(135deg, rgba(109, 40, 217, .78), rgba(124, 58, 237, .7));
}

.card-price-chart {
  position: relative;
  min-height: 176px;
  border: 1px solid rgba(119, 174, 255, .18);
  border-radius: 14px;
  padding: 6px;
  overflow: hidden;
  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: 176px;
}

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

.card-price-chart-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.card-price-chart-dot {
  fill: #ffffff;
  cursor: pointer;
  opacity: .68;
  stroke-width: 2.5;
  transition: opacity .16s ease, r .16s ease;
  vector-effect: non-scaling-stroke;
}

.card-price-chart-dot:hover,
.card-price-chart-dot:focus,
.card-price-chart-dot.is-selected {
  opacity: 1;
  outline: none;
  r: 6;
}

.card-price-chart-tooltip {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  gap: 2px;
  min-width: 120px;
  padding: 7px 9px;
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: 9px;
  background: rgba(3, 10, 22, .9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
  pointer-events: none;
}

.card-price-chart-tooltip strong {
  color: #e0f2fe;
  font-size: .65rem;
}

.card-price-chart-tooltip span {
  color: #8da1bb;
  font-size: .61rem;
}

.card-price-chart-tooltip b {
  color: #f8fafc;
  font-size: .76rem;
}

.card-price-chart-tooltip[hidden] {
  display: none;
}

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

.cardmarket-history-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(119, 174, 255, .2);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(9, 18, 36, .86), rgba(5, 11, 25, .76));
}

.cardmarket-history-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cardmarket-history-card > header div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cardmarket-history-card > header small {
  color: #7dd3fc;
  font-size: .61rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cardmarket-history-card > header h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.02rem;
}

.cardmarket-history-card > header p {
  margin: 0;
  color: #8da1bb;
  font-size: .69rem;
  line-height: 1.35;
}

.cardmarket-history-card > header > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 999px;
  color: #a9bad0;
  background: rgba(15, 23, 42, .58);
  font-size: .61rem;
  font-weight: 750;
}

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

.cardmarket-chart-legend-item {
  --chart-series-color: #38bdf8;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  align-items: center;
  gap: 2px 6px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 10px;
  background: rgba(3, 10, 22, .48);
}

.cardmarket-chart-legend-item i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chart-series-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--chart-series-color) 65%, transparent);
}

.cardmarket-chart-legend-item b {
  overflow: hidden;
  color: #a9bad0;
  font-size: .61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cardmarket-chart-legend-item strong {
  grid-column: 1 / -1;
  color: #eef6ff;
  font-size: .77rem;
}

.cardmarket-chart-legend-item--low,
.cardmarket-chart-legend-item--avg1 {
  --chart-series-color: #22d3ee;
}

.cardmarket-chart-legend-item--avg,
.cardmarket-chart-legend-item--avg7 {
  --chart-series-color: #a78bfa;
}

.cardmarket-chart-legend-item--trend,
.cardmarket-chart-legend-item--avg30 {
  --chart-series-color: #fbbf24;
}

.card-price-chart-line--low,
.card-price-chart-line--avg1 {
  stroke: #22d3ee;
  filter: drop-shadow(0 0 5px rgba(34, 211, 238, .36));
}

.card-price-chart-line--avg,
.card-price-chart-line--avg7 {
  stroke: #a78bfa;
  filter: drop-shadow(0 0 5px rgba(167, 139, 250, .34));
}

.card-price-chart-line--trend,
.card-price-chart-line--avg30 {
  stroke: #fbbf24;
  filter: drop-shadow(0 0 5px rgba(251, 191, 36, .3));
}

.card-price-chart-dot--low,
.card-price-chart-dot--avg1 {
  stroke: #22d3ee;
}

.card-price-chart-dot--avg,
.card-price-chart-dot--avg7 {
  stroke: #a78bfa;
}

.card-price-chart-dot--trend,
.card-price-chart-dot--avg30 {
  stroke: #fbbf24;
}

.card-price-chart-axis {
  position: absolute;
  left: 10px;
  z-index: 1;
  padding: 2px 4px;
  border-radius: 5px;
  color: rgba(219, 234, 254, .72);
  background: rgba(3, 7, 18, .7);
  font-size: .56rem;
  font-weight: 750;
  pointer-events: none;
}

.card-price-chart-axis--high {
  top: 8px;
}

.card-price-chart-axis--mid {
  top: 50%;
  transform: translateY(-50%);
}

.card-price-chart-axis--low {
  bottom: 8px;
}

.cardmarket-history-card > footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #71849e;
  font-size: .62rem;
}

.cardmarket-chart-empty {
  display: grid;
  place-items: center;
  min-height: 176px;
  padding: 20px;
  border: 1px dashed rgba(125, 211, 252, .2);
  border-radius: 14px;
  color: #8da1bb;
  background: rgba(3, 7, 18, .4);
  font-size: .73rem;
  line-height: 1.5;
  text-align: center;
}

.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;
}

.market-card-action-stack {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
}

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

.market-listing-share-button {
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: 999px;
  background: rgba(14, 116, 144, .16);
  color: #d8f5ff;
  font-size: .73rem;
  font-weight: 900;
  white-space: nowrap;
}

.market-listing-share-button:hover,
.market-listing-share-button:focus-visible {
  border-color: rgba(125, 211, 252, .62);
  background: rgba(14, 116, 144, .28);
  color: #ffffff;
}

.market-listing-share-button .nav-icon {
  width: 15px;
  height: 15px;
}

.market-listing-share-button .nav-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.market-listing-share-button--compact {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
}

.market-listing-preview-actionline .market-listing-share-button--compact {
  flex: 0 0 36px;
}

.market-public-listing-page {
  display: grid;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 0 28px;
}

.market-public-listing-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(205, 220, 241, .58);
  font-size: .78rem;
  font-weight: 800;
}

.market-public-listing-breadcrumb a {
  color: #9edcff;
  text-decoration: none;
}

.market-public-listing-shell {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(139, 170, 214, .19);
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 8%, rgba(74, 143, 255, .17), transparent 34%),
    radial-gradient(circle at 96% 88%, rgba(20, 184, 166, .11), transparent 35%),
    linear-gradient(145deg, rgba(17, 29, 47, .97), rgba(7, 14, 27, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 50px rgba(2, 8, 18, .28);
}

.market-public-listing-shell.is-unavailable {
  border-color: rgba(148, 163, 184, .19);
}

.market-public-listing-art {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: .69;
  min-height: 280px;
  padding: 10px;
  border: 1px solid rgba(148, 189, 239, .24);
  border-radius: 21px;
  background: rgba(4, 10, 20, .76);
  box-shadow: 0 22px 46px rgba(1, 5, 13, .38), inset 0 1px 0 rgba(255, 255, 255, .055);
  overflow: hidden;
}

.market-public-listing-art-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.market-public-listing-art img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.market-public-listing-art-empty {
  color: rgba(224, 237, 254, .7);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: .08em;
  background: rgba(12, 23, 39, .88);
}

.market-public-listing-content {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.market-public-listing-kicker,
.market-public-listing-price-row,
.market-public-listing-seller,
.market-public-listing-supports,
.market-public-listing-note {
  display: grid;
  gap: 6px;
}

.market-public-listing-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(190, 210, 239, .64);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.market-public-listing-status {
  color: #aaf3df;
}

.is-unavailable .market-public-listing-status {
  color: #fbbfba;
}

.market-public-listing-content h1 {
  margin: 0;
  color: #fbfdff;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: .98;
  overflow-wrap: anywhere;
}

.market-public-listing-identifiers,
.market-public-listing-actions,
.market-public-listing-supports > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.market-public-listing-identifiers > span,
.market-public-listing-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(125, 211, 252, .18);
  border-radius: 999px;
  background: rgba(29, 78, 216, .17);
  color: #dbeafe;
  font-size: .75rem;
  font-weight: 900;
}

.market-public-listing-pill--rarity {
  border-color: rgba(245, 190, 86, .3);
  background: rgba(180, 119, 25, .16);
  color: #ffe4a8;
}

.market-public-listing-set,
.market-public-listing-specs,
.market-public-listing-price-row,
.market-public-listing-seller,
.market-public-listing-supports,
.market-public-listing-note {
  padding: 14px 16px;
  border: 1px solid rgba(139, 170, 214, .14);
  border-radius: 16px;
  background: rgba(5, 12, 23, .44);
}

.market-public-listing-set small,
.market-public-listing-price-row small,
.market-public-listing-seller small,
.market-public-listing-supports > small,
.market-public-listing-note small,
.market-public-listing-specs small {
  color: rgba(190, 207, 232, .62);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.market-public-listing-set strong {
  color: #f4f8ff;
  font-size: 1.02rem;
  line-height: 1.2;
}

.market-public-listing-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.market-public-listing-specs > span {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.market-public-listing-specs strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f2f7ff;
  font-size: .9rem;
  line-height: 1.2;
}

.market-public-listing-specs .card-language-flag {
  font-size: 1.15rem;
}

.market-public-listing-price-row {
  grid-template-columns: minmax(0, 1fr) minmax(120px, .7fr);
  gap: 14px;
}

.market-public-listing-price-row > div,
.market-public-listing-price-row > span {
  display: grid;
  gap: 4px;
}

.market-public-listing-price-row strong {
  color: #f8fbff;
  font-size: 1.65rem;
  line-height: 1;
}

.market-public-listing-price-row span {
  color: rgba(205, 220, 241, .58);
  font-size: .76rem;
}

.market-public-listing-price-row span strong {
  color: #b9f3e4;
  font-size: 1.05rem;
}

.market-public-listing-seller > strong {
  color: #f8fbff;
  font-size: 1rem;
}

.market-public-listing-seller > strong a {
  color: inherit;
  text-decoration: none;
}

.market-public-listing-seller > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(205, 220, 241, .68);
  font-size: .8rem;
}

.market-public-support-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(139, 170, 214, .16);
  border-radius: 10px;
  color: rgba(225, 238, 253, .78);
  font-size: .73rem;
  font-weight: 800;
}

.market-public-support-item .market-listing-support-icon {
  width: 16px;
  height: 16px;
}

.market-public-support-item .market-listing-support-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.market-public-listing-note p {
  margin: 0;
  color: rgba(224, 235, 249, .8);
  font-size: .86rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.market-public-listing-actions {
  gap: 9px;
}

.market-public-listing-actions > .card-seller-interest,
.market-public-listing-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(74, 210, 194, .28);
  border-radius: 12px;
  background: rgba(20, 184, 166, .15);
  color: #d9fff7;
  font-size: .8rem;
  font-weight: 900;
  text-decoration: none;
}

.market-public-listing-actions > .card-seller-interest:hover,
.market-public-listing-action:hover,
.market-public-listing-actions > .card-seller-interest:focus-visible,
.market-public-listing-action:focus-visible {
  border-color: rgba(74, 210, 194, .7);
  background: rgba(20, 184, 166, .26);
  color: #ffffff;
}

.market-public-listing-action--secondary {
  border-color: rgba(125, 211, 252, .28);
  background: rgba(14, 116, 144, .16);
  color: #d8f5ff;
}

.market-public-listing-action--quiet {
  border-color: rgba(139, 170, 214, .2);
  background: rgba(15, 28, 48, .72);
  color: rgba(225, 236, 250, .76);
}

.market-public-listing-actions .market-listing-share-button {
  min-height: 42px;
}

.market-public-listing-unavailable {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(248, 113, 113, .28);
  border-radius: 12px;
  background: rgba(127, 29, 29, .18);
  color: #fecaca;
  font-size: .8rem;
  font-weight: 900;
}

.market-public-listing-closed-copy {
  margin: -4px 0 0;
  color: rgba(205, 220, 241, .62);
  font-size: .78rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .market-public-listing-page {
    padding: 10px 0 22px;
  }

  .market-public-listing-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    border-radius: 21px;
  }

  .market-public-listing-art {
    width: min(100%, 310px);
    justify-self: center;
    min-height: 0;
  }

  .market-public-listing-content {
    gap: 12px;
  }

  .market-public-listing-content h1 {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

  .market-public-listing-specs {
    gap: 8px;
    padding: 11px;
  }

  .market-public-listing-specs strong {
    font-size: .78rem;
  }

  .market-public-listing-price-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .market-public-listing-actions > * {
    flex: 1 1 calc(50% - 9px);
  }

  .market-public-listing-actions .market-listing-share-button {
    flex: 1 1 calc(50% - 9px);
  }

  .market-public-listing-actions .market-listing-share-button > span:last-child {
    display: inline;
  }
}

.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;
  }

  .cardmarket-history-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) auto;
    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 {
    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-action-stack {
    grid-column: 3;
    grid-row: 4;
    align-self: center;
    justify-self: end;
    display: inline-flex;
    gap: 6px;
    min-width: 0;
  }

  body.page-market .market-card-action-stack > .market-listing-share-button,
  body.page-market .market-card-action-stack > .card-seller-interest {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 999px;
  }

  body.page-market .market-card-action-stack > .market-listing-share-button .nav-icon {
    width: 18px;
    height: 18px;
  }

  body.page-market .market-card-action-stack > .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-action-stack > .card-seller-interest .card-seller-interest-icon {
    width: 18px;
    height: 18px;
  }

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

  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;
  }
}

/* Keep the storefront hero above the legacy seller-profile rules in this partial. */
.seller-profile-page .seller-profile-avatar--hero {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
}

.seller-profile-page .seller-profile-rating--hero {
  padding: 14px;
  border-color: rgba(250, 204, 21, .28);
  background: linear-gradient(145deg, rgba(120, 86, 8, .28), rgba(26, 24, 19, .28));
}

@media (max-width: 760px) {
  .seller-profile-page .seller-profile-avatar--hero {
    flex-basis: 70px;
    width: 70px;
    height: 70px;
  }
}

@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 {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f6fbff;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-sheet-close svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  opacity: 1;
  visibility: visible;
}

.mobile-sheet-close:hover,
.mobile-sheet-close:active {
  color: #ffffff;
  background: transparent;
}

.mobile-sheet-close:focus-visible {
  outline: 2px solid rgba(122, 165, 255, 0.66);
  outline-offset: 3px;
}

.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-link {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 64px;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 16px;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.mobile-sheet-profile-link:hover,
.mobile-sheet-profile-link:focus-visible {
  background: rgba(122, 165, 255, 0.08);
  border-color: rgba(122, 165, 255, 0.24);
  outline: none;
}

.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 {
  --rarity-border: rgba(147, 168, 196, 0.24);
  --rarity-inner-border: rgba(255, 255, 255, 0.12);
  --rarity-bg: linear-gradient(180deg, rgba(98, 116, 146, 0.26), rgba(20, 29, 45, 0.94));
  --rarity-text: #f5f9ff;
  --rarity-glow: rgba(101, 127, 255, 0.16);
  --rarity-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
  align-items: center !important;
  background: var(--rarity-bg) !important;
  border: 1px solid var(--rarity-border) !important;
  border-radius: 7px !important;
  box-shadow:
    0 7px 16px rgba(2, 8, 18, 0.18),
    0 0 16px var(--rarity-glow) !important;
  color: var(--rarity-text) !important;
  display: inline-flex !important;
  font-family: "Space Grotesk", system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  justify-content: center !important;
  letter-spacing: 0.035em !important;
  line-height: 1 !important;
  min-height: 24px !important;
  min-width: 28px !important;
  overflow: hidden !important;
  padding: 0 8px !important;
  position: relative !important;
  isolation: isolate;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

/* The frame carries the TCG identity; it never competes with the code. */
.rarity-badge::before {
  border: 1px solid var(--rarity-inner-border) !important;
  border-radius: inherit;
  content: "" !important;
  inset: 2px !important;
  opacity: 0.82;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 0 !important;
}

/* Rarity treatments add texture to the surface, never an icon behind the text. */
.rarity-badge::after {
  background: linear-gradient(118deg, transparent 20%, rgba(255, 255, 255, 0.2) 48%, transparent 58%);
  content: "" !important;
  inset: -24% !important;
  opacity: 0;
  pointer-events: none !important;
  position: absolute !important;
  transform: translateX(-28%);
  z-index: 0 !important;
}

.rarity-badge__code {
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  position: relative !important;
  text-shadow: var(--rarity-text-shadow) !important;
  z-index: 1 !important;
}

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

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

.rarity-badge--neutral {
  --rarity-border: rgba(121, 132, 153, 0.22);
  --rarity-inner-border: rgba(226, 232, 240, 0.12);
  --rarity-bg: linear-gradient(180deg, rgba(73, 84, 107, 0.3), rgba(22, 30, 44, 0.9));
  --rarity-text: #e7eef7;
  --rarity-glow: rgba(121, 132, 153, 0.12);
}

.rarity-badge--common {
  --rarity-border: rgba(203, 213, 225, 0.42);
  --rarity-inner-border: rgba(248, 250, 252, 0.18);
  --rarity-bg: linear-gradient(180deg, rgba(148, 163, 184, 0.38), rgba(43, 53, 67, 0.94));
  --rarity-text: #f8fbff;
  --rarity-glow: rgba(148, 163, 184, 0.14);
}

.rarity-badge--uncommon {
  --rarity-border: rgba(45, 212, 191, 0.58);
  --rarity-inner-border: rgba(204, 251, 241, 0.22);
  --rarity-bg: linear-gradient(180deg, rgba(22, 207, 188, 0.42), rgba(8, 112, 122, 0.94));
  --rarity-text: #effffb;
  --rarity-glow: rgba(45, 212, 191, 0.28);
}

.rarity-badge--rare {
  --rarity-border: rgba(96, 165, 250, 0.66);
  --rarity-inner-border: rgba(219, 234, 254, 0.22);
  --rarity-bg: linear-gradient(180deg, rgba(74, 129, 255, 0.48), rgba(19, 73, 204, 0.94));
  --rarity-text: #f7fbff;
  --rarity-glow: rgba(96, 165, 250, 0.32);
  --rarity-text-shadow: 0 0 10px rgba(147, 197, 253, 0.48), 0 1px 0 rgba(0, 0, 0, 0.42);
}

.rarity-badge--super-rare {
  --rarity-border: rgba(221, 140, 255, 0.68);
  --rarity-inner-border: rgba(250, 232, 255, 0.24);
  --rarity-bg: linear-gradient(180deg, rgba(200, 102, 255, 0.48), rgba(103, 38, 181, 0.96));
  --rarity-text: #fff6ff;
  --rarity-glow: rgba(216, 127, 255, 0.36);
  --rarity-text-shadow: 0 0 10px rgba(245, 208, 255, 0.56), 0 1px 0 rgba(43, 12, 72, 0.6);
}

.rarity-badge--leader {
  --rarity-border: rgba(255, 214, 102, 0.76);
  --rarity-inner-border: rgba(255, 251, 235, 0.28);
  --rarity-bg: linear-gradient(180deg, rgba(255, 225, 118, 0.54), rgba(172, 111, 11, 0.98));
  --rarity-text: #fffdf4;
  --rarity-glow: rgba(251, 191, 36, 0.34);
  --rarity-text-shadow: 0 1px 0 rgba(98, 56, 2, 0.7), 0 0 8px rgba(255, 249, 196, 0.44);
}

.rarity-badge--promo {
  --rarity-border: rgba(61, 220, 142, 0.58);
  --rarity-inner-border: rgba(220, 252, 231, 0.2);
  --rarity-bg: linear-gradient(180deg, rgba(36, 200, 129, 0.38), 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.7);
  --rarity-inner-border: rgba(255, 228, 245, 0.22);
  --rarity-bg: linear-gradient(135deg, rgba(249, 115, 184, 0.42), rgba(168, 85, 247, 0.34) 38%, rgba(245, 158, 11, 0.3) 72%, rgba(244, 63, 94, 0.36));
  --rarity-text: #fff7fb;
  --rarity-glow: rgba(249, 115, 184, 0.3);
  --rarity-text-shadow: 0 0 10px rgba(255, 222, 244, 0.62), 0 1px 0 rgba(97, 10, 64, 0.5);
}

.rarity-badge--parallel,
.rarity-badge--illustration,
.rarity-badge--shiny,
.rarity-badge--holo {
  --rarity-border: rgba(255, 255, 255, 0.64);
  --rarity-inner-border: rgba(255, 255, 255, 0.24);
  --rarity-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(59, 130, 246, 0.32) 24%, rgba(168, 85, 247, 0.34) 44%, rgba(251, 191, 36, 0.3) 66%, rgba(34, 197, 94, 0.3) 86%);
  --rarity-text: #ffffff;
  --rarity-glow: rgba(255, 255, 255, 0.24);
  --rarity-text-shadow: 0 0 9px rgba(255, 255, 255, 0.78), 0 1px 0 rgba(0, 0, 0, 0.55);
}

.rarity-badge--parallel::after,
.rarity-badge--illustration::after,
.rarity-badge--shiny::after,
.rarity-badge--holo::after {
  opacity: 0.82;
  transform: translateX(18%);
}

.rarity-badge--secret {
  --rarity-border: rgba(255, 122, 122, 0.72);
  --rarity-inner-border: rgba(255, 236, 236, 0.22);
  --rarity-bg: linear-gradient(180deg, rgba(255, 119, 119, 0.46), rgba(109, 15, 27, 0.98));
  --rarity-text: #fff6f6;
  --rarity-glow: rgba(248, 113, 113, 0.38);
  --rarity-text-shadow: 0 0 10px rgba(255, 212, 212, 0.58), 0 1px 0 rgba(83, 4, 17, 0.7);
}

.rarity-badge--secret::after {
  background: linear-gradient(135deg, transparent 36%, rgba(0, 0, 0, 0.42) 38%, rgba(255, 255, 255, 0.1) 46%, transparent 49%);
  opacity: 0.95;
  transform: none;
}

.rarity-badge--ultra {
  --rarity-border: rgba(251, 146, 60, 0.7);
  --rarity-inner-border: rgba(255, 247, 237, 0.22);
  --rarity-bg: linear-gradient(180deg, rgba(255, 182, 101, 0.42), rgba(197, 88, 18, 0.96));
  --rarity-text: #fff9f0;
  --rarity-glow: rgba(251, 146, 60, 0.3);
  --rarity-text-shadow: 0 0 10px rgba(255, 232, 203, 0.6), 0 1px 0 rgba(105, 35, 5, 0.6);
}

.rarity-badge--ultimate {
  --rarity-border: rgba(245, 205, 98, 0.66);
  --rarity-inner-border: rgba(255, 247, 207, 0.18);
  --rarity-bg: linear-gradient(180deg, rgba(245, 205, 98, 0.24), rgba(12, 18, 26, 0.96));
  --rarity-text: #fff7cf;
  --rarity-glow: rgba(245, 205, 98, 0.26);
  --rarity-text-shadow: 0 0 9px rgba(255, 228, 138, 0.5), 0 1px 0 rgba(0, 0, 0, 0.7);
}

.rarity-badge--ghost {
  --rarity-border: rgba(196, 181, 253, 0.66);
  --rarity-inner-border: rgba(245, 243, 255, 0.2);
  --rarity-bg: linear-gradient(180deg, rgba(178, 155, 255, 0.28), rgba(50, 43, 106, 0.96));
  --rarity-text: #fbf8ff;
  --rarity-glow: rgba(196, 181, 253, 0.28);
  --rarity-text-shadow: 0 0 10px rgba(221, 214, 254, 0.64), 0 1px 0 rgba(30, 20, 70, 0.7);
}

.rarity-badge--gold {
  --rarity-border: rgba(255, 223, 92, 0.72);
  --rarity-inner-border: rgba(255, 251, 217, 0.24);
  --rarity-bg: linear-gradient(180deg, rgba(255, 228, 118, 0.46), rgba(183, 111, 7, 0.96));
  --rarity-text: #fffbe9;
  --rarity-glow: rgba(250, 204, 21, 0.34);
  --rarity-text-shadow: 0 1px 0 rgba(106, 59, 0, 0.72), 0 0 8px rgba(255, 249, 193, 0.5);
}

.rarity-badge--legend {
  --rarity-border: rgba(148, 197, 255, 0.62);
  --rarity-inner-border: rgba(239, 246, 255, 0.2);
  --rarity-bg: linear-gradient(180deg, rgba(133, 183, 255, 0.3), 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.64);
  --rarity-inner-border: rgba(255, 237, 213, 0.2);
  --rarity-bg: linear-gradient(180deg, rgba(251, 170, 96, 0.34), 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.62);
  --rarity-inner-border: rgba(219, 234, 254, 0.2);
  --rarity-bg: linear-gradient(180deg, rgba(94, 141, 255, 0.38), 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.36);
  --rarity-inner-border: rgba(226, 232, 240, 0.12);
  --rarity-bg: linear-gradient(180deg, rgba(60, 74, 92, 0.34), rgba(12, 18, 32, 0.96));
  --rarity-text: #edf6ff;
  --rarity-glow: rgba(119, 136, 163, 0.14);
}

/* TCG frame languages: restrained borders, no background symbols. */
.rarity-badge--tcg-pokemon {
  border-radius: 10px !important;
  border-width: 1.5px !important;
  letter-spacing: 0.02em !important;
  --rarity-inner-border: rgba(191, 219, 254, 0.26);
}

.rarity-badge--tcg-pokemon::before {
  background: linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.12) 48%, rgba(255, 255, 255, 0.12) 52%, transparent 54%);
  border-radius: 8px;
  inset: 2px !important;
  opacity: 0.56;
}

.rarity-badge--tcg-pokemon .rarity-badge__code {
  font-weight: 900 !important;
  letter-spacing: 0.015em !important;
}

.rarity-badge--tcg-onepiece {
  border-radius: 5px !important;
  border-width: 1.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  --rarity-inner-border: rgba(253, 230, 138, 0.28);
}

.rarity-badge--tcg-onepiece::before {
  background: linear-gradient(90deg, rgba(127, 29, 29, 0.24), transparent 24%, transparent 76%, rgba(127, 29, 29, 0.24));
  border-radius: 3px;
  inset: 2px !important;
}

.rarity-badge--tcg-onepiece .rarity-badge__code {
  letter-spacing: 0.045em !important;
  text-shadow: 0 1px 0 rgba(87, 43, 2, 0.62), 0 0 8px rgba(255, 244, 190, 0.26) !important;
}

.rarity-badge--tcg-ygo {
  border-radius: 3px !important;
  border-width: 1.5px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  letter-spacing: 0.045em !important;
  --rarity-inner-border: rgba(253, 230, 138, 0.26);
}

.rarity-badge--tcg-ygo::before {
  border-radius: 2px;
  inset: 3px !important;
}

.rarity-badge--tcg-ygo .rarity-badge__code {
  font-family: inherit !important;
  font-weight: 700 !important;
  letter-spacing: 0.055em !important;
}

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

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

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

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

.card-rarity-under {
  align-items: center !important;
  display: inline-flex !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: apply the mobile layout only when the viewport is mobile. */
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 {
  position: sticky;
  top: 8px;
  z-index: 60;
  display: grid !important;
  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.unified-mobile-shell .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.unified-mobile-shell .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.unified-mobile-shell .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.unified-mobile-shell .topbar.auth-topbar .mobile-user-menu-trigger:hover,
body.unified-mobile-shell .topbar.auth-topbar .mobile-user-menu-trigger:focus-visible {
  transform: none;
  opacity: 1;
}

body.unified-mobile-shell .topbar.auth-topbar .mobile-user-caret {
  margin-left: auto;
  flex: 0 0 auto;
  opacity: 0.78;
}

body.unified-mobile-shell .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.unified-mobile-shell .topbar.auth-topbar .mobile-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

body.unified-mobile-shell .topbar.auth-topbar .mobile-user-avatar::after {
  border-radius: 50%;
}

body.unified-mobile-shell .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell {
  width: 44px !important;
  height: 44px !important;
}

body.unified-mobile-shell .topbar.auth-topbar .mobile-user-avatar img,
body.unified-mobile-shell .topbar.auth-topbar .mobile-user-avatar .avatar-fallback {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
}

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-backdrop,
body.unified-mobile-shell .mobile-sheet {
  display: block !important;
}

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));
}

body.unified-mobile-shell.page-card .card-detail-hero {
  grid-template-columns: 1fr;
}

body.unified-mobile-shell.page-card .card-detail-hero .card-art {
  width: 100%;
  max-width: 100%;
}

body.unified-mobile-shell.page-card .card-detail-action-row {
  width: 100%;
  max-width: none;
}

body.unified-mobile-shell.page-card .card-price-overview-grid {
  grid-template-columns: 1fr;
}

body.unified-mobile-shell.page-card .card-search-filter-grid--split {
  grid-template-columns: 1fr;
}

body.unified-mobile-shell.page-shop .shop-focus-layout {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.unified-mobile-shell.page-shop .shop-focus-preview {
  min-height: 132px;
  border-radius: 18px;
  padding: 12px;
}

body.unified-mobile-shell.page-shop .shop-focus-preview strong {
  font-size: 0.98rem;
}

body.unified-mobile-shell.page-shop .shop-focus-copy {
  gap: 8px;
}

body.unified-mobile-shell.page-shop .shop-focus-copy p {
  font-size: 0.84rem;
  line-height: 1.35;
}

body.unified-mobile-shell.page-shop .shop-focus-notes {
  gap: 6px;
}

body.unified-mobile-shell.page-shop .shop-focus-note {
  min-width: 0;
  flex: 1 1 calc(50% - 3px);
  padding: 8px 10px;
  border-radius: 14px;
}

body.unified-mobile-shell.page-shop .shop-focus-note strong {
  font-size: 11px;
}

body.unified-mobile-shell.page-shop .shop-focus-stats {
  gap: 8px;
}

body.unified-mobile-shell.page-shop .shop-focus-stat {
  padding: 10px;
  border-radius: 14px;
}

body.unified-mobile-shell.page-shop .shop-focus-stat strong {
  font-size: 0.96rem;
}

body.unified-mobile-shell.page-shop .shop-focus-stat small {
  font-size: 0.62rem;
}

body.unified-mobile-shell.page-profile .collector-id-card {
  background-position: 34% center;
  border-radius: 22px;
  min-height: 0;
  padding: 16px;
}

body.unified-mobile-shell.page-profile .collector-id-toolbar {
  align-items: flex-start;
}

body.unified-mobile-shell.page-profile .collector-id-primary {
  gap: 14px;
  grid-template-columns: 108px minmax(0, 1fr);
  margin-top: 26px;
}

body.unified-mobile-shell.page-profile .collector-id-avatar-wrap {
  min-height: 120px;
}

body.unified-mobile-shell.page-profile .collector-id-avatar {
  height: 94px;
  width: 94px;
}

body.unified-mobile-shell.page-profile .collector-id-level {
  font-size: 8px;
  padding: 5px 8px;
}

body.unified-mobile-shell.page-profile .collector-id-copy h1 {
  font-size: 42px;
}

body.unified-mobile-shell.page-profile .collector-id-copy p {
  display: none;
}

body.unified-mobile-shell.page-profile .collector-id-stat-grid {
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

body.unified-mobile-shell.page-profile .collector-id-stat-grid > span,
body.unified-mobile-shell.page-profile .collector-id-stat-grid > a {
  border-radius: 12px;
  padding: 9px;
}

body.unified-mobile-shell.page-profile .collector-id-stat-grid strong {
  font-size: 16px;
}

body.unified-mobile-shell.page-profile .collector-id-content-bar {
  align-items: flex-start;
  flex-direction: column;
}

body.unified-mobile-shell.page-profile .collector-id-games {
  max-width: 100%;
  overflow-x: auto;
}

body.unified-mobile-shell.page-profile .identity-preview-rail {
  grid-auto-columns: 112px;
}

body.unified-mobile-shell.page-showoff .showoff-studio-bar {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 9px;
}

body.unified-mobile-shell.page-showoff .showoff-studio-brand strong {
  display: none;
}

body.unified-mobile-shell.page-showoff .showoff-mural-tabs {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-content: flex-start;
  order: 3;
  width: 100%;
}

body.unified-mobile-shell.page-showoff .showoff-studio-actions {
  justify-content: flex-end;
}

body.unified-mobile-shell.page-showoff .showoff-studio-actions .icon-glyph-control,
body.unified-mobile-shell.page-profile .collector-id-actions .icon-glyph-control {
  border-radius: 12px;
  flex-basis: 38px;
  height: 38px;
  min-height: 38px;
  width: 38px;
}

body.unified-mobile-shell.page-showoff .showoff-studio-layout {
  grid-template-columns: 1fr;
}

body.unified-mobile-shell.page-showoff .showoff-stage,
body.unified-mobile-shell.page-showoff .showoff-public-stage {
  border-radius: 20px;
  min-height: min(670px, calc(100svh - 190px));
}

body.unified-mobile-shell.page-showoff .showoff-public-stage {
  min-height: 760px;
  padding: 16px 14px 14px;
}

body.unified-mobile-shell.page-showoff .showoff-grid.showoff-grid--stage,
body.unified-mobile-shell.page-showoff .showoff-grid.showoff-grid--public {
  gap: 8px;
  top: 55%;
  width: min(76%, 520px);
}

body.unified-mobile-shell.page-showoff .showoff-stage-title {
  left: 18px;
  top: 18px;
}

body.unified-mobile-shell.page-showoff .showoff-stage-title h1,
body.unified-mobile-shell.page-showoff .showoff-public-title h1 {
  font-size: 27px;
}

body.unified-mobile-shell.page-showoff .showoff-stage-meta {
  right: 16px;
  top: 18px;
}

body.unified-mobile-shell.page-showoff .showoff-control-deck {
  max-height: none;
}

body.unified-mobile-shell.page-showoff .showoff-control-deck .showoff-grid.editable {
  grid-template-columns: 1fr;
}

body.unified-mobile-shell.page-showoff .showoff-control-deck .showoff-slot.editable {
  column-gap: 10px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-rows: auto auto;
  padding: 8px;
}

body.unified-mobile-shell.page-showoff .showoff-control-deck .showoff-slot.editable .showoff-slot-art {
  grid-row: 1 / span 2;
  width: 82px;
}

body.unified-mobile-shell.page-showoff .showoff-control-deck .showoff-slot.editable .showoff-slot-editor-copy {
  align-self: end;
}

body.unified-mobile-shell.page-showoff .showoff-control-deck .showoff-slot.editable .showoff-slot-picker {
  align-self: start;
}

body.unified-mobile-shell.page-showoff .showoff-control-deck .showoff-slot.editable select {
  font-size: 11px;
  min-height: 38px;
  padding: 0 8px;
}

body.unified-mobile-shell.page-showoff .showoff-public-header {
  left: auto;
  right: auto;
  top: auto;
}

body.unified-mobile-shell.page-showoff .showoff-public-title {
  left: auto;
  margin-top: 28px;
  max-width: 100%;
  top: auto;
}

body.unified-mobile-shell.page-showoff .showoff-grid.showoff-grid--public {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.unified-mobile-shell.page-showoff .showoff-public-stage .showoff-slot {
  border-radius: 14px;
}

/* 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-cardmarket-summary {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(14, 116, 144, 0.16), rgba(15, 23, 42, 0.62));
}

.catalog-review-cardmarket-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.catalog-review-cardmarket-summary-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-review-cardmarket-summary-head span {
  flex-shrink: 0;
  color: #bae6fd;
  font-size: .76rem;
  font-weight: 800;
}

.catalog-review-cardmarket-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.catalog-review-cardmarket-summary-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.catalog-review-cardmarket-summary-grid small {
  color: rgba(198, 214, 236, 0.64);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-review-cardmarket-summary-grid b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.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;
  }

  .catalog-review-cardmarket-summary-grid {
    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-rarity-condition-under {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  min-width: 0 !important;
}

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

/* Shared version chips used by Collection, Live Studio and live history. */
.collection-version-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;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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;
}

/* Variants remain text-only: the finish belongs to the lettering, not an icon. */
.collection-version-chip--variant,
.collection-version-chip--rare,
.collection-version-chip--chase {
  isolation: isolate !important;
  overflow: hidden !important;
  position: relative !important;
  text-shadow: 0 1px 0 rgba(3, 8, 18, 0.45) !important;
}

.collection-version-chip--variant {
  font-style: italic !important;
  letter-spacing: 0.02em !important;
}

.collection-version-chip--rare {
  font-weight: 900 !important;
  letter-spacing: 0.035em !important;
  text-shadow: 0 0 8px rgba(153, 246, 228, 0.24), 0 1px 0 rgba(3, 8, 18, 0.45) !important;
}

.collection-version-chip--chase {
  font-family: "Fraunces", Georgia, serif !important;
  letter-spacing: 0.015em !important;
  text-shadow: 0 0 9px rgba(255, 239, 170, 0.35), 0 1px 0 rgba(3, 8, 18, 0.56) !important;
}

.collection-version-chip--variant::after,
.collection-version-chip--rare::after,
.collection-version-chip--chase::after {
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.18) 48%, transparent 58%);
  content: "" !important;
  inset: -30% !important;
  opacity: 0.48;
  pointer-events: none !important;
  position: absolute !important;
  transform: translateX(24%);
  z-index: -1 !important;
}

@media (max-width: 720px) {
  .collection-version-chip {
    font-size: 10px !important;
    min-height: 20px !important;
    padding: 4px 6px !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;
}

.collection-summary-status-icon {
  align-items: center;
  background: rgba(20, 184, 166, 0.13);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 50%;
  color: #5eead4;
  display: inline-flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.collection-summary-status-icon svg {
  height: 21px;
  width: 21px;
}

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

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

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

body.page-sell-list .collection-binder-shell--collection-flat .card-price-under {
  align-items: baseline !important;
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  min-width: 0 !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .card-price-version {
  color: #8796ae !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

body.page-sell-list .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-sell-list .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-sell-list .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-sell-list .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-sell-list .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-sell-list .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-sell-list .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-sell-list .collection-binder-shell--collection-flat .sell-list-card-footer {
  align-items: center !important;
  bottom: 10px !important;
  display: flex !important;
  gap: 8px !important;
  justify-content: space-between !important;
  left: 12px !important;
  min-height: 34px !important;
  position: absolute !important;
  right: 56px !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .card-quantity-text {
  color: #d6e1f0 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-card-state {
  color: #8796ae !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-align: right !important;
  text-transform: uppercase !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-card-state--active {
  color: #6ee7b7 !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-card--has-listing {
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.18), 0 10px 24px rgba(3, 8, 18, 0.22) !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-active-trigger {
  align-items: center !important;
  background: linear-gradient(160deg, rgba(5, 150, 105, 0.98), rgba(13, 148, 136, 0.94)) !important;
  border: 1px solid rgba(110, 231, 183, 0.52) !important;
  border-radius: 50% !important;
  bottom: 10px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 18px rgba(2, 8, 18, 0.28), 0 0 18px rgba(52, 211, 153, 0.18) !important;
  color: #ecfdf5 !important;
  display: inline-flex !important;
  height: 38px !important;
  justify-content: center !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-active-icon {
  align-items: center !important;
  display: inline-flex !important;
  height: 19px !important;
  justify-content: center !important;
  position: relative !important;
  width: 19px !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-active-icon svg {
  height: 19px !important;
  width: 19px !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-active-icon b {
  align-items: center !important;
  background: #ecfdf5 !important;
  border: 1px solid #047857 !important;
  border-radius: 50% !important;
  bottom: -5px !important;
  color: #047857 !important;
  display: inline-flex !important;
  font-size: 8px !important;
  height: 12px !important;
  justify-content: center !important;
  line-height: 1 !important;
  position: absolute !important;
  right: -6px !important;
  width: 12px !important;
}

body.page-sell-list .collection-binder-shell--collection-flat .sell-list-active-trigger:hover,
body.page-sell-list .collection-binder-shell--collection-flat .sell-list-active-trigger:focus-visible {
  border-color: rgba(167, 243, 208, 0.82) !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-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 .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-condition-chip,
  body.page-collection .collection-binder-shell--collection-flat .card-rarity-condition-under .rarity-badge,
  body.page-sell-list .collection-binder-shell--collection-flat .collection-condition-chip,
  body.page-sell-list .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,
  body.page-sell-list .collection-binder-shell--collection-flat .sell-list-active-trigger {
    bottom: 9px !important;
    height: 34px !important;
    min-height: 34px !important;
    min-width: 34px !important;
    right: 9px !important;
    width: 34px !important;
  }

  body.page-sell-list .collection-binder-shell--collection-flat .sell-list-card-footer {
    bottom: 9px !important;
    left: 10px !important;
    min-height: 30px !important;
    right: 50px !important;
  }

  body.page-sell-list .collection-binder-shell--collection-flat .card-quantity-text,
  body.page-sell-list .collection-binder-shell--collection-flat .sell-list-card-state {
    font-size: 9px !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;
  }
}


.home-dashboard--premium {
  display: grid;
  gap: 20px;
  margin-top: 18px;
  color: #f4f8ff;
}

.home-dashboard--premium,
.home-dashboard--premium * {
  letter-spacing: 0;
  box-sizing: border-box;
}

.home-page-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 2px 10px;
}

.home-page-intro h1,
.home-global-head h2,
.home-focus-head h2,
.home-module h2 {
  margin: 0;
  color: #f7faff;
  line-height: 1.08;
}

.home-page-intro h1 {
  margin-top: 4px;
  font-size: 32px;
}

.home-page-intro p {
  margin: 6px 0 0;
  color: rgba(207, 220, 239, 0.7);
  font-size: 14px;
}

.home-live-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(207, 220, 239, 0.76);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.home-live-state > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #54d6a3;
  box-shadow: 0 0 0 4px rgba(84, 214, 163, 0.12);
}

.home-global-band,
.home-focus-band,
.home-module {
  border: 1px solid rgba(142, 164, 194, 0.15);
  border-radius: 8px;
  background: rgba(7, 14, 26, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.home-global-band {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-color: rgba(244, 201, 107, 0.18);
  background:
    linear-gradient(120deg, rgba(244, 201, 107, 0.06), transparent 34%),
    rgba(7, 14, 26, 0.8);
}

.home-global-head,
.home-focus-head,
.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-global-head h2,
.home-focus-head h2,
.home-module h2 {
  margin-top: 4px;
  font-size: 20px;
}

.home-dashboard--premium .home-section-kicker {
  display: block;
  color: rgba(165, 187, 216, 0.64);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-dashboard--premium .home-trend-chip {
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(2, 8, 17, 0.48);
}

.home-global-value-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  min-width: 0;
}

.home-global-value-row > strong {
  color: #fff;
  font-size: 42px;
  line-height: 1;
  white-space: nowrap;
}

.home-global-value-row > span {
  color: rgba(199, 214, 235, 0.68);
  font-size: 12px;
  white-space: nowrap;
}

.home-global-value-row b {
  color: #f4f8ff;
  font-size: 15px;
}

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

.home-game-summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px 12px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(142, 164, 194, 0.13);
  border-radius: 8px;
  background: rgba(3, 9, 18, 0.55);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.home-game-summary:hover,
.home-game-summary:focus-visible {
  border-color: rgba(94, 234, 212, 0.42);
  background: rgba(12, 24, 39, 0.82);
  outline: none;
  transform: translateY(-2px);
}

.home-game-summary.is-active {
  order: -1;
  border-color: rgba(94, 234, 212, 0.52);
  box-shadow: inset 3px 0 0 #5eead4;
}

.home-game-summary-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.home-game-summary-logo {
  max-width: 39px;
  max-height: 32px;
  object-fit: contain;
}

.home-game-summary-badge {
  color: #f4f8ff;
  font-size: 11px;
  font-weight: 900;
}

.home-game-summary-copy {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}

.home-game-summary-name {
  overflow: hidden;
  color: rgba(205, 219, 239, 0.7);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-summary-copy strong {
  overflow: hidden;
  color: #f9fbff;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-summary-stats {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  color: rgba(185, 203, 228, 0.68);
}

.home-game-summary-stats small {
  font-size: 10px;
}

.home-game-summary-trend {
  grid-column: 1 / -1;
  color: rgba(190, 207, 230, 0.66);
  font-size: 10px;
  font-weight: 800;
}

.home-game-summary-trend--up {
  color: #75e1b6;
}

.home-game-summary-trend--down {
  color: #ff8fa8;
}

.home-focus-band {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-color: rgba(120, 168, 255, 0.2);
}

.home-focus-identity,
.home-focus-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-focus-identity > span:last-child {
  min-width: 0;
}

.home-focus-identity small {
  display: block;
  color: rgba(165, 187, 216, 0.64);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-focus-game-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 44px;
  border-right: 1px solid rgba(142, 164, 194, 0.16);
}

.home-focus-game-logo {
  max-width: 50px;
  max-height: 34px;
  object-fit: contain;
}

.home-focus-game-badge {
  font-size: 12px;
  font-weight: 900;
}

.home-section-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(120, 168, 255, 0.25);
  border-radius: 8px;
  color: #bcd4ff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.home-section-link:hover,
.home-section-link:focus-visible {
  border-color: rgba(94, 234, 212, 0.45);
  color: #eafffb;
  outline: none;
}

.home-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 0.7fr);
  gap: 16px;
}

.home-focus-chart {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.home-dashboard--premium .home-value-block strong {
  font-size: 34px;
  line-height: 1;
}

.home-dashboard--premium .home-chart-shell {
  height: 150px;
  border-radius: 8px;
}

.home-dashboard--premium .home-range-tabs,
.home-dashboard--premium .home-range-tab {
  border-radius: 6px;
}

.home-focus-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: stretch;
}

.home-focus-metrics > span,
.home-seller-metrics > span {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(142, 164, 194, 0.12);
  border-radius: 8px;
  background: rgba(3, 9, 18, 0.5);
}

.home-focus-metrics small,
.home-seller-metrics small {
  color: rgba(184, 202, 227, 0.62);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-focus-metrics strong,
.home-seller-metrics strong {
  overflow: hidden;
  color: #f7faff;
  font-size: 22px;
  line-height: 1;
  text-overflow: ellipsis;
}

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

.home-module {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 18px;
}

.home-top-cards-panel {
  grid-column: 1 / -1;
}

.home-segmented {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(142, 164, 194, 0.13);
  border-radius: 8px;
  background: rgba(2, 8, 16, 0.52);
}

.home-segmented button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(191, 208, 232, 0.66);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.home-segmented button.is-active {
  background: #dbe8ff;
  color: #07111f;
}

.home-segmented--wide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.home-top-card-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.home-top-card-rail[hidden],
.home-distribution-list[hidden] {
  display: none !important;
}

.home-top-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(142, 164, 194, 0.13);
  border-radius: 8px;
  background: rgba(3, 9, 18, 0.54);
  color: inherit;
  text-decoration: none;
}

.home-top-card:hover,
.home-top-card:focus-visible {
  border-color: rgba(244, 201, 107, 0.4);
  outline: none;
}

.home-top-card-visual {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 0.72;
  overflow: hidden;
  border-radius: 6px;
  background: #030812;
}

.home-top-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-top-card-placeholder {
  color: rgba(195, 213, 238, 0.45);
  font-size: 18px;
  font-weight: 900;
}

.home-top-card-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-top-card-copy > strong,
.home-mover-copy strong,
.home-set-progress-copy strong,
.home-continue-row strong {
  overflow: hidden;
  color: #f6f9ff;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-top-card-copy small,
.home-mover-copy small,
.home-mover-price small,
.home-set-progress-copy small,
.home-continue-row small {
  overflow: hidden;
  color: rgba(181, 200, 226, 0.62);
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-top-card-value {
  margin-top: 3px;
  color: #f4c96b;
  font-size: 14px;
  font-weight: 900;
}

.home-set-progress-list,
.home-mover-list,
.home-continue-list,
.home-distribution-list {
  display: grid;
  gap: 8px;
}

.home-set-progress-row,
.home-mover-row,
.home-continue-row {
  display: grid;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(142, 164, 194, 0.12);
  border-radius: 8px;
  background: rgba(3, 9, 18, 0.48);
  color: inherit;
  text-decoration: none;
}

.home-set-progress-row {
  grid-template-columns: 46px minmax(0, 1fr) auto;
}

.home-set-progress-logo,
.home-mover-visual,
.home-continue-visual,
.home-continue-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.home-set-progress-logo img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.home-set-progress-logo > span,
.home-mover-visual > span,
.home-continue-visual > span {
  color: rgba(195, 213, 238, 0.58);
  font-size: 10px;
  font-weight: 900;
}

.home-set-progress-copy,
.home-mover-copy,
.home-continue-row > span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.home-progress-track,
.home-distribution-track {
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(142, 164, 194, 0.12);
}

.home-progress-track > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5eead4, #78a8ff);
}

.home-set-progress-value {
  color: #85e7d5;
  font-size: 13px;
  font-weight: 900;
}

.home-mover-row {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.home-mover-visual {
  width: 42px;
  height: 56px;
}

.home-mover-visual img,
.home-continue-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-mover-price {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 96px;
}

.home-mover-price strong {
  color: #c9d7eb;
  font-size: 13px;
}

.home-mover-row--up .home-mover-price strong {
  color: #75e1b6;
}

.home-mover-row--down .home-mover-price strong {
  color: #ff8fa8;
}

.home-data-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 6px;
  color: #80dfd1;
  font-size: 10px;
  font-weight: 900;
}

.home-distribution-row {
  display: grid;
  gap: 6px;
}

.home-distribution-row > span:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.home-distribution-row strong {
  overflow: hidden;
  color: rgba(231, 238, 249, 0.86);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-distribution-row small {
  color: rgba(190, 207, 230, 0.68);
  font-size: 10px;
  font-weight: 900;
}

.home-distribution-track {
  height: 7px;
}

.home-distribution-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #78a8ff, #f4c96b);
}

.home-continue-row {
  grid-template-columns: 46px minmax(0, 1fr);
}

.home-continue-icon .nav-icon,
.home-seller-inbox-link .nav-icon {
  display: inline-flex;
  width: 21px;
  height: 21px;
  color: #87c7ff;
}

.home-seller-module {
  grid-column: 1 / -1;
}

.home-seller-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.home-seller-inbox-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 8px;
  background: rgba(20, 87, 82, 0.14);
  color: #baf7eb;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.home-dashboard--premium .home-empty-state {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed rgba(142, 164, 194, 0.18);
  border-radius: 8px;
  background: rgba(3, 9, 18, 0.32);
  color: rgba(190, 207, 230, 0.66);
  font-size: 12px;
}

@media (max-width: 900px) {
  .home-focus-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-focus-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-top-card-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-dashboard--premium {
    gap: 14px;
    margin-top: 12px;
  }

  .home-page-intro {
    align-items: center;
    padding-inline: 2px;
  }

  .home-page-intro h1 {
    font-size: 25px;
  }

  .home-page-intro p {
    max-width: 270px;
    font-size: 12px;
  }

  .home-live-state {
    font-size: 10px;
  }

  .home-global-band,
  .home-focus-band,
  .home-module {
    padding: 14px;
  }

  .home-global-value-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 12px;
  }

  .home-global-value-row > strong {
    grid-column: 1 / -1;
    font-size: 32px;
  }

  .home-game-summary-grid {
    display: flex;
    margin-inline: -14px;
    padding: 0 14px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .home-game-summary-grid::-webkit-scrollbar,
  .home-top-card-rail::-webkit-scrollbar {
    display: none;
  }

  .home-game-summary {
    flex: 0 0 79%;
    scroll-snap-align: start;
  }

  .home-focus-head {
    align-items: start;
  }

  .home-focus-actions {
    display: grid;
    justify-items: end;
  }

  .home-focus-actions .home-trend-chip {
    order: 2;
  }

  .home-focus-game-mark {
    width: 48px;
  }

  .home-focus-game-logo {
    max-width: 42px;
  }

  .home-dashboard--premium .home-chart-toolbar {
    grid-template-columns: 1fr;
  }

  .home-dashboard--premium .home-range-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-dashboard--premium .home-range-tab {
    min-width: 0;
    padding: 0 4px;
  }

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

  .home-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-top-cards-panel,
  .home-seller-module {
    grid-column: auto;
  }

  .home-top-card-rail {
    display: flex;
    margin-inline: -14px;
    padding: 0 14px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .home-top-card {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }

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

@media (max-width: 420px) {
  .home-page-intro p,
  .home-live-state {
    display: none;
  }

  .home-global-head,
  .home-section-head {
    align-items: start;
  }

  .home-global-head h2,
  .home-focus-head h2,
  .home-module h2 {
    font-size: 17px;
  }

  .home-dashboard--premium .home-value-block strong {
    font-size: 28px;
  }

  .home-dashboard--premium .home-chart-shell {
    height: 124px;
  }

  .home-top-cards-panel .home-section-head {
    display: grid;
  }

  .home-segmented {
    width: 100%;
  }

  .home-segmented button {
    flex: 1;
    min-width: 0;
    padding-inline: 5px;
  }

  .home-top-card {
    flex-basis: 48%;
  }

  .home-mover-price {
    min-width: 78px;
  }

  .home-mover-price small {
    max-width: 82px;
  }
}
/* Secure seller photos and conversation attachments. */
.market-image-picker {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(126, 165, 210, 0.2);
  border-radius: 8px;
  background: rgba(5, 13, 26, 0.58);
}

.market-image-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.market-image-picker-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.market-image-picker-head strong {
  color: #f5f9ff;
  font-size: 0.86rem;
  line-height: 1.2;
}

.market-image-picker-head small {
  color: rgba(205, 220, 241, 0.65);
  font-size: 0.72rem;
  line-height: 1.35;
}

.market-image-picker-head > span {
  flex: 0 0 auto;
  color: #79d8e7;
  font-size: 0.73rem;
  font-weight: 850;
}

.market-image-picker-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px dashed rgba(100, 211, 225, 0.38);
  border-radius: 8px;
  background: rgba(16, 102, 120, 0.12);
  color: #dffbff;
  font-size: 0.79rem;
  font-weight: 850;
  cursor: pointer;
}

.market-image-picker-action:hover {
  border-color: rgba(100, 211, 225, 0.7);
  background: rgba(16, 102, 120, 0.2);
}

.market-image-picker-action .nav-icon {
  width: 19px;
  height: 19px;
}

.market-image-picker-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.market-image-preview-list {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.market-image-picker.has-images .market-image-preview-list {
  display: grid;
}

.market-image-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 183, 224, 0.22);
  border-radius: 8px;
  background: #07101f;
}

.market-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-image-preview-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(3, 8, 17, 0.86);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.market-image-picker-error {
  margin: 0;
  color: #ff9a9a;
  font-size: 0.74rem;
  line-height: 1.35;
}

.market-image-picker--compact {
  padding: 9px;
  background: rgba(4, 10, 20, 0.42);
}

.market-image-picker--compact .market-image-picker-action {
  justify-self: start;
  min-height: 38px;
}

.market-thread-attachments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 7px;
}

.market-thread-attachment {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(149, 189, 232, 0.22);
  border-radius: 8px;
  background: #050c18;
}

.market-thread-attachment img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-card-art-shell,
.market-listing-preview-art-shell {
  position: relative;
  display: block;
  min-width: 0;
}

.market-card-art-shell {
  width: 74px;
  aspect-ratio: 0.72;
}

.market-card-art-shell .market-card-art {
  width: 100%;
  height: 100%;
}

.market-listing-preview-art-shell {
  width: 38px;
  height: 52px;
}

.market-listing-preview-art-shell .market-listing-preview-art {
  width: 100%;
  height: 100%;
}

.market-card-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.market-card-quantity {
  color: rgba(218, 234, 247, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.market-real-photo-badge {
  position: absolute;
  right: -6px;
  bottom: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(113, 226, 235, 0.42);
  border-radius: 999px;
  background: rgba(2, 12, 22, 0.9);
  color: #dffcff;
  font-size: 0.67rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.36);
  cursor: pointer;
  appearance: none;
  z-index: 3;
}

.market-real-photo-badge:hover,
.market-real-photo-badge:focus-visible {
  border-color: rgba(113, 226, 235, 0.82);
  background: rgba(8, 62, 73, 0.96);
  outline: none;
}

.market-real-photo-badge .nav-icon {
  width: 13px;
  height: 13px;
}

body.market-photo-dialog-open {
  overflow: hidden;
}

.market-photo-dialog {
  position: fixed;
  inset: 0;
  z-index: 19000;
  display: grid;
  place-items: center;
  padding: 12px;
}

.market-photo-dialog[hidden] {
  display: none;
}

.market-photo-dialog-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(1, 6, 14, 0.88);
  backdrop-filter: blur(8px);
}

.market-photo-dialog-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(720px, 100%);
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  border: 1px solid rgba(117, 220, 232, 0.28);
  border-radius: 8px;
  background: #081426;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
}

.market-photo-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(137, 176, 218, 0.16);
  background: #0d1b30;
}

.market-photo-dialog-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.market-photo-dialog-head span {
  color: #75dce8;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.market-photo-dialog-head strong {
  overflow: hidden;
  color: #f5f9ff;
  font-size: 1rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-photo-dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(151, 183, 224, 0.22);
  border-radius: 50%;
  background: #111f35;
  color: #f7fbff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.market-photo-dialog-close:hover,
.market-photo-dialog-close:focus-visible {
  border-color: rgba(117, 220, 232, 0.72);
  color: #9ef6ff;
  outline: none;
}

.market-photo-dialog-scroll {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.market-photo-dialog-item {
  display: grid;
  gap: 6px;
  margin: 0;
}

.market-photo-dialog-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border: 1px solid rgba(150, 190, 231, 0.18);
  border-radius: 8px;
  background: #030914;
  object-fit: contain;
}

.market-photo-dialog-item figcaption {
  color: rgba(211, 226, 244, 0.68);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: right;
}

.market-public-listing-art:has(.market-listing-photo-gallery) {
  aspect-ratio: auto;
  padding: 8px;
  overflow: visible;
}

.market-listing-photo-gallery {
  display: grid;
  gap: 8px;
  width: 100%;
}

.market-listing-photo-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c9f7fb;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.market-listing-photo-label .nav-icon {
  width: 17px;
  height: 17px;
}

.market-listing-photo-main {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: #030914;
}

.market-public-listing-art .market-listing-photo-main img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
}

.market-listing-photo-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.market-listing-photo-thumb {
  height: 64px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(132, 168, 211, 0.2);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.9);
  cursor: pointer;
}

.market-listing-photo-thumb.is-active {
  border-color: #6bdce7;
  box-shadow: 0 0 0 1px rgba(107, 220, 231, 0.2);
}

.market-public-listing-art .market-listing-photo-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 5px;
  object-fit: cover;
}

@media (max-width: 720px) {
  .market-image-picker {
    padding: 10px;
  }

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

  .market-thread-message {
    width: min(100%, 440px);
  }

  .market-listing-photo-thumb {
    height: 58px;
  }

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

  body.page-market .market-card-art-shell .market-card-art {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: 100%;
  }

  .market-photo-dialog {
    padding: 8px;
  }

  .market-photo-dialog-panel {
    max-height: calc(100dvh - 16px);
  }

  .market-photo-dialog-head {
    min-height: 62px;
    padding: 10px 11px;
  }

  .market-photo-dialog-scroll {
    padding: 8px;
  }
}
.card-art-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.card-detail-market-actions {
  margin-top: 12px;
}

.card-detail-market-cta {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 9px 14px;
  border: 1px solid rgba(45, 212, 191, 0.38);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.2), rgba(16, 185, 129, 0.18));
  color: #effffc;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card-detail-market-cta:hover,
.card-detail-market-cta:focus-visible {
  border-color: rgba(103, 232, 249, 0.7);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.3), rgba(16, 185, 129, 0.26));
}

.card-detail-market-cta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(3, 15, 27, 0.58);
  color: #8ff7e4;
}

.card-detail-market-cta-icon svg {
  width: 22px;
  height: 22px;
}

.card-detail-market-cta > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.card-detail-market-cta small {
  color: #8ff7e4;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-detail-market-cta strong {
  color: #f8fafc;
  font-size: 0.94rem;
  line-height: 1.2;
}

.card-detail-data-health {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.card-detail-data-health span {
  padding: 5px 8px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 999px;
  background: rgba(120, 53, 15, 0.16);
  color: #fde68a;
  font-size: 0.67rem;
  line-height: 1.2;
}

.card-price-reference-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.card-price-main .card-price-reference-correction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.68);
  color: #dbeafe;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.cardmarket-link-sheet {
  width: min(560px, calc(100vw - 24px));
  max-height: min(88vh, 760px);
}

.cardmarket-link-sheet .collection-pref-sheet-title {
  min-width: 0;
}

.cardmarket-link-sheet .collection-pref-sheet-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cardmarket-link-summary {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(14, 116, 144, 0.16), rgba(15, 23, 42, 0.62));
}

.cardmarket-link-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cardmarket-link-summary-head strong {
  min-width: 0;
  overflow: hidden;
  color: #f8fafc;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cardmarket-link-summary-head span {
  flex-shrink: 0;
  color: #bae6fd;
  font-size: .73rem;
  font-weight: 800;
}

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

.cardmarket-link-summary-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cardmarket-link-summary-grid small {
  color: #8da1bb;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cardmarket-link-summary-grid b {
  overflow: hidden;
  color: #e2e8f0;
  font-size: .74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cardmarket-link-form {
  display: grid;
  gap: 12px;
}

.cardmarket-link-form .card-search-field,
.cardmarket-link-form .catalog-proposal-note {
  display: grid;
  gap: 6px;
}

.cardmarket-link-form .card-search-field > span,
.cardmarket-link-form .catalog-proposal-note > span {
  color: #cbd5e1;
  font-size: .76rem;
  font-weight: 800;
}

.cardmarket-link-form input[type="url"],
.cardmarket-link-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 9px;
  background: rgba(3, 10, 22, 0.68);
  color: #f8fafc;
  font: inherit;
}

.cardmarket-link-form input[type="url"] {
  min-height: 42px;
  padding: 9px 11px;
}

.cardmarket-link-form textarea {
  min-height: 72px;
  padding: 9px 11px;
  resize: vertical;
}

.cardmarket-link-form .card-search-field small {
  color: #8da1bb;
  font-size: .68rem;
  line-height: 1.4;
}

.cardmarket-link-form-actions {
  justify-content: flex-end;
  margin-top: 2px;
}

.card-price-reference-correction .nav-icon,
.card-price-reference-correction svg {
  width: 16px;
  height: 16px;
}

.card-price-reference-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: #8da1bb;
  font-size: 0.72rem;
}

.card-reference-scope {
  color: #dbeafe;
  font-weight: 750;
}

.card-reference-stale {
  color: #fde68a;
  font-weight: 750;
}

.card-price-confirmation {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(7, 18, 34, 0.48);
}

.card-price-confirmation summary {
  color: #bae6fd;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
}

.card-price-confirmation form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  margin-top: 10px;
}

.card-price-confirmation label {
  display: grid;
  gap: 5px;
  color: #9fb0c6;
  font-size: 0.68rem;
  font-weight: 700;
}

.card-price-confirmation-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 38px;
  padding-right: 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 7px;
  background: rgba(3, 10, 22, 0.68);
}

.card-price-confirmation-input input {
  min-width: 0;
  height: 36px;
  padding: 7px 9px;
  border: 0;
  background: transparent;
  color: #f8fafc;
}

.card-price-confirmation-input b {
  color: #7dd3fc;
}

.card-price-confirmation button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(45, 212, 191, 0.36);
  border-radius: 7px;
  background: rgba(13, 148, 136, 0.24);
  color: #ccfbf1;
  font-size: 0.72rem;
  font-weight: 800;
}

.card-price-confirmation p {
  margin: 8px 0 0;
  color: #8da1bb;
  font-size: 0.67rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  body.is-mobile-ui .cardmarket-link-sheet {
    gap: 8px;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100dvh - 120px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }

  body.is-mobile-ui .cardmarket-link-sheet .cardmarket-link-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 2px -12px 0;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(13, 21, 40, 0), rgba(10, 17, 29, 0.98) 34%), rgba(10, 17, 29, 0.98);
  }
}

@media (max-width: 520px) {
  .cardmarket-link-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .cardmarket-link-summary {
    gap: 8px;
    padding: 10px;
  }

  .cardmarket-link-summary-head {
    gap: 8px;
  }

  .cardmarket-link-summary-head strong {
    font-size: .92rem;
  }

  .cardmarket-link-summary-head span {
    font-size: .68rem;
  }

  .cardmarket-link-summary-grid small {
    font-size: .56rem;
  }

  .cardmarket-link-summary-grid b {
    font-size: .64rem;
  }

  .cardmarket-link-form {
    gap: 8px;
  }

  .cardmarket-link-form .card-search-field,
  .cardmarket-link-form .catalog-proposal-note {
    gap: 4px;
  }

  .cardmarket-link-form input[type="url"] {
    min-height: 38px;
    padding: 7px 9px;
  }

  .cardmarket-link-form textarea {
    min-height: 54px;
    padding: 7px 9px;
  }

  .cardmarket-link-form .card-search-field small {
    font-size: .62rem;
    line-height: 1.25;
  }

  .cardmarket-link-form-actions {
    gap: 8px;
  }

  .cardmarket-link-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

.card-reference-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.14);
  color: #bae6fd;
  font-size: 0.65rem;
  font-weight: 800;
}

.card-reference-status--confirmed {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(6, 95, 70, 0.18);
  color: #a7f3d0;
}

.card-reference-status--generic,
.card-reference-status--missing {
  border-color: rgba(251, 191, 36, 0.26);
  background: rgba(120, 53, 15, 0.18);
  color: #fde68a;
}

.card-reference-generic-note {
  margin: 9px 0 0;
  color: #b8c4d6;
  font-size: 0.7rem;
  line-height: 1.4;
}

.catalog-proposal-cardmarket {
  grid-column: 1 / -1;
}

.catalog-proposal-cardmarket small {
  display: block;
  margin-top: 5px;
  color: #8da1bb;
  font-size: 0.68rem;
  line-height: 1.35;
}

.catalog-proposal-remove-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #b8c4d6;
  font-size: 0.75rem;
}

.catalog-proposal-remove-link input {
  width: 17px;
  height: 17px;
}

.catalog-proposal-success-dialog {
  width: min(420px, calc(100vw - 28px));
  max-width: 420px;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 28px 24px 24px;
  overflow: auto;
  border: 1px solid rgba(94, 234, 212, 0.34);
  border-radius: 8px;
  background: #0b1727;
  color: #f8fafc;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
}

.catalog-proposal-success-dialog::backdrop {
  background: rgba(0, 5, 14, 0.84);
  backdrop-filter: blur(7px);
}

.catalog-proposal-success-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border: 1px solid rgba(94, 234, 212, 0.42);
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.16);
  color: #99f6e4;
}

.catalog-proposal-success-icon svg {
  width: 26px;
  height: 26px;
}

.catalog-proposal-success-dialog > small {
  color: #7dd3fc;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-proposal-success-dialog h2 {
  margin: 6px 0 10px;
  font-size: 1.45rem;
}

.catalog-proposal-success-dialog p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.5;
}

.catalog-proposal-success-delivery {
  margin-top: 10px !important;
  color: #a7f3d0 !important;
  font-size: 0.75rem !important;
}

.catalog-proposal-success-delivery.is-warning {
  color: #fde68a !important;
}

.catalog-proposal-success-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 20px;
  border: 1px solid rgba(94, 234, 212, 0.38);
  border-radius: 8px;
  background: #0f766e;
  color: #f0fdfa;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 700px) {
  .card-detail-market-cta {
    min-height: 58px;
  }

  .card-price-reference-row {
    align-items: flex-start;
  }

  .card-price-reference-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .card-price-main .card-price-reference-cta,
  .card-price-main .card-price-reference-correction {
    flex: 1 1 auto;
  }

}
/* =======================================================
   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;
}

.social-post-launcher .nav-icon,
.social-post-launcher .nav-icon svg,
.collector-id-tab .nav-icon,
.collector-id-tab .nav-icon svg {
  height: 19px;
  width: 19px;
}

.social-post-launcher .nav-icon svg,
.collector-id-tab .nav-icon svg {
  fill: none;
}

/* 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-actions .collector-social-trigger {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(125, 211, 252, 0.4);
  color: #bfeeff;
}

.collector-id-actions .seller-social-trigger {
  background: rgba(180, 119, 25, 0.16);
  border-color: rgba(245, 190, 86, 0.42);
  color: #ffe5a8;
}

.collector-id-actions .collector-id-owner-action--settings {
  color: #d9e7fb;
}

.collector-id-actions .collector-id-owner-action--showoff {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(196, 181, 253, 0.38);
  color: #e7ddff;
}

.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 {
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 62px;
  line-height: 0.98;
  margin: 9px 0 12px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  width: 100%;
}

.collector-id-copy {
  min-width: 0;
}

.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-tab-icon {
  flex: 0 0 19px;
}

.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-studio-mark svg {
  height: 22px;
  width: 22px;
}

.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 {
  background: rgba(3, 8, 16, 0.84);
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.showoff-slot-caption {
  background: linear-gradient(180deg, transparent, rgba(3, 8, 16, 0.9) 35%);
  bottom: 0;
  display: grid;
  gap: 2px;
  left: 0;
  padding: 22px 8px 7px;
  position: absolute;
  right: 0;
}

.showoff-slot-caption strong,
.showoff-slot-caption small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showoff-slot-caption strong {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.showoff-slot-caption small {
  color: rgba(224, 234, 246, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showoff-slot-position {
  align-items: center;
  background: rgba(3, 8, 16, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(241, 247, 253, 0.76);
  display: inline-flex;
  font-size: 9px;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  left: 7px;
  position: absolute;
  top: 7px;
  width: 22px;
}

.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-editor-tab .nav-icon,
.showoff-publish-control .nav-icon {
  height: 19px;
  width: 19px;
}

.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 {
  display: flex;
  flex-direction: column;
  min-height: min(790px, calc(100vh - 130px));
  padding: 24px 30px 18px;
}

.showoff-public-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 3;
}

.showoff-public-owner {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.showoff-public-avatar {
  align-items: center;
  background: radial-gradient(circle at 35% 25%, #67d9ff, #193e67 64%, #0a182c);
  border: 1px solid rgba(239, 211, 145, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(71, 180, 255, 0.28);
  color: #f4d99b;
  display: inline-flex;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  width: 48px;
}

.showoff-public-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.showoff-public-owner-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.showoff-public-owner-copy em {
  color: rgba(225, 235, 246, 0.58);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showoff-public-owner-copy strong {
  color: #fff;
  font-size: 16px;
  max-width: min(48vw, 320px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showoff-public-actions {
  flex: 0 0 auto;
}

.showoff-public-actions .icon-glyph-control {
  background: rgba(9, 18, 32, 0.72);
  border-color: rgba(239, 211, 145, 0.32);
  height: 44px;
  width: 44px;
}

.showoff-public-actions .icon-glyph-control:hover,
.showoff-public-actions .icon-glyph-control:focus-visible {
  background: rgba(239, 211, 145, 0.16);
  border-color: rgba(239, 211, 145, 0.72);
}

.showoff-public-title {
  margin-top: 40px;
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.showoff-public-title h1 {
  font-size: clamp(28px, 4vw, 52px);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.showoff-public-title p {
  line-height: 1.45;
  max-width: 620px;
  overflow-wrap: anywhere;
}

.showoff-public-games {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.showoff-public-game-chip {
  background: rgba(8, 17, 31, 0.72);
  border: 1px solid rgba(239, 211, 145, 0.28);
  border-radius: 999px;
  color: rgba(241, 247, 253, 0.82);
  font-size: 10px;
  font-weight: 800;
  padding: 6px 10px;
}

.showoff-public-game-chip--pokemon { border-color: rgba(102, 229, 255, 0.42); color: #9feeff; }
.showoff-public-game-chip--onepiece { border-color: rgba(245, 200, 93, 0.44); color: #f6d88b; }
.showoff-public-game-chip--ygo { border-color: rgba(200, 140, 255, 0.44); color: #d6b1ff; }

.showoff-grid.showoff-grid--public {
  justify-content: center;
  left: auto;
  margin: 42px auto 34px;
  max-width: 760px;
  position: relative;
  top: auto;
  transform: none;
  width: 100%;
}

.showoff-grid--public .showoff-slot-art {
  aspect-ratio: 2.5 / 3.5;
}

.showoff-public-empty {
  align-items: center;
  background: rgba(5, 10, 22, 0.66);
  border: 1px solid rgba(239, 211, 145, 0.25);
  border-radius: 24px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  margin: 42px auto 34px;
  max-width: 620px;
  min-height: 300px;
  padding: 28px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.showoff-public-empty-mark {
  align-items: center;
  border: 1px solid rgba(239, 211, 145, 0.56);
  border-radius: 50%;
  color: #f2cf77;
  display: inline-flex;
  font-size: 28px;
  height: 54px;
  justify-content: center;
  margin-bottom: 16px;
  width: 54px;
}

.showoff-public-empty strong {
  color: #fff;
  font-size: 20px;
}

.showoff-public-empty p {
  color: rgba(226, 234, 243, 0.68);
  font-size: 13px;
  margin: 8px 0 18px;
}

.showoff-public-empty-link,
.showoff-public-footer-link {
  border: 1px solid rgba(239, 211, 145, 0.46);
  border-radius: 999px;
  color: #f4d99b;
  font-size: 11px;
  font-weight: 800;
  padding: 9px 13px;
  text-decoration: none;
}

.showoff-public-empty-link:hover,
.showoff-public-empty-link:focus-visible,
.showoff-public-footer-link:hover,
.showoff-public-footer-link:focus-visible {
  background: rgba(239, 211, 145, 0.14);
  border-color: rgba(239, 211, 145, 0.82);
}

.showoff-public-footer {
  align-items: center;
  bottom: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  left: auto;
  margin-top: auto;
  position: relative;
  right: auto;
  z-index: 2;
}

.showoff-public-footer-link {
  margin-left: auto;
  padding: 7px 11px;
}

.showoff-card-filter {
  margin-bottom: 5px;
}

.showoff-card-filter input {
  min-height: 42px;
}

.showoff-card-filter-hint {
  color: rgba(220, 231, 243, 0.54);
  font-size: 11px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.showoff-slot-editor-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.showoff-slot-editor-copy span {
  color: rgba(220, 231, 243, 0.54);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showoff-slot-editor-copy strong {
  color: #edf5fc;
  display: block;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showoff-slot-picker {
  display: block;
}

.showoff-slot-picker select {
  min-height: 38px;
}

/* 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);
  overflow-y: auto;
  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-sizing: border-box;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.62);
  max-height: 96vh;
  overflow-y: auto;
  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: min(62vh, 620px);
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.social-composer-preview canvas {
  display: block;
  height: min(62vh, 620px);
  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 svg {
  display: block;
  height: 42px;
  width: 42px;
}

.social-composer-loading[hidden] {
  display: none;
}

.social-composer-linkbox {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.social-composer-linkbox label,
.social-composer-destinations-head small {
  color: rgba(221, 231, 242, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-composer-linkfield {
  align-items: center;
  background: rgba(4, 10, 19, 0.72);
  border: 1px solid rgba(129, 194, 238, 0.25);
  border-radius: 13px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 42px;
  padding: 4px;
}

.social-composer-linkfield input {
  background: transparent;
  border: 0;
  color: rgba(235, 244, 252, 0.82);
  font-size: 12px;
  min-width: 0;
  outline: 0;
  padding: 9px 10px;
  text-overflow: ellipsis;
}

.social-composer-copy-icon {
  display: inline-flex;
  height: 18px;
  width: 18px;
}

.social-composer-copy-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.social-composer-destinations {
  background: rgba(11, 22, 38, 0.64);
  border: 1px solid rgba(205, 226, 247, 0.11);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
}

.social-composer-destinations-head {
  align-items: baseline;
  display: flex;
  gap: 8px;
}

.social-composer-destinations-head span {
  color: rgba(232, 240, 249, 0.76);
  font-size: 12px;
}

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

.social-composer-destination {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(205, 226, 247, 0.13);
  border-radius: 11px;
  color: rgba(239, 246, 252, 0.82);
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
  justify-content: center;
  min-height: 42px;
  min-width: 0;
  padding: 6px 8px;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.social-composer-destination:hover,
.social-composer-destination:focus-visible {
  background: rgba(111, 194, 238, 0.13);
  border-color: rgba(111, 194, 238, 0.48);
  transform: translateY(-1px);
}

.social-channel-mark {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 28px;
  justify-content: center;
  letter-spacing: 0;
  width: 28px;
}

.social-channel-mark svg {
  display: block;
  height: 17px;
  width: 17px;
}

.social-composer-destination--instagram .social-channel-mark svg { height: 18px; width: 18px; }
.social-composer-destination--facebook .social-channel-mark svg { height: 18px; width: 18px; }
.social-composer-destination--discord .social-channel-mark svg { height: 19px; width: 19px; }
.social-composer-destination--x .social-channel-mark svg { height: 17px; width: 17px; }
.social-composer-destination--tiktok .social-channel-mark svg { height: 19px; width: 19px; }
.social-composer-destination--youtube .social-channel-mark svg { height: 20px; width: 20px; }
.social-composer-destination--telegram .social-channel-mark svg,
.social-composer-destination--native .social-channel-mark svg { height: 18px; width: 18px; }

.social-composer-destination--whatsapp .social-channel-mark { background: rgba(35, 196, 101, 0.2); color: #63e49a; }
.social-composer-destination--instagram .social-channel-mark { background: linear-gradient(145deg, rgba(244, 92, 72, .32), rgba(173, 54, 193, .28)); color: #ffc0a4; }
.social-composer-destination--facebook .social-channel-mark { background: rgba(74, 123, 255, 0.2); color: #94b2ff; }
.social-composer-destination--discord .social-channel-mark { background: rgba(88, 101, 242, .24); color: #b9c0ff; }
.social-composer-destination--x .social-channel-mark { background: rgba(255, 255, 255, 0.13); color: #fff; }
.social-composer-destination--tiktok .social-channel-mark { background: rgba(37, 244, 238, .16); color: #9ef8f2; }
.social-composer-destination--youtube .social-channel-mark { background: rgba(255, 70, 70, .20); color: #ff9d9d; }
.social-composer-destination--telegram .social-channel-mark { background: rgba(63, 166, 235, 0.2); color: #8bd2ff; }
.social-composer-destination--native .social-channel-mark { background: rgba(238, 204, 128, 0.18); color: #f1d794; }

.social-composer-captionbox {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.social-composer-captionbox label {
  color: rgba(221, 231, 242, 0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-composer-captionfield {
  align-items: center;
  background: rgba(4, 10, 19, 0.72);
  border: 1px solid rgba(129, 194, 238, 0.18);
  border-radius: 13px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 42px;
  padding: 4px;
}

.social-composer-captionfield textarea {
  background: transparent;
  border: 0;
  color: rgba(235, 244, 252, 0.78);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
  min-height: 38px;
  outline: 0;
  padding: 8px 10px;
  resize: none;
  width: 100%;
}

.social-composer-action-buttons {
  align-items: center;
  display: flex;
  gap: 8px;
}

.social-composer-action {
  align-items: center;
  border: 1px solid rgba(205, 226, 247, 0.18);
  border-radius: 11px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 7px;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
}

.social-composer-action--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(235, 243, 251, 0.82);
}

.social-composer-action--primary {
  background: linear-gradient(145deg, #2a9ec9, #1955a2);
  border-color: rgba(145, 224, 255, 0.50);
  box-shadow: 0 10px 22px rgba(31, 117, 191, 0.24);
  color: #ffffff;
}

.social-composer-action:hover,
.social-composer-action:focus-visible {
  border-color: rgba(145, 224, 255, 0.72);
  transform: translateY(-1px);
}

.social-action-icon {
  display: inline-flex;
  height: 18px;
  width: 18px;
}

.social-composer-icon {
  display: inline-flex;
  height: 18px;
  width: 18px;
}

.social-action-icon svg,
.social-composer-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.social-composer-actions {
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 2px 0 8px;
}

.social-composer-actions > span {
  color: rgba(221, 231, 242, 0.55);
  font-size: 11px;
  flex: 1 1 150px;
}

.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: 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-public-stage {
    min-height: 760px;
    padding: 16px 14px 14px;
  }

  .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-control-deck .showoff-grid.editable {
    grid-template-columns: 1fr;
  }

  .showoff-control-deck .showoff-slot.editable {
    column-gap: 10px;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding: 8px;
  }

  .showoff-control-deck .showoff-slot.editable .showoff-slot-art {
    grid-row: 1 / span 2;
    width: 82px;
  }

  .showoff-control-deck .showoff-slot.editable .showoff-slot-editor-copy {
    align-self: end;
  }

  .showoff-control-deck .showoff-slot.editable .showoff-slot-picker {
    align-self: start;
  }

  .showoff-control-deck .showoff-slot.editable select {
    font-size: 11px;
    min-height: 38px;
    padding: 0 8px;
  }

  .showoff-public-header {
    left: auto;
    right: auto;
    top: auto;
  }

  .showoff-public-title {
    left: auto;
    margin-top: 28px;
    max-width: 100%;
    top: auto;
  }

  .showoff-public-footer {
    bottom: auto;
    font-size: 7px;
    left: auto;
    right: auto;
  }

  .showoff-grid.showoff-grid--public {
    gap: 10px;
    margin: 26px auto 24px;
    top: auto;
    transform: none;
    width: 100%;
  }

  .showoff-public-owner-copy strong {
    max-width: 52vw;
  }

  .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 {
    box-sizing: border-box;
    border-radius: 0;
    max-height: 100svh;
    min-height: 100svh;
    overflow-y: auto;
    padding: 10px;
  }

  .social-composer-preview {
    max-height: min(48svh, 480px);
    min-height: 240px;
  }

  .social-composer-preview canvas {
    height: min(48svh, 480px);
  }

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

  .social-composer-action-buttons {
    flex: 1 1 100%;
    width: 100%;
  }

  .social-composer-action {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
  }
}

@media (max-width: 600px) {
  .showoff-grid.showoff-grid--public {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 480px;
  }

  .showoff-public-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .showoff-public-footer-link {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-composer-loading {
    animation: none;
  }
}
.live-hub-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 6px 0 18px;
}

.live-hub-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
}

.live-hub-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.live-hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(124, 160, 255, 0.18);
  background: rgba(12, 20, 38, 0.72);
  color: rgba(223, 234, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-hub-hero-title h1 {
  margin: 0;
  font-size: clamp(1.65rem, 4.2vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.live-hub-hero-title p {
  margin: 8px 0 0;
  max-width: 52rem;
  color: rgba(214, 223, 238, 0.84);
  font-size: 0.98rem;
  line-height: 1.45;
}

.live-hub-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.live-hub-tabs::-webkit-scrollbar {
  display: none;
}

.live-hub-tab {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(124, 160, 255, 0.18);
  background: rgba(13, 20, 38, 0.82);
  color: rgba(225, 233, 246, 0.76);
  flex: 0 0 auto;
}

.live-hub-tab.is-active {
  background: linear-gradient(135deg, rgba(101, 141, 255, 0.24), rgba(139, 84, 255, 0.28));
  border-color: rgba(128, 175, 255, 0.42);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(74, 140, 255, 0.16) inset;
}

.live-hub-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.live-hub-stack {
  display: grid;
  gap: 18px;
}

.live-hub-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.live-hub-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.live-hub-chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(124, 160, 255, 0.18);
  font-size: 0.82rem;
}

.live-hub-chip--active {
  background: rgba(63, 191, 157, 0.14);
  border-color: rgba(63, 191, 157, 0.36);
  color: #d7ffee;
}

.live-hub-chip--muted {
  background: rgba(13, 20, 38, 0.72);
  color: rgba(223, 234, 255, 0.76);
}

.live-hub-empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(124, 160, 255, 0.18);
  background: rgba(11, 17, 31, 0.68);
}

.live-hub-empty strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.live-hub-empty p {
  margin: 0;
  color: rgba(214, 223, 238, 0.82);
  line-height: 1.45;
}

.live-hub-actions {
  flex-wrap: wrap;
}

.live-hub-end-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(248, 113, 113, 0.16);
  border-radius: 18px;
  background: rgba(34, 15, 27, 0.46);
}

.live-hub-end-zone p {
  margin: 4px 0 0;
  color: rgba(214, 223, 238, 0.68);
  font-size: 0.78rem;
  line-height: 1.35;
}

.live-hub-end-kicker {
  color: rgba(255, 185, 199, 0.76);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-hub-search-form {
  margin: 0;
}

.live-studio-search-panel {
  gap: 14px;
}

.live-studio-search-form,
.live-studio-search-results {
  display: grid;
  gap: 14px;
}

[data-live-studio-search-host].is-searching .live-studio-search-results {
  opacity: 0.58;
  transition: opacity 140ms ease;
}

.live-studio-search-tcg,
.live-studio-search-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.live-studio-search-tcg {
  grid-template-columns: minmax(0, 1fr);
}

.live-studio-search-inline-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.live-studio-search-field,
.live-studio-search-inline-filters .card-search-field {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: rgba(214, 225, 244, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.live-studio-search-field input,
.live-studio-search-field select,
.live-studio-search-inline-filters .card-search-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(124, 160, 255, 0.18);
  border-radius: 12px;
  background: rgba(8, 15, 29, 0.86);
  color: #f4f7ff;
  font: inherit;
  font-weight: 600;
}

.live-studio-search-field--query {
  grid-column: span 2;
}

.live-studio-search-results {
  padding-top: 2px;
}

.live-studio-search-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.live-studio-search-results-head > div {
  display: grid;
  gap: 3px;
}

.live-studio-search-results-head small,
.live-studio-search-results-hint {
  color: rgba(191, 207, 232, 0.68);
  font-size: 0.74rem;
}

.live-studio-search-results-hint {
  text-align: right;
}

.live-studio-search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.live-studio-search-results-grid .search-result-card {
  min-width: 0;
  gap: 6px;
  padding: 5px !important;
  border-radius: 11px !important;
  background: rgba(15, 27, 48, 0.82) !important;
  border-color: rgba(123, 159, 219, 0.18) !important;
}

.live-studio-search-results-grid .search-result-card--compact .collection-binder-thumb {
  aspect-ratio: 0.7;
  padding: 2px;
  border-radius: 9px;
  background: rgba(6, 13, 27, 0.72);
}

.live-studio-search-results-grid .search-result-card--compact .collection-binder-thumb img {
  border-radius: 7px;
  object-fit: contain;
}

.live-studio-search-card-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 0 2px;
}

.live-studio-search-card-copy strong,
.live-studio-search-card-copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-studio-search-card-copy strong {
  color: #f3f7ff;
  font-size: 0.76rem;
  line-height: 1.15;
}

.live-studio-search-card-copy small {
  color: rgba(196, 212, 237, 0.7);
  font-size: 0.63rem;
  line-height: 1.15;
}

.live-studio-search-card-copy .live-studio-search-card-price {
  color: #aaf5df;
  font-weight: 750;
}

.live-studio-search-card-price span {
  color: rgba(196, 212, 237, 0.56);
  font-weight: 600;
}

.live-studio-search-results-grid .search-result-quick-action--live {
  width: 100%;
  justify-content: center;
}

.live-studio-search-results-grid .search-result-live-feature-form .search-result-quick-action--live {
  min-height: 34px;
  border-radius: 9px;
  font-size: 0.68rem;
}

.live-studio-search-empty {
  min-height: 88px;
}

.live-studio-search-pager {
  justify-content: center;
}

.live-hub-platform-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.live-hub-platform-form {
  margin: 0;
}

.live-hub-start-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(124, 160, 255, 0.18);
  border-radius: 999px;
  color: rgba(225, 233, 246, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
}

.live-hub-start-chip--primary {
  background: linear-gradient(135deg, rgba(101, 141, 255, 0.22), rgba(139, 84, 255, 0.24));
  border-color: rgba(128, 175, 255, 0.4);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(74, 140, 255, 0.12) inset;
}

.live-hub-start-chip--secondary {
  background: rgba(13, 20, 38, 0.72);
}

.live-hub-platform-note {
  margin: 8px 0 0;
  color: rgba(214, 223, 238, 0.74);
  font-size: 0.78rem;
  line-height: 1.35;
}

.live-hub-panel--search .quick-search-actions {
  margin-top: 2px;
}

.live-hub-inline-form {
  margin: 0;
}

.search-result-quick-action--live {
  color: #d8f8ff;
  box-shadow: 0 0 0 1px rgba(97, 208, 255, 0.16) inset;
  background: linear-gradient(180deg, rgba(18, 29, 57, 0.92), rgba(12, 20, 39, 0.92));
}

.search-result-quick-action--live [data-search-action-icon] {
  color: #7fe8ff;
}

.search-result-quick-action--live.is-featured,
.search-result-quick-action--live:disabled {
  border-color: rgba(92, 225, 191, 0.42);
  background: linear-gradient(180deg, rgba(28, 119, 105, 0.86), rgba(16, 75, 74, 0.9));
  color: #cffff1;
  cursor: default;
  opacity: 1;
}

.search-result-quick-action--live.is-featured [data-search-action-icon],
.search-result-quick-action--live:disabled [data-search-action-icon] {
  color: #8ff2d5;
}

.live-session-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(124, 160, 255, 0.16);
  background: linear-gradient(180deg, rgba(10, 16, 31, 0.84), rgba(14, 20, 36, 0.92));
  box-shadow: 0 20px 48px rgba(3, 7, 16, 0.28);
}

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

.live-session-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(122, 186, 255, 0.28);
  background: rgba(9, 14, 28, 0.9);
  box-shadow: 0 0 0 1px rgba(88, 149, 255, 0.14) inset;
}

.live-session-avatar--fallback {
  display: grid;
  place-items: center;
  color: rgba(231, 240, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.live-session-card-kicker {
  color: rgba(155, 185, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-session-card-copy strong {
  font-size: 1.02rem;
  line-height: 1.15;
}

.live-session-card-copy small,
.live-session-card-meta {
  color: rgba(214, 223, 238, 0.78);
}

.live-session-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.8rem;
}

.live-session-card-meta strong {
  color: #eef7ff;
  font-weight: 800;
}

.live-feature-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(124, 160, 255, 0.14);
  background: rgba(11, 17, 31, 0.74);
}

.live-feature-card-thumb {
  width: 96px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(126, 174, 255, 0.16);
  background: rgba(8, 12, 22, 0.88);
}

.live-feature-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-feature-empty-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(229, 236, 247, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, rgba(29, 44, 76, 0.84), rgba(12, 18, 32, 0.9));
}

.live-feature-card-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.live-feature-card-copy strong {
  font-size: 1rem;
  line-height: 1.15;
}

.live-feature-card-copy p {
  margin: 0;
  color: rgba(214, 223, 238, 0.8);
  line-height: 1.35;
}

.live-feature-card-price {
  color: #aaf5df;
  font-weight: 750;
}

.live-current-card-clear-form {
  justify-self: start;
  margin: 0;
}

.live-current-card-clear {
  min-height: 30px;
  padding: 0 8px;
  color: rgba(224, 235, 250, 0.64);
  font-size: 0.7rem;
}

.live-current-card-clear:hover,
.live-current-card-clear:focus-visible {
  color: #fff;
}

.live-feature-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.live-feature-history-item {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.live-feature-history-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 17px;
  padding: 0 3px;
}

.live-feature-history-item-head small {
  min-width: 0;
  overflow: hidden;
  color: rgba(191, 207, 232, 0.58);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-feature-video-time {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  color: #aaf5df;
  font-size: 0.7rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.live-feature-video-time .nav-icon,
.live-feature-video-time .nav-icon svg {
  width: 13px;
  height: 13px;
  flex-basis: 13px;
}

.live-feature-history-item > small {
  padding: 0 3px;
  color: rgba(191, 207, 232, 0.58);
  font-size: 0.68rem;
}

.live-feature-card--history {
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 86px;
  padding: 7px;
  border-radius: 13px;
}

.live-feature-card--history .live-feature-card-thumb {
  width: 64px;
  border-radius: 8px;
}

.live-feature-card--history .live-feature-card-copy {
  gap: 3px;
}

.live-feature-card--history .live-feature-card-copy strong {
  font-size: 0.78rem;
}

.live-feature-card--history .live-feature-card-copy p,
.live-feature-card--history .live-feature-card-price {
  font-size: 0.68rem;
}

.live-feature-card--history .tag-row {
  gap: 4px;
}

.live-feature-card--history .tag-row .tag,
.live-feature-card--history .tag-row .code {
  font-size: 0.58rem;
}

.live-history-replay-form {
  margin: 0;
}

.live-history-replay {
  min-height: 30px;
  width: 100%;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  font-size: 0.68rem;
}

.live-feature-history-count {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  min-height: 26px;
  padding: 0 7px;
  border: 1px solid rgba(126, 161, 222, 0.2);
  border-radius: 999px;
  background: rgba(20, 32, 55, 0.72);
  color: rgba(225, 236, 252, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
}

.live-studio-feedback {
  min-height: 0;
}

.live-studio-feedback-message {
  margin: 0;
}

.live-feature-empty {
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(124, 160, 255, 0.18);
  background: rgba(11, 17, 31, 0.68);
  color: rgba(214, 223, 238, 0.82);
}

.live-card-studio-link {
  justify-self: start;
  margin-top: 2px;
}

@media (max-width: 920px) {
  .live-hub-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .live-hub-shell {
    gap: 14px;
  }

  .live-hub-hero {
    padding: 16px;
  }

  .live-hub-tab {
    flex: 1 1 0;
    justify-content: center;
  }

  .live-session-card-head,
  .live-feature-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-session-card-head {
    align-items: start;
  }

  .live-session-avatar {
    width: 52px;
    height: 52px;
  }

  .live-feature-card-thumb {
    width: 100%;
    max-width: 140px;
  }

  .live-hub-platform-picker {
    gap: 6px;
  }

  .live-hub-start-chip {
    min-height: 32px;
    padding: 0 11px;
    font-size: 0.76rem;
  }
}

/* Viewer directory: one compact row per live keeps five simultaneous streams scannable. */
.live-hub-stream-link-field {
  display: grid;
  gap: 5px;
  max-width: 560px;
  margin: 2px 0 4px;
}

.live-hub-stream-link-field > span {
  color: rgba(196, 214, 242, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-hub-stream-link-field input {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(126, 161, 222, 0.24);
  border-radius: 12px;
  background: rgba(5, 11, 22, 0.5);
  color: #eef7ff;
}

.live-hub-stream-link-field small {
  color: rgba(190, 207, 232, 0.62);
  font-size: 0.72rem;
  line-height: 1.3;
}

.live-session-card--directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 12px;
  padding: 13px;
}

.live-session-card--directory .live-session-card-head {
  grid-column: 1 / -1;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.live-session-card--directory .live-session-card-context {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.live-session-card--directory .live-session-platform-row,
.live-session-card--directory .live-session-game-row {
  min-width: 0;
}

.live-session-card--directory .live-platform-chip,
.live-session-card--directory .live-hub-game-chip {
  min-height: 24px;
  padding: 0 7px;
  font-size: 0.64rem;
}

.live-session-card--directory .live-hub-game-logo {
  width: 34px;
  height: 14px;
}

.live-session-card--directory .live-hub-game-badge {
  width: 19px;
  height: 15px;
  font-size: 0.5rem;
}

.live-directory-feature {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 8px 6px 6px;
  border: 1px solid rgba(91, 220, 200, 0.2);
  border-radius: 12px;
  background: rgba(28, 67, 76, 0.2);
}

.live-directory-feature-image {
  width: 38px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(9, 17, 32, 0.7);
}

.live-directory-feature-image--empty {
  border: 1px dashed rgba(126, 161, 222, 0.2);
}

.live-directory-feature-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.live-directory-feature-copy span,
.live-directory-feature-copy small {
  color: rgba(187, 207, 234, 0.62);
  font-size: 0.62rem;
}

.live-directory-feature-copy strong,
.live-directory-feature-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-directory-feature-copy strong {
  color: #eef7ff;
  font-size: 0.72rem;
}

.live-directory-feature--empty {
  display: flex;
  min-height: 52px;
  color: rgba(190, 207, 232, 0.62);
  font-size: 0.67rem;
}

.live-directory-action-wrap {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.live-session-card--directory .live-directory-action {
  min-height: 34px;
  padding: 0 10px;
  white-space: nowrap;
  font-size: 0.7rem;
}

.live-hub-archive {
  background:
    radial-gradient(circle at 12% 0%, rgba(82, 225, 191, 0.1), transparent 27%),
    linear-gradient(160deg, rgba(16, 29, 49, 0.96), rgba(7, 14, 27, 0.98));
}

.live-hub-directory-count--archive {
  border-color: rgba(82, 225, 191, 0.24);
  background: rgba(49, 164, 142, 0.1);
  color: #c8fff1;
}

.live-session-card--archived {
  border-color: rgba(126, 161, 222, 0.16);
  background: linear-gradient(165deg, rgba(17, 29, 49, 0.96), rgba(8, 15, 28, 0.96));
}

.live-session-ended-indicator {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid rgba(126, 161, 222, 0.24);
  border-radius: 999px;
  background: rgba(38, 57, 89, 0.34);
  color: rgba(218, 231, 250, 0.82);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-session-ended-indicator .nav-icon,
.live-session-ended-indicator .nav-icon svg {
  width: 13px;
  height: 13px;
  flex-basis: 13px;
}

.live-directory-archive-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  color: rgba(187, 207, 234, 0.62);
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
}

.live-directory-archive-meta span,
.live-directory-archive-meta strong {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}

.live-directory-archive-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-directory-archive-meta strong {
  color: #aaf5df;
  font-size: 0.64rem;
}

.live-directory-archive-meta .nav-icon,
.live-directory-archive-meta .nav-icon svg {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
}

@media (max-width: 640px) {
  .live-hub-stream-link-field {
    max-width: none;
  }

  .live-hub-directory {
    gap: 13px;
    padding: 14px;
    border-radius: 21px;
  }

  .live-hub-section-head {
    align-items: flex-start;
    gap: 10px;
  }

  .live-hub-section-head p {
    display: none;
  }

  .live-hub-directory-grid {
    gap: 9px;
  }

  .live-session-card--directory {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 9px;
    padding: 10px;
    border-radius: 16px;
  }

  .live-session-card--directory .live-session-card-kicker {
    display: none;
  }

  .live-session-card--directory .live-session-card-copy strong {
    font-size: 0.86rem;
  }

  .live-session-card--directory .live-session-card-copy small {
    font-size: 0.68rem;
  }

  .live-session-card--directory .live-session-avatar {
    width: 40px;
    height: 40px;
  }

  .live-session-card--directory .live-session-live-indicator,
  .live-session-card--directory .live-session-ended-indicator {
    min-height: 22px;
    padding: 0 6px;
    font-size: 0.58rem;
  }

  .live-session-card--directory .live-platform-chip,
  .live-session-card--directory .live-hub-game-chip {
    min-height: 22px;
    font-size: 0.59rem;
  }

  .live-directory-feature {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 7px;
    padding: 4px 6px 4px 4px;
  }

  .live-directory-feature-image {
    width: 31px;
    height: 43px;
  }

  .live-directory-feature-copy strong {
    font-size: 0.65rem;
  }

  .live-directory-feature-copy span,
  .live-directory-feature-copy small {
    font-size: 0.56rem;
  }

  .live-session-card--directory .live-directory-action {
    min-height: 31px;
    padding: 0 8px;
    font-size: 0.64rem;
  }
}

/* Guided Studio flow */
.live-hub-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: rgba(165, 194, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-hub-panel-kicker .nav-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.live-hub-panel-kicker .nav-icon svg {
  width: 14px;
  height: 14px;
}

.live-hub-start-primary {
  display: flex;
}

.live-hub-start-primary .live-hub-platform-form {
  width: 100%;
}

.live-hub-start-primary .live-hub-start-chip {
  width: 100%;
  min-height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(67, 174, 255, 0.92), rgba(103, 74, 235, 0.94));
  border-color: rgba(139, 195, 255, 0.55);
  box-shadow: 0 14px 28px rgba(45, 111, 221, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.9rem;
}

.live-studio-start-block {
  display: grid;
  gap: 12px;
}

.live-studio-start-copy {
  margin: 0;
  color: rgba(214, 223, 238, 0.76);
  font-size: 0.84rem;
  line-height: 1.4;
}

.live-twitch-start-dialog {
  width: min(480px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: 0;
  border: 1px solid rgba(126, 161, 222, 0.3);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(22, 35, 59, 0.98), rgba(8, 15, 29, 0.99));
  color: #f3f7ff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(112, 164, 255, 0.08) inset;
}

.live-twitch-start-dialog::backdrop {
  background: rgba(2, 7, 17, 0.72);
  backdrop-filter: blur(5px);
}

.live-twitch-start-dialog-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.live-twitch-start-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.live-twitch-start-dialog-head h2 {
  margin: 6px 0 0;
  font-size: 1.25rem;
  line-height: 1.12;
}

.live-twitch-start-dialog-close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  border: 1px solid rgba(126, 161, 222, 0.2);
  border-radius: 12px;
  background: rgba(8, 15, 29, 0.56);
  color: rgba(226, 235, 249, 0.84);
  cursor: pointer;
}

.live-twitch-start-dialog-copy {
  margin: 0;
  color: rgba(214, 223, 238, 0.76);
  font-size: 0.86rem;
  line-height: 1.45;
}

.live-twitch-start-dialog-actions {
  display: grid;
  gap: 10px;
}

.live-twitch-start-dialog-actions .button-link,
.live-twitch-start-dialog-actions .live-hub-platform-form,
.live-twitch-start-dialog-actions .live-hub-start-chip {
  width: 100%;
}

.live-twitch-start-dialog-actions .button-link,
.live-twitch-start-dialog-actions .live-hub-start-chip {
  min-height: 46px;
  justify-content: center;
  border-radius: 14px;
}

.live-hub-platform-options {
  margin-top: 8px;
}

.live-hub-platform-options summary {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(126, 161, 222, 0.18);
  border-radius: 13px;
  background: rgba(10, 18, 33, 0.54);
  color: rgba(218, 229, 246, 0.78);
  cursor: pointer;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 750;
}

.live-hub-platform-options summary::-webkit-details-marker {
  display: none;
}

.live-hub-platform-options summary .live-hub-platform-options-chevron {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
  margin-left: auto;
  transition: transform 160ms ease;
}

.live-hub-platform-options[open] summary .live-hub-platform-options-chevron {
  transform: rotate(180deg);
}

.live-hub-platform-options-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 9px 2px 0;
}

.live-hub-platform-options-list .live-hub-platform-form {
  flex: 1 1 100px;
}

.live-hub-platform-options-list .live-hub-start-chip {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 12px;
}

.live-hub-panel--locked {
  border-style: dashed;
  background: linear-gradient(160deg, rgba(15, 27, 47, 0.82), rgba(8, 15, 28, 0.9));
}

.live-hub-next-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(126, 161, 222, 0.18);
  border-radius: 16px;
  background: rgba(5, 11, 22, 0.44);
}

.live-hub-next-step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(71, 170, 255, 0.78), rgba(117, 82, 234, 0.84));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.live-hub-next-step strong {
  display: block;
  margin-top: 2px;
  color: #f2f6ff;
  font-size: 0.84rem;
}

.live-hub-next-step p {
  margin: 5px 0 0;
  color: rgba(201, 215, 237, 0.72);
  font-size: 0.78rem;
  line-height: 1.4;
}

.search-result-action-row--live {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

.search-result-live-feature-form {
  width: 100%;
  margin: 0;
}

.search-result-live-feature-form .search-result-quick-action--live {
  align-items: center !important;
  display: inline-flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  min-width: 0 !important;
  width: 100%;
  min-height: 38px;
  gap: 4px;
  padding: 0 4px !important;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(54, 187, 178, 0.86), rgba(26, 128, 165, 0.9));
  border-color: rgba(105, 239, 220, 0.4);
  color: #effffb;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1 !important;
  overflow: hidden !important;
  white-space: nowrap;
}

.search-result-live-feature-form .search-result-quick-action--live > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-live-feature-form .search-result-quick-action--live:hover {
  box-shadow: 0 10px 20px rgba(28, 158, 153, 0.2);
}

.search-result-live-feature-form .search-result-quick-action--live [data-search-action-icon] {
  display: inline-flex;
  width: 15px;
  min-width: 15px !important;
  flex: 0 0 15px;
  height: 15px;
}

.search-result-live-feature-form .search-result-quick-action--live [data-search-action-icon] svg {
  width: 15px;
  height: 15px;
}

/* The card-search page has a compact action bar with stronger selectors.
   Keep the live action readable and contained inside that bar on mobile. */
body.page-search .card-search-results-shell .search-result-action-row--live {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

body.page-search .card-search-results-shell .search-result-live-feature-form .search-result-quick-action--live {
  align-items: center !important;
  display: inline-flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 38px !important;
  gap: 4px !important;
  padding: 0 4px !important;
  border-radius: 12px !important;
  font-size: 0.72rem !important;
  line-height: 1 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

body.page-search .card-search-results-shell .search-result-live-feature-form .search-result-quick-action--live [data-search-action-icon] {
  display: inline-flex !important;
  width: 15px !important;
  min-width: 15px !important;
  flex: 0 0 15px !important;
  height: 15px !important;
  font-size: 15px !important;
}

body.page-search .card-search-results-shell .search-result-live-feature-form .search-result-quick-action--live > span:last-child {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  .live-hub-platform-options-list .live-hub-platform-form {
    flex-basis: calc(50% - 4px);
  }
}

/* Live directory and studio hierarchy */
.live-hub-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.live-hub-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 74, 111, 0.12), transparent 22%),
    linear-gradient(145deg, rgba(18, 29, 52, 0.98), rgba(8, 15, 28, 0.98));
  border-color: rgba(126, 161, 222, 0.25);
  box-shadow: 0 24px 56px rgba(2, 7, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.live-hub-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -64px;
  top: -84px;
  border: 1px solid rgba(255, 91, 122, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 91, 122, 0.035), 0 0 0 44px rgba(255, 91, 122, 0.025);
  pointer-events: none;
}

.live-hub-hero-copy,
.live-hub-tabs {
  position: relative;
  z-index: 1;
}

.live-hub-kicker {
  background: rgba(255, 61, 99, 0.1);
  border-color: rgba(255, 109, 135, 0.28);
  color: #ffdce4;
}

.live-hub-kicker .nav-icon {
  color: #ff718d;
}

.live-hub-hero-title h1 {
  letter-spacing: 0;
}

.live-hub-tabs {
  align-self: flex-start;
  padding: 4px;
  border: 1px solid rgba(125, 158, 215, 0.16);
  border-radius: 18px;
  background: rgba(5, 11, 23, 0.58);
}

.live-hub-tab {
  min-height: 40px;
  border: 0;
  border-radius: 13px;
  background: transparent;
}

.live-hub-tab.is-active {
  background: linear-gradient(135deg, rgba(57, 151, 255, 0.38), rgba(127, 79, 255, 0.38));
  box-shadow: 0 7px 18px rgba(35, 104, 214, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.live-hub-grid--studio {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: start;
}

.live-hub-grid--studio-idle {
  grid-template-columns: minmax(0, 1fr);
}

.live-hub-panel--status,
.live-hub-panel--featured,
.live-hub-panel--search {
  background: linear-gradient(160deg, rgba(20, 33, 56, 0.93), rgba(9, 16, 30, 0.96));
  border-color: rgba(126, 161, 222, 0.2);
}

.live-hub-panel--search .quick-search-form {
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
}

.live-hub-panel--search .quick-search-game,
.live-hub-panel--search .quick-search-input {
  min-width: 0;
}

.live-hub-panel--search .quick-search-input input,
.live-hub-panel--search .quick-search-game select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.live-hub-panel--search .quick-search-actions {
  width: 100%;
  justify-content: stretch;
  gap: 8px;
}

.live-hub-panel--search .quick-search-actions > * {
  flex: 1 1 0;
  min-width: 0;
}

.live-hub-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(117, 148, 203, 0.16);
  border-radius: 16px;
  background: rgba(5, 11, 22, 0.42);
}

.live-hub-status-item,
.live-hub-twitch-status {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.live-hub-status-item {
  color: rgba(228, 237, 250, 0.82);
  background: rgba(37, 65, 110, 0.35);
  border: 1px solid rgba(116, 159, 238, 0.22);
}

.live-hub-status-item strong {
  color: #fff;
}

.live-hub-status-item-dot,
.live-hub-live-dot,
.live-session-live-indicator > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #ff5578;
  box-shadow: 0 0 0 4px rgba(255, 85, 120, 0.13), 0 0 12px rgba(255, 85, 120, 0.6);
}

.live-hub-status-item-dot {
  background: #52e1bf;
  box-shadow: 0 0 0 4px rgba(82, 225, 191, 0.11), 0 0 12px rgba(82, 225, 191, 0.5);
}

.live-hub-status-item--idle .live-hub-status-item-dot {
  background: #8a98ad;
  box-shadow: 0 0 0 4px rgba(138, 152, 173, 0.1), 0 0 10px rgba(138, 152, 173, 0.22);
}

.live-hub-twitch-status {
  border: 1px solid rgba(145, 113, 255, 0.24);
  background: rgba(103, 73, 199, 0.16);
  color: #ddd6ff;
}

.live-hub-twitch-status--muted {
  border-color: rgba(133, 153, 190, 0.18);
  background: rgba(19, 29, 49, 0.62);
  color: rgba(218, 228, 243, 0.72);
}

.live-hub-twitch-status--connected {
  border-color: rgba(105, 217, 196, 0.32);
  background: rgba(49, 164, 142, 0.14);
  color: #c8fff1;
}

.live-hub-twitch-status .nav-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

.live-hub-twitch-status .nav-icon svg {
  width: 15px;
  height: 15px;
}

.live-hub-directory {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(126, 161, 222, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 0%, rgba(96, 127, 255, 0.13), transparent 27%),
    linear-gradient(160deg, rgba(18, 30, 52, 0.96), rgba(7, 14, 27, 0.98));
  box-shadow: 0 24px 58px rgba(2, 7, 18, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.live-hub-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.live-hub-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(178, 199, 235, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-hub-section-head h2 {
  margin: 6px 0 5px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.05;
}

.live-hub-section-head p {
  max-width: 640px;
  margin: 0;
  color: rgba(211, 223, 241, 0.72);
  line-height: 1.4;
}

.live-hub-directory-count {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 91, 122, 0.25);
  border-radius: 999px;
  background: rgba(255, 61, 99, 0.1);
  color: #ffcbd6;
  font-size: 0.78rem;
  font-weight: 800;
}

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

.live-hub-directory-grid > .live-hub-empty {
  grid-column: 1 / -1;
}

.live-hub-directory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
  color: rgba(191, 207, 232, 0.64);
  font-size: 0.78rem;
}

.live-hub-directory-footer .button-row {
  flex: 0 0 auto;
}

.live-hub-empty {
  min-height: 112px;
  align-content: center;
  border-color: rgba(126, 161, 222, 0.22);
  background: linear-gradient(135deg, rgba(24, 39, 67, 0.72), rgba(8, 15, 29, 0.82));
}

.live-hub-empty strong {
  color: #f5f8ff;
}

.live-session-card {
  min-width: 0;
  gap: 13px;
  padding: 16px;
  border-radius: 20px;
  border-color: rgba(126, 161, 222, 0.2);
  background: linear-gradient(165deg, rgba(19, 32, 56, 0.98), rgba(8, 15, 29, 0.96));
  box-shadow: 0 18px 40px rgba(2, 7, 18, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.live-session-card-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.live-session-card-avatar {
  display: grid;
  place-items: center;
}

.live-session-avatar {
  width: 50px;
  height: 50px;
}

.live-session-card-kicker {
  color: rgba(159, 191, 255, 0.8);
}

.live-session-card-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-session-card-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-session-live-indicator {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid rgba(255, 87, 119, 0.34);
  border-radius: 999px;
  background: rgba(255, 61, 99, 0.14);
  color: #ffb9c7;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.live-session-card-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.live-session-platform-row,
.live-session-game-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.live-platform-chip,
.live-hub-game-chip {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid rgba(126, 161, 222, 0.22);
  border-radius: 999px;
  background: rgba(9, 17, 32, 0.72);
  color: rgba(221, 232, 249, 0.82);
  font-size: 0.7rem;
  font-weight: 750;
}

.live-platform-chip--active {
  border-color: rgba(105, 217, 196, 0.28);
  background: rgba(49, 164, 142, 0.12);
  color: #c8fff1;
}

.live-platform-chip--source {
  border-color: rgba(145, 113, 255, 0.24);
  background: rgba(103, 73, 199, 0.13);
  color: #ddd6ff;
}

.live-platform-chip .nav-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.live-platform-chip .nav-icon svg {
  width: 14px;
  height: 14px;
}

.live-hub-game-chip {
  border-color: rgba(108, 149, 226, 0.23);
  background: rgba(39, 63, 109, 0.26);
}

.live-hub-game-chip--muted {
  color: rgba(203, 216, 237, 0.62);
}

.live-hub-game-logo {
  width: 42px;
  height: 16px;
  object-fit: contain;
}

.live-hub-game-badge {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 17px;
  border-radius: 4px;
  background: rgba(111, 134, 255, 0.3);
  color: #fff;
  font-size: 0.57rem;
  font-weight: 900;
}

.live-session-card-now {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(126, 161, 222, 0.18);
  border-radius: 16px;
  background: rgba(5, 11, 22, 0.42);
}

.live-session-card-now-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(231, 239, 251, 0.88);
}

.live-session-card-now-head strong {
  font-size: 0.79rem;
  letter-spacing: 0.02em;
}

.live-session-card-now-head span {
  color: rgba(182, 202, 232, 0.65);
  font-size: 0.7rem;
}

.live-feature-card {
  grid-template-columns: 80px minmax(0, 1fr);
  min-width: 0;
  padding: 9px;
  border-color: rgba(126, 161, 222, 0.18);
  background: rgba(18, 30, 52, 0.68);
}

.live-feature-card--prominent {
  grid-template-columns: 98px minmax(0, 1fr);
  padding: 10px;
  border-color: rgba(91, 220, 200, 0.28);
  background: linear-gradient(135deg, rgba(28, 67, 76, 0.42), rgba(15, 28, 47, 0.78));
  box-shadow: inset 3px 0 0 rgba(81, 218, 194, 0.8);
}

.live-feature-card-thumb {
  width: 80px;
  border-radius: 10px;
}

.live-feature-card--prominent .live-feature-card-thumb {
  width: 98px;
}

.live-feature-card-thumb img {
  object-fit: contain;
}

.live-feature-card-copy {
  align-content: center;
}

.live-feature-card-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-feature-card-copy p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-session-card-meta {
  padding-top: 1px;
  font-size: 0.72rem;
}

.live-session-card-action {
  min-height: 38px;
  padding: 0 13px;
  gap: 7px;
  font-size: 0.78rem;
}

.live-session-card-action .nav-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

.live-session-card-action .nav-icon svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 920px) {
  .live-hub-grid--studio {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-hub-directory-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .live-studio-search-sticky-controls {
    display: grid;
    gap: 10px;
    position: sticky;
    top: 3.8rem;
    z-index: 4;
    padding: 10px;
    border: 1px solid rgba(126, 161, 222, 0.18);
    border-radius: 16px;
    background: rgba(8, 15, 29, 0.94);
    box-shadow: 0 12px 28px rgba(3, 8, 18, 0.32);
    backdrop-filter: blur(14px);
  }

  .live-studio-search-tcg,
  .live-studio-search-top,
  .live-studio-search-inline-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-studio-search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .live-studio-search-results-grid .search-result-live-feature-form .search-result-quick-action--live {
    min-height: 32px;
    font-size: 0.68rem;
  }

  .live-studio-search-results-grid .search-result-live-feature-form .search-result-quick-action--live [data-search-action-icon],
  .live-studio-search-results-grid .search-result-live-feature-form .search-result-quick-action--live [data-search-action-icon] svg {
    width: 13px;
    min-width: 13px !important;
    height: 13px;
  }

  .live-studio-search-field--query {
    grid-column: auto;
  }

  .live-studio-search-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-feature-history-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-studio-search-results-hint {
    text-align: left;
  }

  .live-hub-end-zone {
    align-items: stretch;
    flex-direction: column;
  }

  .live-hub-end-zone .live-hub-inline-form,
  .live-hub-end-zone .button-link {
    width: 100%;
  }

  .live-hub-hero,
  .live-hub-directory {
    padding: 16px;
    border-radius: 22px;
  }

  .live-hub-section-head,
  .live-hub-directory-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-hub-directory-count {
    order: -1;
  }

  .live-hub-directory-footer .button-row {
    width: 100%;
  }

  .live-hub-directory-footer .button-row > * {
    flex: 1 1 auto;
  }

  .live-session-card-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .live-session-live-indicator {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .live-feature-card,
  .live-feature-card--prominent {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .live-feature-card-thumb,
  .live-feature-card--prominent .live-feature-card-thumb {
    width: 78px;
  }

  .live-session-card-meta {
    display: grid;
    gap: 4px;
  }
}

/* Shared Collection card surface used by the live spotlight and timeline. */
.live-feature-card {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.live-feature-card .live-binder-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  min-width: 0;
  gap: 12px;
  padding: 9px;
  border: 1px solid rgba(126, 161, 222, 0.18);
  border-radius: 14px;
  background: rgba(18, 30, 52, 0.68);
  box-shadow: none;
}

.live-feature-card--prominent .live-binder-card {
  grid-template-columns: 106px minmax(0, 1fr);
  padding: 10px;
  border-color: rgba(91, 220, 200, 0.28);
  background: linear-gradient(135deg, rgba(28, 67, 76, 0.42), rgba(15, 28, 47, 0.78));
  box-shadow: inset 3px 0 0 rgba(81, 218, 194, 0.8);
}

.live-feature-card .live-binder-card .collection-binder-thumb {
  width: 86px;
  min-height: 120px;
  aspect-ratio: 0.7;
  border-radius: 10px;
}

.live-feature-card--prominent .live-binder-card .collection-binder-thumb {
  width: 106px;
}

.live-feature-card .live-binder-card .collection-binder-thumb img {
  object-fit: contain;
}

.live-feature-card .live-binder-card .card-meta-under {
  align-content: center;
  min-width: 0;
}

.live-feature-card .live-binder-card .card-title-under,
.live-feature-card .live-binder-card .card-set-under,
.live-feature-card .live-binder-card .card-price-language-under {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-feature-history-item {
  min-width: 0;
}

.live-feature-history-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.live-history-replay-form {
  min-width: 0;
  flex: 1 1 auto;
}

.live-history-replay {
  width: 100%;
  min-height: 36px;
  justify-content: center;
  font-size: 0.72rem;
}

.live-history-delete-form {
  flex: 0 0 auto;
}

.live-history-delete {
  display: inline-grid;
  width: 38px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 87, 119, 0.34);
  border-radius: 10px;
  background: rgba(255, 61, 99, 0.13);
  color: #ff9eb1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.live-history-delete:hover,
.live-history-delete:focus-visible {
  border-color: rgba(255, 109, 137, 0.72);
  background: rgba(255, 61, 99, 0.24);
  color: #fff;
}

.live-history-delete .nav-icon,
.live-history-delete .nav-icon svg {
  width: 16px;
  height: 16px;
}

.live-history-filters {
  margin: 14px 0 12px;
}

.live-history-filter-row {
  margin-top: 0;
  margin-bottom: 0;
  padding-inline: 2px;
}

.live-history-filter-trigger {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aebbd0;
  box-shadow: none;
  font: inherit;
  font-size: 0.78rem;
}

.live-history-filter-trigger:hover,
.live-history-filter-trigger:focus-visible,
.live-history-filter-trigger[aria-expanded="true"] {
  border-color: transparent;
  background: transparent;
  color: #f8fbff;
  box-shadow: none;
  transform: none;
}

.live-history-filter-trigger-icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  color: #8ea5c7;
}

.live-history-filter-trigger-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.live-history-filter-trigger .active-sort-text,
.live-history-filter-trigger .active-filter-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-history-filter-sheet {
  width: min(560px, calc(100vw - 24px));
}

.live-history-sort-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.live-history-sort-option {
  position: relative;
  cursor: pointer;
}

.live-history-sort-option:focus-within {
  border-color: rgba(122, 165, 255, 0.64);
  color: #f6fbff;
}

.live-history-sort-option-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #8ea5ff;
}

.live-history-sort-option-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.live-history-sort-option-label {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 750;
}

.live-history-filter-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.live-history-filter-sheet-head {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.live-history-filter-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.live-history-filter-field {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: rgba(214, 225, 244, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.live-history-filter-field > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-history-filter-field > span .nav-icon,
.live-history-filter-field > span .nav-icon svg {
  width: 15px;
  height: 15px;
}

.live-history-filter-field > span .nav-icon {
  color: #8dd9ef;
}

.live-history-filter-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(124, 160, 255, 0.18);
  border-radius: 12px;
  background: rgba(8, 15, 29, 0.86);
  color: #f4f7ff;
  font: inherit;
  font-weight: 600;
}

.live-detail-shell {
  gap: 16px;
}

.live-detail-hero,
.live-detail-current-panel {
  padding: 22px;
  border-radius: 24px;
  border-color: rgba(126, 161, 222, 0.2);
  background:
    radial-gradient(circle at 90% 0%, rgba(83, 224, 203, 0.13), transparent 30%),
    linear-gradient(155deg, rgba(21, 37, 65, 0.98), rgba(7, 14, 27, 0.98));
  box-shadow: 0 24px 60px rgba(2, 7, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.live-detail-hero-top,
.live-detail-context,
.live-detail-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-detail-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.live-detail-avatar {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 2px solid rgba(101, 219, 204, 0.58);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(81, 218, 194, 0.08), 0 0 24px rgba(81, 218, 194, 0.2);
}

.live-detail-avatar--fallback {
  display: grid;
  place-items: center;
  background: rgba(59, 99, 165, 0.35);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.live-detail-identity h1 {
  margin: 5px 0 2px;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.live-detail-identity p {
  margin: 0;
  color: rgba(201, 216, 239, 0.72);
}

.live-detail-context {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 18px;
}

.live-detail-stats {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 18px;
}

.live-detail-stats span {
  display: grid;
  gap: 3px;
  min-width: 120px;
  color: rgba(190, 207, 233, 0.65);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-detail-stats strong {
  color: #f7fbff;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.live-detail-current-panel .live-binder-card {
  max-width: 520px;
}

.live-detail-current-state {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(81, 218, 194, 0.25);
  border-radius: 999px;
  background: rgba(49, 164, 142, 0.12);
  color: #c8fff1;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.live-detail-current-state--ended {
  border-color: rgba(126, 161, 222, 0.24);
  background: rgba(38, 57, 89, 0.34);
  color: rgba(218, 231, 250, 0.82);
}

.live-detail-not-found {
  display: grid;
  gap: 12px;
  min-height: 260px;
  place-content: center;
  text-align: center;
}

.live-detail-not-found p {
  margin: 0 0 6px;
  color: rgba(201, 216, 239, 0.72);
}

@media (max-width: 640px) {
  .live-history-filter-row {
    gap: 10px;
  }

  .live-history-filter-trigger {
    max-width: 50%;
    font-size: 0.72rem;
  }

  .live-history-filter-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-history-sort-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .live-feature-card .live-binder-card,
  .live-feature-card--prominent .live-binder-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .live-feature-card .live-binder-card .collection-binder-thumb,
  .live-feature-card--prominent .live-binder-card .collection-binder-thumb {
    width: 78px;
  }

  .live-detail-hero,
  .live-detail-current-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .live-detail-hero-top,
  .live-detail-context {
    align-items: flex-start;
  }

  .live-detail-identity {
    align-items: flex-start;
  }

  .live-detail-avatar {
    width: 58px;
    height: 58px;
  }

  .live-detail-stats span {
    min-width: calc(50% - 6px);
  }
}

/* Keep live cards on the same vertical binder surface as Collection. */
.live-feature-history-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  align-items: start;
}

.live-feature-history-item {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.live-feature-card .live-binder-card,
.live-feature-card--prominent .live-binder-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 8px 8px 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: rgba(25, 33, 50, 0.96) !important;
  box-shadow: 0 10px 24px rgba(3, 8, 18, 0.22) !important;
}

.live-feature-card--prominent .live-binder-card {
  border: 1px solid rgba(81, 218, 194, 0.38) !important;
  box-shadow:
    0 14px 30px rgba(3, 8, 18, 0.3),
    0 0 24px rgba(81, 218, 194, 0.1) !important;
}

.live-feature-card .live-binder-card .collection-binder-thumb,
.live-feature-card--prominent .live-binder-card .collection-binder-thumb {
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 0.716 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.live-feature-card .live-binder-card .collection-binder-thumb::before,
.live-feature-card .live-binder-card .collection-binder-thumb::after,
.live-feature-card--prominent .live-binder-card .collection-binder-thumb::before,
.live-feature-card--prominent .live-binder-card .collection-binder-thumb::after {
  display: none !important;
}

/* Live cards never use the Collection's image overlays. */
.live-feature-card .live-binder-card .card-element-badge,
.live-feature-card .live-binder-card .card-rarity-badge,
.live-feature-card--prominent .live-binder-card .card-element-badge,
.live-feature-card--prominent .live-binder-card .card-rarity-badge {
  display: none !important;
}

.live-feature-card .live-binder-card .collection-binder-thumb img,
.live-feature-card--prominent .live-binder-card .collection-binder-thumb img {
  border-radius: 7px !important;
  filter: none !important;
  object-fit: contain !important;
}

.live-feature-card .live-binder-card .card-meta-under,
.live-feature-card--prominent .live-binder-card .card-meta-under {
  display: flex !important;
  gap: 6px !important;
  min-width: 0 !important;
  margin-top: 0 !important;
  padding: 0 4px !important;
}

.live-feature-card .live-binder-card .live-card-meta-lines,
.live-feature-card--prominent .live-binder-card .live-card-meta-lines {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.live-feature-card .live-binder-card .live-card-set-line,
.live-feature-card--prominent .live-binder-card .live-card-set-line {
  min-width: 0 !important;
  width: 100% !important;
}

.live-feature-card .live-binder-card .live-card-meta-line,
.live-feature-card--prominent .live-binder-card .live-card-meta-line {
  align-items: center !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.live-feature-card .live-binder-card .live-card-set-line .card-set-under,
.live-feature-card--prominent .live-binder-card .live-card-set-line .card-set-under {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.live-feature-card .live-binder-card .live-card-set-line .card-set-link,
.live-feature-card--prominent .live-binder-card .live-card-set-line .card-set-link {
  color: inherit !important;
  text-decoration: none !important;
}

.live-feature-card .live-binder-card .live-card-set-line .card-set-link:hover,
.live-feature-card .live-binder-card .live-card-set-line .card-set-link:focus-visible,
.live-feature-card--prominent .live-binder-card .live-card-set-line .card-set-link:hover,
.live-feature-card--prominent .live-binder-card .live-card-set-line .card-set-link:focus-visible {
  color: #e9f8ff !important;
  text-shadow: 0 0 12px rgba(104, 185, 255, 0.48);
}

.live-feature-card .live-binder-card .live-card-set-line .card-rarity-condition-under,
.live-feature-card--prominent .live-binder-card .live-card-set-line .card-rarity-condition-under {
  flex: 0 0 auto !important;
}

.live-feature-card .live-binder-card .live-card-set-line .card-set-under > span:last-child,
.live-feature-card--prominent .live-binder-card .live-card-set-line .card-set-under > span:last-child {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.live-feature-card .live-binder-card .live-card-variant-line .card-version-under,
.live-feature-card .live-binder-card .live-card-variant-line .card-rarity-condition-under,
.live-feature-card--prominent .live-binder-card .live-card-variant-line .card-version-under,
.live-feature-card--prominent .live-binder-card .live-card-variant-line .card-rarity-condition-under {
  flex: 0 0 auto !important;
}

.live-feature-card .live-binder-card .card-title-under,
.live-feature-card--prominent .live-binder-card .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;
}

.live-feature-card .live-binder-card .card-code-under,
.live-feature-card--prominent .live-binder-card .card-code-under {
  color: rgba(218, 231, 250, 0.78) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.05 !important;
}

.live-feature-card .live-binder-card .card-set-under,
.live-feature-card .live-binder-card .card-rarity-under,
.live-feature-card .live-binder-card .card-rarity-condition-under,
.live-feature-card .live-binder-card .card-version-under,
.live-feature-card .live-binder-card .card-price-language-under,
.live-feature-card--prominent .live-binder-card .card-set-under,
.live-feature-card--prominent .live-binder-card .card-rarity-under,
.live-feature-card--prominent .live-binder-card .card-rarity-condition-under,
.live-feature-card--prominent .live-binder-card .card-version-under,
.live-feature-card--prominent .live-binder-card .card-price-language-under {
  color: #aebbd0 !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
}

.live-feature-card .live-binder-card .card-set-under,
.live-feature-card--prominent .live-binder-card .card-set-under {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.live-feature-card .live-binder-card .card-set-logo-under,
.live-feature-card--prominent .live-binder-card .card-set-logo-under {
  flex: 0 0 auto !important;
  max-width: 42px !important;
  max-height: 18px !important;
  border-radius: 3px !important;
  object-fit: contain !important;
}

.live-feature-card .live-binder-card .card-version-under,
.live-feature-card .live-binder-card .card-rarity-condition-under,
.live-feature-card .live-binder-card .card-price-language-under,
.live-feature-card--prominent .live-binder-card .card-version-under,
.live-feature-card--prominent .live-binder-card .card-rarity-condition-under,
.live-feature-card--prominent .live-binder-card .card-price-language-under {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
}

.live-feature-card .live-binder-card .card-version-under,
.live-feature-card--prominent .live-binder-card .card-version-under {
  flex-wrap: wrap !important;
}

.live-feature-card .live-binder-card .card-price-language-under,
.live-feature-card--prominent .live-binder-card .card-price-language-under {
  justify-content: space-between !important;
}

.live-feature-card .live-binder-card .live-card-price,
.live-feature-card--prominent .live-binder-card .live-card-price {
  width: fit-content !important;
  min-width: 0 !important;
  justify-content: flex-start !important;
  padding: 4px 9px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.live-feature-card .live-binder-card .live-card-price .card-price-under,
.live-feature-card--prominent .live-binder-card .live-card-price .card-price-under {
  color: #baf9e9 !important;
  font-size: 1.14em !important;
  font-weight: 900 !important;
  letter-spacing: 0.015em !important;
  text-shadow: 0 0 12px rgba(115, 229, 193, 0.24);
}

.live-feature-card .live-binder-card .live-card-price,
.live-feature-card--prominent .live-binder-card .live-card-price {
  border-color: var(--live-price-border, rgba(115, 229, 193, 0.24)) !important;
  background: var(--live-price-background, rgba(60, 184, 157, 0.09)) !important;
  box-shadow: 0 0 var(--live-price-glow-size, 12px) var(--live-price-glow, rgba(60, 184, 157, 0.1)), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.live-feature-card .live-binder-card .live-card-price--up-to-1,
.live-feature-card--prominent .live-binder-card .live-card-price--up-to-1 {
  --live-price-border: rgba(115, 229, 193, 0.24);
  --live-price-background: rgba(60, 184, 157, 0.07);
  --live-price-glow: rgba(60, 184, 157, 0.1);
  --live-price-glow-size: 10px;
}

.live-feature-card .live-binder-card .live-card-price--1-to-5,
.live-feature-card--prominent .live-binder-card .live-card-price--1-to-5 {
  --live-price-border: rgba(115, 229, 193, 0.3);
  --live-price-background: rgba(60, 184, 157, 0.09);
  --live-price-glow: rgba(60, 184, 157, 0.14);
  --live-price-glow-size: 12px;
}

.live-feature-card .live-binder-card .live-card-price--5-to-10,
.live-feature-card--prominent .live-binder-card .live-card-price--5-to-10 {
  --live-price-border: rgba(104, 215, 255, 0.34);
  --live-price-background: rgba(59, 139, 221, 0.11);
  --live-price-glow: rgba(104, 185, 255, 0.16);
  --live-price-glow-size: 14px;
}

.live-feature-card .live-binder-card .live-card-price--10-to-20,
.live-feature-card--prominent .live-binder-card .live-card-price--10-to-20 {
  --live-price-border: rgba(104, 185, 255, 0.4);
  --live-price-background: rgba(59, 139, 221, 0.13);
  --live-price-glow: rgba(104, 185, 255, 0.19);
  --live-price-glow-size: 16px;
}

.live-feature-card .live-binder-card .live-card-price--20-to-50,
.live-feature-card--prominent .live-binder-card .live-card-price--20-to-50 {
  --live-price-border: rgba(134, 108, 255, 0.42);
  --live-price-background: rgba(134, 108, 255, 0.14);
  --live-price-glow: rgba(134, 108, 255, 0.22);
  --live-price-glow-size: 18px;
}

.live-feature-card .live-binder-card .live-card-price--50-to-100,
.live-feature-card--prominent .live-binder-card .live-card-price--50-to-100 {
  --live-price-border: rgba(166, 125, 255, 0.48);
  --live-price-background: rgba(134, 108, 255, 0.17);
  --live-price-glow: rgba(145, 104, 255, 0.26);
  --live-price-glow-size: 20px;
}

.live-feature-card .live-binder-card .live-card-price--100-to-200,
.live-feature-card--prominent .live-binder-card .live-card-price--100-to-200 {
  --live-price-border: rgba(224, 170, 255, 0.54);
  --live-price-background: rgba(183, 93, 255, 0.18);
  --live-price-glow: rgba(169, 104, 255, 0.31);
  --live-price-glow-size: 22px;
}

.live-feature-card .live-binder-card .live-card-price--200-to-400,
.live-feature-card--prominent .live-binder-card .live-card-price--200-to-400 {
  --live-price-border: rgba(255, 147, 207, 0.58);
  --live-price-background: linear-gradient(135deg, rgba(134, 108, 255, 0.19), rgba(255, 106, 190, 0.14));
  --live-price-glow: rgba(227, 105, 214, 0.34);
  --live-price-glow-size: 24px;
}

.live-feature-card .live-binder-card .live-card-price--400-to-600,
.live-feature-card--prominent .live-binder-card .live-card-price--400-to-600 {
  --live-price-border: rgba(255, 192, 120, 0.62);
  --live-price-background: linear-gradient(135deg, rgba(229, 155, 52, 0.18), rgba(255, 147, 207, 0.14));
  --live-price-glow: rgba(255, 180, 86, 0.36);
  --live-price-glow-size: 26px;
}

.live-feature-card .live-binder-card .live-card-price--600-to-800,
.live-feature-card--prominent .live-binder-card .live-card-price--600-to-800 {
  --live-price-border: rgba(255, 209, 102, 0.68);
  --live-price-background: linear-gradient(135deg, rgba(229, 155, 52, 0.21), rgba(255, 211, 108, 0.16));
  --live-price-glow: rgba(255, 190, 80, 0.4);
  --live-price-glow-size: 29px;
}

.live-feature-card .live-binder-card .live-card-price--800-to-1000,
.live-feature-card--prominent .live-binder-card .live-card-price--800-to-1000 {
  --live-price-border: rgba(255, 184, 77, 0.72);
  --live-price-background: linear-gradient(135deg, rgba(229, 155, 52, 0.24), rgba(255, 211, 108, 0.18), rgba(181, 103, 255, 0.16));
  --live-price-glow: rgba(255, 174, 62, 0.46);
  --live-price-glow-size: 33px;
}

.live-feature-card .live-binder-card .live-card-price--1000-plus,
.live-feature-card--prominent .live-binder-card .live-card-price--1000-plus {
  position: relative;
  overflow: hidden;
  --live-price-border: rgba(255, 224, 138, 0.86);
  --live-price-background: linear-gradient(135deg, rgba(229, 155, 52, 0.28), rgba(255, 211, 108, 0.2), rgba(181, 103, 255, 0.24));
  --live-price-glow: rgba(255, 190, 80, 0.58);
  --live-price-glow-size: 40px;
  animation: live-card-price-legendary 3.8s ease-in-out infinite;
}

.live-feature-card .live-binder-card .live-card-price--1000-plus::after,
.live-feature-card--prominent .live-binder-card .live-card-price--1000-plus::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, 0.28) 47%, transparent 70%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  animation: live-card-price-shimmer 4.8s ease-in-out infinite;
}

.live-feature-card .live-binder-card .live-card-price--1000-plus .card-price-under,
.live-feature-card--prominent .live-binder-card .live-card-price--1000-plus .card-price-under {
  position: relative;
  z-index: 1;
  color: #fff0b5 !important;
  text-shadow: 0 0 15px rgba(255, 205, 93, 0.48);
}

@keyframes live-card-price-legendary {
  0%, 100% { filter: saturate(1); }
  50% { filter: saturate(1.24) brightness(1.08); }
}

@keyframes live-card-price-shimmer {
  0%, 35% { transform: translateX(-120%); }
  65%, 100% { transform: translateX(120%); }
}

.live-feature-card .live-binder-card .card-language-flag,
.live-feature-card--prominent .live-binder-card .card-language-flag {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

@media (max-width: 720px) {
  .live-feature-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .live-feature-card .live-binder-card .card-title-under,
  .live-feature-card--prominent .live-binder-card .card-title-under {
    font-size: 15px !important;
  }

  .live-feature-card .live-binder-card .card-code-under,
  .live-feature-card .live-binder-card .card-price-under,
  .live-feature-card--prominent .live-binder-card .card-code-under,
  .live-feature-card--prominent .live-binder-card .card-price-under {
    font-size: 10px !important;
  }

  .live-feature-card .live-binder-card .card-set-under,
  .live-feature-card .live-binder-card .card-rarity-under,
  .live-feature-card .live-binder-card .card-rarity-condition-under,
  .live-feature-card .live-binder-card .card-version-under,
  .live-feature-card .live-binder-card .card-price-language-under,
  .live-feature-card--prominent .live-binder-card .card-set-under,
  .live-feature-card--prominent .live-binder-card .card-rarity-under,
  .live-feature-card--prominent .live-binder-card .card-rarity-condition-under,
  .live-feature-card--prominent .live-binder-card .card-version-under,
  .live-feature-card--prominent .live-binder-card .card-price-language-under {
    font-size: 12px !important;
  }

}

/* One shared board for the current spotlight and its timeline. */
.live-feature-board {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.live-feature-board-header,
.live-feature-board-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.live-feature-board-header {
  padding-bottom: 16px;
}

.live-feature-board-header h3,
.live-feature-board-section-head h4 {
  margin: 4px 0 0;
}

.live-feature-board-header h3 {
  font-size: 1.2rem;
}

.live-feature-board-section-head h4 {
  font-size: 1rem;
}

.live-feature-board-header small,
.live-feature-board-section-head small {
  display: block;
  margin-top: 5px;
}

.live-feature-board-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(155, 185, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-feature-board-now {
  padding: 16px 0 20px;
  border-top: 1px solid rgba(126, 161, 222, 0.14);
}

.live-feature-board-current-card {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.live-feature-board-current-card .live-feature-card--prominent {
  width: 100%;
}

.live-feature-board-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 161, 222, 0.06), rgba(126, 161, 222, 0.28), rgba(126, 161, 222, 0.06));
}

.live-feature-board-history {
  padding-top: 20px;
}

.live-feature-board-section-head--history {
  align-items: center;
}

.live-feature-board-section-head--history .live-feature-history-count {
  flex: 0 0 auto;
}

.live-feature-board-history .live-history-filters {
  margin-top: 16px;
}

@media (max-width: 640px) {
  .live-feature-board-header,
  .live-feature-board-section-head {
    gap: 10px;
  }

  .live-feature-board-header h3 {
    font-size: 1.05rem;
  }

  .live-feature-board-current-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .live-feature-board-now {
    padding-top: 14px;
  }
}

/* Compact Live Studio command surface. Keep the status card scannable on mobile. */
[data-live-studio-root] .live-hub-hero {
  gap: 12px;
  padding: 14px 16px;
}

[data-live-studio-root] .live-hub-hero-copy {
  gap: 7px;
}

[data-live-studio-root] .live-hub-hero-title p {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.35;
}

[data-live-studio-root] .live-session-card {
  gap: 10px;
  padding: 13px 14px;
}

[data-live-studio-root] .live-session-card-head {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

[data-live-studio-root] .live-session-card-kicker {
  display: none;
}

[data-live-studio-root] .live-session-card-context {
  display: grid;
  gap: 6px;
}

[data-live-studio-root] .live-session-platform-row,
[data-live-studio-root] .live-session-game-row {
  min-width: 0;
  align-items: center;
}

[data-live-studio-root] .live-session-card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding-top: 1px;
}

[data-live-studio-root] .live-session-card-meta > span {
  min-width: 0;
  padding: 6px 7px;
  border: 1px solid rgba(126, 161, 222, 0.14);
  border-radius: 10px;
  background: rgba(8, 15, 29, 0.32);
  color: rgba(214, 223, 238, 0.76);
  font-size: 0.68rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

[data-live-studio-root] .live-session-card-meta > span strong {
  color: #eef7ff;
}

[data-live-studio-root] .live-studio-search-panel {
  gap: 10px;
}

[data-live-studio-root] .live-studio-search-sticky-controls {
  display: grid;
  grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr);
  gap: 8px;
  align-items: end;
}

[data-live-studio-root] .live-studio-search-tcg {
  grid-column: 1;
}

[data-live-studio-root] .live-studio-search-top {
  grid-column: 2;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 8px;
}

[data-live-studio-root] .live-studio-search-inline-filters {
  grid-column: 1 / -1;
  margin-top: 0;
}

[data-live-studio-root] .live-hub-end-zone {
  margin-top: 2px;
  padding: 10px 12px;
  gap: 10px;
  border-radius: 14px;
}

[data-live-studio-root] .live-hub-end-zone p {
  display: none;
}

@media (min-width: 921px) {
  [data-live-studio-root] .live-hub-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  [data-live-studio-root] .live-hub-tabs {
    align-self: end;
  }
}

@media (max-width: 640px) {
  [data-live-studio-root] .live-hub-hero {
    gap: 10px;
    padding: 12px 14px;
  }

  [data-live-studio-root] .live-hub-hero-title p {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  [data-live-studio-root] .live-hub-tab {
    min-height: 38px;
  }

  [data-live-studio-root] .live-session-card-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-live-studio-root] .live-session-card-meta > span:last-child {
    grid-column: 1 / -1;
  }

  [data-live-studio-root] .live-studio-search-sticky-controls {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }

  [data-live-studio-root] .live-studio-search-tcg {
    grid-column: 1;
  }

  [data-live-studio-root] .live-studio-search-top {
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr);
  }

  [data-live-studio-root] .live-studio-search-top label:nth-child(2) {
    grid-column: 1 / -1;
  }

  [data-live-studio-root] .live-studio-search-panel .section-head small {
    display: none;
  }

  [data-live-studio-root] .live-hub-end-zone {
    align-items: center;
  }
}
.seller-helper-modal-open {
  overflow: hidden;
}

.seller-helper-page {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.seller-helper-page-head,
.seller-helper-review-head,
.seller-helper-checklist-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.seller-helper-page-head {
  position: relative;
  min-height: 245px;
  justify-content: center;
  padding: 38px clamp(24px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(129, 157, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(101, 81, 255, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(24, 29, 52, 0.98), rgba(13, 16, 31, 0.98));
  box-shadow: 0 24px 70px rgba(2, 6, 18, 0.32);
}

.seller-helper-page-head > div {
  max-width: 760px;
}

.seller-helper-page h1,
.seller-helper-page h2,
.seller-helper-page h3,
.seller-helper-page p {
  margin-top: 0;
}

.seller-helper-page-head h1,
.seller-helper-review-head h1,
.seller-helper-checklist-identity h1 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.seller-helper-page-head p,
.seller-helper-review-head p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(231, 237, 255, 0.74);
  font-size: 1.03rem;
  line-height: 1.6;
}

.seller-helper-eyebrow {
  color: #aab8ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.seller-helper-new-button {
  margin-top: 22px;
}

.seller-helper-recent {
  margin-top: 32px;
}

.seller-helper-recent .section-head h2 {
  margin-bottom: 0;
}

.seller-helper-recent-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seller-helper-recent-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 18px 20px;
  color: #f5f7ff;
  text-decoration: none;
  border: 1px solid rgba(145, 161, 221, 0.18);
  border-radius: 18px;
  background: rgba(18, 23, 43, 0.82);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.seller-helper-recent-card:hover {
  transform: translateY(-2px);
  border-color: rgba(133, 153, 255, 0.52);
  background: rgba(24, 30, 57, 0.96);
}

.seller-helper-recent-card > span:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.seller-helper-recent-card small,
.seller-helper-recent-card em {
  color: rgba(224, 231, 255, 0.58);
  font-size: 0.76rem;
  font-style: normal;
}

.seller-helper-recent-progress {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
}

.seller-helper-recent-progress b {
  color: #aebcff;
  font-size: 1.2rem;
}

.seller-helper-recent-card--completed .seller-helper-recent-progress b,
.seller-helper-recent-card--completed .seller-helper-recent-progress small {
  color: #66e3ad;
}

.seller-helper-modal-backdrop {
  position: fixed;
  z-index: 980;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 6, 16, 0.78);
  backdrop-filter: blur(14px);
}

.seller-helper-modal-backdrop.is-open {
  display: flex;
}

.seller-helper-modal {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(148, 165, 229, 0.23);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(101, 78, 255, 0.19), transparent 36%),
    #101527;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.58);
}

.seller-helper-modal h2 {
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  text-align: center;
}

.seller-helper-modal p {
  max-width: 650px;
  margin: -12px auto 28px;
  color: rgba(230, 235, 255, 0.7);
  line-height: 1.55;
  text-align: center;
}

.seller-helper-modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0;
  place-items: center;
  color: #f6f7ff;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  flex: 0 0 40px;
  cursor: pointer;
}

body.is-mobile-ui .seller-helper-modal-close {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  flex: 0 0 40px;
}

.seller-helper-modal-step {
  display: none;
}

.seller-helper-modal-step.is-active {
  display: block;
  animation: seller-helper-step-in 180ms ease both;
}

@keyframes seller-helper-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

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

.seller-helper-source-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  font: inherit;
  border: 1px solid rgba(147, 164, 229, 0.22);
  border-radius: 24px;
  background: rgba(22, 28, 51, 0.9);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.seller-helper-source-card:hover {
  transform: translateY(-4px);
  border-color: rgba(151, 167, 255, 0.68);
  box-shadow: 0 20px 50px rgba(3, 7, 22, 0.38);
}

.seller-helper-source-card--cardmarket {
  background: linear-gradient(145deg, rgba(26, 69, 100, 0.92), rgba(17, 27, 47, 0.96));
}

.seller-helper-source-card--fatenexus {
  background: linear-gradient(145deg, rgba(74, 47, 141, 0.94), rgba(21, 25, 49, 0.96));
}

.seller-helper-source-mark {
  position: relative;
  display: grid;
  width: min(100%, 190px);
  height: 76px;
  padding: 9px 14px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.seller-helper-source-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seller-helper-source-mark-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 160ms ease;
}

.seller-helper-source-card strong {
  font-size: 1.35rem;
}

.seller-helper-back {
  margin: 0 0 20px;
  padding: 0;
  color: #aebcff;
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.seller-helper-upload-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.seller-helper-dropzone {
  display: flex;
  width: 100%;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  color: #f3f5ff;
  text-align: center;
  border: 1px dashed rgba(154, 171, 244, 0.48);
  border-radius: 24px;
  background: rgba(9, 14, 30, 0.62);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.seller-helper-dropzone:hover,
.seller-helper-dropzone.is-dragging,
.seller-helper-dropzone.has-file {
  border-color: #91a5ff;
  background: rgba(58, 67, 126, 0.24);
}

.seller-helper-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.seller-helper-dropzone small {
  color: rgba(226, 232, 255, 0.58);
}

.seller-helper-modal-step--cardmarket .seller-helper-back {
  margin-bottom: 12px;
}

.seller-helper-modal-step--cardmarket h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 4.5vw, 2.2rem);
}

.seller-helper-modal-step--cardmarket > p {
  margin-bottom: 18px;
  line-height: 1.4;
}

.seller-helper-modal-step--cardmarket .seller-helper-upload-form {
  gap: 12px;
}

.seller-helper-modal-step--cardmarket .seller-helper-dropzone {
  min-height: 190px;
  padding: 20px;
  gap: 8px;
  border-radius: 20px;
}

.seller-helper-modal-step--cardmarket .seller-helper-upload-icon {
  width: 62px;
  height: 72px;
}

.seller-helper-upload-icon {
  display: grid;
  width: 70px;
  height: 82px;
  place-items: center;
  color: #d8deff;
  font-weight: 900;
  border: 1px solid rgba(163, 177, 255, 0.42);
  border-radius: 12px;
  background: rgba(105, 82, 255, 0.19);
}

.seller-helper-listing-grid,
.seller-helper-review-grid,
.seller-helper-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.seller-helper-listing-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: #f6f7ff;
  text-decoration: none;
  border: 1px solid rgba(146, 164, 227, 0.2);
  border-radius: 18px;
  background: rgba(17, 22, 41, 0.92);
  transition: transform 160ms ease, border-color 160ms ease;
}

.seller-helper-listing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(141, 160, 255, 0.62);
}

.seller-helper-listing-art,
.seller-helper-review-art,
.seller-helper-check-art {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 0.715;
  border-radius: 0;
  background: rgba(5, 8, 18, 0.75);
}

.seller-helper-listing-art img,
.seller-helper-review-art img,
.seller-helper-check-art img,
.seller-helper-detail-art img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
}

.seller-helper-listing-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
}

.seller-helper-listing-copy strong,
.seller-helper-listing-copy small,
.seller-helper-listing-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-helper-listing-copy small,
.seller-helper-listing-copy span {
  color: rgba(225, 231, 255, 0.6);
  font-size: 0.76rem;
}

.seller-helper-listing-copy b {
  margin-top: 5px;
  color: #aebcff;
  font-size: 0.8rem;
}

.seller-helper-wide-empty {
  grid-column: 1 / -1;
}

.seller-helper-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(225, 231, 255, 0.45);
  font-size: 2rem;
  background: linear-gradient(145deg, rgba(42, 50, 89, 0.65), rgba(11, 15, 30, 0.85));
}

.seller-helper-review-head,
.seller-helper-checklist-identity {
  margin-bottom: 24px;
}

.seller-helper-review-head h1,
.seller-helper-checklist-identity h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.seller-helper-warning {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  color: #ffe5ab;
  border: 1px solid rgba(255, 190, 76, 0.32);
  border-radius: 14px;
  background: rgba(133, 83, 7, 0.2);
}

.seller-helper-review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(146, 164, 227, 0.18);
  border-radius: 16px;
  background: rgba(18, 23, 43, 0.8);
}

.seller-helper-review-summary span {
  color: #ffcb79;
}

.seller-helper-review-card,
.seller-helper-check-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(146, 164, 227, 0.2);
  border-radius: 18px;
  background: rgba(17, 22, 41, 0.92);
}

.seller-helper-review-card.is-unmatched {
  border-color: rgba(255, 174, 80, 0.6);
}

.seller-helper-review-copy,
.seller-helper-check-copy {
  padding: 14px;
}

.seller-helper-review-copy h3,
.seller-helper-check-copy h3 {
  margin-bottom: 5px;
  overflow: hidden;
  color: #fff;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-helper-review-copy > p,
.seller-helper-check-copy p {
  margin-bottom: 7px;
  overflow: hidden;
  color: rgba(224, 231, 255, 0.64);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-helper-review-copy dl,
.seller-helper-detail-copy dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 13px 0;
}

.seller-helper-review-copy dl div,
.seller-helper-detail-copy dl div {
  min-width: 0;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.seller-helper-review-copy dt,
.seller-helper-detail-copy dt {
  color: rgba(220, 227, 255, 0.52);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.seller-helper-review-copy dd,
.seller-helper-detail-copy dd {
  margin: 3px 0 0;
  overflow: hidden;
  color: #f2f4ff;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-helper-match-state {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 8px;
  color: #76e4b5;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(41, 155, 108, 0.16);
}

.seller-helper-match-state--needs_review,
.seller-helper-match-state--unmatched {
  color: #ffd18c;
  background: rgba(194, 120, 18, 0.17);
}

.seller-helper-comments {
  display: block;
  margin-bottom: 10px;
  color: rgba(231, 235, 255, 0.65);
}

.seller-helper-correct {
  width: 100%;
}

.seller-helper-review-confirm {
  position: sticky;
  z-index: 30;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(680px, calc(100% - 24px));
  margin: 28px auto 0;
  padding: 14px;
  border: 1px solid rgba(143, 161, 231, 0.26);
  border-radius: 18px;
  background: rgba(12, 17, 33, 0.94);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.seller-helper-review-confirm small {
  color: rgba(226, 232, 255, 0.62);
}

.seller-helper-match-dialog,
.seller-helper-detail-dialog {
  position: fixed;
  width: min(860px, calc(100% - 30px));
  max-height: 86vh;
  padding: clamp(22px, 4vw, 38px);
  overflow: auto;
  color: #f7f8ff;
  border: 1px solid rgba(148, 165, 229, 0.25);
  border-radius: 24px;
  background: #101527;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.seller-helper-match-dialog::backdrop,
.seller-helper-detail-dialog::backdrop {
  background: rgba(2, 5, 14, 0.8);
  backdrop-filter: blur(12px);
}

.seller-helper-match-dialog h2 {
  padding-right: 40px;
}

.seller-helper-match-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 18px;
}

.seller-helper-match-search input {
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid rgba(148, 165, 229, 0.28);
  border-radius: 12px;
  background: rgba(7, 11, 24, 0.72);
}

.seller-helper-match-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.seller-helper-match-card {
  display: flex;
  min-width: 0;
  padding: 0 0 12px;
  overflow: hidden;
  flex-direction: column;
  gap: 5px;
  color: #f7f8ff;
  text-align: left;
  border: 1px solid rgba(148, 165, 229, 0.2);
  border-radius: 14px;
  background: rgba(20, 26, 48, 0.9);
  cursor: pointer;
}

.seller-helper-match-card > span {
  display: block;
  width: 100%;
  aspect-ratio: 0.715;
  overflow: hidden;
  background: rgba(5, 8, 18, 0.75);
}

.seller-helper-match-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seller-helper-match-card strong,
.seller-helper-match-card small,
.seller-helper-match-card em {
  margin: 0 10px;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-helper-match-card small,
.seller-helper-match-card em {
  color: rgba(222, 229, 255, 0.6);
  font-size: 0.7rem;
}

.seller-helper-sticky-panel {
  --seller-helper-group-sticky-top: 190px;
  position: sticky;
  z-index: 50;
  top: 78px;
  margin: 0 0 16px;
  padding: 12px 16px 13px;
  color: #f8f9ff;
  border: 1px solid rgba(147, 164, 229, 0.28);
  border-radius: 16px;
  background: rgba(14, 19, 37, 0.94);
  box-shadow: 0 14px 42px rgba(3, 6, 18, 0.28);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.seller-helper-sticky-panel.is-complete {
  border-color: rgba(74, 221, 157, 0.48);
  background: rgba(10, 70, 50, 0.95);
}

.seller-helper-progress-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  align-items: center;
  gap: 16px;
}

.seller-helper-progress-row > div:first-child {
  display: flex;
  min-width: 196px;
  flex-direction: column;
  gap: 2px;
}

.seller-helper-progress-row span {
  color: rgba(231, 236, 255, 0.66);
  font-size: 0.78rem;
}

.seller-helper-progress-row strong {
  font-size: 1.18rem;
  line-height: 1.1;
}

.seller-helper-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.seller-helper-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7567ff, #b18cff);
  transition: width 200ms ease;
}

.seller-helper-sticky-panel.is-complete .seller-helper-progress-track span {
  background: #6cf0b5;
}

.seller-helper-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(170px, 1fr) minmax(170px, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.seller-helper-toolbar > label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.seller-helper-toolbar label > span {
  flex: 0 0 auto;
  color: rgba(229, 234, 255, 0.68);
  font-size: 0.75rem;
}

.seller-helper-toolbar select {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 34px 0 10px;
  color: #f6f7ff;
  border: 1px solid rgba(150, 167, 231, 0.22);
  border-radius: 10px;
  background: rgba(7, 11, 24, 0.72);
}

.seller-helper-pending-toggle {
  display: inline-flex;
  width: max-content;
  min-height: 0;
  align-items: center;
  padding: 0;
  color: rgba(229, 234, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.2;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.seller-helper-pending-toggle input {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  min-width: 19px;
  min-height: 19px;
  max-width: 19px;
  max-height: 19px;
  margin: 0;
  padding: 0;
  appearance: none;
  box-sizing: border-box;
  border: 1px solid rgba(159, 174, 241, 0.38);
  border-radius: 6px;
  background: rgba(7, 11, 24, 0.82);
  accent-color: #8174ff;
  cursor: pointer;
}

.seller-helper-pending-toggle input:checked {
  display: grid;
  place-items: center;
  border-color: #9d96ff;
  background: #8174ff;
}

.seller-helper-pending-toggle input:checked::after {
  color: #fff;
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
}

.seller-helper-pending-toggle input:focus-visible,
.seller-helper-toolbar select:focus-visible,
.seller-helper-quantity-control button:focus-visible {
  outline: 2px solid rgba(177, 140, 255, 0.9);
  outline-offset: 2px;
}

.seller-helper-groups {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.seller-helper-group {
  min-width: 0;
}

.seller-helper-group-head {
  position: sticky;
  z-index: 20;
  top: var(--seller-helper-group-sticky-top, 190px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
  padding: 11px 14px;
  color: #f7f8ff;
  text-align: left;
  border: 1px solid rgba(146, 164, 227, 0.2);
  border-radius: 13px;
  background: rgba(20, 26, 49, 0.96);
  box-shadow: 0 7px 20px rgba(2, 5, 15, 0.22);
  cursor: pointer;
}

.seller-helper-group-head small {
  color: rgba(224, 231, 255, 0.6);
}

.seller-helper-group-arrow {
  display: inline-block;
  color: #aebcff;
  transform: rotate(0deg);
  transition: transform 160ms ease;
}

.seller-helper-group.is-collapsed .seller-helper-group-arrow {
  transform: rotate(-90deg);
}

.seller-helper-check-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.seller-helper-check-art {
  width: 100%;
  min-height: 0;
  max-height: none;
  padding: 0;
  color: inherit;
  border: 0;
  border-radius: 0;
  background: rgba(5, 8, 18, 0.75);
  transform: none;
  cursor: pointer;
}

.seller-helper-check-art:hover,
.seller-helper-check-art:focus-visible {
  opacity: 1;
  transform: none;
}

.seller-helper-card-done {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #072b1e;
  font-weight: 900;
  border-radius: 50%;
  background: #6ce8b2;
  box-shadow: 0 5px 18px rgba(23, 180, 116, 0.38);
}

.seller-helper-check-card.is-complete {
  border-color: rgba(74, 221, 157, 0.48);
}

.seller-helper-check-card.is-complete .seller-helper-card-done {
  display: grid;
}

.seller-helper-check-card.is-complete .seller-helper-check-art img {
  opacity: 0.68;
}

.seller-helper-check-copy {
  flex: 1;
  padding: 12px 13px 10px;
}

.seller-helper-check-copy small {
  display: block;
  overflow: hidden;
  color: rgba(225, 231, 255, 0.57);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-helper-check-copy h3 {
  margin-bottom: 4px;
}

.seller-helper-check-copy p {
  margin-bottom: 4px;
}

.seller-helper-quantity-control {
  display: grid;
  grid-template-columns: 46px minmax(56px, 1fr) 46px;
  align-items: center;
  gap: 8px;
  padding: 0 12px 12px;
}

.seller-helper-quantity-control button {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  height: 42px;
  max-height: 42px;
  padding: 0;
  place-items: center;
  color: #fff;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  border: 1px solid rgba(159, 174, 241, 0.3);
  border-radius: 10px;
  background: rgba(38, 45, 79, 0.86);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.seller-helper-quantity-control button[data-quantity-change="1"] {
  border-color: rgba(157, 143, 255, 0.64);
  background: linear-gradient(135deg, #5d55d8, #8b5cf6);
  box-shadow: 0 7px 18px rgba(91, 72, 220, 0.28);
}

.seller-helper-quantity-control button:not(:disabled):hover {
  border-color: rgba(210, 216, 255, 0.7);
  transform: translateY(-1px);
}

.seller-helper-quantity-control button[data-quantity-change="1"]:not(:disabled):hover {
  background: linear-gradient(135deg, #6b62ec, #9a6cff);
  box-shadow: 0 9px 22px rgba(91, 72, 220, 0.42);
}

.seller-helper-quantity-control button:disabled {
  color: rgba(229, 234, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(159, 174, 241, 0.14);
  cursor: default;
}

.seller-helper-quantity-control strong {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  color: #f7f8ff;
  text-align: center;
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(146, 164, 227, 0.18);
  border-radius: 10px;
  background: rgba(7, 11, 24, 0.58);
}

.seller-helper-quantity-control strong span {
  color: #fff;
  font-size: 1.16rem;
  font-weight: 850;
}

.seller-helper-check-card.is-complete .seller-helper-quantity-control strong {
  color: #bfffe0;
  border-color: rgba(108, 232, 178, 0.42);
  background: rgba(23, 126, 88, 0.18);
}

.seller-helper-all-done {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: #eefcf6;
  text-align: center;
  border: 1px solid rgba(74, 221, 157, 0.32);
  border-radius: 24px;
  background: rgba(16, 82, 60, 0.25);
}

.seller-helper-all-done span {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  place-items: center;
  color: #082b20;
  font-size: 2rem;
  border-radius: 50%;
  background: #6ce8b2;
}

.seller-helper-all-done strong {
  font-size: 1.65rem;
}

.seller-helper-all-done p {
  margin: 8px 0 0;
  color: rgba(229, 246, 239, 0.68);
}

.seller-helper-detail-dialog > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.2fr);
  gap: 28px;
}

.seller-helper-detail-art {
  overflow: hidden;
  aspect-ratio: 0.715;
  border-radius: 17px;
  background: rgba(5, 8, 18, 0.75);
}

.seller-helper-detail-copy {
  align-self: center;
}

.seller-helper-detail-copy > span {
  color: #aebcff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seller-helper-detail-copy h2 {
  margin: 8px 42px 6px 0;
}

.seller-helper-detail-copy p,
.seller-helper-detail-copy > small {
  color: rgba(228, 234, 255, 0.65);
}

@media (max-width: 760px) {
  .seller-helper-page {
    width: min(100% - 20px, 1220px);
    padding-top: 14px;
  }

  .seller-helper-page-head {
    min-height: 220px;
    padding: 26px 20px;
    border-radius: 22px;
  }

  .seller-helper-page-head h1 {
    font-size: 2.05rem;
  }

  .seller-helper-recent-list {
    grid-template-columns: 1fr;
  }

  .seller-helper-modal-backdrop {
    align-items: center;
    padding: 16px;
  }

  .seller-helper-modal {
    width: min(100%, 560px);
    max-height: 86dvh;
    padding: 30px 14px 28px;
    border-radius: 26px;
  }

  .seller-helper-modal[data-active-step="cardmarket"] {
    overflow: hidden;
  }

  .seller-helper-modal h2 {
    padding: 0 42px;
  }

  .seller-helper-source-grid {
    gap: 10px;
  }

  .seller-helper-source-card {
    min-height: 210px;
    padding: 16px 8px;
    border-radius: 18px;
  }

  .seller-helper-source-mark {
    width: min(100%, 132px);
    height: 62px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .seller-helper-source-card strong {
    font-size: 1rem;
  }

  .seller-helper-dropzone {
    min-height: 240px;
    padding: 24px 16px;
  }

  .seller-helper-modal-step--cardmarket > p {
    margin-bottom: 14px;
    font-size: 0.94rem;
  }

  .seller-helper-modal-step--cardmarket .seller-helper-dropzone {
    min-height: 168px;
    padding: 16px 12px;
    border-radius: 18px;
  }

  .seller-helper-modal-step--cardmarket .seller-helper-upload-icon {
    width: 56px;
    height: 64px;
  }

  .seller-helper-listing-grid,
  .seller-helper-review-grid,
  .seller-helper-check-grid,
  .seller-helper-match-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .seller-helper-review-card,
  .seller-helper-check-card,
  .seller-helper-listing-card {
    border-radius: 14px;
  }

  .seller-helper-review-copy,
  .seller-helper-check-copy,
  .seller-helper-listing-copy {
    padding: 10px;
  }

  .seller-helper-review-copy dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .seller-helper-review-copy dl div:nth-child(n + 5) {
    display: none;
  }

  .seller-helper-review-confirm {
    bottom: calc(72px + env(safe-area-inset-bottom));
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }

  .seller-helper-sticky-panel {
    top: 56px;
    margin-bottom: 12px;
    padding: 9px 10px 10px;
    border-radius: 15px;
  }

  .seller-helper-progress-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .seller-helper-progress-row > div:first-child {
    min-width: 0;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
  }

  .seller-helper-progress-row strong {
    font-size: 1.02rem;
  }

  .seller-helper-toolbar {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 8px;
  }

  .seller-helper-pending-toggle {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 0;
  }

  .seller-helper-toolbar > label:not(.seller-helper-pending-toggle) {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .seller-helper-toolbar select {
    height: 35px;
  }

  .seller-helper-check-copy h3 {
    font-size: 0.86rem;
  }

  .seller-helper-check-copy {
    padding: 8px 9px 7px;
  }

  .seller-helper-check-copy p,
  .seller-helper-check-copy small {
    font-size: 0.66rem;
  }

  .seller-helper-quantity-control {
    grid-template-columns: 40px minmax(54px, 1fr) 40px;
    gap: 6px;
    padding: 0 9px 10px;
  }

  .seller-helper-quantity-control button {
    min-height: 40px;
    height: 40px;
    max-height: 40px;
    border-radius: 9px;
  }

  .seller-helper-quantity-control strong {
    min-height: 40px;
    border-radius: 9px;
  }

  .seller-helper-detail-dialog > div {
    grid-template-columns: minmax(110px, 0.7fr) minmax(150px, 1.3fr);
    gap: 15px;
  }

  .seller-helper-detail-copy dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .seller-helper-modal {
    padding-inline: 10px;
  }

  .seller-helper-source-grid {
    gap: 7px;
  }

  .seller-helper-source-card {
    min-height: 180px;
  }

  .seller-helper-listing-grid,
  .seller-helper-review-grid,
  .seller-helper-check-grid {
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seller-helper-modal-step,
  .seller-helper-source-card,
  .seller-helper-listing-card,
  .seller-helper-recent-card {
    animation: none;
    transition: none;
  }
}
.style-vault-page,
.profile-editor-page {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 14px 12px 96px;
}

.vault-hero,
.profile-editor-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  min-height: 166px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(138, 186, 255, .18);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(12, 25, 45, .98), rgba(7, 12, 24, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.vault-hero h1,
.profile-editor-head h1 {
  margin: 4px 0 8px;
  font-size: clamp(2rem, 8vw, 4rem);
  letter-spacing: -.055em;
}

.vault-hero p,
.profile-editor-head p {
  max-width: 690px;
  margin: 0;
  color: var(--muted, #a7b4c8);
}

.vault-hero-actions,
.profile-editor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.vault-live-flash:empty,
.profile-editor-flash:empty { display: none; }

.vault-account-strip {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 20px;
  background: rgba(7, 13, 24, .88);
}

.vault-wallet,
.vault-account-summary {
  display: grid;
  min-width: 94px;
}

.vault-wallet strong,
.vault-account-summary strong { font-size: 1.25rem; }
.vault-wallet span,
.vault-wallet small,
.vault-account-summary span { color: var(--muted, #9aa8bc); font-size: .72rem; }

.vault-equipped-rail {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.vault-equipped-chip {
  display: grid;
  flex: 0 0 auto;
  min-width: 132px;
  padding: 8px 10px;
  border: 1px solid rgba(129, 186, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.vault-equipped-chip small { color: #8fa0b6; font-size: .64rem; }
.vault-equipped-chip strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }

.vault-catalog-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 24px;
  background: rgba(6, 11, 20, .92);
}

.vault-category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.vault-category-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  color: #b8c3d4;
  background: rgba(255, 255, 255, .025);
  text-decoration: none;
}

.vault-category-tab b { color: #6faeff; font-size: .72rem; }
.vault-category-tab.is-active { border-color: rgba(80, 159, 255, .7); color: #fff; background: rgba(60, 133, 255, .15); }

.vault-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(132px, .65fr)) auto auto;
  gap: 9px;
  align-items: end;
  padding: 12px 0 16px;
}

.vault-filters label { display: grid; gap: 5px; color: #91a0b5; font-size: .7rem; }
.vault-filters input,
.vault-filters select { width: 100%; min-height: 42px; }
.vault-filters .button-link { min-height: 42px; }

.vault-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 2px 12px;
}

.vault-results-head h2 { margin: 3px 0 0; font-size: 1.25rem; }
.vault-results-head small { color: #8d9aaf; }

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

.vault-item-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: #0a1120;
}

.vault-item-card.is-equipped { border-color: rgba(95, 175, 255, .68); box-shadow: inset 0 0 0 1px rgba(95, 175, 255, .2); }
.vault-item-card.is-locked { filter: saturate(.88); }

.vault-item-open {
  display: grid;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.vault-item-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 230px;
  overflow: hidden;
  background: #07101f;
  isolation: isolate;
}

.vault-item-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(transparent, rgba(5, 9, 17, .76));
}

.vault-item-art img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .48));
}

.vault-item-card--profile_theme .vault-item-art img,
.vault-item-card--display_name_style .vault-item-art img,
.vault-item-card--showoff_binder .vault-item-art img { width: 100%; height: 100%; object-fit: cover; }

.vault-name-demo {
  display: none;
  position: absolute;
  z-index: 2;
  font-weight: 850;
  font-size: 1.45rem;
}

.vault-item-card--display_name_style .vault-name-demo {
  display: block;
  background-image: inherit;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .7);
}

.vault-item-copy { display: grid; gap: 3px; padding: 13px 14px 15px; }
.vault-item-copy small { color: #6faeff; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.vault-item-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
.vault-item-copy span { color: #8998ae; font-size: .72rem; }
.vault-item-price { position: absolute; top: 10px; right: 10px; padding: 6px 8px; border-radius: 999px; color: #f8d886; background: rgba(3, 8, 16, .82); font-size: .7rem; backdrop-filter: blur(10px); }

.vault-pagination { display: flex; justify-content: center; gap: 8px; padding-top: 16px; }
.vault-page { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #aebacc; text-decoration: none; background: rgba(255,255,255,.03); }
.vault-page.is-active { border-color: #5ea8ff; color: #fff; background: rgba(65, 140, 255, .2); }
.vault-empty { grid-column: 1 / -1; padding: 46px 20px; border: 1px dashed rgba(255,255,255,.13); border-radius: 16px; text-align: center; }
.vault-empty p { margin-bottom: 0; color: #8b9aaf; }

.vault-item-dialog {
  width: min(920px, calc(100vw - 24px));
  max-height: min(760px, calc(100dvh - 24px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 182, 255, .25);
  border-radius: 26px;
  color: #eef5ff;
  background: #080f1d;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .68);
}

.vault-item-dialog::backdrop { background: rgba(1, 4, 10, .78); backdrop-filter: blur(12px); }
.vault-dialog-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); min-height: 510px; }
.vault-dialog-art { display: grid; place-items: center; min-height: 440px; overflow: hidden; background: #050b15; }
.vault-dialog-art img { width: 94%; height: 94%; object-fit: contain; filter: drop-shadow(0 24px 38px rgba(0,0,0,.52)); }
.vault-dialog-copy { display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.vault-dialog-copy h2 { margin: 5px 0 10px; font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: -.045em; }
.vault-dialog-copy p { color: #a7b4c6; line-height: 1.55; }
.vault-dialog-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 22px; }
.vault-dialog-meta span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #b9c8db; font-size: .72rem; }
.vault-dialog-actions form,
.vault-dialog-actions button { width: 100%; }
.vault-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; padding: 0; border-radius: 50%; color: #fff; background: rgba(4, 8, 15, .76); font-size: 1.4rem; }

.vault-motion-orbit img { animation: vault-orbit 12s linear infinite; }
.vault-motion-ember img { animation: vault-ember 3.8s ease-in-out infinite; }
.vault-motion-float img { animation: vault-float 5.6s ease-in-out infinite; }
.vault-motion-parallax img { animation: vault-parallax 12s ease-in-out infinite alternate; }
.vault-motion-shimmer img { animation: vault-shimmer 6s linear infinite; }
.vault-motion-breathe img { animation: vault-breathe 4.8s ease-in-out infinite; }

@keyframes vault-orbit { to { transform: rotate(360deg); } }
@keyframes vault-ember { 0%,100% { transform: translateY(2px) scale(.99); filter: brightness(.92) saturate(.95); } 50% { transform: translateY(-3px) scale(1.02); filter: brightness(1.15) saturate(1.16); } }
@keyframes vault-float { 0%,100% { transform: translateY(4px) rotate(-.6deg); } 50% { transform: translateY(-5px) rotate(.6deg); } }
@keyframes vault-parallax { from { transform: scale(1.02) translateX(-1.5%); } to { transform: scale(1.08) translateX(1.5%); } }
@keyframes vault-shimmer { from { transform: scale(1.06) translateX(-3%); filter: hue-rotate(0deg); } to { transform: scale(1.06) translateX(3%); filter: hue-rotate(16deg); } }
@keyframes vault-breathe { 0%,100% { transform: scale(.985); opacity: .88; } 50% { transform: scale(1.015); opacity: 1; } }

@media (max-width: 900px) {
  .vault-account-strip { grid-template-columns: auto auto minmax(0, 1fr); }
  .vault-account-strip > .button-link { grid-column: 1 / -1; }
  .vault-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vault-search { grid-column: 1 / -1; }
  .vault-item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .style-vault-page,
  .profile-editor-page { padding-inline: 8px; }
  .vault-hero,
  .profile-editor-head { align-items: flex-start; flex-direction: column; min-height: 0; padding: 20px; }
  .vault-hero-actions,
  .profile-editor-actions { justify-content: flex-start; }
  .vault-account-strip { grid-template-columns: 1fr 1fr; }
  .vault-equipped-rail { grid-column: 1 / -1; }
  .vault-catalog-panel { padding: 10px; border-radius: 20px; }
  .vault-filters { grid-template-columns: 1fr 1fr; }
  .vault-filters label { min-width: 0; }
  .vault-item-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vault-item-art { height: 165px; }
  .vault-item-copy { padding: 10px; }
  .vault-item-copy strong { font-size: .86rem; }
  .vault-results-head small { display: none; }
  .vault-dialog-layout { grid-template-columns: 1fr; max-height: calc(100dvh - 24px); overflow-y: auto; }
  .vault-dialog-art { min-height: 310px; height: 42dvh; }
  .vault-dialog-copy { padding: 22px; }
}

.profile-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 14px;
  margin-top: 14px;
}

.profile-editor-preview,
.profile-editor-form,
.profile-cosmetic-panel {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  background: rgba(6, 12, 23, .92);
}

.profile-preview-card {
  position: sticky;
  top: 84px;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(141, 191, 255, .22);
  border-radius: 24px;
  background: #090f1b;
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
  isolation: isolate;
}

.profile-preview-banner {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #0b1627;
}

.profile-preview-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: linear-gradient(transparent, #090f1b);
}

.profile-preview-banner > img { width: 100%; height: 100%; object-fit: cover; }
.vault-fitted-layer {
  --vault-fit-x: 0%;
  --vault-fit-y: 0%;
  --vault-fit-scale: 1;
  --vault-fit-rotation: 0deg;
  transform: translate(var(--vault-fit-x), var(--vault-fit-y)) rotate(var(--vault-fit-rotation)) scale(var(--vault-fit-scale));
  transform-origin: center;
  pointer-events: none;
}

.vault-fitted-layer > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  pointer-events: none;
}

.profile-preview-content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  margin-top: -60px;
  padding: 0 24px;
}

.profile-preview-avatar { position: relative; width: 112px; height: 112px; }
.profile-preview-avatar-photo { position: absolute; inset: 13px; overflow: hidden; border: 4px solid #09101c; border-radius: 50%; background: #15243b; }
.profile-preview-avatar-photo > img { width: 100%; height: 100%; object-fit: cover; }
.profile-preview-avatar-fallback { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2rem; font-weight: 800; }
.profile-preview-avatar-decoration { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }

.profile-preview-identity { min-width: 0; padding-bottom: 4px; }
.profile-preview-display-name { min-width: 0; }
.profile-preview-display-name h2 { max-width: 100%; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(1.2rem, 4vw, 2rem); background-image: var(--profile-name-texture, linear-gradient(#fff, #fff)); background-position: 0 50%; background-size: 160% auto; background-clip: text; color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: profile-name-shimmer 8s linear infinite alternate; }
.profile-preview-identity p { margin: 4px 0 0; color: #b5c1d1; font-size: .88rem; line-height: 1.45; }
.profile-preview-stats { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 24px 24px; }
.profile-preview-stats span { display: grid; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.035); }
.profile-preview-stats small { color: #8492a8; }

.profile-editor-form { display: flex; flex-direction: column; gap: 15px; }
.profile-editor-section-head h2 { margin: 4px 0; font-size: 1.35rem; }
.profile-editor-section-head p { margin: 4px 0 0; color: #94a2b6; }
.profile-upload-field,
.profile-bio-field { display: grid; gap: 7px; color: #d6deeb; }
.profile-upload-field small,
.profile-bio-field small { color: #8594aa; font-size: .7rem; }
.profile-field-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-field-heading label { font-weight: 700; }
.profile-field-reset {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(116, 174, 255, .24);
  border-radius: 10px;
  color: #a9cfff;
  background: rgba(69, 139, 255, .08);
  font-size: .7rem;
}
.profile-field-reset:disabled { opacity: .38; cursor: default; }
.profile-upload-field input { padding: 12px; border: 1px dashed rgba(124,180,255,.32); border-radius: 14px; background: rgba(255,255,255,.025); }
.profile-bio-field { position: relative; }
.profile-bio-field textarea { resize: vertical; min-height: 128px; }
.profile-bio-field [data-profile-bio-count] { position: absolute; right: 10px; bottom: 8px; }

.profile-cosmetic-panel { margin-top: 14px; }
.profile-slot-tabs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 10px; }
.profile-slot-tab { display: grid; flex: 0 0 168px; gap: 2px; padding: 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; color: #aeb9ca; text-decoration: none; background: rgba(255,255,255,.025); }
.profile-slot-tab span { font-size: .68rem; }
.profile-slot-tab b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.profile-slot-tab.is-active { border-color: #5ba7ff; color: #fff; background: rgba(69,139,255,.15); }
.profile-slot-results-head { display: flex; justify-content: space-between; align-items: end; padding: 8px 0 10px; }
.profile-slot-results-head h3 { margin: 0; }
.profile-slot-results-head small { color: #8997aa; }
.profile-slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.profile-slot-card { display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 10px; min-width: 0; padding: 8px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(255,255,255,.025); }
.profile-slot-card.is-equipped { border-color: rgba(77,162,255,.68); }
.profile-slot-card.is-locked { opacity: .72; }
.profile-slot-art { display: grid; place-items: center; height: 104px; overflow: hidden; border-radius: 11px; background: #08111f; }
.profile-slot-art img { width: 96%; height: 96%; object-fit: contain; }
.profile-slot-art--none {
  background:
    radial-gradient(circle, rgba(92, 164, 255, .1), transparent 62%),
    #08111f;
}
.profile-slot-art--none span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px dashed rgba(154, 190, 235, .45);
  border-radius: 50%;
  color: #8fa6c3;
  font-size: 1.65rem;
}
.profile-slot-card > div:last-child { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.profile-slot-card small { color: #6eaaff; font-size: .64rem; }
.profile-slot-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .86rem; }
.profile-slot-card form,
.profile-slot-card .button-link,
.profile-slot-state { margin-top: 8px; }
.profile-slot-card button,
.profile-slot-card .button-link { min-height: 34px; padding: 7px 10px; font-size: .72rem; }
.profile-slot-state { color: #71b7ff; font-size: .72rem; font-weight: 700; }

@keyframes profile-name-shimmer { from { background-position: 0 50%; } to { background-position: 100% 50%; } }

.global-avatar-shell { position: relative; width: 40px; height: 40px; isolation: isolate; }
.global-avatar-photo {
  position: absolute;
  inset: 12%;
  z-index: 1;
  display: grid;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
}
.global-avatar-photo > img,
.global-avatar-photo > .avatar-fallback {
  display: grid !important;
  width: 100% !important;
  height: 100% !important;
  place-items: center;
  object-fit: cover;
  border-radius: 50% !important;
}
.global-avatar-cosmetic-layer { position: absolute; inset: -22%; z-index: 2; width: 144%; height: 144%; }
.global-avatar-cosmetic-layer > img { border-radius: 0 !important; }
body.unified-mobile-shell .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell > .global-avatar-cosmetic-layer > img,
body.auth-user .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell > .global-avatar-cosmetic-layer > img,
.mobile-topbar-avatar .global-avatar-shell > .global-avatar-cosmetic-layer > img,
.mobile-sheet-profile-avatar .global-avatar-shell > .global-avatar-cosmetic-layer > img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

body.unified-mobile-shell .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell > .global-avatar-photo > img,
body.unified-mobile-shell .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell > .global-avatar-photo > .avatar-fallback,
body.auth-user .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell > .global-avatar-photo > img,
body.auth-user .topbar.auth-topbar .mobile-user-avatar .global-avatar-shell > .global-avatar-photo > .avatar-fallback,
body.unified-mobile-shell .mobile-topbar-avatar .global-avatar-shell > .global-avatar-photo > img,
body.unified-mobile-shell .mobile-topbar-avatar .global-avatar-shell > .global-avatar-photo > .avatar-fallback {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-position: center;
}

.collector-id-card--vault {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #090f1b;
  isolation: isolate;
}

.collector-id-vault-banner { position: absolute; inset: 0 0 auto; z-index: -2; height: 64%; overflow: hidden; }
.collector-id-vault-banner::after { content: ""; position: absolute; inset: auto 0 0; height: 70%; background: linear-gradient(transparent, #090f1b); }
.collector-id-vault-banner img { width: 100%; height: 100%; object-fit: cover; animation: vault-parallax 14s ease-in-out infinite alternate; }
.collector-id-card--vault .collector-id-toolbar,
.collector-id-card--vault .collector-id-primary,
.collector-id-card--vault .collector-id-stat-grid { position: relative; z-index: 3; }
.collector-id-card--vault .collector-id-primary { padding-top: 110px; }
.collector-id-card--vault .collector-id-avatar { width: 132px; height: 132px; overflow: visible; }
.collector-id-avatar-photo { position: absolute; inset: 15%; overflow: hidden; border: 4px solid #09101c; border-radius: 50%; background: #14243c; }
.collector-id-avatar-photo > img,
.collector-id-avatar-photo > span { width: 100%; height: 100%; object-fit: cover; }
.collector-id-avatar-decoration { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.collector-id-display-name { min-width: 0; }
.collector-id-card--vault .collector-id-display-name h1 { margin: 0; background: var(--collector-name-texture, linear-gradient(#fff, #fff)) 0 50% / 160% auto; background-clip: text; color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: profile-name-shimmer 8s linear infinite alternate; }

@media (max-width: 620px) {
  .collector-id-card--vault { min-height: 500px; }
  .collector-id-card--vault .collector-id-primary { padding-top: 84px; }
  .collector-id-card--vault .collector-id-avatar { width: 104px; height: 104px; }
}

@media (max-width: 900px) {
  .profile-editor-layout { grid-template-columns: 1fr; }
  .profile-preview-card { position: relative; top: auto; }
  .profile-slot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .profile-editor-preview,
  .profile-editor-form,
  .profile-cosmetic-panel { padding: 10px; border-radius: 18px; }
  .profile-preview-card { min-height: 500px; border-radius: 19px; }
  .profile-preview-banner { height: 190px; }
  .profile-preview-content { grid-template-columns: 92px minmax(0,1fr); gap: 10px; margin-top: -48px; padding: 0 14px; }
  .profile-preview-avatar { width: 92px; height: 92px; }
  .profile-preview-identity p { font-size: .78rem; }
  .profile-preview-stats { margin: 22px 14px 14px; }
  .profile-slot-card { grid-template-columns: 96px minmax(0,1fr); }
  .profile-slot-art { height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .vault-item-art img,
  .vault-dialog-art img,
  .profile-preview-card img,
  .profile-preview-display-name h2 { animation: none !important; }
}
.twitch-extension-access-page {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 82px) 0 72px;
}

.twitch-extension-access-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto 28px;
}

.twitch-extension-access-mark {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(104, 185, 255, 0.48);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(57, 132, 224, 0.58), rgba(112, 76, 218, 0.6));
  box-shadow: 0 0 34px rgba(104, 185, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.twitch-extension-access-kicker {
  display: block;
  margin-bottom: 8px;
  color: #8acbff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.twitch-extension-access-hero h1,
.twitch-extension-access-panel h2 {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.twitch-extension-access-hero h1 {
  max-width: 640px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.twitch-extension-access-hero p,
.twitch-extension-access-copy p,
.twitch-extension-access-copy li {
  color: var(--muted);
  line-height: 1.65;
}

.twitch-extension-access-hero p {
  max-width: 600px;
  margin: 16px 0 0;
  font-size: 1rem;
}

.twitch-extension-access-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: start;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(104, 185, 255, 0.2);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(19, 34, 59, 0.84), rgba(10, 17, 32, 0.9));
  box-shadow: 0 24px 70px rgba(3, 8, 18, 0.34), 0 0 34px rgba(104, 117, 255, 0.08);
}

.twitch-extension-access-panel h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: -0.035em;
}

.twitch-extension-access-copy p {
  max-width: 620px;
  margin: 12px 0 0;
}

.twitch-extension-access-copy ol {
  margin: 18px 0 0;
  padding-left: 20px;
}

.twitch-extension-access-copy li + li {
  margin-top: 7px;
}

.twitch-extension-access-actions {
  display: grid;
  gap: 11px;
}

.twitch-extension-access-actions .button-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(104, 185, 255, 0.3);
  border-radius: 12px;
  color: #eff7ff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.twitch-extension-access-actions .button-link.primary {
  border-color: rgba(104, 185, 255, 0.64);
  background: linear-gradient(135deg, rgba(52, 148, 234, 0.94), rgba(112, 76, 218, 0.94));
  box-shadow: 0 12px 30px rgba(52, 120, 224, 0.22);
}

.twitch-extension-access-actions .button-link.secondary {
  background: rgba(10, 22, 40, 0.62);
  color: #bde4ff;
}

.twitch-extension-access-actions .button-link:focus-visible,
.twitch-extension-access-actions .button-link:active {
  border-color: #8ee0ff;
  box-shadow: 0 0 0 3px rgba(104, 185, 255, 0.18), 0 0 24px rgba(104, 185, 255, 0.2);
  outline: none;
}

@media (max-width: 720px) {
  .twitch-extension-access-hero {
    grid-template-columns: 1fr;
  }

  .twitch-extension-access-mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 1.35rem;
  }

  .twitch-extension-access-panel {
    grid-template-columns: 1fr;
  }
}
/* Shared navigation: the same top and bottom navigation is used on every viewport. */
body.shared-navigation .shell {
  padding-bottom: 132px;
}

body.shared-navigation .brand,
body.shared-navigation .desktop-brand-game,
body.shared-navigation .desktop-nav,
body.shared-navigation .desktop-utility-nav,
body.shared-navigation .mobile-utility-nav {
  display: none !important;
}

body.shared-navigation .topbar {
  position: sticky;
  top: 0;
  z-index: 94;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 20px calc(50% - 50vw);
  padding: 14px max(18px, calc((100vw - 1180px) / 2 + 18px));
  border: 0;
  border-bottom: 1px solid rgba(147, 168, 196, 0.16);
  border-radius: 0;
  background: rgba(11, 17, 29, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(3, 8, 18, 0.2);
}

body.shared-navigation .topbar::before,
body.shared-navigation .topbar::after {
  display: none;
}

body.shared-navigation .mobile-header-core,
body.shared-navigation .mobile-header-core--global {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  width: 100%;
  min-width: 0;
}

body.shared-navigation .mobile-header-main,
body.shared-navigation .mobile-header-main--tcg {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
}

body.shared-navigation .mobile-top-actions,
body.shared-navigation .mobile-global-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

body.shared-navigation .mobile-wallet-pill,
body.shared-navigation .mobile-topbar-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

body.shared-navigation .mobile-wallet-pill {
  gap: 6px;
  text-decoration: none;
}

body.shared-navigation .mobile-wallet-asset {
  display: block;
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
}

body.shared-navigation .mobile-wallet-value {
  max-width: none;
  overflow: visible;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

body.shared-navigation .mobile-topbar-action {
  position: relative;
}

body.shared-navigation .mobile-topbar-action .nav-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: #3ea6b4;
}

body.shared-navigation .mobile-topbar-action .nav-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body.shared-navigation .mobile-notification-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  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;
  line-height: 1;
}

body.shared-navigation .mobile-game-menu-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: min(260px, 42vw);
  min-height: 42px;
  padding: 4px 8px 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.shared-navigation .mobile-game-menu-label,
body.shared-navigation .mobile-game-menu-code {
  display: none !important;
}

body.shared-navigation .mobile-game-menu-trigger .topbar-game-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: 180px;
  height: 42px;
  min-width: 0;
  margin: 0;
  flex: 0 1 auto;
}

body.shared-navigation .mobile-game-menu-trigger .topbar-game-logo {
  display: block;
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: 36px;
  object-fit: contain;
}

body.shared-navigation .mobile-game-menu-trigger .desktop-menu-caret {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: 0 4px 5px 10px;
  border-right: 1.8px solid rgba(231, 238, 251, 0.82);
  border-bottom: 1.8px solid rgba(231, 238, 251, 0.82);
  transform: rotate(45deg);
  opacity: 0.76;
}

body.shared-navigation .mobile-topbar-avatar .global-avatar-shell,
body.shared-navigation .mobile-topbar-avatar img,
body.shared-navigation .mobile-topbar-avatar .avatar-fallback {
  width: 46px !important;
  height: 46px !important;
}

body.shared-navigation .mobile-topbar-avatar img,
body.shared-navigation .mobile-topbar-avatar .avatar-fallback {
  border-radius: 50%;
  border: 0;
}

body.shared-navigation .mobile-bottom-nav {
  display: grid !important;
  left: 50% !important;
  right: auto !important;
  bottom: 16px !important;
  width: min(calc(100vw - 32px), 1180px) !important;
  max-width: 1180px;
  transform: translateX(-50%);
  grid-template-columns: repeat(var(--mobile-nav-count, 5), minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid rgba(147, 168, 196, 0.18);
  border-radius: 24px;
  background: rgba(8, 14, 26, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 58px rgba(2, 7, 18, 0.42);
  overflow: visible;
}

body.shared-navigation .mobile-nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  padding: 6px 8px;
  border-radius: 16px;
  color: #8fa2bf;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

body.shared-navigation .mobile-nav-link:hover,
body.shared-navigation .mobile-nav-link:focus-visible {
  color: #f6fbff;
  background: rgba(255, 255, 255, 0.06);
  transform: none;
}

body.shared-navigation .mobile-nav-link.active {
  color: #3ea6b4;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.2), rgba(62, 166, 180, 0.14));
}

body.shared-navigation .mobile-nav-link.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
  transform: translateX(-50%);
}

body.shared-navigation .mobile-nav-icon,
body.shared-navigation .mobile-nav-icon svg {
  width: 24px;
  height: 24px;
}

body.shared-navigation .mobile-nav-label {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 1px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.shared-navigation .mobile-nav-link--scan {
  z-index: 2;
  align-self: center;
  width: 62px;
  max-width: 62px;
  height: 62px;
  min-height: 62px;
  margin: -16px auto 0;
  padding: 0;
  border: 3px solid rgba(8, 14, 26, 0.96);
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.42);
}

body.shared-navigation .mobile-nav-link--scan::before,
body.shared-navigation .mobile-nav-link--scan.active::before {
  display: none;
}

body.shared-navigation .mobile-nav-link--scan .mobile-nav-icon {
  width: 28px;
  height: 28px;
  color: #fff;
}

body.shared-navigation .mobile-nav-link--scan .mobile-nav-icon svg {
  width: 25px;
  height: 25px;
}

body.shared-navigation .mobile-nav-link--scan .mobile-nav-label {
  display: none;
}

body.shared-navigation .mobile-nav-link--scan:hover,
body.shared-navigation .mobile-nav-link--scan:focus-visible,
body.shared-navigation .mobile-nav-link--scan.active {
  background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.58), 0 0 14px rgba(59, 130, 246, 0.72);
  transform: translateY(-2px) scale(1.05);
}

@media (max-width: 768px) {
  body.shared-navigation .shell {
    padding-bottom: 132px;
  }

  body.shared-navigation .topbar {
    top: 0;
    margin-bottom: 0;
    padding: 14px 16px;
  }

  body.shared-navigation .mobile-game-menu-trigger .topbar-game-visual {
    width: 110px;
    height: 36px;
  }

  body.shared-navigation .mobile-game-menu-trigger .topbar-game-logo {
    max-height: 24px;
    height: 24px;
  }

  body.shared-navigation .mobile-game-menu-trigger .desktop-menu-caret {
    width: 7px;
    height: 7px;
    margin-left: 8px;
  }

  body.shared-navigation .mobile-bottom-nav {
    bottom: 0 !important;
    width: 100vw !important;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
  }

  body.shared-navigation .mobile-nav-link {
    min-height: 64px;
    border-radius: 0;
  }

  body.shared-navigation .mobile-nav-link--scan {
    margin-top: -14px;
  }
}

@media (max-width: 420px) {
  body.shared-navigation .mobile-global-actions {
    gap: 12px;
  }

  body.shared-navigation .mobile-wallet-asset {
    width: 20px;
    height: 20px;
  }

  body.shared-navigation .mobile-wallet-value {
    max-width: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* The shared shell uses the same game picker and transition treatment on desktop and mobile. */
body.shared-navigation .mobile-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 129;
  display: block !important;
  background: rgba(4, 10, 20, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body.shared-navigation .mobile-sheet-backdrop.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.shared-navigation .mobile-sheet-backdrop[hidden],
body.shared-navigation .mobile-sheet[hidden] {
  display: none !important;
}

body.shared-navigation .mobile-sheet {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 32px;
  z-index: 130;
  display: grid !important;
  width: min(calc(100vw - 32px), 406px);
  max-height: min(72vh, 520px);
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  scrollbar-width: none;
}

body.shared-navigation .mobile-sheet::-webkit-scrollbar {
  display: none;
}

body.shared-navigation .mobile-sheet.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0);
}

body.shared-navigation .mobile-sheet-profile-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

body.shared-navigation .mobile-sheet-profile-row > .mobile-sheet-profile {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 2px;
}

body.shared-navigation .mobile-sheet-profile-row > .browser-language-selector--compact {
  position: relative;
  flex: 0 0 auto;
  margin-top: 9px;
  z-index: 2;
}

body.shared-navigation .mobile-sheet-profile-row > .browser-language-selector--compact summary {
  box-sizing: border-box;
  width: 72px;
  min-width: 72px;
  min-height: 36px;
  padding: 0 8px;
  gap: 5px;
  border-radius: 12px;
  font-size: 11px;
}

body.shared-navigation .mobile-sheet-profile-row > .browser-language-selector--compact .browser-language-flag {
  width: 20px;
  height: 14px;
  flex-basis: 20px;
}

body.shared-navigation .mobile-sheet-profile-row > .browser-language-selector--compact .browser-language-code,
body.shared-navigation .mobile-sheet-profile-row > .browser-language-selector--compact .browser-language-caret {
  display: inline;
}

@media (min-width: 769px) {
  body.shared-navigation .mobile-sheet--user {
    top: 90px;
    right: max(18px, calc((100vw - 1180px) / 2 + 18px));
    bottom: auto;
    left: auto;
    width: min(calc(100vw - 32px), 406px);
    max-height: min(calc(100vh - 108px), 620px);
    overflow: visible;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top right;
  }

  body.shared-navigation .mobile-sheet--user.is-open {
    transform: translateY(0) scale(1);
  }

  body.shared-navigation .mobile-sheet--user .mobile-sheet-profile-row > .browser-language-selector--compact .browser-language-menu {
    top: auto;
    bottom: calc(100% + 8px);
  }
}

body.shared-navigation.mobile-sheet-open {
  overflow: hidden;
}

body.shared-navigation .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.shared-navigation.page-transition-active .page-transition-layer {
  opacity: 1;
  visibility: visible;
}

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

body.shared-navigation .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.shared-navigation.page-transition-active .page-transition-loader {
  transform: translateY(0) scale(1);
}

body.shared-navigation.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.shared-navigation .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.shared-navigation .page-transition-logo-shell::before,
body.shared-navigation .page-transition-logo-shell::after {
  content: none;
  display: none;
}

body.shared-navigation .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.shared-navigation .page-transition-logo--base {
  opacity: 0.26;
  filter: grayscale(1) brightness(1.35);
}

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

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

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

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

body.shared-navigation .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.shared-navigation .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.shared-navigation .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 (max-width: 768px) {
  body.shared-navigation .mobile-sheet {
    bottom: 12px;
  }
}

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

@media (min-width: 769px) {
  body.shared-navigation .mobile-topbar-avatar .global-avatar-shell > .global-avatar-photo > img,
  body.shared-navigation .mobile-topbar-avatar .global-avatar-shell > .global-avatar-photo > .avatar-fallback {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }
}

/*
 * The Android wrapper marks <html>, while this shared partial is loaded after
 * the Android-specific effects partial. Keep the app navigation anchored to
 * the viewport after the shared mobile centering rules have been applied.
 */
html.is-android-app body .mobile-bottom-nav {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
}
