/* Inkling. A night gallery: ink-violet walls, bone-white type, brass placards. Light theme is "stone". */
:root {
  --bg: #0D0B14; --bg2: #14101E; --panel: #1A1626; --panel2: #231E33; --ink: #F2EEE5; --mute: #9A93AE; --line: #2D2740;
  --acc: #E2BE6E; --acc2: #B8913E; --acc-ink: #17120A; --acc-soft: rgba(226,190,110,.14); --pos: #6FD6A6; --neg: #FF7D8B; --warn: #F0B455;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 18px 40px -18px rgba(0,0,0,.7);
  --glow: radial-gradient(60% 50% at 50% 0%, rgba(150,110,255,.22), transparent 70%);
  --frame: linear-gradient(145deg, #F1D898, #B8913E 45%, #E9CF8C 70%, #8D6A22);
  --font-d: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif; --font-b: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --bg: #ECEAF1; --bg2: #E3E0EC; --panel: #FFFFFF; --panel2: #F4F2F8; --ink: #18122A; --mute: #655E7C; --line: #D8D3E6;
  --acc: #7A5A12; --acc2: #5E4409; --acc-ink: #FFF8E6; --acc-soft: rgba(122,90,18,.1); --pos: #12795A; --neg: #C03346; --warn: #A8680C;
  --shadow: 0 1px 2px rgba(24,18,42,.06), 0 18px 36px -20px rgba(24,18,42,.25);
  --glow: radial-gradient(60% 50% at 50% 0%, rgba(120,90,255,.14), transparent 70%);
  --frame: linear-gradient(145deg, #D9B766, #8D6A22 45%, #CFA650 70%, #6C4E12); color-scheme: light; } }
:root[data-theme="light"] {
  --bg: #ECEAF1; --bg2: #E3E0EC; --panel: #FFFFFF; --panel2: #F4F2F8; --ink: #18122A; --mute: #655E7C; --line: #D8D3E6;
  --acc: #7A5A12; --acc2: #5E4409; --acc-ink: #FFF8E6; --acc-soft: rgba(122,90,18,.1); --pos: #12795A; --neg: #C03346; --warn: #A8680C;
  --shadow: 0 1px 2px rgba(24,18,42,.06), 0 18px 36px -20px rgba(24,18,42,.25);
  --glow: radial-gradient(60% 50% at 50% 0%, rgba(120,90,255,.14), transparent 70%);
  --frame: linear-gradient(145deg, #D9B766, #8D6A22 45%, #CFA650 70%, #6C4E12); color-scheme: light; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font-b); min-height: 100%; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0 0 auto 0; height: 70vh; background: var(--glow); pointer-events: none; z-index: 0; }
#app, #foot { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 500; letter-spacing: -.015em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--acc); color: var(--acc-ink); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
.sec { padding-block: 36px; }
.row { display: flex; align-items: center; } .between { justify-content: space-between; } .wrapf { flex-wrap: wrap; }
.g4 { gap: 4px; } .g8 { gap: 8px; } .g12 { gap: 12px; } .g16 { gap: 16px; } .g24 { gap: 24px; }
.col { display: flex; flex-direction: column; } .mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mb { margin-bottom: 8px; }
.mute { color: var(--mute); } .small { font-size: 13.5px; } .tiny { font-size: 12px; } .pos { color: var(--pos); } .neg { color: var(--neg); }
.num { font-variant-numeric: tabular-nums; } .wrapword { overflow-wrap: anywhere; } .right { text-align: right; }
.minw0 { min-width: 0; } .grow { flex: 1; } .center { text-align: center; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
.kbd { font: 600 11px var(--font-b); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); color: var(--mute); background: var(--panel); }

/* ---------- header ---------- */
.navbar { position: sticky; top: 0; z-index: 30; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.navbar.stuck { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
.navin { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 600; font-size: 26px; letter-spacing: -.02em; }
.navl { display: flex; gap: 2px; margin-left: 18px; }
.nl { position: relative; padding: 8px 12px; font-weight: 500; font-size: 14.5px; color: var(--mute); transition: color .15s; }
.nl:hover, .nl.on { color: var(--ink); }
.nl.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--acc); border-radius: 2px; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.spill { display: flex; align-items: center; gap: 10px; min-width: 220px; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 70%, transparent); color: var(--mute); font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.spill:hover { border-color: var(--acc); color: var(--ink); } .spill .kbd { margin-left: auto; }
.iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--mute); transition: all .15s; }
.iconbtn:hover { color: var(--ink); border-color: var(--acc); transform: rotate(14deg); }
.net { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pos) 25%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--pos) 0%, transparent); } }
.dock { display: none; }

