:root {
  color-scheme: dark;
  --bg:        #0B0B0C;
  --bg-2:      #131315;
  --bg-3:      #1A1B1E;
  --ink:       #F5F4EE;
  --ink-2:     #9B9A93;
  --ink-3:     #6E6D67;
  --neon:      #CCFF00;
  --neon-dim:  rgba(204, 255, 0, .14);
  --on-neon:   #0B0B0C;
  --danger:    #FF5C5C;
  --gold:      #D9B25F;
  --gold-dim:  rgba(217, 178, 95, .12);
  --danger-dim: rgba(255, 92, 92, .10);
  --cyan:      #4DE1FF;
  --cyan-dim:  rgba(77, 225, 255, .12);
  --coral:     #FF7A59;
  --coral-dim: rgba(255, 122, 89, .12);
  --line:      rgba(245, 244, 238, .10);
  --line-2:    rgba(245, 244, 238, .22);

  --radius: 16px;
  --radius-pill: 999px;
  --maxw: 1160px;
  --railw: 68px;
  --display: "Newsreader", Georgia, serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);   
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
::selection { background: var(--neon); color: var(--on-neon); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.04; margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

#wave { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--neon); color: var(--on-neon); padding: 8px 14px; border-radius: var(--radius-pill); }
.skip-link:focus { left: calc(var(--railw) + 14px); }
#top, #sales { scroll-margin-top: 84px; }

.rail { position: fixed; top: 0; left: 0; bottom: 0; width: var(--railw); z-index: 25; display: flex; flex-direction: column; align-items: center; padding: 15px 0 14px; background: rgba(11, 11, 12, .86); backdrop-filter: blur(12px); border-right: 1px solid var(--line); }
.rail-logo { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; transition: box-shadow .25s var(--ease), transform .28s var(--bounce); }
.rail-logo:hover { box-shadow: 0 0 18px rgba(204, 255, 0, .28); transform: translateY(-2px); }
.rail-logo svg { display: block; border-radius: 22%; }
.rail-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; flex: 1; }
.rail-item { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; padding: 9px 0 7px; border-radius: 14px; color: var(--ink-3); transition: color .2s, background .2s, box-shadow .25s var(--ease), transform .28s var(--bounce); }
.rail-item svg { display: block; }
.rail-item:hover { color: var(--ink); background: var(--bg-2); transform: translateY(-1px); }
.rail-item.is-active { color: var(--neon); background: var(--neon-dim); box-shadow: 0 0 16px rgba(204, 255, 0, .12); }
.rail-label { font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.rail-chain { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.rail-chain .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px rgba(77, 225, 255, .8); }
.rail-chain-label { writing-mode: vertical-rl; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.shell { margin-left: var(--railw); position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.shell main { flex: 1; }

html.embedded .rail, html.embedded .skip-link, html.embedded .utility-bar { display: none !important; }
html.embedded .shell { margin-left: 0; }

.utility-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 12px 28px; background: rgba(11, 11, 12, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.ub-search { display: flex; align-items: center; gap: 9px; flex: 0 1 360px; color: var(--ink-3); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0 14px; transition: border-color .2s, box-shadow .2s; }
.ub-search svg { flex: none; }
.ub-search input { flex: 1; width: auto; border: none; background: none; padding: 9px 0; font-family: var(--mono); font-size: .84rem; color: var(--ink); border-radius: 0; }
.ub-search input:focus { outline: none; box-shadow: none; border-color: transparent; }
.ub-search:focus-within { border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-dim); }
.utility-bar .net-pill { margin-left: auto; }
.ub-launch { padding: 9px 20px; font-size: .9rem; white-space: nowrap; }

.net-pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .72rem; color: var(--ink-2); white-space: nowrap; }
.net-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); }
.net-pill.wrong .dot { background: var(--gold); }

.btn { font: inherit; font-weight: 600; cursor: pointer; border-radius: var(--radius-pill); padding: 12px 24px; border: 1px solid var(--line-2); color: var(--ink); background: transparent; transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.28s var(--bounce); }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--neon); border-color: var(--neon); color: var(--on-neon); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 0 0 4px var(--neon-dim), 0 6px 24px rgba(204, 255, 0, .18); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-3); border-color: var(--ink-2); }
.btn-connect { border-color: var(--neon); color: var(--neon); padding: 9px 18px; font-size: 0.9rem; white-space: nowrap; }
.btn-connect:hover { background: var(--neon); color: var(--on-neon); }
.btn-connect.connected { font-family: var(--mono); font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; display: flex; }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: var(--danger); color: var(--on-neon); }

.link-go { font-weight: 600; border-bottom: 2px solid var(--neon); padding-bottom: 3px; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.link-go:hover { color: var(--neon); }
.link-go.mut { color: var(--ink-2); border-color: var(--line-2); }

.desk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 26px 28px 0; }
.dstat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 14px 18px; }
.dstat b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1.1; }
.dstat span { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.sales { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 30px 28px 64px; }
.sales-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.sales-head h2 { font-size: 1.8rem; }
.table-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-size: 0.86rem; color: var(--ink-2); background: none; border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; padding: 7px 16px; transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.28s var(--bounce); }
.chip:hover { color: var(--ink); border-color: var(--line-2); transform: translateY(-2px); }
.chip.is-active { color: var(--neon); border-color: var(--neon); background: var(--neon-dim); }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sort-wrap select { width: auto; padding: 7px 12px; font-size: .8rem; border-radius: var(--radius-pill); }

