:root {
  color-scheme: dark;
  --canvas: oklch(14% 0.009 255);
  --surface-1: oklch(17% 0.011 255);
  --surface-2: oklch(20% 0.012 255);
  --surface-3: oklch(23% 0.013 255);
  --surface-4: oklch(27% 0.014 255);
  --line-soft: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: rgba(255, 255, 255, 0.9);
  --muted: rgba(224, 230, 240, 0.56);
  --faint: rgba(224, 230, 240, 0.34);
  --accent: oklch(62% 0.225 258);
  --accent-hover: oklch(67% 0.205 258);
  --accent-soft: oklch(62% 0.225 258 / 0.15);
  --positive: oklch(75% 0.16 153);
  --positive-soft: oklch(75% 0.16 153 / 0.1);
  --negative: oklch(68% 0.2 25);
  --negative-soft: oklch(68% 0.2 25 / 0.1);
  --warning: oklch(78% 0.15 80);
  --r-1: 3px;
  --r-2: 5px;
  --r-3: 8px;
  --header-h: 56px;
  --ticker-h: 44px;
  --page-pad: 18px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --duration-press: 120ms;
  --duration-ui: 160ms;
  --duration-drawer: 240ms;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button:active,
.pressable:active {
  transform: scale(0.97);
}

.period-button:active,
.tab-button:active,
.filter-button:active,
.sale-mode-card:active {
  transform: none;
}

img {
  max-width: 100%;
}

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

.mono,
.numeric,
.stat-value,
.rank-number,
.ticker-value,
.price-value,
.summary-value,
.activity-price,
.activity-time,
.portfolio-value,
.asset-card-meta,
.chart-axis {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 12px;
  border-radius: var(--r-1);
  background: var(--text);
  color: var(--canvas);
  transform: translateY(-160%);
  transition: transform 140ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) max-content;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.wordmark-mark {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 22px;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  border-radius: var(--r-1);
  color: var(--muted);
  font-weight: 640;
}

.topnav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--text);
}

.search-wrap {
  justify-self: center;
  width: min(100%, 520px);
  padding: 0 18px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
}

.search svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--faint);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface-1);
}

.search input::placeholder {
  color: var(--faint);
}

.search kbd {
  position: absolute;
  right: 8px;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--faint);
  font: 10px ui-monospace, monospace;
}

.search-results {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(420px, 70vh);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in oklch, var(--surface-1) 96%, black);
  box-shadow: 0 18px 48px rgb(0 0 0 / 42%);
}

.search-results-status,
.search-result small {
  color: var(--faint);
}

.search-results-status {
  margin: 0;
  padding: 12px;
  font-size: 13px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

.search-result img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-2);
}

.search-result span {
  min-width: 0;
}

.search-result strong,
.search-result small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result strong {
  font-size: 13px;
  font-weight: 680;
}

.search-result small {
  margin-top: 2px;
  font-size: 11px;
}

.search-result:hover,
.search-result.is-active {
  background: color-mix(in oklch, var(--accent) 16%, var(--surface-2));
}

.top-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.network-pill,
.wallet-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.network-pill,
.wallet-button,
.period-button,
.filter-button,
.primary-button,
.secondary-button,
.tab-button,
.mini-button,
.select-control {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: var(--surface-1);
  cursor: pointer;
  transition-property: background-color, border-color, color, transform;
  transition-duration: var(--duration-press);
  transition-timing-function: var(--ease);
}

.network-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 730;
  letter-spacing: 0.05em;
}

.network-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 3px var(--positive-soft);
}

.network-pill[data-state="degraded"] .network-dot {
  background: var(--warning);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--warning) 18%, transparent);
}

.wallet-button,
.primary-button {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 740;
}

.wallet-button {
  padding: 0 13px;
}

.wallet-disconnect {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: transparent;
  color: var(--muted);
  font-weight: 650;
  cursor: pointer;
}

.wallet-disconnect[hidden] {
  display: none;
}

.locale-switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
}

.locale-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 11.5rem;
  min-height: 40px;
  padding: 0 12px 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface-2) 88%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  color: var(--text);
  font: 650 13px/1 Outfit, "PingFang SC", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Thai", "Noto Naskh Arabic", sans-serif;
  cursor: pointer;
}

.locale-trigger:hover,
.locale-switch.is-open .locale-trigger {
  border-color: color-mix(in oklch, var(--accent) 48%, var(--line));
  background: color-mix(in oklch, var(--surface-3) 80%, transparent);
}

.locale-globe,
.locale-chevron {
  flex: 0 0 auto;
}

.locale-globe {
  width: 15px;
  height: 15px;
  color: var(--accent-hover);
}

.locale-current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.locale-chevron {
  width: 10px;
  height: 8px;
  color: var(--faint);
  transition: transform 160ms var(--ease);
}

.locale-switch.is-open .locale-chevron {
  transform: rotate(180deg);
}

.locale-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 60;
  display: grid;
  gap: 2px;
  width: max-content;
  min-width: 196px;
  max-height: min(360px, calc(100vh - 88px));
  padding: 6px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in oklch, var(--surface-1) 94%, black);
  box-shadow: 0 18px 48px oklch(8% 0.02 258 / 0.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(186, 210, 255, 0.32) transparent;
}

.locale-menu::-webkit-scrollbar {
  width: 10px;
}

.locale-menu::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(186, 210, 255, 0.32);
  background-clip: padding-box;
}

.locale-menu[hidden] {
  display: none;
}

.locale-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: 560 13px/1.2 Outfit, "PingFang SC", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Thai", "Noto Naskh Arabic", sans-serif;
  text-align: start;
  cursor: pointer;
}

.locale-option:hover {
  background: var(--surface-3);
  color: var(--text);
}

.locale-option.is-active {
  background: var(--accent-soft);
  color: var(--text);
}

.locale-option.is-active::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 24%, transparent);
}

html[dir="rtl"] body {
  direction: rtl;
}

.ticker {
  display: flex;
  align-items: stretch;
  min-height: var(--ticker-h);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-1);
}

.ticker-label {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  color: var(--faint);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.ticker-track {
  display: flex;
  align-items: center;
  min-width: max-content;
}

.ticker-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 17px;
  border-right: 1px solid var(--line-soft);
  white-space: nowrap;
}

.ticker-name {
  color: var(--muted);
  font-size: 10px;
}

.ticker-value {
  font-size: 10px;
}

.positive {
  color: var(--positive) !important;
}

.negative {
  color: var(--negative) !important;
}

.page {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--page-pad);
}

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 720;
  letter-spacing: 0;
}

.page-heading p {
  max-width: 62ch;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
  text-wrap: pretty;
}

.page-heading h1,
.section-head h2,
.step-title {
  text-wrap: balance;
}

.page-heading-meta {
  flex: 0 0 auto;
  color: var(--faint);
  font: 10px ui-monospace, monospace;
  text-align: right;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 720;
}

.section-head-meta {
  color: var(--faint);
  font: 10px ui-monospace, monospace;
}

.section-tools,
.catalog-head-tools,
.period-switch,
.tab-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.catalog-head-tools {
  gap: 10px;
}

.catalog-finality {
  flex: 0 0 auto;
  white-space: nowrap;
}

.period-switch,
.tab-list {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: var(--surface-1);
}

.period-button,
.tab-button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 10px;
}

.period-button.is-active,
.tab-button.is-active {
  background: var(--surface-3);
  color: var(--text);
}

/* Home */
.market-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.market-stat {
  min-width: 0;
  padding: 17px 16px;
  border-right: 1px solid var(--line-soft);
}

.market-stat:last-child {
  border-right: 0;
}

.stat-label {
  display: block;
  color: var(--faint);
  font-size: 9px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-value {
  display: block;
  margin-top: 7px;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 680;
  letter-spacing: -0.025em;
}

.stat-delta {
  display: inline-block;
  margin-top: 5px;
  font: 9px ui-monospace, monospace;
}

.discover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(340px, 0.92fr);
  gap: 1px;
  margin-top: 18px;
  background: var(--line);
  border: 1px solid var(--line);
}

.featured-primary,
.featured-secondary {
  position: relative;
  display: grid;
  min-width: 0;
  background: var(--canvas);
  overflow: hidden;
}

.featured-primary {
  grid-template-columns: minmax(0, 1.34fr) minmax(210px, 0.66fr);
  min-height: 394px;
}

.feature-art {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

.feature-art-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  background: #07090d;
}

.feature-art-fill {
  position: absolute;
  inset: -22%;
  width: 144%;
  height: 144%;
  object-fit: cover;
  filter: blur(32px) saturate(1.2) brightness(0.42);
  transform: scale(1.08);
  pointer-events: none;
}

.feature-art-stage > .feature-art {
  position: relative;
  z-index: 1;
  width: auto;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--surface-1);
}

.feature-kicker {
  color: var(--accent-hover);
  font: 730 9px ui-monospace, monospace;
  letter-spacing: 0.1em;
}

.feature-copy h2,
.secondary-copy h3 {
  margin: 10px 0 0;
  font-weight: 720;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.feature-copy h2 {
  font-size: clamp(25px, 3vw, 38px);
}

.feature-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  text-wrap: pretty;
}