/* ---------- buttons, inputs ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font-weight: 600; letter-spacing: .005em; padding: 12px 22px; border-radius: 99px; background: var(--acc); color: var(--acc-ink); min-height: 46px; transition: transform .15s, box-shadow .2s, filter .15s; box-shadow: 0 8px 22px -10px var(--acc); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 26px -10px var(--acc); } .btn:active { transform: translateY(1px); }
.btn.sm { padding: 7px 15px; min-height: 36px; font-size: 14px; } .btn.lg { padding: 16px 30px; min-height: 56px; font-size: 17px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); } .btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--acc); background: var(--acc-soft); }
.btn.soft { background: var(--acc-soft); color: var(--acc); box-shadow: none; }
.btn.danger { background: transparent; color: var(--neg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--neg) 50%, transparent); }
.btn.block { width: 100%; } .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.busy::after { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; }
.field { display: flex; flex-direction: column; gap: 7px; } .field > label, .lbl { font-weight: 600; font-size: 13.5px; color: var(--mute); }
.in { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); min-height: 46px; transition: border-color .15s, box-shadow .15s; }
.in:focus { border-color: var(--acc); outline: none; box-shadow: 0 0 0 4px var(--acc-soft); }
textarea.in { min-height: 92px; resize: vertical; } select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.inwrap { position: relative; } .inwrap .suffix { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--mute); font-weight: 600; font-size: 13px; }
.hint { color: var(--mute); font-size: 13px; }
input[type=range] { width: 100%; accent-color: var(--acc); height: 28px; cursor: pointer; }
input[type=checkbox] { accent-color: var(--acc); }

/* ---------- surfaces ---------- */
.card { background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, #fff 2%), var(--panel)); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.pad { padding: 24px; } .pad-s { padding: 14px 18px; }
.divide > * + * { border-top: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .tbl th { text-align: left; font-weight: 500; color: var(--mute); padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 13px; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); } .tbl tr:last-child td { border-bottom: 0; } .tbl .r { text-align: right; }
.scrollx { overflow-x: auto; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--panel2); color: var(--mute); }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 99px; padding: 7px 15px; font-weight: 500; font-size: 14px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; border: 0; color: var(--ink); min-height: 36px; transition: all .15s; white-space: nowrap; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--acc); } .chip.on { background: var(--ink); color: var(--bg); box-shadow: none; } .chip.sm { min-height: 28px; padding: 3px 11px; font-size: 12.5px; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; max-width: 100%; }
.tabs button { position: relative; border: 0; background: transparent; padding: 10px 2px 12px; font-weight: 500; color: var(--mute); cursor: pointer; white-space: nowrap; transition: color .15s; }
.tabs button:hover { color: var(--ink); } .tabs button.on { color: var(--ink); } .tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--acc); }
.seg { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--panel2); }
.seg button { border: 0; background: transparent; padding: 8px 18px; border-radius: 99px; font-weight: 600; color: var(--mute); cursor: pointer; transition: all .2s; }
.seg button.on { background: var(--ink); color: var(--bg); } .seg button.on.sell { background: var(--neg); color: #fff; } .seg button.on.buy { background: var(--pos); color: #07140E; }
.empty { text-align: center; padding: 44px 16px; color: var(--mute); }
.spinner { width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--acc); border-radius: 50%; animation: spin .8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.note { padding: 12px 16px; border-radius: 14px; background: var(--acc-soft); color: var(--ink); font-size: 14px; }
.note.warn { background: color-mix(in srgb, var(--warn) 16%, var(--panel)); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .kv:last-child { border-bottom: 0; } .kv span:first-child { color: var(--mute); }
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--panel2); }
.bar-split { display: flex; height: 10px; border-radius: 99px; overflow: hidden; gap: 2px; }
.bar-split .p { background: #8B7FD0; } .bar-split .c { background: var(--acc); } .bar-split .h { background: var(--pos); } .bar-split div { font-size: 0; transition: flex .3s; }
.bar-split + .row span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #8B7FD0; }
.bar-split + .row span:nth-child(2)::before { background: var(--acc); } .bar-split + .row span:nth-child(3)::before { background: var(--pos); }

/* ---------- the frame: every creature hangs in one ---------- */
.fr { position: relative; padding: 5px; border-radius: 6px; background: var(--frame); box-shadow: 0 16px 34px -16px rgba(0,0,0,.65), 0 2px 0 rgba(255,255,255,.12) inset; }
.fr .mat { padding: 7%; background: color-mix(in srgb, var(--bg2) 70%, #000); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), inset 0 6px 14px -6px rgba(0,0,0,.6); }
:root[data-theme="light"] .fr .mat { background: #F4F1EA; } @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .fr .mat { background: #F4F1EA; } }
.fr img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 1px; }
.plaque { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 10px 2px 0; font-size: 13px; }
.plaque b { font-family: var(--font-d); font-weight: 500; font-size: 17px; letter-spacing: 0; }
.plaque .pr { font-weight: 600; color: var(--acc); }

/* ---------- home ---------- */
.hero { position: relative; padding-block: 36px 24px; text-align: center; overflow: visible; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); font-weight: 500; letter-spacing: -.035em; line-height: .96; max-width: 14ch; margin-inline: auto; }
.hero h1 em { font-style: italic; color: var(--acc); font-weight: 400; }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: var(--mute); max-width: 52ch; margin: 22px auto 0; }
.gallery { position: relative; height: clamp(250px, 36vw, 400px); margin: 40px auto 0; perspective: 1200px; max-width: 1000px; }
.gallery .fr { position: absolute; width: clamp(110px, 17vw, 190px); left: 50%; top: 50%; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .3s; will-change: transform; cursor: pointer; }
.gallery .fr:hover { z-index: 9 !important; }
.drawbox { margin: 48px auto 0; max-width: 960px; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: center; text-align: left; padding: 32px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--panel), var(--bg2)); box-shadow: var(--shadow); }
.drawbox h2 { font-size: clamp(30px, 4vw, 44px); }
.drawbox .fr.spin { animation: flick .45s steps(6); } @keyframes flick { 0% { filter: blur(3px) saturate(2); transform: rotateY(60deg); } 100% { filter: none; transform: none; } }
.chips-t { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.marq { position: relative; overflow: hidden; border-block: 1px solid var(--line); margin-top: 56px; padding-block: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq .track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; } .marq:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.mq { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); white-space: nowrap; font-size: 14px; transition: border-color .15s; } .mq:hover { border-color: var(--acc); }
.mq img { width: 34px; height: 34px; border-radius: 50%; }
.h2 { font-size: clamp(30px, 4vw, 46px); } .h3 { font-size: 24px; } .lead { color: var(--mute); }
.shead { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.stat { padding: 20px 22px; background: var(--panel); } .stat .v { font-family: var(--font-d); font-size: clamp(22px, 2.4vw, 31px); white-space: nowrap; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; } .stat .k { color: var(--mute); font-size: 13px; margin-top: 4px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); transition: transform .25s, border-color .25s; } .step:hover { transform: translateY(-4px); border-color: var(--acc); }
.step h3 { font-size: 24px; margin-top: 28px; } .step p { color: var(--mute); margin-top: 10px; font-size: 15px; }
.step .no { font-family: var(--font-d); font-style: italic; font-size: 44px; color: var(--acc); line-height: 1; }