.banner { border: 1px solid var(--line-2); border-left: 2px solid var(--neon); background: var(--bg-2); border-radius: var(--radius); padding: 14px 16px; color: var(--ink-2); font-size: 0.92rem; margin: 0 20px 16px; }
.banner b { color: var(--neon); }
.banner code { font-family: var(--mono); font-size: 0.85em; color: var(--ink); }

.desk-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.desk-table { width: 100%; border-collapse: collapse; }
.desk-table th { text-align: left; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 13px 14px; border-bottom: 1px solid var(--line-2); }
.desk-table th.num, .desk-table td.num { text-align: right; }
.desk-row { cursor: pointer; animation: row-in .5s var(--ease) both; }
.desk-row td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; transition: background .18s var(--ease); }
.desk-table tbody tr:last-child td { border-bottom: 0; }
.desk-row td:first-child { border-left: 3px solid transparent; transition: background .18s var(--ease), border-color .18s var(--ease), padding-left .18s var(--ease); }
.desk-row:hover td, .desk-row:focus-visible td { background: var(--bg-3); }
.desk-row:hover td:first-child, .desk-row:focus-visible td:first-child { border-left-color: var(--acc, var(--neon)); box-shadow: inset 10px 0 22px -14px var(--acc, transparent); padding-left: 20px; }
@keyframes row-in { from { opacity: 0; transform: translateY(9px); } }

.c-token { display: flex; align-items: center; gap: 12px; min-width: 170px; }
.t-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t-id b { font-family: var(--display); font-weight: 600; font-size: 1.06rem; line-height: 1.1; display: flex; align-items: center; }
.t-name { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); }
.feat-star { color: var(--gold); margin-left: 7px; font-size: .9rem; text-shadow: 0 0 12px rgba(217, 178, 95, .6); }

.spark-svg { display: block; width: 96px; height: 26px; }
.spark-svg rect { fill: var(--acc, var(--neon)); }
.spark-svg rect.dim { fill: var(--line-2); opacity: .45; }

.c-price { font-family: var(--mono); font-size: .82rem; color: var(--ink-2); white-space: nowrap; }
.c-raised { font-family: var(--mono); font-size: .82rem; color: var(--ink-2); white-space: nowrap; }
.c-raised b { color: var(--ink); font-weight: 600; }
.quote-chip-slot { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 7px; }
.quote-chip-slot:empty { display: none; }

.quote-chip { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; border: 1px solid; font-family: var(--mono); font-size: .6rem; font-weight: 700; line-height: 1; vertical-align: -3px; }
#quote-info .quote-chip { width: 18px; height: 18px; margin-right: 7px; vertical-align: -4px; }
.q-info { cursor: help; color: var(--gold); margin-left: 6px; }
.quote-note { display: block; margin-top: 8px; padding-left: 9px; border-left: 2px solid var(--gold); font-size: .74rem; line-height: 1.5; color: var(--ink-3); }
.quote-note a { color: var(--gold); border-bottom: 1px solid var(--line-2); }
.form-note.warn { color: var(--gold); }

.fill-pill { display: inline-flex; align-items: center; gap: 9px; }
.fp-bar { position: relative; width: 72px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.fp-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--neon), var(--cyan)); border-radius: 99px; box-shadow: 0 0 8px rgba(204, 255, 0, .35); animation: fill 1s var(--ease) both; }
.fill-pill b { font-family: var(--mono); font-size: .78rem; font-weight: 500; color: var(--ink); }

.st-chip { display: inline-flex; align-items: center; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--neon); padding: 5px 11px; border: 1px solid rgba(204, 255, 0, .45); border-radius: var(--radius-pill); white-space: nowrap; }
.st-chip.live { background: var(--neon-dim); animation: livepulse 2.2s var(--ease) infinite; }
.st-chip.upcoming { color: var(--cyan); border-color: rgba(77, 225, 255, .45); background: var(--cyan-dim); }
.st-chip.ended, .st-chip.finalized { color: var(--ink-2); border-color: var(--line-2); }
.st-chip.cancelled { color: var(--coral); border-color: rgba(255, 122, 89, .5); background: var(--coral-dim); }
.st-chip .s-dot, .lc-status .s-dot, .lr-status .s-dot { margin-right: 5px; }
.st-chip.live .s-dot, .lr-status.live .s-dot { animation: blink 1.4s steps(2) infinite; }

.c-chev { width: 36px; text-align: right; color: var(--ink-3); font-size: 1.1rem; }
.desk-row .c-chev span { display: inline-block; transition: color .18s, transform .18s var(--ease); }
.desk-row:hover .c-chev span, .desk-row:focus-visible .c-chev span { color: var(--acc, var(--neon)); transform: translateX(3px); }

.empty-row td { padding: 60px 20px !important; text-align: center; color: var(--ink-2); border-bottom: 0 !important; }
.empty-row td small { color: var(--ink-3); }
.empty-row:hover td { background: none; }

