:root {
  color-scheme: light;
  --paper: #f4f2ea;
  --surface: #fbfaf6;
  --surface-strong: #fff;
  --ink: #101413;
  --muted: #69716e;
  --faint: #9aa19e;
  --line: rgba(16, 20, 19, .12);
  --line-strong: rgba(16, 20, 19, .22);
  --night: #101413;
  --near: #00ec97;
  --near-soft: #d9faec;
  --coral: #ff775f;
  --blue: #5e80ff;
  --violet: #7d61ff;
  --shadow: 0 18px 55px rgba(16, 20, 19, .09);
  --sidebar: 220px;
  --radius: 22px;
  --sans: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e1211;
  --surface: #141917;
  --surface-strong: #1a201e;
  --ink: #f0f3ed;
  --muted: #a4ada9;
  --faint: #737c78;
  --line: rgba(240, 243, 237, .11);
  --line-strong: rgba(240, 243, 237, .22);
  --night: #060807;
  --near-soft: #103c2c;
  --shadow: 0 20px 70px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); min-width: 320px; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid color-mix(in srgb, var(--near) 75%, var(--ink)); outline-offset: 3px; }
[hidden] { display: none !important; }
.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; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 999px; background: var(--near); color: #07120e; text-decoration: none; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 16px; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; width: var(--sidebar); padding: 28px 22px 22px; display: flex; flex-direction: column; background: color-mix(in srgb, var(--surface) 94%, transparent); border-right: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-mark { position: relative; display: inline-flex; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; align-items: center; justify-content: center; background: var(--night); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.brand-mark span { position: absolute; width: 4px; height: 18px; background: #f5f6f0; }
.brand-mark span:first-child { left: 10px; }
.brand-mark span:nth-child(2) { right: 10px; }
.brand-mark i { width: 10px; height: 4px; background: var(--near); transform: rotate(45deg); }
.brand-word { font: 800 12px/1.05 var(--sans); letter-spacing: .08em; }
.brand-word span { display: block; color: var(--muted); font-weight: 600; }
.nav-list { display: grid; gap: 7px; margin-top: 48px; }
.nav-item, .theme-toggle { border: 0; cursor: pointer; background: transparent; }
.nav-item { position: relative; min-height: 50px; padding: 0 14px; border-radius: 14px; display: flex; align-items: center; gap: 12px; text-align: left; color: var(--muted); font-size: 13px; font-weight: 700; transition: transform .18s ease, background .18s ease, color .18s ease; }
.nav-item:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); transform: translateX(2px); }
.nav-item.is-active { background: var(--night); color: #f6f6f0; box-shadow: 0 9px 22px rgba(16,20,19,.16); }
.nav-item.is-active::after { content: ""; position: absolute; right: -23px; width: 3px; height: 25px; border-radius: 3px 0 0 3px; background: var(--near); }
.nav-glyph { display: grid; place-items: center; width: 26px; height: 26px; font: 500 22px/1 var(--mono); }
.sidebar-bottom { margin-top: auto; display: grid; gap: 10px; }
.network-pill, .theme-toggle { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; font-size: 11px; font-weight: 700; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--near); box-shadow: 0 0 0 4px color-mix(in srgb, var(--near) 20%, transparent); }
.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); }