/* exhibitions (collection tiles) */
.exgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ex { position: relative; display: block; padding: 14px 14px 18px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s; }
.ex:hover { transform: translateY(-6px); border-color: var(--acc); box-shadow: 0 28px 50px -28px var(--acc); }
.ex .strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ex .strip img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.ex:hover .strip img:nth-child(odd) { transform: translateY(-7px) rotate(-3deg); } .ex:hover .strip img:nth-child(even) { transform: translateY(5px) rotate(3deg); }
.ex .meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-inline: 4px; } .ex .meta b { font-family: var(--font-d); font-weight: 500; font-size: 23px; letter-spacing: -.01em; display: block; line-height: 1.1; }
.ex .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 4px 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; } .ex .nums span { display: block; color: var(--mute); font-size: 12px; }
.prog { height: 3px; border-radius: 3px; background: var(--line); margin: 14px 4px 0; overflow: hidden; } .prog i { display: block; height: 100%; background: var(--acc); }

/* sales list rows */
.srow { display: flex; align-items: center; gap: 14px; padding: 12px 18px; transition: background .15s; } .srow:hover { background: var(--panel2); } .srow img { width: 48px; height: 48px; border-radius: 10px; }

/* ---------- market grid ---------- */
.toolbar { position: sticky; top: 68px; z-index: 12; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.search { position: relative; flex: 1 1 200px; max-width: 320px; } .search .in { border-radius: 99px; padding-left: 40px; } .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.dens { display: flex; align-items: center; gap: 8px; color: var(--mute); width: 130px; }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--min, 200px), 1fr)); gap: 22px 18px; }
.nc { position: relative; display: block; min-width: 0; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.nc:hover { transform: translateY(-6px); } .nc:hover .fr { box-shadow: 0 30px 40px -22px rgba(0,0,0,.8), 0 0 0 1px var(--acc); }
.nc .qa { position: absolute; left: 50%; bottom: 62px; transform: translate(-50%, 10px); opacity: 0; transition: all .25s; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); pointer-events: none; }
.nc:hover .qa { opacity: 1; transform: translate(-50%, 0); }
.nc .traits-o { position: absolute; left: 5px; right: 5px; top: 5px; padding: 10px; font-size: 12px; color: #fff; background: linear-gradient(#0009, transparent); opacity: 0; transition: opacity .25s; border-radius: 2px; pointer-events: none; } .nc:hover .traits-o { opacity: 1; }
.skel { background: linear-gradient(100deg, var(--panel) 30%, var(--panel2) 50%, var(--panel) 70%); background-size: 200% 100%; animation: sh 1.4s linear infinite; border-radius: 8px; aspect-ratio: 1; } @keyframes sh { to { background-position: -200% 0; } }

/* ---------- nft page ---------- */
.stage { position: relative; display: grid; place-items: center; padding: clamp(24px, 5vw, 56px); border-radius: 30px; border: 1px solid var(--line); background: radial-gradient(70% 60% at 50% 40%, color-mix(in srgb, var(--panel2) 90%, #fff 3%), var(--bg2)); overflow: hidden; }
.stage::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 18%; background: radial-gradient(50% 100% at 50% 100%, rgba(0,0,0,.45), transparent); pointer-events: none; }
.stage .fr { width: min(100%, 520px); transition: transform .2s ease-out; cursor: zoom-in; transform-style: preserve-3d; }
.stage .nav { position: absolute; top: 50%; transform: translateY(-50%); } .stage .nav.l { left: 14px; } .stage .nav.r { right: 14px; }
.stage .nav { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(6px); transition: all .15s; } .stage .nav:hover { border-color: var(--acc); color: var(--acc); }
.title-xl { font-size: clamp(40px, 6vw, 76px); letter-spacing: -.03em; }
.price-xl { font-family: var(--font-d); font-weight: 500; font-size: clamp(36px, 5vw, 52px); letter-spacing: -.02em; line-height: 1; }
.traits { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.trait { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; transition: border-color .15s, transform .15s; } .trait:hover { border-color: var(--acc); transform: translateY(-2px); } .trait .k { font-size: 12px; color: var(--mute); } .trait .v { font-family: var(--font-d); font-size: 19px; }
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(5,4,10,.9); backdrop-filter: blur(8px); cursor: zoom-out; animation: fade .2s; } .lightbox .fr { width: min(92vw, 86vh); } @keyframes fade { from { opacity: 0; } }

/* ---------- token page ---------- */
.thead { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.thead h1 { font-size: clamp(36px, 5vw, 60px); }
.tgrid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; margin-top: 28px; }
.tp { position: sticky; top: 88px; padding: 24px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg2)); box-shadow: var(--shadow); }
.qty { display: flex; align-items: center; gap: 10px; } .qty .in { text-align: center; font-family: var(--font-d); font-size: 34px; font-weight: 500; min-height: 62px; border-radius: 18px; }
.qty button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 22px; cursor: pointer; flex: none; transition: all .15s; } .qty button:hover { border-color: var(--acc); color: var(--acc); }
.quote { margin-top: 16px; padding: 16px 18px; border-radius: 18px; background: var(--bg); border: 1px dashed var(--line); } .quote .big { font-family: var(--font-d); font-size: 32px; letter-spacing: -.01em; line-height: 1.1; }
.chartwrap { position: relative; } .ctip { position: absolute; pointer-events: none; transform: translate(-50%, -100%); padding: 6px 10px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 12.5px; white-space: nowrap; opacity: 0; transition: opacity .1s; z-index: 2; }
.hbar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; } .hbar i { display: block; height: 100%; background: var(--acc); }