.desk-details { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.desk-details > summary { display: flex; align-items: center; gap: 10px; padding: 15px 20px; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); cursor: pointer; list-style: none; user-select: none; }
.desk-details > summary::-webkit-details-marker { display: none; }
.desk-details > summary::before { content: "+"; color: var(--neon); font-size: .95rem; line-height: 1; width: .8em; }
.desk-details[open] > summary::before { content: "\2212"; }
.desk-details > summary:hover { color: var(--ink); }
.steps { list-style: none; padding: 4px 20px 26px; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { padding: 22px 22px 4px 0; border-left: 1px solid var(--line); padding-left: 22px; }
.steps li:first-child { border-left: 0; padding-left: 0; }
.step-n { font-family: var(--mono); color: var(--neon); font-size: 0.78rem; letter-spacing: 0.1em; }
.steps h3 { font-size: 1.15rem; margin: 14px 0 9px; }
.steps p { color: var(--ink-2); font-size: 0.9rem; margin: 0; }

.foot { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 28px; display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; color: var(--ink-3); font-size: 0.84rem; border-top: 1px solid var(--line); }
.foot a { color: var(--cyan); border-bottom: 1px solid var(--line-2); }
.foot-mono { font-family: var(--mono); font-size: 0.76rem; }
.foot-legal { flex-basis: 100%; color: var(--ink-3); font-size: 0.78rem; }

.bar { position: relative; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar > i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--neon), var(--cyan)); border-radius: 99px; animation: fill 1s var(--ease) both; box-shadow: 0 0 10px rgba(204, 255, 0, .35); }
@keyframes fill { from { width: 0 !important; } }
.bar > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent); transform: translateX(-100%); animation: shimmer 3.4s var(--ease) infinite; }
.bar.is-live > i::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); animation-duration: 2.4s; }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes blink { 50% { opacity: 0.25; } }
.s-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
@keyframes livepulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(204, 255, 0, .35); } 50% { box-shadow: 0 0 0 5px rgba(204, 255, 0, 0); } }

.lr-status { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neon); }
.lr-status.upcoming { color: var(--cyan); } .lr-status.ended, .lr-status.finalized { color: var(--ink-2); } .lr-status.cancelled { color: var(--coral); }
.lr-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.84rem; color: var(--ink-2); }
.lr-meta b { color: var(--ink); font-weight: 500; }

.lc-avatar { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--acc, var(--neon)); border: 1px solid var(--acc, var(--line-2)); box-shadow: 0 0 12px var(--acc-dim, transparent); position: relative; overflow: hidden; }
.c-token .lc-avatar { width: 36px; height: 36px; border-radius: 10px; font-size: .82rem; }
.lc-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.preview-tag { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; color: var(--gold); border: 1px solid rgba(217, 178, 95, .4); padding: 2px 6px; border-radius: 3px; margin-left: 8px; vertical-align: 2px; }

.k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.v { font-family: var(--mono); font-size: 0.86rem; margin-top: 6px; }
.v.mint { color: var(--neon); }

.badge { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--radius-pill); padding: 4px 10px; white-space: nowrap; }
.badge.mint { color: var(--neon); border-color: rgba(204, 255, 0, .45); }
.badge.gold { color: var(--gold); border-color: rgba(217, 178, 95, .55); background: var(--gold-dim); }

.drawer-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(4px); display: flex; justify-content: flex-end; animation: fade 0.25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.drawer { position: relative; width: min(500px, 95vw); height: 100%; overflow-y: auto; background: var(--bg); border-left: 1px solid var(--line-2); padding: 30px; animation: slide 0.5s var(--bounce); }
.drawer-wide { width: min(640px, 96vw); }
@keyframes slide { from { transform: translateX(64px); opacity: 0; } }
.drawer-close { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: var(--radius-pill); background: none; border: 1px solid var(--line-2); color: var(--ink-2); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.drawer-close:hover { color: var(--ink); border-color: var(--ink); }
.drawer-title { font-size: 1.7rem; margin-bottom: 6px; }
.drawer-sub { color: var(--ink-2); font-size: 0.95rem; margin: 0 0 24px; }

.d-head { display: flex; gap: 14px; align-items: center; margin: 4px 0 22px; }
.d-title { font-family: var(--display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.01em; }
.d-sub { font-family: var(--mono); font-size: 0.76rem; color: var(--cyan); border-bottom: 1px solid var(--line); }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.d-cell { padding: 14px 16px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--bg-2); }
.d-cell:nth-child(-n+2) { border-top: 0; }
.d-cell:nth-child(odd) { border-left: 0; }
.d-cell .k { color: var(--ink-2); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; }
.d-cell .v { font-family: var(--mono); font-size: 0.98rem; margin-top: 6px; }
.d-section { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; background: var(--bg-2); }
.d-section h4 { font-size: 1.25rem; margin: 0 0 12px; }

.d-admin { border-color: var(--line-2); border-style: dashed; }
.admin-warn { color: var(--gold); font-size: .82rem; margin: 0 0 12px; line-height: 1.4; }
.admin-b { margin-top: 8px; }
.admin-inl { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.admin-inl input { flex: 1; min-width: 110px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-3); color: var(--ink); font: inherit; font-size: .82rem; }
.admin-inl .btn { flex: 0 0 auto; }
.field-check { flex-direction: row; align-items: center; }
.field-check > span { display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; color: var(--ink-2); line-height: 1.4; }
.field-check input { width: auto; margin-top: 2px; }
.you-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.86rem; padding: 5px 0; color: var(--ink-2); }
.you-row b { color: var(--ink); font-weight: 500; }

