:root {
  color-scheme: dark;
  --base: #100c16;
  --panel: #181221;
  --raised: #21182b;
  --line: #302439;
  --text: #fbf3f7;
  --muted: #b6a8bc;
  --dim: #9b8ca4;
  --pink: #ff8fca;
  --peach: #ffd095;
  --green: #80e2bb;
  --red: #fa86a7;
  --space: "Space Grotesk", system-ui, sans-serif;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sunset: linear-gradient(112deg, #ffcc91, #ff9caa 46%, #fa79c3);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(ellipse at 55% 30%, #1a101e 0, transparent 50%), var(--base); color: var(--text); font: 15px/1.5 var(--space); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .icon-library { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #302039; background: #130e1a; position: relative; z-index: 3; }
.header-row { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: #190c1c; background: var(--sunset); box-shadow: 0 1px 0 #ffd4bc inset, 0 6px 18px #f970a72b; }
.brand-icon svg { width: 25px; height: 25px; }
.brand-type { font-weight: 700; font-size: 18px; letter-spacing: -.055em; line-height: 1; }
.brand-type span { color: var(--pink); margin-left: 3px; }
.navigation { display: flex; align-items: stretch; gap: 34px; align-self: stretch; margin-left: 32px; }
.navigation a { color: var(--muted); display: flex; align-items: center; position: relative; font-weight: 600; white-space: nowrap; }
.navigation a svg { width: 15px; height: 15px; margin-right: 5px; }
.navigation a:hover, .navigation a.active { color: var(--text); }
.navigation a.active::after { content: ""; position: absolute; bottom: -1px; inset-inline: 0; height: 2px; background: var(--sunset); box-shadow: 0 0 12px #fc89b97d; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.network, .pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; white-space: nowrap; font-size: 11px; font-weight: 600; }
.network, .chain { color: var(--green); background: #152321; border-color: #30423b; }
.network i, .pill i, .hero-tag i, .ticker-label span, .kicker i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; flex: none; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 7px; white-space: nowrap; font-weight: 700; font-size: 13px; transition: filter .18s, background-color .18s, transform .18s; }
.button:hover:enabled, a.button:hover { filter: brightness(1.11); transform: translateY(-1px); }
.button:active:enabled, a.button:active { transform: translateY(1px); }
.button svg { width: 18px; height: 18px; }
.button-wallet { color: #1f0c1e; background: #fac0dc; border-color: #ffcde7; font-size: 13px; box-shadow: 0 5px 18px #fb7eb322; }
.button-primary { color: #210c21; background: var(--sunset); border-color: #ffc2b7; box-shadow: 0 7px 26px #f97db531; }
.button-glass { color: #fdf1f7; background: #231627ba; border-color: #b57c9b81; backdrop-filter: blur(8px); }
.button-secondary { color: var(--text); border-color: #48354e; background: #281e32; }
.icon-button { display: grid; place-items: center; padding: 0; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 7px; background: #201728; color: var(--muted); }
.icon-button:hover { color: var(--text); border-color: #725777; }
.menu-toggle { display: none; }
.ticker { height: 41px; background: #181020; border-bottom: 1px solid #2c2035; }
.ticker-row { display: flex; height: 100%; align-items: center; overflow: hidden; }
.ticker-label { display: flex; align-items: center; align-self: stretch; gap: 9px; color: var(--pink); padding-right: 18px; border-right: 1px solid var(--line); font: 600 10px var(--mono); letter-spacing: .055em; white-space: nowrap; }
.ticker-items { display: flex; min-width: 0; overflow: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 97%, transparent); }
.ticker-items::-webkit-scrollbar { display: none; }
.ticker-items span { padding-inline: 17px; color: var(--muted); white-space: nowrap; font: 600 10px var(--mono); }
.ticker-items span + span { border-left: 1px solid var(--line); }
.up { color: var(--green); }
.down { color: var(--red); }

.hero { --dx: 0px; --dy: 0px; position: relative; isolation: isolate; overflow: hidden; margin-top: 25px; min-height: 506px; color: #fff3fa; border: 1px solid #543148; border-radius: 16px; background: #221329; box-shadow: 0 24px 100px #1a021d6b, inset 0 0 50px #ec609320; }
.hero-art, .hero-vignette { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero-art { inset: -14px; transform: translate3d(var(--dx), var(--dy), 0); transition: transform .45s cubic-bezier(.2,.65,.3,1); background: #201025 url("/assets/boulevard.jpg") 50% 63% / cover no-repeat; }
.hero-vignette { background: linear-gradient(90deg,#140c1bed 0,#160d1ac4 23%,#160d1a4d 51%,transparent 79%), linear-gradient(0deg,#140b19d4,transparent 36%); }
.hero-inner { padding: 51px 47px 72px; position: relative; z-index: 1; }
.hero-tag { color: #ffc2d9; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #b874a07d; background: #351b32b3; padding: 7px 11px; border-radius: 5px; font: 600 10px/1.2 var(--mono); letter-spacing: .12em; }
.hero h1 { margin: 15px 0 20px; max-width: max-content; font-family: var(--display); font-size: clamp(76px, 8.1vw, 126px); line-height: .85; font-weight: 900; font-style: italic; letter-spacing: -.026em; text-shadow: 0 7px 14px #0f091b66; }
.hero h1 span { color: var(--pink); background: linear-gradient(110deg,#ffd392,#ffaaa5 43%,#ff77c2); background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
.hero-inner p { color: #efe0ed; font-size: 16px; line-height: 1.52; margin: 0 0 23px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .button { min-height: 47px; padding: 0 18px; }
.hero-caption { position: absolute; right: 27px; bottom: 18px; font: 600 9px var(--mono); letter-spacing: .16em; color: #ecd9e3; display: flex; gap: 9px; align-items: center; }
.hero-caption span { width: 22px; height: 1px; background: #e183a2; box-shadow: 0 0 7px #ec7ab4; }
.emblem-scene { position: absolute; z-index: 0; inset: 26px 19px 22px auto; width: clamp(275px,35%,440px); pointer-events: none; transform: translate3d(var(--look-x, 0),var(--look-y, 0),0); transition: transform .45s cubic-bezier(.2,.65,.3,1); }
.emblem-glow { position: absolute; inset: 3% 1% 8%; background: radial-gradient(ellipse at 52% 44%,#f658a147 0%,#ae2f711c 38%,transparent 68%); filter: blur(12px); }
.emblem-scene canvas { position: absolute; width: 100%; height: 100%; inset: 0; filter: drop-shadow(0 8px 13px #1b0824cc) drop-shadow(0 0 18px #ff7dbd75); }
.emblem-plate { position: absolute; right: 18px; bottom: 24px; display: flex; gap: 7px; align-items: center; background: #2e1830dd; border: 1px solid #d182ab86; border-radius: 7px; color: #ffd0df; padding: 5px 10px; letter-spacing: .04em; transform: perspective(300px) rotateY(-13deg) rotateX(5deg); box-shadow: 2px 4px #431a3c, 0 0 16px #ef76b74d; }
.emblem-plate b { font: 700 12px var(--mono); }
.emblem-plate svg { width: 16px; height: 16px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; margin-top: 16px; }
.metric { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(130deg,#24192b,#191320 85%); }
.metric-icon { width: 41px; height: 41px; border-radius: 8px; display: grid; place-items: center; border: 1px solid currentColor; flex: none; }
.violet { color: #c8a7ff; background: #352353; border-color: #513768; }
.pink { color: #ffacd7; background: #402239; border-color: #643652; }
.green { color: #91e5bb; background: #25352d; border-color: #3d614d; }
.gold { color: #ffcc91; background: #3e2a25; border-color: #634738; }
.metric div > span { color: var(--muted); display: block; font-size: 12px; }
.metric strong { display: block; font-size: 24px; line-height: 1.13; letter-spacing: -.045em; margin-top: 2px; }
.metric small { color: var(--dim); font-size: 10px; font-weight: 500; letter-spacing: 0; white-space: nowrap; margin-left: 2px; }

.section { margin-top: 47px; scroll-margin-top: 25px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.kicker { color: var(--pink); font: 600 10px var(--mono); letter-spacing: .14em; display: flex; align-items: center; gap: 8px; }
.kicker i { width: 5px; height: 5px; }
h2 { font-size: clamp(34px, 4vw, 47px); font-weight: 700; letter-spacing: -.065em; line-height: 1.05; margin: 5px 0 6px; }
.section-head p, .creator-card p, .fee-card p, .ledger-head p { color: var(--muted); margin: 0; }
.pending { color: #efc48f; background: #2d231e; border-color: #49382b; }
.market-panel, .creator-card, .fee-card, .ledger-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.market-panel { display: grid; grid-template-columns: 1fr minmax(300px,.68fr); gap: 20px; align-items: center; padding: 20px; background: linear-gradient(140deg,#221728,#191320 76%); }
.market-status { display: flex; gap: 12px; align-items: flex-start; }
.market-status p, .market-addresses dt { color: var(--muted); font-size: 13px; margin: 0; }
.market-addresses { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.market-addresses div { padding: 9px 11px; background: #130e1a; border-radius: 7px; border: 1px solid var(--line); min-width: 0; }
.market-addresses dd { margin: 2px 0 0; overflow-wrap: anywhere; font: 600 11px/1.4 var(--mono); }
.market-addresses a, .transaction-link { color: var(--pink); }
.market-addresses svg, .transaction-link svg { width: 13px; height: 13px; }
[data-tilt] { position: relative; isolation: isolate; transform: perspective(1000px) rotateX(var(--tx,0deg)) rotateY(var(--ty,0deg)); transition: transform .24s ease, box-shadow .24s ease; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background: radial-gradient(ellipse at var(--px,50%) var(--py,50%),#ffc3df26,transparent 72%); opacity: 0; transition: opacity .24s; }
[data-tilting] { box-shadow: 0 8px 28px #07020db0; }
[data-tilting]::after { opacity: 1; }

.split, .ledger-grid { display: grid; grid-template-columns: 1.07fr 1fr; gap: 14px; }
.creator-card, .fee-card, .ledger-panel { padding: 25px; min-width: 0; }
.creator-card { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 85% 32%,#472044 0,transparent 44%), linear-gradient(118deg,#25162d,#181221); }
.creator-card h2, .creator-card p, .creator-card .button { position: relative; z-index: 1; }
.creator-card p { max-width: 310px; margin: 10px 0 19px; }
.creator-art { position: absolute; right: 22px; bottom: 23px; width: 125px; height: 123px; pointer-events: none; perspective: 450px; }
.creator-art div, .creator-art svg { position: absolute; inset: 9px; width: auto; height: auto; border-radius: 17px; transform: rotateX(35deg) rotateY(-17deg) rotateZ(-27deg); }
.creator-art div { border: 1px solid #c17bb884; background: linear-gradient(140deg,#743465,#261631); box-shadow: 0 0 22px #a1397860, 0 1px 1px #ffa9dc91 inset; }
.creator-art div:nth-child(1) { translate: 0 24px; opacity: .42; }
.creator-art div:nth-child(2) { translate: 0 12px; opacity: .69; }
.creator-art svg { margin: 18px; color: #ffbbdb; filter: drop-shadow(0 1px 8px #fdaed9a8); }
h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.04em; margin: 0 0 6px; }
.fee-meter { display: flex; gap: 4px; margin: 19px 0 10px; height: 12px; }
.fee-meter span:first-child { flex: 95; border-radius: 5px 0 0 5px; background: linear-gradient(90deg,#d979ff,#fa8fca); }
.fee-meter span:last-child { flex: 5; min-width: 10px; border-radius: 0 5px 5px 0; background: #ffc590; }
.fee-items { display: flex; flex-wrap: wrap; gap: 4px 17px; font-size: 12px; color: var(--muted); }
.fee-items span { display: inline-flex; align-items: center; gap: 6px; }
.fee-items b { color: var(--text); }
.fee-items i { width: 7px; height: 7px; border-radius: 50%; background: #f096d2; }
.fee-items span:last-child i { background: #ffc590; }
.ledger-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ledger-head p { font-size: 13px; }
.activity-form { margin-top: 13px; }
.lookup-row { display: flex; gap: 7px; margin-top: 4px; }
.address-input { min-width: 0; flex: 1; min-height: 42px; border: 1px solid #48354e; border-radius: 6px; padding: 0 10px; color: var(--text); background: #130e1b; font-size: 13px; }
.activity-result { margin-top: 12px; color: var(--muted); font-size: 12px; }
.activity-result p { margin: 4px 0; }
.transaction-list { list-style: none; padding: 0; margin: 0; }
.transaction-list li { display: grid; grid-template-columns: minmax(92px,1fr) auto; gap: 4px 12px; align-items: center; border-top: 1px solid var(--line); padding: 7px 0; }
.transaction-link { font: 600 12px var(--mono); white-space: nowrap; }
.transaction-time { color: var(--muted); display: block; font-size: 11px; margin-top: 2px; }
.mint-details { margin: 12px 0 0; background: #140e1b; padding: 10px; border: 1px solid var(--line); border-radius: 7px; }
.mint-details dl { display: grid; gap: 6px; margin: 0 0 8px; }
.mint-details dl div { display: flex; gap: 10px; justify-content: space-between; color: var(--muted); font-size: 12px; }
.mint-details dd { margin: 0; text-align: right; color: var(--text); overflow-wrap: anywhere; }
.chain-summary { margin-top: 16px; }
.empty-state { min-height: 129px; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 10px; color: var(--muted); text-align: center; }
.empty-state svg { width: 22px; height: 22px; color: var(--pink); }
.empty-state p { margin: 2px 0 4px; }
.chain-balance { display: block; font-size: 29px; font-weight: 700; letter-spacing: -.045em; }
.chain-address { font: 11px/1.5 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.chain-details { margin: 6px 0 14px; min-height: 20px; color: var(--muted); font-size: 12px; }
.chain-links { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer { margin-top: 49px; padding: 22px 0; border-top: 1px solid var(--line); background: #130e19; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 12px; }
.footer-grid .brand { color: var(--text); }
.footer-grid p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 7px 16px; }
.footer-links a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--pink); }
.footer-links svg { width: 14px; height: 14px; }

dialog { width: min(510px, calc(100% - 26px)); max-height: calc(100% - 26px); padding: 0; color: var(--text); border: 1px solid #5a3a58; border-radius: 14px; background: #1b1324; box-shadow: 0 35px 100px #030106a8; }
dialog::backdrop { background: #0a060dd1; backdrop-filter: blur(4px); }
.dialog-content { padding: 24px; position: relative; }
.dialog-close { position: absolute; top: 16px; right: 16px; z-index: 1; }
.dialog-content h2 { font-size: 34px; padding-right: 40px; }
.dialog-copy { color: var(--muted); font-size: 13px; margin: 7px 0 18px; }
.wallet-options { display: grid; gap: 7px; }
.wallet-option { display: flex; width: 100%; align-items: center; gap: 11px; text-align: left; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; background: #261b30; color: var(--text); font-weight: 700; }
.wallet-option:hover { border-color: #9e6293; }
.wallet-option img, .wallet-icon { width: 30px; height: 30px; border-radius: 6px; }
.wallet-icon { display: grid; place-items: center; background: #4a2b53; color: #f2a7e7; }
.wallet-option > svg:last-child { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.wallet-help { display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-help a { min-height: 35px; }
.wallet-manage { margin-top: 15px; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 4px; min-width: 0; color: var(--muted); font-size: 13px; }
.field b { color: var(--text); font-weight: 600; }
.field input, .field select { width: 100%; min-height: 42px; border: 1px solid #48354e; border-radius: 6px; padding: 0 10px; color: var(--text); background: #130e1b; }
.field small { color: var(--muted); font-size: 11px; }
.form-problem { color: #ff9bb5; font-size: 12px; margin: 0; }
.form-problem:empty { display: none; }
.ghost-link { color: var(--pink); }
.toast { position: fixed; bottom: 20px; right: 20px; z-index: 5; max-width: min(410px,calc(100% - 40px)); border: 1px solid #915d82; border-radius: 8px; padding: 12px 15px; background: #332039; box-shadow: 0 8px 24px #09060c97; color: var(--text); opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .shell { width: calc(100% - 58px); }
  .navigation { margin-left: 0; gap: 24px; }
  .hero { min-height: 470px; }
  .hero-inner { padding-inline: 38px; }
  .creator-card p { max-width: min(64%, 310px); }
  .creator-art { right: 11px; scale: .83; }
  .metric { padding: 12px; gap: 9px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }
  .header-row { height: 63px; gap: 8px; }
  .header-actions { gap: 7px; }
  .navigation { display: none; position: absolute; top: 62px; left: 0; right: 0; padding: 10px 16px; flex-direction: column; gap: 0; background: #191121; border-block: 1px solid var(--line); box-shadow: 0 10px 18px #0a0712a8; }
  .navigation.open { display: flex; }
  .navigation a { padding: 10px 7px; }
  .navigation a.active::after { right: auto; width: 28px; left: 7px; }
  .menu-toggle { display: grid; }
  .network { display: none; }
  .brand { gap: 7px; }
  .brand-icon { width: 32px; height: 32px; }
  .brand-icon svg { width: 22px; height: 22px; }
  .brand-type { font-size: 16px; }
  .button-wallet { min-height: 36px; padding-inline: 8px; font-size: 11px; gap: 5px; }
  .button-wallet svg { width: 15px; height: 15px; }
  .ticker { height: 35px; }
  .ticker-label { font-size: 9px; padding-right: 10px; }
  .ticker-items span { padding-inline: 9px; }
  .hero { min-height: 465px; margin-top: 15px; }
  .hero-inner { padding: 34px 24px 130px; }
  .hero h1 { font-size: clamp(54px, 11vw, 90px); }
  .hero-art { background-position: 63% 63%; }
  .hero-vignette { background: linear-gradient(90deg,#100914dc 0,#10091491 45%,#110b1427 100%),linear-gradient(0deg,#140b19ac,transparent 35%); }
  .emblem-scene { inset: auto 8px 22px auto; width: 225px; height: 184px; }
  .emblem-plate { right: 8px; bottom: 16px; }
  .market-panel { grid-template-columns: 1fr; gap: 13px; padding: 14px; }
  .hero-caption { right: 17px; bottom: 13px; }
  .section { margin-top: 35px; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .split, .ledger-grid { grid-template-columns: 1fr; }
  .creator-card, .fee-card, .ledger-panel { padding: 17px; }
  .footer-grid { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 24px); }
  .brand-type { font-size: 14px; }
  .hero { min-height: 427px; }
  .hero-inner { padding: 32px 15px 107px; }
  .hero h1 { font-size: clamp(44px, 12.3vw, 56px); margin-bottom: 17px; }
  .hero-inner p { font-size: 14px; margin-bottom: 17px; }
  .hero-actions .button { min-height: 41px; padding-inline: 10px; font-size: 11px; }
  .hero-actions .button svg { width: 15px; height: 15px; }
  .hero-art { background-position: 61% 62%; }
  .hero-caption { font-size: 8px; }
  .metric { padding: 10px 8px; gap: 6px; }
  .metric-icon { width: 29px; height: 29px; border-radius: 5px; }
  .metric-icon svg { width: 16px; height: 16px; }
  .metric div > span { font-size: 10px; }
  .metric strong { font-size: 19px; }
  .metric small { font-size: 9px; }
  .emblem-scene { width: 195px; height: 155px; }
  .dialog-content { padding: 17px; }
  .dialog-close { top: 11px; right: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@font-face { font-family: 'Space Grotesk'; src: url('/assets/space-grotesk.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/barlow-condensed-900-italic.woff2') format('woff2'); font-weight: 900; font-style: italic; font-display: swap; }
.creator-art svg { width: calc(100% - 54px); height: calc(100% - 54px); }