/* ---------- launch ---------- */
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; }
.lprev { position: sticky; top: 88px; }
.lstep { position: relative; padding: 26px 26px 26px 72px; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); } .lstep + .lstep { margin-top: 16px; }
.lstep .no { position: absolute; left: 22px; top: 20px; font-family: var(--font-d); font-style: italic; font-size: 38px; color: var(--acc); line-height: 1; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.two-s { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.side { display: block; }
.nftgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 14px; }

/* ---------- portfolio ---------- */
.pfhead { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pfhead .big { font-family: var(--font-d); font-size: clamp(56px, 9vw, 120px); line-height: .9; letter-spacing: -.04em; color: var(--acc); }
.selbar { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); transition: transform .3s cubic-bezier(.2,.7,.2,1); z-index: 40; padding: 10px 12px 10px 20px; border-radius: 99px; background: var(--ink); color: var(--bg); display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); } .selbar.on { transform: translate(-50%, 0); }
.nc.sel .fr { box-shadow: 0 0 0 3px var(--acc), 0 20px 30px -16px rgba(0,0,0,.7); }

/* ---------- command palette, modal, toast ---------- */
.pal-bg { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; background: rgba(5,4,10,.6); backdrop-filter: blur(6px); animation: fade .15s; }
.pal { width: 100%; max-width: 580px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); overflow: hidden; }
.pal input { width: 100%; padding: 20px 22px; border: 0; background: transparent; font-size: 18px; outline: none; border-bottom: 1px solid var(--line); }
.pal .list { max-height: 50vh; overflow: auto; padding: 8px; } .pal .grp { padding: 10px 14px 4px; font-size: 12px; color: var(--mute); }
.pal a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; } .pal a.sel, .pal a:hover { background: var(--panel2); } .pal a.sel { box-shadow: inset 2px 0 0 var(--acc); }
.pal img { width: 32px; height: 32px; border-radius: 50%; }
.modal-bg { position: fixed; inset: 0; background: rgba(5,4,10,.7); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 16px; animation: fade .15s; }
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 28px; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); animation: pop .25s cubic-bezier(.2,.9,.3,1.2); } @keyframes pop { from { transform: scale(.94) translateY(10px); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 13px 22px; border-radius: 99px; font-weight: 500; z-index: 90; max-width: calc(100vw - 32px); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); animation: tin .3s cubic-bezier(.2,.9,.3,1.2); } @keyframes tin { from { transform: translate(-50%, 20px); opacity: 0; } }
.foot a:hover { color: var(--ink); }