.input-wrap { display: flex; gap: 8px; align-items: stretch; }
.input-wrap input { flex: 1; }
.input-wrap .max { background: none; border: 1px solid var(--line-2); color: var(--neon); border-radius: var(--radius-pill); padding: 0 14px; font-family: var(--mono); font-size: 0.78rem; cursor: pointer; }
.input-wrap .max:hover { border-color: var(--neon); }
.countdown { font-family: var(--mono); font-size: 1.1rem; color: var(--neon); }
.hint { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); margin-top: 8px; min-height: 1em; }
.hint.warn { color: var(--gold); }

.form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row:has(.field:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
.form-row:has(> .field[hidden]) { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 0.78rem; color: var(--ink-2); }
.field-hint { font-family: var(--mono); font-size: 0.68rem; line-height: 1.35; color: var(--ink-3); }
.field-hint.warn { color: var(--gold); }
input, select { font: inherit; font-family: var(--mono); font-size: 0.9rem; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 13px; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
input::placeholder { color: var(--ink-3); }
input:focus, select:focus { border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-dim); outline: none; }
select { cursor: pointer; }
.tabs { display: flex; gap: 24px; margin: 6px 0 20px; border-bottom: 1px solid var(--line); }
.tab { font: inherit; font-size: 0.92rem; color: var(--ink-2); background: none; border: none; border-bottom: 2px solid transparent; padding: 0 0 10px; margin-bottom: -1px; cursor: pointer; }
.tab.is-active { color: var(--ink); border-color: var(--neon); }
.rule { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; margin: 14px 0 2px; }
.rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-note { color: var(--ink-3); font-size: 0.82rem; line-height: 1.6; margin: 4px 0 0; }
.form-note b { color: var(--ink-2); }

details.form-adv { margin: 14px 0 2px; }
details.form-adv > summary { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; cursor: pointer; list-style: none; user-select: none; }
details.form-adv > summary::-webkit-details-marker { display: none; }
details.form-adv > summary::before { content: "+"; font-size: 0.95rem; line-height: 1; width: 0.8em; }
details.form-adv[open] > summary::before { content: "\2212"; }
details.form-adv > summary::after { content: ""; flex: 1; height: 1px; background: var(--line); }
details.form-adv > summary:hover { color: var(--ink-2); }

#alloc-preview { white-space: pre-line; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg-3); color: var(--ink-2); }
#alloc-preview.warn { border-color: var(--gold); color: var(--gold); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.form-fee { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); }

.wiz-rail { list-style: none; position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin: 2px 0 22px; padding: 0; }
.wiz-rail::before { content: ""; position: absolute; left: 26px; right: 26px; top: 17px; height: 1px; background: var(--line-2); }
.wiz-step { position: relative; z-index: 1; }
.wiz-pill { display: flex; align-items: center; gap: 9px; font: inherit; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-pill); padding: 5px 14px 5px 5px; color: var(--ink-3); cursor: pointer; transition: border-color .2s, color .2s, box-shadow .25s var(--ease), transform .28s var(--bounce); }
.wiz-pill:hover:not(:disabled) { color: var(--ink); border-color: var(--ink-2); transform: translateY(-1px); }
.wiz-pill:disabled { cursor: default; opacity: .55; }
.wiz-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); font-family: var(--mono); font-size: .72rem; }
.wiz-name { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.wiz-step.is-current .wiz-pill { border-color: var(--neon); color: var(--ink); box-shadow: 0 0 0 3px var(--neon-dim); }
.wiz-step.is-current .wiz-num { background: var(--neon); border-color: var(--neon); color: var(--on-neon); font-weight: 700; }
.wiz-step.is-done .wiz-pill { color: var(--ink-2); border-color: rgba(204, 255, 0, .4); }
.wiz-step.is-done .wiz-num { background: var(--neon-dim); border-color: rgba(204, 255, 0, .4); color: var(--neon); font-size: 0; }
.wiz-step.is-done .wiz-num::before { content: "✓"; font-size: .8rem; }

.wiz-panel { display: flex; flex-direction: column; gap: 14px; }
.panel-in { animation: panel-in .38s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateX(18px); } }
.wiz-h { font-size: 1.42rem; }
.wiz-sub { color: var(--ink-2); font-size: .9rem; margin: -8px 0 2px; }
input[readonly] { border-style: dashed; color: var(--ink-2); }
.field-error input, .field-error select, .field-error textarea { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-dim); }