.feature-floor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
}

.feature-metric {
  padding: 13px;
  background: var(--canvas);
}

.feature-metric small {
  display: block;
  color: var(--faint);
  font-size: 9px;
}

.feature-metric strong {
  display: block;
  margin-top: 5px;
  font: 680 13px ui-monospace, monospace;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border-radius: var(--r-1);
  background: var(--accent);
  color: white;
  font-weight: 720;
}

.featured-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.featured-secondary {
  grid-template-columns: 42% 1fr;
  min-height: 196px;
}

.featured-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms var(--ease);
}

.secondary-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px;
  background: var(--surface-1);
}

.secondary-copy h3 {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.secondary-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.secondary-meta span {
  color: var(--faint);
  font-size: 9px;
}

.secondary-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font: 650 11px ui-monospace, monospace;
}

.home-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(330px, 0.74fr);
  gap: 18px;
  margin-top: 18px;
  scroll-margin-top: 88px;
}

.rank-table,
.activity-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.rank-header,
.rank-row {
  display: grid;
  grid-template-columns: 42px minmax(190px, 1fr) 94px 82px 110px;
  align-items: center;
  min-height: 57px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line-soft);
}

.rank-header {
  min-height: 34px;
  color: var(--faint);
  font-size: 8px;
  font-weight: 740;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rank-header span:nth-child(n + 3) {
  text-align: right;
}

.rank-index {
  color: var(--faint);
  font: 10px ui-monospace, monospace;
}

.rank-collection {
  display: flex;
  align-items: center;
  min-width: 0;
}

.rank-collection img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  margin-right: 9px;
  border-radius: var(--r-1);
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

.rank-collection span {
  min-width: 0;
}

.rank-collection strong,
.rank-collection small,
.rank-number strong,
.rank-number small {
  display: block;
}

.rank-collection strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-collection small,
.rank-number small {
  margin-top: 3px;
  color: var(--faint);
  font-size: 8px;
}

.nft-standard-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	width: fit-content;
	padding: 3px 6px;
	border: 1px solid var(--line-strong);
	background: var(--canvas);
	font: 720 8px ui-monospace, monospace;
	letter-spacing: 0.04em;
}

.nft-standard-badge small {
	margin: 0;
	font: inherit;
	opacity: 0.64;
}

.nft-standard-badge.standard-erc721 {
	border-color: color-mix(in oklch, var(--accent) 54%, var(--line));
	color: var(--accent);
}

.nft-standard-badge.standard-erc1155 {
	border-style: dashed;
	border-color: color-mix(in oklch, var(--warning) 58%, var(--line));
	color: var(--warning);
}

.rank-number {
  text-align: right;
}

.rank-number strong {
  color: var(--text);
  font-size: 10px;
  font-weight: 650;
}

.activity-feed {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(108px, auto);
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
}

a.activity-item {
  color: inherit;
  text-decoration: none;
}

a.activity-item:hover {
  background: color-mix(in oklch, var(--panel) 92%, white);
}

.activity-panel .network-dot,
.live-transfers .network-dot {
  animation: live-pulse 1.8s ease-out infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 var(--positive-soft); }
  70% { box-shadow: 0 0 0 8px transparent; }
}

.activity-item img {
  width: 38px;
  height: 38px;
  border-radius: var(--r-1);
  object-fit: cover;
}

.activity-copy {
  min-width: 0;
}

.activity-copy strong,
.activity-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy strong {
  font-size: 10px;
}

.activity-copy small,
.activity-time {
  margin-top: 3px;
  color: var(--faint);
  font-size: 8px;
}

.activity-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  min-width: 108px;
  text-align: right;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.activity-price .activity-time {
  display: block;
  margin-top: 0;
  font-weight: 500;
}

/* Listing */
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.7fr);
  gap: 18px;
  padding-top: 18px;
}

.listing-workspace,
.order-panel {
  border: 1px solid var(--line);
  background: var(--surface-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.listing-step {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 12px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--muted);
  font: 9px ui-monospace, monospace;
}

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

.owned-choice {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  background: var(--canvas);
  text-align: left;
  cursor: pointer;
}

.owned-choice.is-selected {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.owned-choice img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.owned-choice span {
  display: block;
  overflow: hidden;
  padding: 9px;
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-check {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid !important;
  place-items: center;
  width: 23px;
  height: 23px;
  padding: 0 !important;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
}

.listing-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  min-height: 40px;
  padding: 0 11px;
  color: var(--muted);
}

.filter-button.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.filter-button:disabled {
  color: var(--faint);
  cursor: not-allowed;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.input-shell input,
.select-control {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: var(--canvas);
}

.input-shell input {
  padding-right: 78px;
  font-family: ui-monospace, monospace;
  font-size: 15px;
}

.input-suffix {
  position: absolute;
  right: 12px;
  color: var(--faint);
  font: 9px ui-monospace, monospace;
}

.field-help {
  color: var(--faint);
  font-size: 9px;
  line-height: 1.6;
}

.order-panel {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  align-self: start;
}

.order-preview {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.order-preview img {
  width: 74px;
  height: 74px;
  border-radius: var(--r-1);
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

.order-preview small,
.order-preview strong {
  display: block;
}

.order-preview small {
  color: var(--faint);
  font-size: 9px;
}

.order-preview strong {
  margin-top: 6px;
  font-size: 13px;
}

.order-summary {
  padding: 12px 14px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  color: var(--muted);
  font-size: 10px;
}

.summary-row.total {
  min-height: 46px;
  margin-top: 4px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  font-weight: 720;
}

.order-actions {
  padding: 0 14px 14px;
}

.order-actions .primary-button,
.order-actions .secondary-button {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
}

.primary-button:disabled {
  border-color: var(--line);
  background: var(--surface-3);
  color: var(--faint);
  cursor: not-allowed;
}

.signing-checks {
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 9px;
}

.signing-checks span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--positive);
}

/* Activity */
.activity-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 0;
}

.activity-observatory,
.live-transfers,
.transfer-ranking,
.movement-chart-panel,
.movement-composition-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.activity-dashboard-head > div:first-child,
.live-transfers .section-head > div,
.transfer-ranking .section-head > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.period-switch {
  display: flex;
  gap: 4px;
}

.chain-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  background: var(--line-soft);
  gap: 1px;
}

.chain-kpi {
  min-width: 0;
  padding: 14px;
  background: var(--canvas);
}

.chain-kpi small,
.chain-kpi strong,
.chain-kpi span {
  display: block;
}

.chain-kpi small {
  color: var(--faint);
  font-size: 8px;
}

.chain-kpi strong {
  margin: 7px 0 5px;
  font: 700 clamp(16px, 2vw, 22px) ui-monospace, monospace;
  letter-spacing: -0.04em;
}

.chain-kpi > span {
  overflow: hidden;
  color: var(--faint);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chain-kpi > span b {
  font-weight: inherit;
}

.chain-kpi.primary {
  background: var(--accent-soft);
  box-shadow: inset 0 1px 0 var(--accent);
}

.movement-analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 1px;
  border-top: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.data-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.data-panel-head h3,
.data-panel-head p {
  margin: 0;
}

.data-panel-head h3 {
  font-size: 11px;
}

.data-panel-head p {
  margin-top: 4px;
  color: var(--faint);
  font-size: 8px;
}

.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font-size: 8px;
  white-space: nowrap;
}

.composition-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.composition-dot {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--accent);
}

.composition-dot.market {
  background: var(--positive);
}

.composition-dot.mint {
  background: var(--warning);
}

.composition-dot.burn {
  background: var(--negative);
}

.heatmap-scale {
  display: grid;
  grid-template-columns: repeat(5, 7px);
  gap: 2px;
}

.heatmap-scale i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--accent) 18%, var(--surface-2));
}

.heatmap-scale i:nth-child(2) { background: color-mix(in oklch, var(--accent) 34%, var(--surface-2)); }
.heatmap-scale i:nth-child(3) { background: color-mix(in oklch, var(--accent) 52%, var(--surface-2)); }
.heatmap-scale i:nth-child(4) { background: color-mix(in oklch, var(--accent) 72%, var(--surface-2)); }
.heatmap-scale i:nth-child(5) { background: color-mix(in oklch, var(--accent) 94%, var(--surface-2)); }

.movement-chart {
  --heatmap-columns: 12;
  --heatmap-cell-max: clamp(34px, 3.4vw, 42px);
  display: grid;
  grid-template-columns: minmax(72px, 92px) repeat(var(--heatmap-columns), minmax(0, var(--heatmap-cell-max)));
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 20px 14px 22px;
}

.movement-chart[data-heatmap-columns="6"] {
  --heatmap-cell-max: 52px;
}

.movement-chart[data-heatmap-columns="7"] {
  --heatmap-cell-max: 48px;
}