/* page transition: one orchestrated moment, the main column only */
.enter { animation: enter .45s cubic-bezier(.2,.7,.2,1) both; } @keyframes enter { from { opacity: 0; transform: translateY(10px); } }
.rise { animation: enter .45s cubic-bezier(.2,.7,.2,1) both; }

@media (max-width: 960px) {
  .nftgrid { grid-template-columns: 1fr; gap: 24px; } .thead { flex-direction: column; align-items: flex-start; } .thead > .row.grow { width: 100%; }
  .tgrid, .lgrid { grid-template-columns: 1fr; } .tp, .lprev { position: static; }
  .drawbox { grid-template-columns: 1fr; padding: 22px; } .two, .two-s { grid-template-columns: 1fr; }
  .navl, .net, .spill .kbd { display: none; } .spill { min-width: 0; flex: 1; max-width: 260px; margin-left: auto; } .tools { margin-left: 0; }
  .dock { display: flex; position: fixed; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); left: 12px; right: 12px; z-index: 35; background: color-mix(in srgb, var(--panel) 90%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 99px; padding: 6px; justify-content: space-around; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 10.5px; font-weight: 500; color: var(--mute); padding: 6px 10px; border-radius: 99px; } .dock a.on { color: var(--acc-ink); background: var(--acc); }
  body { padding-bottom: 92px; } .toolbar { top: 68px; } .toast { bottom: 100px; }
  .lstep { padding: 70px 20px 22px; } .lstep .no { top: 16px; }
}
@media (max-width: 560px) { .spill span { display: none; } .spill { min-width: 0; flex: 0 0 auto; padding: 9px; margin-left: auto; } .ngrid { --min: 150px !important; gap: 18px 12px; } .exgrid { grid-template-columns: 1fr; } .dens { display: none; } .gallery .fr { width: 30vw; } .pad { padding: 18px; } .toolbar .chip { padding-inline: 12px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.tools .btn { white-space: nowrap; } @media (max-width: 560px) { .stage .nav { width: 36px; height: 36px; } .stage .nav.l { left: 6px; } .stage .nav.r { right: 6px; } }