.wiz-nav { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.wiz-nav #wiz-next, .wiz-nav #create-submit { margin-left: auto; }

.wiz-summary { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.ws-head { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border-bottom: 1px solid var(--line-2); background: linear-gradient(135deg, var(--neon-dim), transparent 60%); }
.ws-title { font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.1; }
.ws-sub { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); margin-top: 3px; }
.ws-rows { padding: 7px 17px 11px; }
.ws-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ws-row:last-child { border-bottom: 0; }
.ws-row > span { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ws-row > b { font-family: var(--mono); font-weight: 500; font-size: .82rem; color: var(--ink); text-align: right; }

#adv-options { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 13px 16px; margin: 16px 0 2px; }
#adv-options > summary { color: var(--ink-2); }
#adv-options[open] > summary { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
#adv-options .adv-body { display: flex; flex-direction: column; gap: 14px; }

.toasts { position: fixed; bottom: 22px; right: 22px; z-index: 60; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, 92vw); }
.toast { background: var(--bg-2); border: 1px solid var(--line-2); border-left: 2px solid var(--neon); border-radius: var(--radius); padding: 13px 15px; font-size: 0.88rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); animation: toast-in 0.3s var(--ease); }
.toast.err { border-left-color: var(--danger); }
.toast.ok { border-left-color: var(--neon); }
.toast .t-title { font-weight: 600; margin-bottom: 3px; }
.toast .t-body { color: var(--ink-2); font-family: var(--mono); font-size: 0.76rem; word-break: break-word; }
.toast a { color: var(--neon); }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } }

.launch-gate { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--gold); border-radius: 10px; background: var(--gold-dim); color: var(--ink); font-size: 0.86rem; line-height: 1.55; }
.launch-gate a { color: var(--gold); font-weight: 600; text-decoration: underline; }

.form-adv.locked { opacity: 0.55; }
.form-adv.locked summary { cursor: not-allowed; }

@media (max-width: 860px) {
  .rail { top: auto; bottom: 0; right: 0; width: 100%; height: 62px; flex-direction: row; justify-content: center; padding: 0 10px calc(env(safe-area-inset-bottom, 0px)); border-right: 0; border-top: 1px solid var(--line); background: rgba(11, 11, 12, .93); }
  .rail-logo, .rail-chain { display: none; }
  .rail-nav { flex-direction: row; align-items: center; margin-top: 0; gap: 4px; flex: 1; justify-content: space-around; max-width: 420px; }
  .rail-item { flex: 1; width: auto; padding: 9px 0; }
  .rail-label { display: none; }
  .shell { margin-left: 0; padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .utility-bar { padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .ub-search { order: 4; flex-basis: 100%; max-width: none; }
  .desk-stats { grid-template-columns: 1fr 1fr; padding: 18px 16px 0; }
  .sales { padding: 22px 16px 48px; }
  .desk-table .col-spark, .desk-table .col-price { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .utility-bar .net-pill { margin-left: 0; }
  #net-label { display: none; }
  .steps, .form-row, .form-row:has(.field:nth-child(3)) { grid-template-columns: 1fr; }
  .steps li { border-left: 0; padding-left: 0; }
  .d-grid { grid-template-columns: 1fr; }
  .desk-table .col-raised { display: none; }
  .desk-table .col-status, .desk-table .col-chev, .desk-table .c-chev { display: none; }
  .desk-table { table-layout: fixed; }
  .desk-table th:first-child { width: 68%; }
  .desk-table .col-fill { width: 32%; }
  .desk-table .fill-pill { gap: 6px; }
  .desk-table .fp-bar { width: 48px; }
  .c-token { min-width: 0; }
  .desk-table th, .desk-row td { padding: 11px 10px; }
  .foot { padding: 24px 16px; }
  .drawer, .drawer-wide { width: 100vw; border-left: none; padding: 24px 18px; }
  .drawer-title { font-size: 1.4rem; }
  .drawer-close { width: 44px; height: 44px; }
  .field-hint, .form-note, .form-note small, .field span small, .form-adv summary { font-size: 12px; line-height: 1.5; }
  .chip { padding: 10px 16px; min-height: 40px; display: inline-flex; align-items: center; }
  #create small, #create b, #create summary span, #create .field-hint, #create .form-note { font-size: 12px !important; }
  input, select, textarea { font-size: 16px; }
  .drawer-overlay { height: 100vh; height: 100dvh; }
  .drawer { height: 100vh; height: 100dvh; }
  .wiz-rail { gap: 6px; margin-bottom: 18px; }
  .wiz-rail::before { left: 18px; right: 18px; top: 15px; }
  .wiz-pill { padding: 4px 10px 4px 4px; gap: 7px; }
  .wiz-num { width: 23px; height: 23px; font-size: .66rem; }
  .wiz-name { font-size: .56rem; letter-spacing: .06em; }
  .wiz-h { font-size: 1.25rem; }
  .ws-row > b { font-size: .76rem; }
  #wave { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  #wave { display: none; }
  .desk-row { opacity: 1 !important; transform: none !important; }
}

.supply-presets, .dur-presets, .team-vest { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; flex-wrap: wrap; }
.sp-label { font-size: 10px; letter-spacing: .14em; color: var(--ink-3); }
.sp-chip { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-pill); background: transparent; color: var(--ink-2); font-size: 11px; letter-spacing: .06em; cursor: pointer; transition: border-color .18s ease, color .18s ease, transform .18s ease; }
.sp-chip:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-1px); }
.sp-chip.is-hot { border-color: rgba(204,255,0,.5); background: var(--neon-dim); color: var(--neon); }