.heatmap-time {
  min-width: 0;
  overflow: hidden;
  color: var(--faint);
  font: 8px ui-monospace, monospace;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.heatmap-row-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  padding-right: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.heatmap-row-label strong {
  color: var(--text);
  font: 700 10px ui-monospace, monospace;
}

.heatmap-cell {
  --heatmap-color: var(--accent);
  --heatmap-strength: 0%;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: var(--heatmap-cell-max);
  aspect-ratio: 1;
  border: 1px solid var(--line-soft);
  border-radius: 1px;
  background: color-mix(in oklch, var(--heatmap-color) var(--heatmap-strength), var(--surface-2));
  color: color-mix(in oklch, var(--text) 86%, transparent);
  font: 700 8px ui-monospace, monospace;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  transition: border-color var(--duration-press) var(--ease), transform var(--duration-press) var(--ease);
}

.heatmap-market { --heatmap-color: var(--positive); }
.heatmap-mint { --heatmap-color: var(--warning); }
.heatmap-cell.level-1 { --heatmap-strength: 18%; }
.heatmap-cell.level-2 { --heatmap-strength: 34%; }
.heatmap-cell.level-3 { --heatmap-strength: 52%; }
.heatmap-cell.level-4 { --heatmap-strength: 72%; }
.heatmap-cell.level-5 { --heatmap-strength: 94%; }

@media (hover: hover) and (pointer: fine) {
  .heatmap-cell:hover {
    position: relative;
    z-index: 1;
    border-color: var(--text);
    transform: scale(1.04);
  }
}

.movement-composition {
  display: grid;
  gap: 13px;
  padding: 16px 14px;
}

.indexed-empty {
  grid-column: 1 / -1;
  padding: 28px 16px;
  color: var(--faint);
  font: 10px ui-monospace, monospace;
  text-align: center;
}

.catalog-status {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.catalog-status strong {
  color: var(--text);
  font-size: 13px;
}

.catalog-status .secondary-button {
  font-size: 13px;
}

.asset-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 280px;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.prototype-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
  padding: 6px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  background: color-mix(in oklch, var(--warning) 5%, var(--canvas));
  font-size: 9px;
}

.prototype-banner strong {
  color: var(--warning);
  font: 700 8px ui-monospace, monospace;
  letter-spacing: .12em;
}

.asset-empty strong {
  color: var(--text);
  font: 600 14px var(--sans);
}

.asset-empty span {
  max-width: 340px;
  line-height: 1.6;
}

.composition-row > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 9px;
}

.composition-row strong {
  font: 650 9px ui-monospace, monospace;
}

.composition-row progress {
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--surface-3);
  appearance: none;
}

.composition-row progress::-webkit-progress-bar {
  background: var(--surface-3);
}

.composition-row progress::-webkit-progress-value {
  background: var(--accent);
}

.composition-row progress::-moz-progress-bar {
  background: var(--accent);
}

.composition-row:nth-child(2) progress::-webkit-progress-value {
  background: var(--positive);
}

.composition-row:nth-child(2) progress::-moz-progress-bar {
  background: var(--positive);
}

.composition-row:nth-child(3) progress::-webkit-progress-value {
  background: var(--warning);
}

.composition-row:nth-child(3) progress::-moz-progress-bar {
  background: var(--warning);
}

.composition-row:nth-child(4) progress::-webkit-progress-value {
  background: var(--negative);
}

.composition-row:nth-child(4) progress::-moz-progress-bar {
  background: var(--negative);
}

.data-definition {
  margin: 0;
  padding: 11px 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 8px;
  line-height: 1.65;
}

.transfer-intelligence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
  gap: 18px;
  margin-top: 18px;
}

.live-transfer-head,
.live-transfer-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) 92px 92px 92px 150px 88px;
  align-items: center;
  min-width: 760px;
  gap: 12px;
  padding: 0 12px;
  border-top: 1px solid var(--line-soft);
}

.live-transfers {
  overflow-x: auto;
}

.live-transfer-head {
  min-height: 32px;
  color: var(--faint);
  font-size: 8px;
  text-transform: uppercase;
}

.live-transfer-row {
  min-height: 58px;
  font-size: 9px;
}

.transfer-asset {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.transfer-asset img,
.bundle-count {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: cover;
}

.bundle-count {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface-3);
  font: 700 10px ui-monospace, monospace;
}

.transfer-asset strong,
.transfer-asset small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-asset small,
.live-transfer-row time {
  margin-top: 3px;
  color: var(--faint);
  font-size: 8px;
}

.transfer-kind {
  display: inline-flex;
  justify-self: start;
  padding: 4px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

.transfer-kind.sale,
.transfer-kind.auction {
  border-color: oklch(75% 0.16 153 / 0.4);
  color: var(--positive);
}

.transfer-kind.mint {
  border-color: oklch(78% 0.15 80 / 0.4);
  color: var(--warning);
}

.transfer-rank-head,
.transfer-rank-row {
  display: grid;
  grid-template-columns: 24px minmax(80px, 1fr) 58px 62px 48px;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 9px;
}

.transfer-rank-head {
  min-height: 32px;
  color: var(--faint);
  font-size: 8px;
}

.transfer-rank-row > span:nth-child(n + 3),
.transfer-rank-head > span:nth-child(n + 3) {
  text-align: right;
}

.transfer-rank-row > span:not(.positive):not(.negative) {
  color: var(--faint);
  font-family: ui-monospace, monospace;
}

.transfer-rank-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
}

.transfer-rank-name img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.activity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.68fr);
  gap: 18px;
  margin-top: 18px;
}

.chart-panel,
.market-depth,
.trades-table {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.chart-value-block {
  padding: 18px 18px 0;
}

.chart-value-block span {
  display: block;
  color: var(--faint);
  font-size: 9px;
}

.chart-value-block strong {
  display: block;
  margin-top: 6px;
  font: 680 clamp(21px, 3vw, 30px) ui-monospace, monospace;
  letter-spacing: -0.03em;
}

.chart-wrap {
  position: relative;
  padding: 12px 18px 14px;
}

.line-chart {
  display: block;
  width: 100%;
  height: 220px;
  overflow: visible;
}

.chart-grid-line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.chart-fill {
  fill: oklch(62% 0.225 258 / 0.09);
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 8px;
}

.depth-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.depth-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 80px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  font: 9px ui-monospace, monospace;
}

.depth-row::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--depth);
  background: var(--accent-soft);
  pointer-events: none;
}

.depth-row > * {
  position: relative;
}

.depth-row span:nth-child(n + 2) {
  text-align: right;
}

.trades-table {
  margin-top: 18px;
}

.trade-header,
.trade-row {
  display: grid;
  grid-template-columns: 98px minmax(210px, 1.3fr) minmax(120px, 0.8fr) 150px 100px 108px;
  align-items: center;
  min-width: 850px;
  padding: 0 14px;
  column-gap: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.event-table .transfer-asset {
  min-width: 0;
}

.event-table .transfer-asset img {
  width: 36px;
  height: 36px;
  border-radius: var(--r-1);
  object-fit: cover;
}

.trade-header {
  min-height: 34px;
  color: var(--faint);
  font-size: 8px;
  font-weight: 730;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.trade-row {
  min-height: 52px;
  font-size: 10px;
}

.activity-empty {
  display: grid;
  min-width: 790px;
  min-height: 116px;
  place-items: center;
  padding: 20px;
  color: var(--faint);
  font-size: 10px;
  text-align: center;
}

[data-live-transfers] .activity-empty,
[data-ending-auctions] .activity-empty {
  min-width: 0;
  min-height: 116px;
}

.trade-row span:nth-child(n + 4),
.trade-header span:nth-child(n + 4) {
  text-align: right;
}

.trade-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mini-button {
  min-height: 40px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 9px;
}

.trade-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
}

.table-scroll {
  overflow-x: auto;
}

/* Assets */
.account-band {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(4, minmax(0, 0.5fr));
  border: 1px solid var(--line);
  border-top: 0;
}

.account-identity,
.portfolio-stat {
  padding: 16px;
  border-right: 1px solid var(--line-soft);
}

.account-identity {
  display: flex;
  align-items: center;
}

.wallet-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font: 720 13px ui-monospace, monospace;
}

.account-copy strong,
.account-copy span {
  display: block;
}

.account-copy strong {
  font-size: 13px;
}

.account-copy span {
  margin-top: 4px;
  color: var(--faint);
  font: 9px ui-monospace, monospace;
}

.portfolio-stat small {
  display: block;
  color: var(--faint);
  font-size: 9px;
}

.portfolio-value {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 670;
}

.asset-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
}

.asset-toolbar-count {
  color: var(--faint);
  font: 9px ui-monospace, monospace;
}

.collection-pager {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.asset-card {
  position: relative;
  min-width: 0;
  background: var(--canvas);
}

.asset-art-link {
  display: block;
  overflow: hidden;
}

.asset-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  outline: 1px solid rgba(255, 255, 255, 0.07);
  outline-offset: -1px;
  transition: transform var(--duration-ui) var(--ease);
}

.asset-card.is-media-pending .asset-art-link,
.asset-card.is-media-missing .asset-art-link {
  position: relative;
}

.asset-card.is-media-pending .asset-art-link::after,
.asset-card.is-media-missing .asset-art-link::after {
  content: attr(data-media-note);
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--canvas) 72%, transparent);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.asset-card-body {
  padding: 10px;
}