.main-content { min-height: 100vh; margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 40; min-height: 68px; padding: 0 clamp(20px, 4vw, 58px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: blur(20px); transition: border-color .2s; }
.topbar.is-scrolled { border-color: var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; min-width: 0; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.crumb-slash, .crumb-muted { color: var(--faint); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.global-search { position: relative; display: flex; align-items: center; width: min(31vw, 350px); height: 42px; padding: 0 13px; gap: 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); }
.global-search:focus-within { border-color: var(--line-strong); background: var(--surface-strong); box-shadow: 0 0 0 3px color-mix(in srgb, var(--near) 17%, transparent); }
.global-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.global-search kbd { min-width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--faint); font: 500 10px/1 var(--mono); }
.wallet-button { height: 42px; padding: 0 14px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font: 600 11px/1 var(--mono); transition: border-color .18s, transform .18s; }
.wallet-button:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.wallet-dot { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(145deg, var(--blue), var(--violet)); box-shadow: inset 0 0 0 5px rgba(255,255,255,.18); }
.mobile-brand { display: none; }

.page-section { max-width: 1460px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 58px) 90px; }
.hero { position: relative; min-height: 510px; margin-top: 10px; padding: clamp(50px, 7vw, 92px) clamp(24px, 5vw, 72px); overflow: hidden; border-radius: 30px; background: var(--night); color: #f3f5ef; box-shadow: var(--shadow); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 72% 50%, rgba(0,236,151,.14), transparent 35%), linear-gradient(125deg, rgba(255,255,255,.045), transparent 35%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28; background-image: radial-gradient(rgba(255,255,255,.26) .7px, transparent .7px); background-size: 11px 11px; mask-image: linear-gradient(90deg, #000, transparent 80%); }
.eyebrow, .section-kicker { font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: rgba(244,247,240,.62); }
.eyebrow-line { width: 28px; height: 1px; background: currentColor; }
.hero h1, .page-intro h1 { margin: 26px 0 18px; font-size: clamp(52px, 7.2vw, 106px); line-height: .92; letter-spacing: -.065em; max-width: 820px; }
.hero h1 em, .page-intro h1 em { color: var(--near); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero > p { max-width: 560px; color: rgba(244,247,240,.68); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.primary-button, .quiet-button, .secondary-button, .outline-button { min-height: 46px; padding: 0 19px; border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 0; background: var(--near); color: #07120e; box-shadow: inset 0 -2px 0 rgba(0,0,0,.1); }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(0,236,151,.2), inset 0 -2px 0 rgba(0,0,0,.1); }
.quiet-button { display: inline-flex; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #f3f5ef; }
.quiet-button:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.1); }
.secondary-button, .outline-button { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.secondary-button:hover, .outline-button:hover { transform: translateY(-1px); border-color: var(--ink); }
.secondary-button.compact { min-height: 38px; padding: 0 15px; }
.full-button { width: 100%; }
.hero-orbit { position: absolute; right: clamp(-90px, 1vw, 40px); top: 50%; width: min(45vw, 520px); aspect-ratio: 1; transform: translateY(-50%); }
.orbit { position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; transform: rotate(18deg) scaleY(.55); }
.orbit-b { inset: 23%; transform: rotate(-35deg) scaleY(.67); border-color: rgba(0,236,151,.26); }
.orbit-core { position: absolute; inset: 28%; display: grid; align-content: center; justify-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #26322d, #0a0e0c 65%); box-shadow: inset -35px -25px 60px rgba(0,0,0,.55), 0 30px 90px rgba(0,0,0,.4); }
.orbit-core::before { content: ""; position: absolute; inset: 17%; border: 1px dashed rgba(0,236,151,.3); border-radius: 50%; }
.orbit-core span { font: 800 clamp(18px, 2.5vw, 34px)/1 var(--sans); letter-spacing: .14em; }
.orbit-core small { margin-top: 9px; color: var(--near); font: 500 8px/1 var(--mono); letter-spacing: .13em; }
.orbit-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--near); box-shadow: 0 0 22px var(--near); }
.dot-a { left: 6%; top: 45%; }.dot-b { right: 18%; top: 17%; width: 6px; height: 6px; }.dot-c { right: 4%; bottom: 30%; width: 7px; height: 7px; }

.metric-row { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin: -34px clamp(16px, 4vw, 62px) 84px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: color-mix(in srgb, var(--surface-strong) 90%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.metric-card { min-width: 0; min-height: 130px; padding: 26px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.metric-card:last-child { border: 0; }
.metric-card-accent { background: var(--near-soft); }
.metric-label { margin-bottom: 8px; color: var(--muted); font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.metric-card strong { overflow: hidden; text-overflow: ellipsis; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.045em; }
.metric-card small { margin-top: 8px; color: var(--muted); font: 400 9px/1.3 var(--mono); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.section-kicker { color: var(--faint); }
.section-heading h2 { margin: 10px 0 5px; font-size: clamp(28px, 3.3vw, 46px); letter-spacing: -.045em; }
.section-heading p, .page-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.section-controls { display: flex; align-items: center; gap: 12px; }
.filter-pills { display: flex; gap: 4px; padding: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.filter-pill { min-height: 34px; padding: 0 12px; white-space: nowrap; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 800; }
.filter-pill:hover { color: var(--ink); }
.filter-pill.is-active { background: var(--night); color: #f4f5ef; }
.select-wrap select { min-height: 42px; padding: 0 38px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nft-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.nft-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.nft-card-media { position: relative; aspect-ratio: 1; margin: 9px; overflow: hidden; border-radius: 16px; background: #fff; }
.nft-card-media img { width: 100%; height: 100%; display: block; object-fit: contain; }
.card-badges { position: absolute; inset: 10px 10px auto; z-index: 3; display: flex; justify-content: space-between; pointer-events: none; }
.token-badge, .rarity-badge, .event-badge { min-height: 25px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 999px; font: 500 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.token-badge { background: rgba(10,14,12,.82); color: #fff; backdrop-filter: blur(8px); }
.rarity-badge { color: #09110e; background: #e7ebe8; }
.badge-mythic { background: #201439; color: #d7c4ff; }.badge-rare { background: #dce6ff; color: #2146b4; }.badge-uncommon { background: #d4f8e8; color: #087047; }.badge-common { background: #e7ebe8; color: #57605d; }
.nft-card-body { padding: 10px 17px 16px; }
.nft-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nft-card h3 { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; letter-spacing: -.02em; }
.nft-card-price { flex: none; font: 500 12px/1.2 var(--mono); }
.nft-card-meta { margin-top: 6px; color: var(--muted); font: 400 9px/1.4 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nft-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; }
.trait-pair { color: var(--faint); font: 400 9px/1.3 var(--mono); }
.card-button { min-height: 35px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--near); color: #07120e; cursor: pointer; font-size: 10px; font-weight: 800; }
.card-button.secondary { background: var(--night); color: #f4f5ef; }
.card-button.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.card-button:hover { transform: translateY(-1px); filter: brightness(.98); }
.vault-card-actions { display: flex; gap: 5px; }
.skeleton-card { height: 386px; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(100deg, var(--surface) 22%, color-mix(in srgb, var(--ink) 7%, var(--surface)) 36%, var(--surface) 50%); background-size: 300% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -140% 0; } }
.status-panel { margin: 0 0 22px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--muted); font-size: 12px; line-height: 1.6; }
.status-panel.is-error { border-color: color-mix(in srgb, var(--coral) 50%, var(--line)); color: color-mix(in srgb, var(--coral) 70%, var(--ink)); }
.status-panel button { margin-left: 10px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-weight: 800; }
.load-more-row { min-height: 74px; display: flex; justify-content: center; align-items: center; gap: 16px; }
.page-note { color: var(--faint); font: 400 10px/1 var(--mono); }

.page-intro { padding: clamp(60px, 8vw, 110px) 0 64px; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 1000px; margin-top: 18px; color: var(--ink); }
.page-intro p { max-width: 650px; }
.activity-toolbar { display: flex; justify-content: space-between; gap: 20px; margin: 32px 0 20px; }
.activity-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.activity-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.activity-table th { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--faint); text-align: left; font: 500 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.activity-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 12px; }
.activity-table tbody tr:last-child td { border-bottom: 0; }
.activity-table tbody tr:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.event-badge { font-weight: 700; background: var(--near-soft); color: color-mix(in srgb, var(--near) 55%, var(--ink)); }
.event-sale { background: #fff0d2; color: #855700; }.event-transfer { background: #e6eaff; color: #344fb4; }.event-delist { background: #ffe6e0; color: #a33b28; }
.mono-cell { font-family: var(--mono); font-size: 10px !important; color: var(--muted); }
.vault-intro { display: flex; flex-direction: column; align-items: flex-start; }
.outline-button { margin-top: 24px; }
.vault-metrics { margin-top: 42px; margin-bottom: 68px; }
.compact-heading { margin-top: 0; }

.modal-overlay { position: fixed; inset: 0; z-index: 100; padding: 22px; display: grid; place-items: center; background: rgba(6,9,8,.64); backdrop-filter: blur(8px); animation: modalFade .16s ease-out; }
.modal-card { width: min(600px, 100%); max-height: calc(100vh - 44px); overflow: auto; border: 1px solid var(--line); border-radius: 26px; background: var(--surface-strong); box-shadow: 0 30px 100px rgba(0,0,0,.3); animation: modalRise .2s cubic-bezier(.2,.8,.2,1); }
.small-modal { width: min(470px, 100%); }
.modal-head { min-height: 93px; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 7px 0 0; font-size: 24px; letter-spacing: -.035em; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 22px; }
.modal-body { padding: 24px; }
.modal-preview { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 20px; margin-bottom: 22px; }
.modal-preview img { width: 150px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 16px; background: white; object-fit: contain; }
.modal-preview h3 { margin: 4px 0 8px; font-size: 22px; }
.modal-copy { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.trait-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 18px 0; }
.trait-box { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.trait-box span { display: block; color: var(--faint); font: 400 8px/1 var(--mono); text-transform: uppercase; }
.trait-box strong { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.field-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 800; }
.text-input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface); color: var(--ink); outline: 0; }
.field-help { margin: 8px 0 19px; color: var(--faint); font-size: 10px; line-height: 1.55; }
.action-warning { margin: 16px 0; padding: 12px 14px; border-radius: 13px; background: var(--near-soft); color: var(--muted); font-size: 10px; line-height: 1.55; }
.button-stack { display: grid; gap: 9px; }
.danger-button { background: var(--coral); color: #1d0905; }
.toast-region { position: fixed; z-index: 120; right: 20px; top: 82px; display: grid; gap: 8px; pointer-events: none; }
.toast { max-width: 360px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-strong); box-shadow: var(--shadow); font-size: 11px; animation: modalRise .2s ease-out; }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(12px) scale(.98); } }

@media (max-width: 1180px) {
  :root { --sidebar: 86px; }
  .sidebar { padding-inline: 15px; align-items: center; }
  .brand-word, .nav-item > span:last-child, .network-pill > span:last-child, .theme-toggle span { display: none; }
  .nav-item { width: 54px; padding: 0; justify-content: center; }
  .nav-item.is-active::after { right: -16px; }
  .network-pill, .theme-toggle { width: 44px; justify-content: center; padding: 0; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  :root { --sidebar: 0px; }
  .sidebar { inset: auto 12px 12px; width: auto; height: 68px; padding: 7px 10px; flex-direction: row; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .sidebar > .brand, .sidebar-bottom { display: none; }
  .nav-list { width: 100%; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 0; }
  .nav-item { width: auto; min-width: 0; height: 52px; flex-direction: column; gap: 1px; justify-content: center; font-size: 8px; }
  .nav-item > span:last-child { display: block; }
  .nav-item.is-active::after { inset: auto 18px -8px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .main-content { margin-left: 0; }
  .page-section { padding-bottom: 110px; }
  .topbar { min-height: 62px; }
  .breadcrumbs { display: none; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
  .mobile-brand .brand-mark { width: 30px; height: 30px; flex-basis: 30px; transform: scale(.8); }
  .global-search { width: min(44vw, 290px); }
  .global-search kbd { display: none; }
  .wallet-button span:nth-child(2) { display: none; }
  .hero { min-height: 560px; padding-bottom: 230px; }
  .hero-orbit { width: 330px; right: 50%; top: auto; bottom: -185px; transform: translateX(50%); }
  .metric-row { grid-template-columns: repeat(2, 1fr); margin-inline: 12px; }
  .metric-card:nth-child(2) { border-right: 0; }.metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-controls { width: 100%; justify-content: space-between; overflow: hidden; }
  .filter-pills { min-width: 0; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .topbar { padding-inline: 14px; }
  .global-search { width: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .global-search input { position: absolute; pointer-events: none; opacity: 0; }
  .page-section { padding-inline: 14px; }
  .hero { min-height: 560px; margin-top: 2px; padding: 46px 24px 250px; border-radius: 24px; }
  .hero h1, .page-intro h1 { font-size: clamp(46px, 16vw, 67px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions button { width: 100%; justify-content: space-between; }
  .metric-row { margin-top: -24px; margin-bottom: 60px; }
  .metric-card { min-height: 108px; padding: 19px 17px; }
  .metric-card strong { font-size: 25px; }
  .section-controls { align-items: stretch; flex-direction: column; }
  .select-wrap select { width: 100%; }
  .card-grid { grid-template-columns: 1fr; }
  .nft-card { display: grid; grid-template-columns: 42% 58%; }
  .nft-card-media { margin: 8px; align-self: stretch; }
  .nft-card-body { align-self: center; padding: 13px 15px 13px 6px; }
  .card-badges { inset: 10px auto auto 10px; gap: 4px; flex-direction: column; }
  .nft-card-footer { align-items: flex-start; flex-direction: column; }
  .vault-card-actions { flex-wrap: wrap; }
  .skeleton-card { height: 180px; }
  .activity-toolbar { align-items: stretch; flex-direction: column; }
  .modal-preview { grid-template-columns: 1fr; }
  .modal-preview img { width: 100%; }
  .trait-grid { grid-template-columns: repeat(2, 1fr); }
}

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