.sales { min-height: 480px; }
@media (max-width: 860px) { .sales { min-height: 0; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.qsel { position: relative; }
.qsel-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); color: var(--ink); cursor: pointer; transition: border-color .18s ease; }
.qsel-btn:hover { border-color: var(--neon); }
.qsel-cur { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.qsel-ico { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #0B0B0C; }
.qsel-ico svg { width: 15px; height: 15px; }
.qsel-txt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.qsel-txt b { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; }
.qsel-txt i { font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.qsel-chev { width: 16px; height: 16px; color: var(--ink-3); transition: transform .18s ease; }
.qsel.is-open .qsel-chev { transform: rotate(180deg); }
.qsel-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 292px; overflow: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.qsel-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; text-align: left; }
.qsel-opt:hover { background: var(--bg-3); }
.qsel-opt.is-sel { background: var(--neon-dim); }
.qsel-tag { margin-left: auto; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--ink-3); }

.qsel-list { max-height: 360px; display: flex; flex-direction: column; }
.qsel-search-wrap { position: sticky; top: 0; z-index: 1; padding: 2px 2px 8px; background: var(--bg-2); }
.qsel-search { width: 100%; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg-3); color: var(--ink); font-size: 12.5px; outline: none; transition: border-color .15s ease; }
.qsel-search:focus { border-color: var(--neon); }
.qsel-scroll { overflow: auto; }
.qsel-group { margin-bottom: 4px; }
.qsel-ghdr { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 7px 8px 5px; display: flex; gap: 6px; align-items: baseline; }
.qsel-ghdr span { color: var(--line-2); }
.qsel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 4px; }
.qsel-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 4px 7px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--ink); cursor: pointer; transition: background .12s ease, border-color .12s ease; }
.qsel-tile:hover { background: var(--bg-3); }
.qsel-tile.is-sel { background: var(--neon-dim); border-color: var(--neon); }
.qsel-tico { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #0B0B0C; overflow: hidden; }
.qsel-tico svg { width: 19px; height: 19px; }
.qsel-tico img { width: 74%; height: 74%; object-fit: contain; }
.qsel-tsym { font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qsel-more { width: calc(100% - 4px); margin: 4px 2px 2px; padding: 8px; border: 1px dashed var(--line-2); border-radius: 9px; background: transparent; color: var(--ink-3); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.qsel-more:hover { color: var(--neon); border-color: var(--neon); }

.mono, .c-price, .c-raised, .fill-pill b, .dstat b { font-variant-numeric: tabular-nums; }

.dstat { background: transparent; padding: 12px 16px; }
.dstat b { font-size: 1.45rem; }

.lc-avatar { width: 38px; height: 38px; border-radius: 10px; font-size: .92rem; box-shadow: none; }

.desk-table th { padding: 11px 14px; }
.desk-row td { padding: 12px 14px; }
.desk-row:hover td:first-child, .desk-row:focus-visible td:first-child { box-shadow: none; }

.st-chip { padding: 0; border: 0; background: none; }
.st-chip.live, .st-chip.upcoming, .st-chip.cancelled { background: none; animation: none; }

.btn-primary:hover:not(:disabled) { box-shadow: 0 0 0 3px var(--neon-dim); }
.fp-bar i { box-shadow: none; }
.feat-star { text-shadow: none; }

.qsel-ico img { width: 74%; height: 74%; object-fit: contain; }
.quote-chip { overflow: hidden; }
.quote-chip img { width: 82%; height: 82%; object-fit: contain; }
.sp-chip.is-active { border-color: var(--neon); background: var(--neon-dim); color: var(--neon); }

.house-rules { margin: 14px 0 18px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: transparent; }
.house-rules .hr-k { display: block; font-size: 10px; letter-spacing: .14em; color: var(--neon); margin-bottom: 8px; }
.house-rules ul { margin: 0; padding: 0; list-style: none; }
.house-rules li { font-size: .82rem; color: var(--ink-2); line-height: 1.75; }
.house-rules li::before { content: "·"; color: var(--neon); margin-right: 8px; }
.house-rules li b { color: var(--ink); font-weight: 600; }

.flow { position: relative; margin: 20px 0 8px; }
.flow-track { position: absolute; top: 20px; left: 4%; right: 4%; height: 2px; background: var(--line); border-radius: 2px; }
.flow-runner { position: absolute; top: -4px; left: calc(12.5% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 14px rgba(204,255,0,.65); transition: left .9s cubic-bezier(.19, 1, .22, 1); }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.flow-step { position: relative; padding: 48px 12px 12px; border-radius: 12px; opacity: .45; transition: opacity .4s ease, background .3s ease; }
.flow-step.is-on { opacity: 1; background: var(--bg-2); }
.flow-n { font-size: 10px; letter-spacing: .14em; color: var(--ink-3); transition: color .3s; }
.flow-step.is-on .flow-n { color: var(--neon); }
.flow-step h3 { margin: 5px 0 6px; font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.flow-step p { margin: 0; font-size: .8rem; color: var(--ink-2); line-height: 1.55; }
.flow-ico { position: absolute; top: 10px; left: 12px; width: 26px; height: 22px; color: var(--neon); }

.f-fund i { position: absolute; bottom: 0; width: 5px; height: 14px; border-radius: 2px; background: var(--neon); opacity: .35; }
.f-fund i:nth-child(1) { left: 2px; } .f-fund i:nth-child(2) { left: 10px; } .f-fund i:nth-child(3) { left: 18px; }
.is-on .f-fund i { animation: fdrop 1.1s ease-in-out forwards; }
.is-on .f-fund i:nth-child(2) { animation-delay: .18s; } .is-on .f-fund i:nth-child(3) { animation-delay: .36s; }
@keyframes fdrop { 0% { transform: translateY(-9px); opacity: 0; } 35% { opacity: 1; } 70% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: .9; } }

.f-fill { top: 16px; width: 26px; height: 10px; border: 1.5px solid var(--line-2); border-radius: 99px; }
.f-fill i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--neon), var(--cyan)); }
.is-on .f-fill i { animation: ffill 1.6s ease-in-out forwards; }
@keyframes ffill { 0% { width: 0; } 70% { width: 100%; } 100% { width: 100%; } }

.f-settle i { position: absolute; top: -6px; left: 3px; font-style: normal; font-size: 19px; font-weight: 700; color: var(--neon); opacity: .35; }
.is-on .f-settle i { animation: fpop 1.4s var(--bounce) forwards; }
@keyframes fpop { 0% { transform: scale(.2); opacity: 0; } 35% { transform: scale(1.15); opacity: 1; } 60% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: .9; } }