.asset-card-body strong,
.asset-collection {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-collection {
  color: var(--faint);
  font-size: 8px;
}

.asset-card-body strong {
  margin-top: 4px;
  font-size: 10px;
}

.asset-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 8px;
}

/* Finalized collection catalog */
.collection-profile {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.collection-cover {
  position: relative;
  overflow: hidden;
  min-height: clamp(140px, 20vw, 260px);
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--accent) 18%, transparent), transparent 55%),
    var(--surface-2) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.collection-cover .feature-art-fill {
  z-index: 0;
}

.collection-cover-art {
  position: relative;
  z-index: 1;
  display: block;
  height: clamp(140px, 20vw, 260px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.collection-cover.has-banner .feature-art-fill {
  display: none;
}

.collection-cover.has-banner .collection-cover-art {
  width: 100%;
  object-fit: cover;
}

.collection-profile-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  padding: 0 18px 18px;
}

.collection-avatar {
  width: 112px;
  height: 112px;
  margin-top: -44px;
  border: 1px solid var(--line-strong);
  background: var(--canvas);
  object-fit: cover;
  box-shadow: 0 0 0 6px var(--surface-1);
}

.collection-identity h1 {
  margin: 4px 0;
  font-size: clamp(26px, 4vw, 46px);
  letter-spacing: -0.05em;
}

.collection-identity p,
.collection-toolbar span,
.collection-trust span {
  color: var(--faint);
  font: 9px ui-monospace, monospace;
}

.collection-trust {
  display: flex;
  gap: 6px;
  align-self: center;
}

.collection-trust .mini-button {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.collection-trust .mini-button[aria-disabled="true"] {
  color: var(--faint);
  cursor: not-allowed;
  opacity: 0.6;
}

.collection-trust span {
  padding: 7px 8px;
  border: 1px solid var(--line);
  background: var(--canvas);
}

.collection-stats {
  display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.item-holder-summary {
	border-top: 1px solid var(--line);
}

.item-holder-summary > header,
.item-holder-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 12px;
	min-height: 38px;
	padding: 0 14px;
	border-top: 1px solid var(--line-soft);
	font: 9px ui-monospace, monospace;
}

.item-holder-summary > header {
	display: flex;
	justify-content: space-between;
	border-top: 0;
	color: var(--faint);
}

.item-holder-row a {
	color: var(--muted);
}

.item-holder-row span {
	color: var(--faint);
}

.collection-stats > div {
  padding: 14px 18px;
  border-right: 1px solid var(--line-soft);
}

.collection-stats dt {
  color: var(--faint);
  font-size: 8px;
}

.collection-stats dd {
  margin: 5px 0 0;
  font: 700 15px ui-monospace, monospace;
}

.collection-toolbar > div,
.collection-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.collection-toolbar > div:first-child {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.collection-toolbar select {
  min-height: 40px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: var(--surface-1);
  color: var(--muted);
}

.asset-card-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 40px;
  margin: 0 10px 10px;
  padding: 0 9px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 9px;
  text-decoration: none;
}

.asset-card-buy strong {
  font-family: ui-monospace, monospace;
}

.asset-card-buy:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.asset-card .asset-select[disabled] {
  display: none;
}

.asset-state {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 5px 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  background: rgba(8, 10, 14, 0.86);
  color: var(--text);
  font-size: 8px;
  font-weight: 680;
}

.state-listed {
  border-color: oklch(62% 0.225 258 / 0.7);
  background: oklch(25% 0.1 258 / 0.9);
}

.state-offered {
  border-color: oklch(75% 0.16 153 / 0.65);
  background: oklch(22% 0.05 153 / 0.9);
}

/* User-story additions */
.context-back,
.breadcrumb,
.section-subtitle,
.section-link {
  color: var(--faint);
  font-size: 10px;
}

.context-back {
  position: relative;
  display: inline-block;
  margin-bottom: 7px;
}

.section-link {
  position: relative;
  font-weight: 650;
}

.context-back::after,
.section-link::after,
.breadcrumb a::after,
.verified-collection::after,
.item-media-head a::after,
.item-owner-line a::after {
  content: "";
  position: absolute;
  inset: -12px -8px;
}

.breadcrumb a,
.verified-collection,
.item-media-head a,
.item-owner-line a {
  position: relative;
}

.auction-discovery {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.auction-discovery .section-head > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.auction-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.home-panel-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 116px;
  background: var(--canvas);
}

.activity-feed .home-panel-empty {
  min-height: 120px;
}

.auction-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: var(--canvas);
  transition: background-color var(--duration-ui) var(--ease), transform var(--duration-press) var(--ease);
}

.auction-card > img {
  width: 116px;
  height: 116px;
  object-fit: cover;
  transition: transform 220ms var(--ease);
}

.auction-card:active {
  transform: scale(0.99);
}

.auction-card-body {
  display: grid;
  align-content: space-between;
  min-width: 0;
  padding: 12px;
}

.auction-card-top,
.auction-card-data {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.auction-card-top > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-card-data small,
.auction-card-data strong {
  display: block;
}

.auction-card-data small {
  color: var(--faint);
  font-size: 8px;
}

.auction-card-data strong {
  margin-top: 4px;
  font: 650 10px ui-monospace, monospace;
}

.auction-card-data > span:last-child {
  text-align: right;
}

.live-badge,
.auction-reserve {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--positive);
  font: 720 8px ui-monospace, monospace;
  white-space: nowrap;
}

.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 3px var(--positive-soft);
}

.auction-reserve.warning {
  color: var(--warning);
}

.selected-asset-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--canvas);
}

.selected-asset-row img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.selected-asset-row small,
.selected-asset-row strong,
.selected-asset-row span {
  display: block;
}

.selected-asset-row small,
.selected-asset-row span {
  color: var(--faint);
  font-size: 9px;
}

.selected-asset-row strong {
  margin: 5px 0;
  font-size: 14px;
}

.selected-asset-row .secondary-button {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 40px;
}

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

.sale-mode-warning {
  margin: 10px 0 0;
  border-color: oklch(78% 0.15 80 / 0.45);
  color: var(--warning);
}

.sale-mode-card:disabled,
.asset-actionbar-actions .is-disabled {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--faint);
  cursor: not-allowed;
  opacity: 0.62;
}

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

.sale-mode-card {
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: var(--canvas);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.sale-mode-card strong,
.sale-mode-card span {
  display: block;
}

.sale-mode-card strong {
  color: var(--text);
  font-size: 12px;
}

.sale-mode-card span {
  margin-top: 8px;
  color: var(--faint);
  font-size: 9px;
}

.sale-mode-card.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 -1px 0 var(--accent);
}

.read-only-value {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
}

.rule-note,
.order-terms {
  margin: 0;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.6;
}

.rule-note {
  padding: 10px 12px;
  border-left: 1px solid var(--accent);
  background: var(--accent-soft);
  text-wrap: pretty;
}

.order-terms {
  margin: 0 14px 14px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  background: var(--canvas);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  padding: 16px 0;
}

.item-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
  gap: 18px;
}

.item-media-panel,
.item-title-block,
.live-auction-panel,
.item-info-box,
.traits-panel,
.bid-history-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.item-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font: 9px ui-monospace, monospace;
}

.item-art {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 170px);
  aspect-ratio: 1;
  object-fit: contain;
  background: #07090d;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

.item-trade-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.item-title-block {
  padding: 18px;
}

.verified-collection {
  color: var(--muted);
  font-size: 11px;
}

.item-title-block h1 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.item-owner-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--faint);
  font-size: 9px;
}

.live-auction-panel {
  padding: 16px;
  box-shadow: inset 0 1px 0 var(--accent);
}

.auction-status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.auction-main-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 16px 0;
  border: 1px solid var(--line);
}

.auction-main-stats > div {
  padding: 14px;
}

.auction-main-stats > div + div {
  border-left: 1px solid var(--line);
}

.auction-main-stats small,
.auction-main-stats strong,
.auction-main-stats span {
  display: block;
}

.auction-main-stats small,
.auction-main-stats span {
  color: var(--faint);
  font-size: 8px;
}

.auction-main-stats strong {
  margin: 6px 0;
  font: 700 19px ui-monospace, monospace;
}

.auction-main-stats strong span {
  display: inline;
  color: inherit;
  font-size: inherit;
}

.bid-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
}

.bid-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 8px;
}

.bid-input-row .primary-button {
  min-height: 44px;
}

.bid-form p {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 9px;
}

.auction-rule-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 14px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.auction-rule-strip span {
  padding: 9px;
  background: var(--canvas);
  color: var(--faint);
  font-size: 8px;
}

.auction-rule-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.secondary-trade-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}

.secondary-trade-actions .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: 1 1 160px;
  min-height: 42px;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
}

a.secondary-button[aria-disabled="true"] {
  cursor: pointer;
  pointer-events: auto;
  opacity: 1;
}

.item-no-market {
  position: relative;
  z-index: 1;
}

.item-primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
}

.item-empty-copy {
  margin: 0;
  padding: 14px;
  color: var(--faint);
  font-size: 10px;
}

.item-definition-list {
  margin: 0;
}

.item-definition-list > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 9px;
}

.item-definition-list dt {
  color: var(--faint);
}

.item-definition-list dd {
  margin: 0;
  font-family: ui-monospace, monospace;
}

.item-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  margin-top: 18px;
  padding-bottom: 20px;
}

.trait-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.trait-cell {
  padding: 12px;
  background: var(--canvas);
}

.trait-cell small,
.trait-cell strong,
.trait-cell span {
  display: block;
}

.trait-cell small,
.trait-cell span {
  color: var(--faint);
  font-size: 8px;
}

.trait-cell strong {
  margin: 5px 0;
  font-size: 10px;
}

.bid-history-list {
  overflow-x: auto;
}

.bid-history-head,
.bid-history-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr 0.7fr;
  min-width: 560px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 9px;
}

.bid-history-head {
  min-height: 34px;
  color: var(--faint);
  font-size: 8px;
}

.bid-history-row time {
  color: var(--faint);
  text-align: right;
}

.activity-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  margin-top: 18px;
  border: 1px solid var(--line);
  padding: 0 10px;
}

.compact-select {
  color: var(--faint);
  font-size: 9px;
}

.compact-select select {
  min-height: 40px;
  margin-left: 7px;
  padding: 0 24px 0 8px;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.event-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 18px;
}

.event-page-layout .trades-table {
  margin-top: 0;
}

.event-table .trade-row[hidden] {
  display: none;
}

.auction-event .trade-dot {
  background: var(--accent);
}

.offer-event .trade-dot {
  background: var(--warning);
}

.listing-event .trade-dot {
  background: oklch(70% 0.12 215);
}

.transfer-event .trade-dot {
  background: var(--faint);
}

.ending-auctions {
  align-self: start;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.ending-auction-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid var(--line-soft);
}

.ending-auction-row img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.ending-auction-row strong,
.ending-auction-row small {
  display: block;
}

.ending-auction-row small {
  margin-top: 4px;
  color: var(--faint);
  font-size: 8px;
}

.ending-auction-row time {
  font: 9px ui-monospace, monospace;
}

.aside-note {
  margin: 0;
  padding: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: 8px;
}

.state-auction {
  border-color: oklch(78% 0.15 80 / 0.7);
  background: oklch(24% 0.06 80 / 0.92);
  color: var(--warning);
}

.asset-card.is-selected {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.asset-select {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  background: rgba(8, 10, 14, 0.88);
  cursor: pointer;
}

.asset-card.is-selected .asset-select {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.asset-actionbar:not([hidden]) {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  margin: auto;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-3);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.asset-actionbar strong,
.asset-actionbar span {
  display: block;
}

.asset-actionbar span {
  margin-top: 3px;
  color: var(--faint);
  font-size: 8px;
}

.asset-actionbar-actions {
  display: flex;
  gap: 7px;
}

.asset-actionbar-actions .primary-button,
.asset-actionbar-actions .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 38px;
  white-space: nowrap;
}

.portfolio-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  display: flex;
  gap: 4px;
  margin-top: 18px;
  padding-bottom: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.portfolio-nav .tab-button {
  flex: 0 0 auto;
}

.portfolio-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

[data-portfolio-panel][hidden] {
  display: none !important;
}

.auction-account-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.auction-account-state small,
.auction-account-state strong,
.auction-account-state span {
  display: block;
}

.auction-account-state small,
.auction-account-state span {
  color: var(--faint);
  font-size: 9px;
}

.auction-account-state strong {
  margin: 5px 0;
  font-size: 12px;
}

.auction-account-state .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  white-space: nowrap;
}

/* Transaction and offer flows */
.transaction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  padding-top: 18px;
}

.transaction-workspace {
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.transaction-steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 1px 0 0;
  list-style: none;
  background: var(--line-soft);
}

.transaction-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 10px 14px;
  background: var(--canvas);
  color: var(--faint);
}

.transaction-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 9px ui-monospace, monospace;
}

.transaction-steps strong,
.transaction-steps small {
  display: block;
}

.transaction-steps small {
  margin-top: 4px;
  font-size: 9px;
}

.transaction-steps .is-current {
  background: var(--accent-soft);
  color: var(--text);
  box-shadow: inset 1px 0 0 var(--accent);
}

.transaction-steps .is-current > span {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.transaction-steps .is-complete {
  color: var(--positive);
}

.transaction-steps .is-complete > span {
  border-color: var(--positive);
}

.transaction-notice {
  display: grid;
  gap: 5px;
  margin: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  font-size: 9px;
}

.success-notice {
  border-color: oklch(75% 0.16 153 / 0.45);
  background: var(--positive-soft);
}

.error-notice {
  border-color: oklch(68% 0.2 25 / 0.45);
  background: var(--negative-soft);
}

.preflight-section {
  border-top: 1px solid var(--line);
}

.preflight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
}

.preflight-grid > div {
  min-height: 68px;
  padding: 13px;
  background: var(--canvas);
}

.preflight-grid small,
.preflight-grid strong {
  display: block;
}

.preflight-grid small {
  color: var(--faint);
  font-size: 8px;
}

.preflight-grid strong {
  margin-top: 7px;
  font-size: 10px;
}

.contract-call-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.contract-call-box small,
.contract-call-box span {
  color: var(--faint);
  font-size: 9px;
}

.contract-call-box strong {
  font-size: 12px;
}

.transaction-item-list {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.transaction-item-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 9px 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 9px;
}

.transaction-item-list small {
  font-size: 8px;
}

.claim-recipient-field {
  display: grid;
  gap: 7px;
  margin: 0 14px 14px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--canvas);
}

.claim-recipient-field label,
.claim-recipient-field small {
  color: var(--faint);
  font-size: 9px;
}

.claim-recipient-field input {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--surface-1);
  font: 9px ui-monospace, monospace;
}

.transaction-actions {
  display: grid;
  gap: 8px;
}

.danger-button {
  border-color: oklch(68% 0.2 25 / 0.45);
  color: var(--negative);
}

.form-error {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--negative);
  font-size: 9px;
}

.mobile-nav {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 90;
  max-width: min(90vw, 480px);
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  background: var(--surface-3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 100%);
  transition-property: opacity, transform;
  transition-duration: var(--duration-press);
  transition-timing-function: var(--ease);
}

.toast[data-visible] {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-duration: var(--duration-ui);
}

/* Motion system */
.motion-entering :is(
  .discover-grid,
  .page-heading,
  .breadcrumb,
  .account-band,
  .activity-observatory
),
.motion-entering :is(
  .auction-discovery,
  .listing-layout,
  .transaction-layout,
  .item-layout,
  .portfolio-nav,
  .transfer-intelligence-grid
),
.motion-entering :is(
  .home-lower,
  .item-lower-grid,
  .asset-toolbar,
  .asset-grid,
  .activity-filter-bar,
  .event-page-layout
) {
  opacity: 0;
  transform: translateY(7px);
  transition-property: opacity, transform;
  transition-duration: 220ms;
  transition-timing-function: var(--ease);
  will-change: opacity, transform;
}

.motion-entering :is(
  .auction-discovery,
  .listing-layout,
  .transaction-layout,
  .item-layout,
  .portfolio-nav,
  .transfer-intelligence-grid
) {
  transition-delay: 35ms;
}

.motion-entering :is(
  .home-lower,
  .item-lower-grid,
  .asset-toolbar,
  .asset-grid,
  .activity-filter-bar,
  .event-page-layout
) {
  transition-delay: 70ms;
}

.motion-entering.motion-mounted :is(
  .discover-grid,
  .page-heading,
  .breadcrumb,
  .account-band,
  .activity-observatory,
  .auction-discovery,
  .listing-layout,
  .transaction-layout,
  .item-layout,
  .portfolio-nav,
  .transfer-intelligence-grid,
  .home-lower,
  .item-lower-grid,
  .asset-toolbar,
  .asset-grid,
  .activity-filter-bar,
  .event-page-layout
) {
  opacity: 1;
  transform: translateY(0);
}

.motion-entering .heatmap-cell {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 180ms var(--ease), transform 220ms var(--ease);
  transition-delay: var(--heatmap-delay, 70ms);
  will-change: opacity, transform;
}

.motion-entering.motion-mounted .heatmap-cell {
  opacity: 1;
  transform: scale(1);
}

.listing-form-grid:not([hidden]),
[data-trait-field]:not([hidden]),
.portfolio-panel:not([hidden]),
.transaction-notice:not([hidden]),
.asset-actionbar:not([hidden]) {
  animation: ui-reveal var(--duration-ui) var(--ease) both;
}

.transaction-steps li {
  transition: background-color var(--duration-ui) var(--ease), color var(--duration-ui) var(--ease), box-shadow var(--duration-ui) var(--ease);
}

.transaction-steps li > span {
  transition: background-color var(--duration-ui) var(--ease), border-color var(--duration-ui) var(--ease), color var(--duration-ui) var(--ease), transform var(--duration-ui) var(--ease);
}

.transaction-steps .is-current > span {
  transform: scale(1.05);
}

.asset-select {
  transition: background-color var(--duration-press) var(--ease), border-color var(--duration-press) var(--ease), color var(--duration-press) var(--ease), transform var(--duration-press) var(--ease);
}