.f-lock svg { width: 24px; height: 22px; }
.f-lock .shackle { transition: transform .45s var(--bounce); transform-origin: left bottom; }
.is-on .f-lock .shackle { animation: flock 1.8s ease-in-out forwards; }
@keyframes flock { 0%, 25% { transform: translateY(-2.5px); } 55%, 100% { transform: translateY(0); } }

@media (max-width: 860px) {
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-track { display: none; }
  .flow-step { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-step { opacity: 1; }
  .f-fund i, .f-fill i, .f-settle i, .f-lock .shackle { animation: none !important; opacity: 1; }
  .f-fill i { width: 100%; }
}

.page-hero { margin: 0 0 22px; }
.page-eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--neon); margin: 0 0 14px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; margin: 0 0 14px; font-family: var(--display); font-weight: 600; }
.page-hero .sub { color: var(--ink-2); max-width: 620px; line-height: 1.65; margin: 0; }
.preview-pill { display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--gold); background: var(--gold-dim); color: var(--gold); margin-left: 10px; vertical-align: middle; }
.expl-wrap, .bag-wrap { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 44px 28px 80px; }
.expl-wrap .banner, .bag-wrap .banner { margin: 0 0 20px; }

.ex-top { display: flex; align-items: center; gap: 12px; }
.ex-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ex-sym { font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; display: flex; align-items: center; }
.ex-addr { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }

.ex-tools { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 20px; }
.ex-tools-row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.ex-search { flex: 1 1 240px; max-width: 420px; }
.qchips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-left: 14px; border-left: 1px solid var(--line); }
.qchip { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-2); background: none; border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; padding: 5px 12px 5px 7px; transition: color .2s, border-color .2s, background .2s, transform .28s var(--bounce); }
.qchip:hover { color: var(--ink); border-color: var(--line-2); transform: translateY(-2px); }
.qchip.is-active { color: var(--neon); border-color: var(--neon); background: var(--neon-dim); }
.qchip-ico { display: inline-grid; place-items: center; }
.qchip-ico .quote-chip { width: 18px; height: 18px; vertical-align: 0; }