@keyframes ui-reveal {
  from {
    opacity: 0.45;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .topnav a:hover,
  .network-pill:hover,
  .period-button:hover,
  .tab-button:hover,
  .secondary-button:hover,
  .mini-button:hover {
    border-color: var(--line-strong);
    background: var(--surface-2);
    color: var(--text);
  }

  .wallet-button:hover,
  .primary-button:hover,
  .feature-link:hover {
    background: var(--accent-hover);
  }

  .rank-row:hover,
  .activity-item:hover,
  .trade-row:hover {
    background: var(--surface-2);
  }

  .asset-card:hover img {
    transform: scale(1.012);
  }

  .featured-secondary:hover .feature-art,
  .auction-card:hover > img {
    transform: scale(1.012);
  }
}

@media (max-width: 1180px) {
  .topnav {
    margin-left: 10px;
  }

  .topnav a {
    padding: 0 8px;
  }

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

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

  .auction-card:last-child {
    display: none;
  }

  .home-lower,
  .activity-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.7fr);
  }
}

@media (max-width: 940px) {
  .topbar {
    grid-template-columns: auto minmax(180px, 1fr) auto;
  }

  .topnav {
    display: none;
  }

  .discover-grid,
  .home-lower,
  .activity-layout,
  .listing-layout,
  .transaction-layout,
  .item-layout,
  .item-lower-grid,
  .event-page-layout {
    grid-template-columns: 1fr;
  }

  .movement-analysis-grid,
  .transfer-intelligence-grid {
    grid-template-columns: 1fr;
  }

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

  .featured-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .order-panel {
    position: static;
  }

  .item-art {
    max-height: none;
  }

  .account-band {
    grid-template-columns: minmax(260px, 1.5fr) repeat(2, 1fr);
  }

  .portfolio-stat:nth-last-child(-n + 2) {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --page-pad: 10px;
  }

  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .topbar {
    grid-template-columns: auto 1fr auto;
    padding: 0 10px;
  }

  .search-wrap,
  .network-pill {
    display: none;
  }

  .top-actions {
    grid-column: 3;
  }

  .wordmark-text {
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .wallet-button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .locale-trigger {
    max-width: 7.4rem;
    padding-inline: 10px;
    font-size: 12px;
  }

  .locale-menu {
    min-width: 176px;
    max-width: calc(100vw - 20px);
  }

  .ticker-label {
    display: none;
  }

  .ticker-track {
    overflow-x: auto;
  }

  .ticker-item {
    padding: 0 12px;
  }

  .page-heading {
    align-items: start;
    min-height: auto;
    padding: 16px 0;
  }

  .page-heading h1 {
    font-size: 24px;
  }

  .page-heading p {
    max-width: 48ch;
    font-size: 11px;
  }

  .page-heading-meta {
    display: none;
  }

  .market-stats {
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
  }

  .market-stat {
    padding: 13px 10px;
  }

  .market-stat:nth-child(n + 5) {
    display: none;
  }

  .market-stat:nth-child(2n) {
    border-right: 0;
  }

  .market-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .stat-value {
    font-size: 15px;
  }

  .discover-grid {
    margin-top: 10px;
  }

  .featured-primary {
    grid-template-columns: 1fr;
  }

  .featured-primary .feature-art-stage {
    min-height: 240px;
    max-height: none;
    aspect-ratio: 1.6;
  }

  .feature-copy {
    padding: 16px;
  }

  .feature-copy h2 {
    font-size: 26px;
  }

  .feature-copy p {
    margin-top: 7px;
    font-size: 11px;
  }

  .featured-stack {
    grid-template-columns: 1fr;
  }

  .featured-secondary {
    min-height: 154px;
  }

  .home-lower {
    gap: 10px;
    margin-top: 10px;
  }

  .rank-header {
    display: none;
  }

  .rank-row {
    grid-template-columns: 28px minmax(0, 1fr) 68px 72px;
    padding: 0 9px;
  }

  .rank-row .rank-number:last-child {
    display: none;
  }

  .rank-collection small,
  .rank-number small {
    display: none;
  }

  .section-head {
    min-height: 50px;
    padding: 0 10px;
  }

  .listing-layout {
    gap: 10px;
    padding-top: 10px;
  }

  .listing-step {
    padding: 13px;
  }

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

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

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

  .sale-mode-card {
    min-height: 68px;
  }

  .selected-asset-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .selected-asset-row img {
    width: 64px;
    height: 64px;
  }

  .selected-asset-row .secondary-button {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .field.full {
    grid-column: auto;
  }

  .activity-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-dashboard-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }

  .activity-dashboard-head > div:first-child {
    display: block;
  }

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

  .chain-kpi {
    padding: 12px 10px;
  }

  .chain-kpi strong {
    font-size: 18px;
  }

  .data-panel-head {
    min-height: auto;
    flex-direction: column;
    padding: 11px 10px;
  }

  .heatmap-legend {
    justify-content: start;
  }

  .movement-chart {
    grid-template-columns: 52px repeat(var(--heatmap-columns), minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    padding: 14px 10px 16px;
  }

  .heatmap-cell {
    justify-self: center;
    width: min(100%, var(--heatmap-cell-max));
  }

  .heatmap-cell > span {
    display: none;
  }

  .heatmap-row-label strong {
    font-size: 7px;
  }

  .heatmap-row-label {
    padding-right: 4px;
  }

  .transfer-intelligence-grid {
    gap: 10px;
    margin-top: 10px;
  }

  .live-transfers {
    overflow: hidden;
  }

  .live-transfer-head {
    display: none;
  }

  .live-transfer-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    min-width: 0;
    min-height: 104px;
    gap: 7px 10px;
    padding: 10px;
  }

  .live-transfer-row > span:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .live-transfer-row > span:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .live-transfer-row > span:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .live-transfer-row > span:nth-child(3)::before {
    content: "从 ";
    color: var(--faint);
  }

  .live-transfer-row > span:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
    text-align: right;
  }

  .live-transfer-row > span:nth-child(4)::before {
    content: "到 ";
    color: var(--faint);
  }

  .live-transfer-row > span:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
  }

  .live-transfer-row > time {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    text-align: right;
  }

  .transfer-rank-head,
  .transfer-rank-row {
    grid-template-columns: 22px minmax(0, 1fr) 60px 54px;
    padding: 0 10px;
  }

  .transfer-rank-head > span:nth-child(4),
  .transfer-rank-row > span:nth-child(4) {
    display: none;
  }

  .activity-filter-bar {
    margin-top: 10px;
  }

  .activity-stats .market-stat:nth-child(2) {
    border-right: 0;
  }

  .activity-stats .market-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .line-chart {
    height: 170px;
  }

  .depth-row {
    grid-template-columns: minmax(0, 1fr) 70px 70px;
  }

  .trades-table {
    margin-top: 10px;
  }

  .portfolio-panel .trade-header {
    display: none;
  }

  .portfolio-panel .trade-row {
    grid-template-columns: 68px minmax(0, 1fr) 74px;
    grid-template-rows: auto auto;
    min-width: 0;
    min-height: 74px;
    gap: 5px 10px;
    padding: 10px;
  }

  .portfolio-panel .trade-row > span:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .portfolio-panel .trade-row > span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .portfolio-panel .trade-row > span:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    color: var(--faint);
  }

  .portfolio-panel .trade-row > span:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }

  .portfolio-panel .trade-row > span:nth-child(5) {
    display: none;
  }

  .portfolio-panel .trade-row > span:nth-child(6) {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    text-align: right;
  }

  .account-band {
    grid-template-columns: 1fr 1fr;
  }

  .account-identity {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .portfolio-stat {
    padding: 12px;
  }

  .asset-toolbar {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    min-height: 86px;
    margin-top: 10px;
  }

  .tab-list {
    max-width: 100%;
    overflow-x: auto;
  }

  .tab-button {
    flex: 0 0 auto;
  }

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

  .collection-profile-body {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    padding: 0 12px 12px;
  }

  .collection-avatar {
    width: 76px;
    height: 76px;
    margin-top: -28px;
    box-shadow: 0 0 0 4px var(--surface-1);
  }

  .collection-identity h1 {
    font-size: 25px;
  }

  .collection-trust {
    grid-column: 1 / -1;
    align-self: auto;
    overflow-x: auto;
  }

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

	.collection-stats > div:last-child {
		grid-column: 1 / -1;
	}

  .collection-stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .collection-toolbar {
    align-items: stretch;
  }

  .collection-toolbar-actions {
    justify-content: space-between;
  }

  .collection-toolbar select {
    min-width: 0;
    max-width: 220px;
  }

  .auction-discovery {
    margin-top: 10px;
  }

  .auction-discovery .section-head > div {
    display: block;
  }

  .section-subtitle {
    display: none;
  }

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

  .auction-card:last-child {
    display: grid;
  }

  .auction-card > img {
    width: 104px;
    height: 104px;
  }

  .auction-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .breadcrumb {
    padding: 10px 0;
  }

  .item-layout,
  .item-trade-column {
    gap: 10px;
  }

  .item-art {
    height: min(38dvh, 340px);
    max-height: 340px;
    aspect-ratio: auto;
  }

  .item-title-block {
    padding: 14px;
  }

  .item-owner-line,
  .auction-status-line {
    align-items: start;
    flex-direction: column;
  }

  .auction-main-stats,
  .trait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auction-main-stats > div + div {
    border-left: 1px solid var(--line);
  }

  .bid-input-row {
    grid-template-columns: 1fr;
  }

  .auction-rule-strip {
    grid-template-columns: 1fr;
  }

  .secondary-trade-actions {
    display: flex;
  }

  .auction-account-state {
    grid-template-columns: 1fr;
  }

  .auction-account-state .secondary-button {
    width: 100%;
  }

  .activity-filter-bar {
    align-items: start;
    flex-direction: column;
    padding: 10px;
  }

  .activity-filter-bar .tab-list {
    width: 100%;
  }

  .event-page-layout {
    gap: 10px;
    margin-top: 10px;
  }

  .transaction-layout {
    display: flex;
    flex-direction: column;
  }

  .transaction-summary {
    order: -1;
  }

  .asset-actionbar:not([hidden]) {
    right: 8px;
    bottom: calc(62px + env(safe-area-inset-bottom));
    left: 8px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .asset-actionbar-actions > * {
    flex: 1;
  }

  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line-strong);
    background: var(--surface-1);
  }

  .mobile-nav a {
    display: grid;
    place-items: center;
    min-height: 54px;
    color: var(--faint);
    font-size: 10px;
  }

  .mobile-nav a[aria-current="page"] {
    color: var(--text);
    box-shadow: inset 0 1px 0 var(--accent);
  }

  .toast {
    bottom: calc(68px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .period-button,
  .tab-button {
    padding: 0 8px;
  }

  .rank-row {
    grid-template-columns: 25px minmax(0, 1fr) 62px 66px;
  }

  .activity-panel {
    display: none;
  }
}

/* Premium surface layer */
:root {
  --canvas: oklch(11.8% 0.018 258);
  --surface-1: oklch(15.6% 0.02 258);
  --surface-2: oklch(18.8% 0.022 258);
  --surface-3: oklch(22.4% 0.024 258);
  --surface-4: oklch(26.8% 0.026 258);
  --line-soft: rgba(186, 210, 255, 0.08);
  --line: rgba(186, 210, 255, 0.13);
  --line-strong: rgba(186, 210, 255, 0.22);
  --text: rgba(248, 250, 255, 0.96);
  --muted: rgba(214, 224, 242, 0.68);
  --faint: rgba(214, 224, 242, 0.42);
  --accent: oklch(70% 0.17 250);
  --accent-hover: oklch(76% 0.15 250);
  --accent-soft: oklch(70% 0.17 250 / 0.16);
  --tier: oklch(84% 0.13 84);
  --tier-soft: oklch(84% 0.13 84 / 0.16);
  --r-1: 10px;
  --r-2: 14px;
  --r-3: 22px;
  --header-h: 56px;
  --page-pad: 18px;
}

html {
  background:
    radial-gradient(1100px 620px at 6% -20%, oklch(46% 0.16 250 / 0.32), transparent 56%),
    radial-gradient(820px 480px at 96% -8%, oklch(38% 0.12 310 / 0.18), transparent 50%),
    radial-gradient(700px 420px at 50% 120%, oklch(28% 0.08 250 / 0.18), transparent 55%),
    var(--canvas);
}

body {
  font-family: Outfit, "PingFang SC", "PingFang TC", "Noto Sans SC", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Thai", "Noto Naskh Arabic", "Segoe UI", "Leelawadee UI", -apple-system, sans-serif;
  font-size: 14px;
  letter-spacing: -0.014em;
}

.topbar {
  padding: 0 22px;
  border-bottom-color: transparent;
  background: color-mix(in oklch, var(--canvas) 62%, transparent);
  backdrop-filter: blur(26px) saturate(1.55);
  box-shadow: inset 0 -1px 0 var(--line-soft);
}

.wordmark-text {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 16px;
}

.wordmark-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.topnav a {
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
}

.topnav a[aria-current="page"] {
  background: color-mix(in oklch, var(--accent) 18%, var(--surface-2));
  color: var(--text);
}

.search input,
.network-pill,
.wallet-button,
.period-button,
.filter-button,
.primary-button,
.secondary-button,
.tab-button,
.mini-button,
.select-control,
.collection-toolbar select {
  border-radius: 999px;
}

.search input {
  height: 42px;
  border-color: transparent;
  background: color-mix(in oklch, var(--surface-2) 86%, white 4%);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.search input:focus {
  border-color: color-mix(in oklch, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.wallet-disconnect {
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface-2) 88%, transparent);
}

.wallet-button,
.primary-button {
  border: 0;
  padding: 0 16px;
  background: linear-gradient(180deg, color-mix(in oklch, var(--accent) 82%, white), var(--accent));
  color: #071018;
  font-weight: 700;
  box-shadow: 0 10px 28px oklch(70% 0.17 250 / 0.28);
}

.wallet-button:hover,
.primary-button:hover {
  background: var(--accent-hover);
}

.ticker {
  width: min(1600px, calc(100% - 44px));
  margin: 6px auto 0;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: color-mix(in oklch, var(--surface-1) 82%, transparent);
  backdrop-filter: blur(16px);
}

.ticker-label {
  color: var(--accent-hover);
  letter-spacing: 0.16em;
}

.ticker-value {
  font-size: 13px;
  font-weight: 650;
}

.prototype-banner {
  width: min(1600px, calc(100% - 44px));
  margin: 6px auto 0;
  min-height: 26px;
  padding: 4px 12px;
  border: 1px solid color-mix(in oklch, var(--warning) 28%, var(--line));
  border-radius: 999px;
  background: color-mix(in oklch, var(--warning) 8%, var(--canvas));
  font-size: 12px;
}

.prototype-banner strong {
  font-size: 10px;
}

.page-heading {
  border-bottom: 0;
  padding: 22px 0 8px;
}

.page-heading h1 {
  letter-spacing: -0.04em;
}

.section-head {
  min-height: 62px;
  padding: 0 8px;
  border-bottom-color: var(--line-soft);
}

.section-head h2 {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.period-switch,
.tab-list {
  border-radius: 999px;
  background: color-mix(in oklch, var(--surface-2) 88%, transparent);
}

.discover-grid,
.featured-stack,
.auction-card-grid,
.home-lower,
.asset-grid {
  gap: 14px;
  background: transparent;
  border: 0;
}

.discover-grid {
  margin-top: 10px;
}

.discover-grid.is-single {
  grid-template-columns: 1fr;
}

.featured-primary,
.featured-secondary,
.rank-table,
.activity-panel,
.auction-card,
.asset-card,
.item-media-panel,
.live-auction-panel,
.item-info-box,
.traits-panel,
.bid-history-panel,
.collection-profile,
.account-band,
.trades-table,
.activity-observatory,
.live-transfers,
.transfer-ranking {
  border-radius: var(--r-3);
  overflow: hidden;
}

.featured-primary {
  grid-template-columns: 1fr;
  min-height: 300px;
  max-height: 300px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.featured-primary .feature-art-stage {
  position: relative;
  z-index: 0;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 300px;
}

.featured-primary .feature-art {
  position: relative;
  z-index: 1;
  grid-column: auto;
  grid-row: auto;
  width: auto;
  height: 100%;
  min-height: 0;
  max-height: 300px;
  margin: 0 auto;
  object-fit: contain;
  filter: none;
}

.featured-primary .feature-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 22px 16px;
  background: linear-gradient(180deg, transparent 28%, oklch(10% 0.03 258 / 0.94));
}

.featured-primary .feature-copy p {
  display: none;
}

.feature-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.055em;
}

.feature-copy p {
  max-width: 42ch;
  color: rgba(236, 242, 255, 0.78);
}

.feature-floor {
  max-width: 360px;
  overflow: hidden;
  border-radius: 16px;
  background: color-mix(in oklch, black 35%, transparent);
}

.feature-metric {
  padding: 8px 12px;
  background: color-mix(in oklch, black 18%, transparent);
}

.feature-link {
  width: auto;
  min-width: 148px;
  padding: 0 18px;
  border-radius: 999px;
  box-shadow: 0 10px 28px oklch(70% 0.17 250 / 0.28);
}

.featured-stack {
  grid-template-rows: 1fr 1fr;
}

.featured-secondary {
  grid-template-columns: 1fr;
  min-height: 143px;
  max-height: 143px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.featured-secondary .feature-art-stage,
.featured-secondary .secondary-copy {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
}

.featured-secondary img {
  width: auto;
}

.featured-secondary .secondary-copy {
  z-index: 1;
  justify-content: flex-end;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent 12%, oklch(10% 0.03 258 / 0.92));
}

.secondary-copy h3 {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.auction-discovery {
  margin-top: 14px;
}

.auction-card-grid .home-panel-empty {
  min-height: 56px;
}

.auction-card-grid {
  border: 0;
}

.auction-card {
  grid-template-columns: 128px minmax(0, 1fr);
  border: 1px solid var(--line-soft);
  background: var(--surface-1);
  transition: transform var(--duration-ui) var(--ease), border-color var(--duration-ui) var(--ease);
}

.auction-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.auction-card > img {
  width: 128px;
  height: 100%;
  min-height: 128px;
}

.home-panel-empty,
.indexed-empty {
  color: var(--muted);
}

.rank-table,
.activity-panel {
  border: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--surface-1) 88%, transparent);
  backdrop-filter: blur(18px);
}

.rank-header,
.rank-row {
  min-height: 64px;
  padding: 0 16px;
}

.rank-row:hover {
  background: color-mix(in oklch, var(--accent) 8%, transparent);
}

.rank-collection img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.rank-collection strong {
  font-size: 14px;
}

.account-band {
  border: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--surface-1) 90%, transparent);
}

.wallet-avatar {
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), oklch(70% 0.12 310));
}

.asset-card {
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  transition: transform var(--duration-ui) var(--ease), border-color var(--duration-ui) var(--ease), box-shadow var(--duration-ui) var(--ease);
}

.asset-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.asset-card img {
  transition: transform 320ms var(--ease);
}

.asset-card:hover img {
  transform: scale(1.045);
}

.asset-card-body {
  padding: 14px 14px 6px;
}

.asset-card-body strong {
  font-size: 14px;
  font-weight: 650;
}

.asset-card-meta {
  font-size: 11px;
}

.asset-card-buy {
  margin: 0 14px 14px;
  border-radius: 14px;
  font-size: 12px;
}

.asset-state {
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.collection-cover {
  min-height: clamp(180px, 24vw, 320px);
}

.collection-cover-art {
  height: clamp(180px, 24vw, 320px);
}

.collection-avatar {
  border-radius: 24px;
  box-shadow: 0 0 0 6px var(--surface-1), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.collection-stats > div {
  padding: 16px 18px;
}

.item-media-panel {
  border: 1px solid var(--line-soft);
  background: var(--surface-1);
}

.item-art {
  border-radius: 0 0 18px 18px;
}

.live-auction-panel,
.item-info-box,
.traits-panel,
.bid-history-panel {
  border: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--surface-1) 92%, transparent);
}