.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.ex-card { border: 1px solid var(--line); border-top: 2px solid var(--acc, var(--line)); border-radius: var(--radius); background: var(--bg-2); padding: 18px; animation: row-in .5s var(--ease) both; transition: border-color .2s var(--ease), transform .28s var(--bounce); }
.ex-card:hover { border-color: var(--line-2); border-top-color: var(--acc, var(--neon)); transform: translateY(-2px); }
.ex-quoterow { margin: 13px 0 11px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-3); }
.ex-quoterow b { color: var(--ink-2); font-weight: 500; }
.ex-fillmeta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 9px 0 14px; font-family: var(--mono); font-size: 0.74rem; }
.ex-fillmeta b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.ex-cd { color: var(--neon); font-variant-numeric: tabular-nums; }
.ex-cd.done { color: var(--ink-3); }
.ex-nums { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.ex-num { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ex-num span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ex-num b { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.ex-view { display: flex; justify-content: center; width: 100%; margin-top: 14px; padding: 9px 18px; font-size: 0.88rem; }
.ex-empty, .bag-empty { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 48px 20px; text-align: center; color: var(--ink-2); margin-top: 16px; }
.bag-empty a { color: var(--cyan); border-bottom: 1px solid var(--line-2); }

.bag-gate { min-height: 320px; display: grid; place-items: center; }
.bag-gate-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 36px 40px; text-align: center; max-width: 430px; }
.bag-gate-card h2 { font-size: 1.6rem; margin: 0 0 10px; }
.bag-gate-card p { color: var(--ink-2); font-size: 0.92rem; margin: 0 0 20px; }
.bag-wallet { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.bag-addr { font-family: var(--mono); font-size: 0.84rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bag-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 22px; }
.bag-totals .dstat { border: 1px solid var(--line); border-radius: var(--radius); }
.bag-totals .dstat b { font-family: var(--mono); font-weight: 500; font-size: 0.95rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.bag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.bag-card { border: 1px solid var(--line); border-top: 2px solid var(--acc, var(--line)); border-radius: var(--radius); background: var(--bg-2); padding: 18px; animation: row-in .5s var(--ease) both; transition: border-color .2s var(--ease); }
.bag-card:hover { border-color: var(--line-2); border-top-color: var(--acc, var(--neon)); }
.bag-rows { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 8px; }
.bag-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.bag-actions .bag-act { flex: 1; padding: 10px 18px; font-size: 0.9rem; }
.bag-view { margin-left: auto; font-family: var(--mono); font-size: 0.78rem; color: var(--cyan); border-bottom: 1px solid var(--line); white-space: nowrap; }
.bag-view:hover { border-color: var(--cyan); }

@media (max-width: 860px) {
  .expl-wrap, .bag-wrap { padding: 28px 16px 60px; }
  .qchips { border-left: 0; padding-left: 0; }
  
  .ex-search { max-width: none; order: 0; }
}
@media (max-width: 560px) {
  .bag-totals { grid-template-columns: 1fr; }
  .ex-grid, .bag-grid { grid-template-columns: 1fr; }
  .bag-gate-card { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-card, .bag-card { opacity: 1 !important; transform: none !important; }
}

.ex-card { position: relative; overflow: hidden; }
.ex-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--acc-dim, rgba(204,255,0,.10)), transparent 65%); }
.ex-card:hover::after { opacity: 1; }

.skel-row td { padding: 16px 14px !important; }
.skel-bar { display: block; height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--bg-3) 25%, var(--line) 50%, var(--bg-3) 75%); background-size: 200% 100%; animation: skel-shimmer 1.2s ease infinite; }
.skel-row:nth-child(2) .skel-bar { width: 86%; } .skel-row:nth-child(3) .skel-bar { width: 72%; } .skel-row:nth-child(4) .skel-bar { width: 58%; }
@keyframes skel-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel-bar { animation: none; } .ex-card::after { display: none; } }

#create-overlay { justify-content: center; align-items: center; padding: 24px; }
#create-overlay .drawer { width: min(700px, 96vw); height: auto; max-height: 88vh; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 34px 38px 28px; animation: modal-in .55s cubic-bezier(.19, 1, .22, 1); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }

@media (min-width: 620px) {
  #create .ws-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
  #create .ws-row:nth-child(5), #create .ws-row:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 560px) {
  #create-overlay { padding: 0; align-items: stretch; }
  #create-overlay .drawer { width: 100vw; max-height: none; height: 100%; border-radius: 0; border: none; box-shadow: none; }
}

.rp { margin: 4px 0 18px; padding: 14px 14px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.rp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rp-pct { font-family: var(--display); font-weight: 600; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rp-pct i { font-style: normal; font-size: 1rem; color: var(--ink-3); margin-left: 2px; }
.rp-raised { font-size: .8rem; color: var(--ink-2); text-align: right; }
.rp-raised b { color: var(--ink); font-weight: 600; }
.rp-bar { position: relative; height: 8px; border-radius: 99px; background: var(--bg-3); }
.rp-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, var(--neon), var(--cyan)); }
.rp-bar.is-live i { box-shadow: 0 0 10px rgba(204,255,0,.35); }
.rp-mark { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--gold); border-radius: 2px; transform: translateX(-1px); }
.rp-labels { display: flex; justify-content: space-between; margin-top: 7px; font-size: 10px; letter-spacing: .08em; color: var(--ink-3); }
.rp-labels span:first-child { margin-left: calc(69% - 34px); }

.d-title { font-family: var(--display); font-weight: 600; font-size: 1.55rem; line-height: 1.1; }
.d-section { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.d-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.d-section h4 { font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 9px; }

.team-custom { display: flex; gap: 12px; margin: -4px 0 14px; }
.team-custom .field { flex: 1; }

.d-projname { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3, #8b8f98); font-weight: 400; letter-spacing: 0.04em; margin-left: 8px; vertical-align: middle; }
.d-soc { margin-left: 10px; }
.d-trade { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--neon); color: var(--on-neon); font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
.d-trade:hover { filter: brightness(1.08); }
.d-ca-line { margin-top: 6px; }
.d-ca { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2, #9a9aa2); background: none; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 2px 9px; cursor: pointer; letter-spacing: 0.02em; }
.d-ca:hover { color: var(--cyan); border-color: var(--cyan); }
.desk-table .col-mcap, .desk-table .col-ath { white-space: nowrap; }
@media (max-width: 560px) { .desk-table .col-mcap, .desk-table .col-ath { display: none; } }
.d-tagline { font-family: var(--display); font-style: italic; font-size: 0.86rem; color: var(--ink-2); margin-top: 6px; }