.tier-badge,
.item-owner-line [data-item-tier] {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--tier-soft);
  color: var(--tier);
  font: 650 12px Outfit, sans-serif;
}

.trait-grid {
  gap: 10px;
  padding: 14px;
  background: transparent;
  border: 0;
}

.trait-cell {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface-2);
}

.trait-cell small {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trait-cell strong {
  font-size: 16px;
  font-weight: 650;
}

.trait-cell.is-tier {
  border-color: color-mix(in oklch, var(--tier) 45%, var(--line));
  background: linear-gradient(180deg, var(--tier-soft), var(--surface-2));
}

.trait-meter {
  display: block;
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.trait-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), oklch(82% 0.12 200));
}

.rarity-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.rarity-chip {
  display: inline-flex;
  flex-direction: column;
  min-width: 104px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface-2);
}

.rarity-chip small {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rarity-chip strong {
  margin-top: 4px;
  font-size: 14px;
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid color-mix(in oklch, var(--accent) 35%, var(--line));
  border-radius: 999px;
  background: color-mix(in oklch, var(--accent) 16%, transparent);
  color: var(--accent-hover);
  font: 650 10px Outfit, sans-serif;
  letter-spacing: 0.12em;
}

.featured-primary .feature-copy {
  gap: 10px;
}

.featured-primary .feature-copy > div:last-child {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.featured-primary .feature-link {
  margin-top: 0;
  flex: 0 0 auto;
}

.secondary-copy h3 {
  white-space: normal;
}

.secondary-meta {
  gap: 10px;
  margin-top: 8px;
}

.secondary-meta span,
.feature-metric small {
  font-size: 11px;
}

.secondary-meta strong {
  font-size: 14px;
}

.activity-item {
  min-height: 72px;
  padding: 12px 16px;
}

.activity-item img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.activity-copy strong,
.activity-price {
  font-size: 13px;
}

.activity-copy small,
.activity-time {
  font-size: 11px;
}

.activity-price {
  min-width: 124px;
}

.rank-number strong {
  font-size: 13px;
}

.chain-kpi-grid,
.movement-analysis-grid {
  gap: 12px;
  background: transparent;
  border: 0;
}

.chain-kpi,
.movement-chart-panel,
.movement-composition-panel {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: color-mix(in oklch, var(--surface-1) 90%, transparent);
}

.chain-kpi small,
.chain-kpi > span,
.live-transfer-head,
.transfer-kind,
.item-media-head,
.auction-status-line,
.item-owner-line,
.signing-checks,
.field label,
.asset-toolbar-count {
  font-size: 11px;
}

.chain-kpi strong {
  font-family: Outfit, sans-serif;
}

.activity-observatory,
.listing-workspace,
.order-panel,
.item-title-block,
.asset-empty,
.asset-actionbar {
  border-radius: var(--r-3);
  overflow: hidden;
}

.listing-workspace,
.order-panel,
.item-title-block {
  border: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--surface-1) 92%, transparent);
}

.sale-mode-card,
.input-shell input,
.select-control,
.read-only-value,
.selected-asset-row,
.owned-choice,
.auction-main-stats {
  border-radius: 16px;
}

.sale-mode-card {
  min-height: 96px;
  padding: 16px;
  background: var(--surface-2);
}

.sale-mode-card strong {
  font-size: 15px;
}

.sale-mode-card span {
  font-size: 12px;
  line-height: 1.45;
}

.sale-mode-card.is-active {
  box-shadow: 0 0 0 1px var(--accent), 0 12px 28px oklch(70% 0.17 250 / 0.18);
}

.input-shell input,
.select-control {
  background: var(--surface-2);
}

.secondary-button {
  border-color: var(--line);
  background: color-mix(in oklch, var(--surface-2) 88%, transparent);
  color: var(--text);
}

.indexed-empty,
.home-panel-empty {
  padding: 36px 20px;
  font: 500 14px Outfit, sans-serif;
  line-height: 1.55;
}

.asset-empty {
  border-color: var(--line-soft);
  background: color-mix(in oklch, var(--surface-1) 88%, transparent);
}

.asset-toolbar {
  padding: 0 4px;
  border-bottom-color: var(--line-soft);
}

.collection-stats {
  gap: 1px;
  background: var(--line-soft);
}

.collection-stats > div {
  border-right: 0;
  background: color-mix(in oklch, var(--surface-1) 92%, transparent);
}

.collection-stats dt,
.item-definition-list dt {
  color: var(--faint);
  font-size: 11px;
}

.collection-stats dd,
.item-definition-list dd {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 650;
}

.item-definition-list dd[data-item-metadata-status] {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 68%;
  margin-left: 12px;
  font-family: inherit;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.item-definition-list dd[data-item-metadata-status][title] {
  cursor: help;
}

.verified-collection span {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

.verified-collection {
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 650;
}

.auction-discovery {
  border: 0;
  background: transparent;
}

.auction-main-stats {
  overflow: hidden;
  border-color: var(--line-soft);
  background: var(--surface-2);
}

.live-badge,
.auction-reserve {
  font-size: 11px;
}

.order-preview img,
.selected-asset-row img,
.owned-choice img {
  border-radius: 14px;
}

.breadcrumb {
  color: var(--faint);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--muted);
}

.signing-checks {
  gap: 10px;
  font-size: 12px;
}

.asset-actionbar {
  border: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--canvas) 72%, transparent);
  backdrop-filter: blur(18px);
}

.mobile-nav {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: color-mix(in oklch, var(--canvas) 70%, transparent);
  backdrop-filter: blur(20px);
}

.toast {
  border-radius: 16px;
  background: color-mix(in oklch, var(--surface-3) 86%, transparent);
  backdrop-filter: blur(18px);
}

.search kbd {
  border-radius: 8px;
  background: var(--surface-3);
}

::selection {
  background: color-mix(in oklch, var(--accent) 38%, transparent);
}

@media (max-width: 980px) {
  .featured-primary,
  .featured-primary .feature-art-stage {
    min-height: 240px;
    max-height: none;
  }

  .featured-secondary {
    min-height: 160px;
    max-height: none;
  }

  .featured-primary .feature-copy {
    padding: 16px 16px 14px;
  }

  .featured-primary .feature-copy > div:last-child {
    flex-direction: column;
    align-items: stretch;
  }

  .featured-primary .feature-link {
    width: 100%;
  }

  .featured-primary .feature-copy h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .mobile-nav {
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    border-top: 0;
    padding-bottom: 0;
  }
}

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

  .motion-entering .heatmap-cell,
  .motion-entering.motion-mounted .heatmap-cell {
    opacity: 1;
    transform: none;
  }
}

.wallet-picker {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.62);
}

.wallet-picker-card {
  width: min(420px, 100%);
  padding: 18px;
  border-radius: 16px;
  background: var(--panel, #12151c);
  color: var(--text, #f4f6fb);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.wallet-picker-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallet-picker-card h2 {
  margin: 0;
  font-size: 18px;
}

.wallet-picker-card header button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 22px;
  cursor: pointer;
}

.wallet-picker-card p {
  margin: 8px 0 14px;
  color: var(--muted, #9aa3b2);
  font-size: 13px;
}

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

.wallet-picker-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.wallet-picker-list img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
