/* Marble and gold, matching 99901.fun since the Nov 8 rebrand. The cartoon version is in assets/archive/demo-v1. */
:root {
  --night: #0a1733;
  --night-deep: #071026;
  --panel: #0e1f45;
  --panel-hi: #13295a;
  --ivory: #f4eee3;
  --muted: rgba(244, 238, 227, .62);
  --faint: rgba(244, 238, 227, .4);
  --gold: #e2c68a;
  --gold-mid: #c8a25a;
  --gold-deep: #8e6b26;
  --gilt: linear-gradient(180deg, #ecd59d, #b98f46);
  --gilt-bar: linear-gradient(90deg, #8e6b26, #c8a25a 55%, #f1dfb0);
  --hair: 1px solid rgba(226, 198, 138, .18);
  --hair-strong: 1px solid rgba(226, 198, 138, .42);
  --ring: 0 0 0 1px var(--night), 0 0 0 2px rgba(226, 198, 138, .7);
  --up: #6cc995;
  --down: #e5705f;
  --shadow: 0 22px 44px -26px rgba(0, 0, 0, .85);
  --roman: "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --body: "EB Garamond", Georgia, serif;
  --ui-text: 17px;
  --ui-label: 14px;
  --gutter: clamp(14px, 3vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100svh; overflow-x: hidden; color: var(--ivory); font: 400 17px/1.45 var(--body); font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(110% 50% at 50% -8%, #1a3470 0%, transparent 62%) no-repeat, var(--night);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
::selection { color: var(--night); background: var(--gold); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px;
  font: 700 12px/1 var(--roman); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; text-decoration: none;
  color: var(--ivory); background: transparent; border: 1px solid rgba(226, 198, 138, .6); border-radius: 2px;
  transition: transform .2s, background-color .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); background-color: rgba(226, 198, 138, .1); }
.btn:active { transform: translateY(1px); }
.btn.gold { color: #1c1406; background: var(--gilt); border-color: transparent; box-shadow: 0 10px 28px -14px rgba(226, 198, 138, .8); }
.btn.gold:hover { filter: brightness(1.06); box-shadow: 0 14px 34px -12px rgba(226, 198, 138, .9); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 11px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn[disabled]:hover { filter: none; box-shadow: none; }
.text-btn { padding: 0; font: 600 11px/1.4 var(--roman); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: none; border: 0; }
.text-btn:hover { color: var(--ivory); }
.tag { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1.3 var(--roman); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.tag::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.chip {
  display: inline-block; padding: 0 9px; font: 500 14px/1.45 var(--body); white-space: nowrap;
  color: var(--gold); border: 1px solid rgba(226, 198, 138, .45); border-radius: 999px;
}
.chip.taxed { color: var(--muted); border-color: rgba(244, 238, 227, .25); }
.chip.landed { color: #1c1406; background: var(--gilt); border-color: transparent; }
/* The official token's mark: a gilt pill with a rocket. */
.official {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; font: 700 10.5px/1 var(--roman); letter-spacing: .16em;
  text-transform: uppercase; white-space: nowrap; color: #1c1406; background: var(--gilt); border-radius: 999px; vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(255, 240, 200, .35) inset, 0 0 16px -4px rgba(226, 198, 138, .65);
}
.official svg { flex: none; width: 13px; height: 13px; fill: currentColor; }
.official[hidden] { display: none; }
.card-info h3 .official { margin: -3px 0 0 8px; padding: 3px 8px 3px 6px; font-size: 9.5px; }
.card-info h3 .official svg { width: 11px; height: 11px; }
.official.big { padding: 6px 15px 6px 11px; font-size: 13px; letter-spacing: .2em; }
.official.big svg { width: 17px; height: 17px; }
.up { color: var(--up); }
.down { color: var(--down); }

.demo-bar { padding: 6px 12px 5px; font: 500 10.5px/1.3 var(--roman); letter-spacing: .16em; text-align: center; text-transform: uppercase; color: var(--gold); background: var(--night-deep); border-bottom: var(--hair); }

/* Top */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 12px var(--gutter);
  background: var(--night-deep); border-bottom: var(--hair); -webkit-backdrop-filter: none; backdrop-filter: none;
}
.brand { display: flex; align-items: center; gap: 12px; font: 700 17px/1 var(--roman); letter-spacing: .16em; color: var(--gold); text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: var(--ring); }
.search { flex: 1; position: relative; max-width: 440px; margin-inline: auto; }
.search input {
  width: 100%; height: 40px; padding: 0 40px 0 14px; font-size: 17px; color: var(--ivory);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(226, 198, 138, .26); border-radius: 2px; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.search input:focus { border-color: rgba(226, 198, 138, .7); box-shadow: 0 0 0 3px rgba(226, 198, 138, .12); }
.search input::placeholder { color: var(--faint); font-style: italic; }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 0 7px; font: 600 11px/20px var(--roman); color: var(--muted); border: var(--hair-strong); border-radius: 2px; }
.wallet { position: relative; display: flex; align-items: center; gap: 8px; }
.wallet-connect { flex-direction: column; gap: 5px; min-height: 44px; }
.wallet-connect small { max-width: 180px; font: 500 10px/1.2 var(--body); letter-spacing: .04em; text-transform: none; color: var(--muted); }
.test-funds-button { border-color: rgba(226, 198, 138, .25); color: var(--muted); }
.wallet-menu {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(360px, calc(100vw - 28px)); max-height: calc(100svh - 160px); overflow-y: auto; padding: 16px; color: var(--ivory);
  background: var(--panel-hi); border: var(--hair-strong); border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); animation: pop-in .2s var(--ease);
}
.wallet-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: var(--hair); }
.wallet-head span { font: 500 11px/1 var(--roman); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.wallet-head strong { font: 600 23px/1 var(--serif); color: var(--gold); }
.wallet-menu ul { margin: 8px 0 12px; padding: 0; list-style: none; max-height: 220px; overflow: auto; }
.wallet-menu li a { display: flex; align-items: center; gap: 10px; padding: 7px 6px; font: 600 15px/1 var(--body); letter-spacing: .06em; text-decoration: none; border-radius: 2px; }
.wallet-menu li a:hover { background: rgba(226, 198, 138, .08); }
.wallet-menu li img { width: 28px; height: 28px; border-radius: 50%; box-shadow: var(--ring); }
.wallet-menu li b { margin-left: auto; font: 500 16px/1 var(--body); color: var(--muted); }
.wallet-menu .none { padding: 6px; font-style: italic; color: var(--muted); }
.wallet-identity { margin-bottom: 15px; padding-bottom: 14px; border-bottom: var(--hair); }
.wallet-identity-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.wallet-address { font: 12px/1.6 ui-monospace, monospace; overflow-wrap: anywhere; user-select: all; }
#wallet-network { margin-top: 5px; color: var(--gold); font-size: 15px; }
.wallet-switch { margin-top: 10px; }
.wallet-portfolio { padding-bottom: 14px; margin-bottom: 14px; border-bottom: var(--hair); }
.wallet-portfolio-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wallet-portfolio-heading h3 { margin: 0; font: 500 19px/1.3 var(--body); color: var(--gold); }
.wallet-portfolio-heading small { margin-left: 5px; color: var(--muted); font-size: 15px; }
.wallet-portfolio-heading button { font-size: 22px; padding: 4px 6px; }
.portfolio-status, .portfolio-scope { color: var(--muted); font: 400 15px/1.4 var(--body); margin-top: 10px; }
.portfolio-scope { font-size: 13px; }
#portfolio-list { max-height: min(350px,40svh); margin: 8px -4px; }
#portfolio-list li a { padding: 10px 4px; gap: 10px; letter-spacing: 0; border-bottom: var(--hair); }
#portfolio-list .portfolio-avatar { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--night-deep); border: var(--hair); color: var(--gold); }
#portfolio-list img { width: 36px; height: 36px; object-fit: cover; }
.portfolio-name { flex: 1; min-width: 0; }
.portfolio-name strong, .portfolio-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portfolio-name strong { font: 500 18px/1.25 var(--body); }.portfolio-name small { color: var(--muted); font: 400 14px/1.4 var(--body); }
#portfolio-list b { flex: none; max-width: 36%; overflow-wrap: anywhere; text-align: right; color: var(--ivory); font-size: 17px; line-height: 1.2; }
#portfolio-pagination { justify-content: space-between; gap: 8px; font-size: 15px; }
@media (max-width: 720px) {
  .top .wallet { position: static; }
  .wallet-menu { right: 14px; top: calc(100% + 8px); max-height: calc(100svh - 200px); }
}
.wallet-test-note { margin-top: 9px; font: 400 14px/1.4 var(--body); color: var(--muted); }
.wallet-notice { margin-bottom: 12px; font-size: 14px; color: var(--down); }
.wallet-session-status { padding: 10px var(--gutter); border-bottom: var(--hair); color: var(--gold); background: var(--night-deep); font: 400 16px/1.4 var(--body); }
.wallet-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.trade-demo-note { margin-bottom: 12px; padding-right: 25px; font: 500 10px/1.4 var(--roman); letter-spacing: .1em; color: var(--gold); }
.wallet-picker { position: fixed; inset: 0; width: min(440px, calc(100vw - 28px)); max-height: calc(100svh - 40px); overflow-y: auto; overflow-x: hidden; margin: auto; padding: 26px; color: var(--ivory); background: var(--panel); border: var(--hair-strong); border-radius: 4px; box-shadow: 0 40px 80px -30px #000; }
.wallet-picker::backdrop { background: rgba(3, 8, 20, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wallet-picker-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.wallet-picker h2 { font: 600 32px/1.1 var(--serif); }
.wallet-picker-close { flex-shrink: 0; width: 32px; height: 32px; color: var(--muted); background: none; border: var(--hair); font: 24px/1 var(--body); }
.wallet-empty { color: var(--muted); font: 400 16px/1.45 var(--body); }
.wallet-options { display: grid; gap: 10px; margin-top: 10px; }
.wallet-options:empty { margin: 0; }
.wallet-section-title { margin: 20px 0 9px; font: 500 10px/1.4 var(--roman); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.wallet-option { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 52px; padding: 14px; background: rgba(226, 198, 138, .05); border: var(--hair-strong); border-radius: 2px; text-align: left; }
.wallet-option:hover { background: rgba(226, 198, 138, .12); }
.wallet-option span { overflow-wrap: anywhere; font: 600 18px/1.2 var(--body); }
.wallet-option .wallet-option-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wallet-icon { flex: 0 0 32px; width: 32px; height: 32px; object-fit: contain; border-radius: 7px; }
.wallet-option small { color: var(--gold); font: 500 10px/1 var(--roman); letter-spacing: .1em; text-transform: uppercase; }
.wallet-option:disabled { cursor: progress; opacity: .55; }
.wallet-install-section { margin-top: 18px; padding-top: 2px; border-top: var(--hair); }
.wallet-install-note { margin-bottom: 12px; font: 400 14px/1.4 var(--body); color: var(--muted); }
.wallet-install-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wallet-install { flex-direction: column; align-items: flex-start; gap: 7px; min-height: 63px; padding: 11px; text-decoration: none; border-color: rgba(226, 198, 138, .2); }
.wallet-install span { font-size: 16px; }
.wallet-install .wallet-option-name { gap: 8px; }
.wallet-install small { color: var(--muted); }
.wallet-empty { margin-top: 18px; }
.wallet-picker-status { min-height: 22px; margin: 14px 0 12px; color: var(--gold); font-size: 15px; }

/* Tape */
.tape { overflow: hidden; background: var(--night-deep); border-bottom: var(--hair); }
.tape-in { display: flex; width: max-content; will-change: transform; }
.tape-item { display: flex; align-items: center; gap: 7px; padding: 8px 26px 8px 0; font-size: 15px; line-height: 1; white-space: nowrap; color: var(--muted); }
.tape-item img { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(226, 198, 138, .5); }
.tape-item span { font: 600 10.5px/1 var(--roman); letter-spacing: .12em; text-transform: uppercase; }

.view { animation: view-in .3s ease-out; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px); } }

/* Home */
#home { padding: 26px var(--gutter) 56px; max-width: 1400px; margin: auto; }
.market-welcome h1 { max-width: 9em; margin: 22px 0 18px; font: 500 clamp(38px, 4.8vw, 64px)/1.04 var(--serif); }
.market-intro { max-width: 26em; font-size: 21px; color: var(--muted); }
.market-status { display: inline-flex; align-items: center; gap: 9px; margin-top: 28px; font: 500 11px/1.5 var(--roman); letter-spacing: .12em; color: var(--gold); }
.market-status i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gold); }
#market-availability, .market-welcome-note { margin-top: 9px; font-size: 16px; color: var(--muted); }
.market-empty { display: grid; justify-items: center; gap: 13px; min-height: 230px; padding: 40px 20px; text-align: center; border: var(--hair); border-radius: 4px; background: rgba(255, 255, 255, .015); }
.market-empty-symbol { color: var(--gold); font-size: 30px; line-height: 1; }
.market-empty h2 { font: 500 29px/1.1 var(--serif); }
.market-empty p { max-width: 34em; color: var(--muted); overflow-wrap: anywhere; }
.foot-link:disabled { opacity: .5; cursor: not-allowed; }
.modal-card.live-learn { position: fixed; inset: 0; margin: auto; color: var(--ivory); }
.live-learn::backdrop { background: rgba(3, 8, 20, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.spotlight {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: center; overflow: hidden;
  min-height: 300px; padding: clamp(22px, 3vw, 44px); color: var(--ivory); text-decoration: none; border: var(--hair-strong); border-radius: 4px; box-shadow: var(--shadow);
  background:
    radial-gradient(60% 90% at 78% 115%, rgba(226, 178, 110, .42), transparent 70%),
    linear-gradient(180deg, #0b1c3f 0%, #15306a 72%, #22406f 100%);
  transition: border-color .3s, box-shadow .3s;
}
/* A second gold line inside the edge, like a frame. */
.spotlight::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(226, 198, 138, .16); border-radius: 2px; pointer-events: none; }
.spotlight:hover { border-color: rgba(226, 198, 138, .7); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 40px -18px rgba(226, 198, 138, .5); }
.spot-copy { position: relative; z-index: 1; }
.spot-coin { display: flex; align-items: center; gap: 20px; margin: 20px 0 22px; }
.spot-coin img { flex: none; width: 108px; height: 108px; border-radius: 50%; box-shadow: var(--ring), 0 0 0 7px rgba(226, 198, 138, .08), 0 18px 36px -14px rgba(0, 0, 0, .8); }
.spot-coin h1 { font: 600 clamp(34px, 4.4vw, 60px)/.98 var(--serif); letter-spacing: -.005em; text-shadow: 0 4px 30px rgba(5, 10, 30, .5); }
.spot-coin p { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.spot-coin p b { font: 600 17px/1 var(--body); letter-spacing: .08em; color: var(--gold); }
.spot-line { margin-top: 12px; font-size: 18px; color: var(--muted); }
.spot-line b { font-weight: 500; color: var(--ivory); }
.spot-art { position: relative; align-self: stretch; min-height: 230px; }
/* The medallion sits at the upper left, the rocket rises through the middle, and the temple waits at the upper right. */
.spot-temple { position: absolute; right: 0; top: 0; width: min(38%, 210px); filter: drop-shadow(0 0 28px rgba(226, 178, 110, .45)); }
.spot-cherub { position: absolute; left: clamp(84px, 21%, 128px); bottom: -6%; width: min(44%, 250px); animation: hover 5s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.sticker.zero {
  position: absolute; left: 0; top: 0; display: grid; place-content: center; width: 96px; height: 96px; text-align: center; border-radius: 50%;
  font: 600 40px/.9 var(--serif); color: var(--gold); background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .06), transparent 70%), rgba(7, 16, 38, .55);
  box-shadow: inset 0 0 0 1px rgba(226, 198, 138, .7), inset 0 0 0 5px rgba(7, 16, 38, .6), inset 0 0 0 6px rgba(226, 198, 138, .3);
}
.sticker.zero small { display: block; margin-top: 5px; font: 600 7.5px/1.25 var(--roman); letter-spacing: .14em; }
@keyframes hover { 50% { transform: translate(8px, -10px); } }

.fuel { position: relative; height: 4px; background: rgba(255, 255, 255, .07); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(226, 198, 138, .16); }
.fuel i { display: block; height: 100%; width: 0; background: var(--gilt-bar); border-radius: 999px; box-shadow: 0 0 10px rgba(226, 198, 138, .45); transition: width .6s var(--ease); }
.fuel.big { height: 8px; margin-top: 34px; }
.fuel.full i { background: linear-gradient(90deg, #c8a25a, #fff1c9); }
.fuel img { position: absolute; top: 50%; width: 68px; transform: translate(-50%, -78%); transition: left .6s var(--ease); pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }

/* Tabs */
.tabs { position: relative; display: flex; gap: 4px; margin: 34px 0 20px; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-bottom: var(--hair); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; z-index: 1; padding: 12px 16px; font: 600 12px/1 var(--roman); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--muted); background: none; border: 0; transition: color .2s; }
.tabs button:hover { color: var(--ivory); }
.tabs button[aria-selected="true"] { color: var(--gold); }
.tab-pill { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gilt-bar); box-shadow: 0 0 10px rgba(226, 198, 138, .6); transition: transform .35s var(--ease), width .35s var(--ease); }
/* Pages */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 34px; }
.pager button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 12px;
  font: 500 18px/1 var(--body); color: var(--muted); background: none; border: 1px solid rgba(226, 198, 138, .2); border-radius: 2px; transition: color .2s, border-color .2s, background .2s;
}
.pager button:hover:not([disabled]):not([aria-current]) { color: var(--gold); border-color: rgba(226, 198, 138, .6); background: rgba(226, 198, 138, .07); }
.pager button[aria-current="page"] { font-weight: 600; color: #1c1406; background: var(--gilt); border-color: transparent; box-shadow: 0 8px 22px -12px rgba(226, 198, 138, .8); cursor: default; }
.pager button[disabled] { opacity: .3; cursor: default; }
.pager .step { padding: 0 16px; font-size: 22px; }
.pager .step-word { font: 600 11px/1 var(--roman); letter-spacing: .16em; text-transform: uppercase; }
.pager .gap { min-width: 22px; text-align: center; color: var(--faint); }
.pager-range { flex-basis: 100%; margin-top: 8px; font-size: 15px; font-style: italic; text-align: center; color: var(--muted); }
.tabs { scroll-margin-top: 84px; }
.empty { padding: 48px 12px; font: 500 italic 24px/1.2 var(--serif); text-align: center; color: var(--muted); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.card {
  display: block; padding: 18px; color: var(--ivory); text-decoration: none; border: var(--hair); border-radius: 4px; box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 60%), var(--panel);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; will-change: transform;
}
.card:hover { transform: translateY(-3px); border-color: rgba(226, 198, 138, .55); box-shadow: 0 28px 50px -28px rgba(0, 0, 0, .95), 0 0 30px -16px rgba(226, 198, 138, .45); }
.card-top { display: flex; align-items: center; gap: 14px; }
.card-top img { flex: none; width: 68px; height: 68px; border-radius: 50%; box-shadow: var(--ring); transition: transform .3s var(--ease); }
.card:hover .card-top img { transform: scale(1.04); }
.card-info { min-width: 0; flex: 1; }
.card-info h3 { overflow: hidden; font: 600 23px/1.05 var(--serif); white-space: nowrap; text-overflow: ellipsis; }
.card-info h3 { letter-spacing: .02em; }
.card-ticker { display: flex; align-items: center; gap: 8px; margin-top: 5px; font: 400 16px/1.2 var(--body); color: var(--muted); }
.card-ticker span:first-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card-ticker .chip { flex: none; }
.card-nums { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; font-size: 18px; line-height: 1; }
.card-nums .ch { font-size: 15px; }
.spark { display: block; width: 100%; height: 44px; margin: 12px 0 10px; overflow: visible; }
.spark path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(226, 198, 138, .35)); }
.card-foot { margin-top: 9px; font-size: 15px; font-style: italic; color: var(--muted); }
.flash-up { animation: flash-up .7s ease-out; }
.flash-down { animation: flash-down .7s ease-out; }
@keyframes flash-up { 0% { border-color: rgba(108, 201, 149, .8); box-shadow: 0 0 26px -8px rgba(108, 201, 149, .6); } }
@keyframes flash-down { 0% { border-color: rgba(229, 112, 95, .75); box-shadow: 0 0 26px -8px rgba(229, 112, 95, .55); } }
.card.bump .card-top img { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.07); } }

/* Coin */
#coin { padding: 18px var(--gutter) 44px; max-width: 1480px; margin: auto; }
.coin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 22px; align-items: start; }
.back { display: inline-block; margin-bottom: 14px; font: 600 11px/1 var(--roman); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.back:hover { color: var(--gold); }
.coin-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 18px; }
.coin-head > img { width: 84px; height: 84px; border-radius: 50%; box-shadow: var(--ring), 0 0 0 7px rgba(226, 198, 138, .07); view-transition-name: coin-art; }
.coin-title { min-width: 0; flex: 1 1 240px; }
.coin-title h1 { font: 600 clamp(32px, 3.4vw, 48px)/1 var(--serif); }
.coin-title p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.coin-title p b { font: 600 16px/1 var(--body); letter-spacing: .08em; color: var(--gold); }
.coin-title .coin-about { display: block; max-width: 46em; font-size: 17px; font-style: italic; color: var(--muted); }
.coin-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.coin-links a { padding: 5px 11px 4px; font: 600 10.5px/1 var(--roman); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); text-decoration: none; border: var(--hair-strong); border-radius: 2px; transition: background .2s; }
.coin-links a:hover { background: rgba(226, 198, 138, .1); }
.coin-stats { display: flex; gap: clamp(18px, 2.6vw, 36px); margin: 0; }
.coin-stats dt { font: 500 10px/1.4 var(--roman); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.coin-stats dd { margin: 2px 0 0; font: 600 clamp(22px, 2.2vw, 30px)/1.05 var(--serif); }

.panel {
  margin-bottom: 18px; color: var(--ivory); border: var(--hair); border-radius: 4px; box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 40%), var(--panel);
}
.chart-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: var(--hair); }
.seg { display: inline-flex; padding: 2px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(226, 198, 138, .22); border-radius: 2px; }
.seg button { padding: 5px 11px 4px; font: 600 10.5px/1.2 var(--roman); letter-spacing: .1em; color: var(--muted); background: none; border: 0; border-radius: 1px; transition: background .2s, color .2s; }
.seg button:hover { color: var(--ivory); }
.seg button.on { color: var(--gold); background: rgba(226, 198, 138, .14); }
.seg.wide { display: flex; margin: 12px; }
.seg.wide button { flex: 1; padding: 9px 6px 8px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.seg.num button { padding: 2px 11px 1px; font: 500 15px/1.3 var(--body); letter-spacing: 0; }
.seg.mini button { padding: 1px 7px 0; font-size: 13.5px; }
.ohlc { margin-left: auto; min-height: 20px; font-size: 14px; text-align: right; color: var(--muted); }
.chart-wrap { position: relative; height: clamp(280px, 44vh, 480px); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.chart-wrap.dragging { cursor: grabbing; }
.latest { position: absolute; right: 72px; top: 10px; min-height: 26px; padding: 0 10px; font: 700 10px/1 var(--roman); letter-spacing: .12em; text-transform: uppercase; color: #1c1406; background: var(--gilt); border: 0; border-radius: 2px; animation: pop-in .2s var(--ease); }
.chart-surface { width: 100%; height: 100%; overflow: hidden; }

.track-panel { padding: 16px 18px 12px; }
.track-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.track-head h2 { font: 600 12.5px/1 var(--roman); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.track-head p { font-size: 16px; color: var(--muted); }
.track { position: relative; height: 112px; margin-top: 4px; }
.track::before { content: ""; position: absolute; left: 0; right: 40px; bottom: 16px; height: 8px; background: rgba(255, 255, 255, .06); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(226, 198, 138, .2); }
.track-fill { position: absolute; left: 0; bottom: 16px; height: 8px; width: 0; max-width: 100%; background: var(--gilt-bar); border-radius: 999px; box-shadow: 0 0 14px rgba(226, 198, 138, .5); transition: width .7s var(--ease); }
.track-rocket { position: absolute; bottom: 14px; left: 44px; width: 90px; transform: translateX(-50%); transition: left .7s var(--ease); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.track-temple { position: absolute; right: -4px; bottom: 26px; width: 72px; filter: drop-shadow(0 0 16px rgba(226, 178, 110, .45)); }
.track-rocket.kick { animation: kick .6s var(--ease); }
@keyframes kick { 40% { transform: translateX(-50%) translateY(-10px) scale(1.06); } }

.list-body { padding: 0 12px 12px; }
#list-trades { max-height: 340px; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { position: sticky; top: 0; padding: 8px 8px 6px; font: 500 10px/1 var(--roman); letter-spacing: .16em; text-transform: uppercase; text-align: left; color: var(--muted); background: var(--panel); }
td { padding: 6px 8px; border-top: 1px solid rgba(226, 198, 138, .08); }
td:first-child { color: var(--muted); }
tr.new { animation: row-in .45s ease-out; }
tr.mine td { color: var(--ivory); background: rgba(226, 198, 138, .1); }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }
.side-holders { margin-top: 16px; padding-top: 14px; border-top: var(--hair); }
.side-holders h3, .position h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font: 600 11.5px/1.2 var(--roman); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.side-holders h3 span { font: italic 400 14px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
#holders { margin: 0; padding: 0; list-style: none; }
#holders li { position: relative; display: flex; gap: 8px; align-items: baseline; padding: 5px 9px; margin-bottom: 4px; overflow: hidden; font-size: 14.5px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(226, 198, 138, .1); border-radius: 2px; }
#holders li i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(226, 198, 138, .05), rgba(226, 198, 138, .16)); transition: width .6s var(--ease); }
#holders li span, #holders li em, #holders li b { position: relative; font-style: normal; }
#holders li span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); }
#holders li em { margin-left: auto; }
#holders li b { min-width: 3.6em; font-weight: 500; text-align: right; }
#holders li.mine { border-color: rgba(226, 198, 138, .45); }
#holders li.mine span { color: var(--gold); }
#holders li.mine i { background: linear-gradient(90deg, rgba(226, 198, 138, .12), rgba(226, 198, 138, .34)); }
#holders li.curve { background: none; border-style: dashed; border-color: rgba(226, 198, 138, .25); }
#holders li.curve span { font-style: italic; }
#chat { margin: 0 0 12px; padding: 0; max-height: 240px; overflow: auto; list-style: none; }
#chat li { padding: 7px 2px; border-top: 1px solid rgba(226, 198, 138, .08); animation: row-in .3s ease-out; }
#chat b { margin-right: 8px; font-weight: 500; color: var(--gold); }
#chat-form { display: flex; gap: 8px; }
#chat-form input, .fieldset input:not(.range) {
  padding: 0 12px; height: 42px; font-size: 17px; color: var(--ivory); background: rgba(255, 255, 255, .04); border: 1px solid rgba(226, 198, 138, .26); border-radius: 2px; outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
#chat-form input { flex: 1; min-width: 0; height: 38px; }
#chat-form input:focus, .fieldset input:not(.range):focus { border-color: rgba(226, 198, 138, .7); box-shadow: 0 0 0 3px rgba(226, 198, 138, .12); }
#chat-form input::placeholder, .fieldset input::placeholder { color: var(--faint); font-style: italic; }

/* Trade */
.trade {
  position: sticky; top: 84px; max-height: calc(100svh - 100px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(226, 198, 138, .3) transparent; padding: 18px;
  color: var(--ivory); border: var(--hair-strong); border-radius: 4px; box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 30%), var(--panel);
}
.sheet-close { display: none; position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; font: 300 24px/1 var(--body); color: var(--muted); background: none; border: var(--hair-strong); border-radius: 2px; }
.sheet-close:hover { color: var(--ivory); }
.sheet-close.show { display: block; }
.side { position: relative; display: flex; padding: 3px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(226, 198, 138, .3); border-radius: 2px; }
.side button { position: relative; z-index: 1; flex: 1; padding: 11px 9px 10px; font: 700 13px/1 var(--roman); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: none; border: 0; transition: color .25s; }
.side button.on { color: #1c1406; }
.side.sell button.on { color: #fff8ee; }
.side-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); background: var(--gilt); border-radius: 1px; transition: transform .35s var(--ease), background .25s; }
.side.sell .side-pill { transform: translateX(100%); background: linear-gradient(180deg, #e9826f, #b9473a); }
.amount { display: block; margin-top: 16px; font: 500 10.5px/1 var(--roman); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.amount-field { display: flex; align-items: center; margin-top: 8px; font: 600 32px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ivory); background: rgba(0, 0, 0, .18); border: 1px solid rgba(226, 198, 138, .3); border-radius: 2px; transition: border-color .2s, box-shadow .2s; }
.amount-field:focus-within { border-color: rgba(226, 198, 138, .75); box-shadow: 0 0 0 3px rgba(226, 198, 138, .12); }
.amount-field input { flex: 1; min-width: 0; padding: 10px 14px 8px; background: none; border: 0; outline: 0; }
.amount-field input::placeholder { color: rgba(244, 238, 227, .25); }
.amount-field b { padding-right: 14px; font: 600 15px/1 var(--body); letter-spacing: .06em; color: var(--gold); }
.amount-field.shake { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.presets button { padding: 7px 2px 6px; font-size: 15px; color: var(--muted); background: none; border: 1px solid rgba(226, 198, 138, .2); border-radius: 2px; transition: background .2s, color .2s, border-color .2s; }
.presets button:hover { color: var(--gold); border-color: rgba(226, 198, 138, .55); background: rgba(226, 198, 138, .07); }
.presets button:active { transform: translateY(1px); }
.have { margin-top: 8px; font-size: 15px; font-style: italic; color: var(--muted); }
.quote { margin: 14px 0 16px; padding: 10px 14px; font-size: 15.5px; background: rgba(0, 0, 0, .16); border: var(--hair); border-radius: 2px; }
.quote > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; }
.quote > div + div { border-top: 1px solid rgba(226, 198, 138, .07); }
.quote dt { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.quote dd { margin: 0; text-align: right; }
.quote-tax b { display: inline-block; padding: 3px 8px 2px; font: 700 10.5px/1 var(--roman); letter-spacing: .1em; color: #1c1406; background: var(--gilt); border-radius: 1px; }
.tip { position: relative; width: 17px; height: 17px; padding: 0; font: 600 10px/1 var(--roman); color: var(--gold); background: none; border: 1px solid rgba(226, 198, 138, .55); border-radius: 50%; }
.tip:hover::after, .tip:focus::after {
  content: attr(data-tip); position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 8px); width: 220px; padding: 10px 12px; transform: translateX(-30%);
  font: 400 14px/1.4 var(--body); letter-spacing: 0; text-align: left; color: var(--ivory); background: var(--panel-hi); border: var(--hair-strong); border-radius: 2px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8);
}
.go { display: flex; width: 100%; min-height: 54px; font-size: 13.5px; letter-spacing: .18em; }
.go.sell { color: #fff8ee; background: linear-gradient(180deg, #e9826f, #b9473a); box-shadow: 0 10px 28px -14px rgba(229, 112, 95, .8); }
.go-note { min-height: 22px; margin-top: 8px; font-size: 15px; font-style: italic; color: var(--down); }
.position { margin-top: 8px; padding-top: 14px; border-top: var(--hair); animation: row-in .3s ease-out; }
.pos-row { display: flex; justify-content: space-between; padding: 2px 0; font-size: 15.5px; }
.pos-row span { color: var(--muted); }
.pos-row b { font-weight: 500; }
.trade-bar, .scrim { display: none; }

/* Launch */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; padding: 14px; overflow: auto; background: rgba(3, 8, 20, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal-card {
  position: relative; width: min(100%, 820px); margin: auto; padding: clamp(22px, 3vw, 36px); color: var(--ivory); border: var(--hair-strong); border-radius: 4px;
  background: radial-gradient(80% 50% at 50% 0%, rgba(226, 198, 138, .08), transparent 70%), var(--panel); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); animation: rise .35s var(--ease);
}
.modal-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(226, 198, 138, .12); border-radius: 2px; pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.modal-card h2 { margin-bottom: 22px; font: 600 clamp(32px, 4vw, 42px)/1 var(--serif); }
.launch-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
.fieldset { display: block; margin-bottom: 16px; }
.fieldset > span { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; font: 500 10.5px/1.2 var(--roman); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fieldset > span small { display: inline; margin: 0; font: italic 400 14px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--faint); }
.fieldset b { font: 600 22px/1 var(--serif); letter-spacing: 0; color: var(--gold); }
.fieldset input:not(.range) { width: 100%; }
#l-ticker { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#l-ticker::placeholder { font-style: normal; }
.fieldset > small { display: block; margin-top: 4px; font-size: 14.5px; font-style: italic; color: var(--muted); }
.socials label { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.socials label b { width: 2.6em; font: 600 10.5px/1 var(--roman); letter-spacing: .12em; color: var(--gold); }
.socials label input { flex: 1; min-width: 0; height: 38px !important; font-size: 16px !important; }
.art-picks { display: flex; flex-wrap: wrap; gap: 10px; }
.art-picks button { padding: 0; overflow: hidden; background: none; border: 0; border-radius: 50%; box-shadow: 0 0 0 1px rgba(226, 198, 138, .3); transition: transform .25s var(--ease), box-shadow .25s; }
.art-picks button:hover { box-shadow: 0 0 0 1px rgba(226, 198, 138, .7); }
.art-picks img { width: 60px; height: 60px; }
.art-picks button.on, .art-upload.on { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--gold), 0 0 18px -2px rgba(226, 198, 138, .55); }
.art-upload {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; overflow: hidden; cursor: pointer; text-align: center;
  font: 600 9.5px/1.1 var(--roman); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px dashed rgba(226, 198, 138, .5); border-radius: 50%; transition: transform .25s var(--ease), box-shadow .25s, background .2s;
}
.art-upload:hover { background: rgba(226, 198, 138, .08); }
.art-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.art-upload:focus-within { outline: 1px solid var(--gold); outline-offset: 3px; }
.art-upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-upload.on { border-style: solid; border-color: transparent; }
.range { width: 100%; height: 26px; appearance: none; -webkit-appearance: none; background: none; }
.range::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--gold-mid), rgba(226, 198, 138, .2)); border-radius: 999px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; background: var(--gilt); border: 0; border-radius: 50%; box-shadow: 0 0 0 4px rgba(7, 16, 38, .85), 0 0 0 5px rgba(226, 198, 138, .5); }
.range::-moz-range-track { height: 4px; background: rgba(226, 198, 138, .3); border-radius: 999px; }
.range::-moz-range-thumb { width: 18px; height: 18px; background: var(--gold); border: 3px solid var(--night-deep); border-radius: 50%; }
.launch-preview { padding-left: 28px; border-left: var(--hair); }
.launch-preview p { margin-top: 14px; font-size: 16px; font-style: italic; color: var(--muted); }
.card.preview { pointer-events: none; }

/* Liftoff */
.liftoff {
  position: fixed; inset: 0; z-index: 70; overflow: hidden; animation: fade .3s;
  background:
    radial-gradient(70% 50% at 50% 108%, rgba(226, 178, 110, .5), transparent 70%),
    linear-gradient(180deg, #040b1e 0%, #0c1d40 50%, #1d3463 100%);
}
.lift-stars {
  position: absolute; inset: 0; animation: twinkle 3.4s ease-in-out infinite;
  background-image:
    radial-gradient(circle at 18% 22%, #f6e7c1 0 1.5px, transparent 2.5px), radial-gradient(circle at 72% 14%, #f6e7c1 0 2px, transparent 3px),
    radial-gradient(circle at 86% 48%, #f6e7c1 0 1.5px, transparent 2.5px), radial-gradient(circle at 32% 58%, #f6e7c1 0 1.2px, transparent 2px),
    radial-gradient(circle at 58% 34%, #f6e7c1 0 1px, transparent 2px), radial-gradient(circle at 9% 44%, #f6e7c1 0 1.2px, transparent 2px),
    radial-gradient(circle at 92% 24%, #f6e7c1 0 1px, transparent 2px), radial-gradient(circle at 45% 10%, #f6e7c1 0 1.4px, transparent 2.4px);
}
@keyframes twinkle { 50% { opacity: .55; } }
.lift-temple { position: absolute; left: 50%; top: -260px; width: min(44vw, 280px); transform: translateX(-50%); filter: drop-shadow(0 0 40px rgba(226, 178, 110, .6)); animation: temple-down 2.3s 1s var(--ease) forwards; }
.lift-cherub { position: absolute; left: 50%; bottom: -340px; width: min(64vw, 360px); transform: translateX(-50%) rotate(-55deg); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: climb 2.5s .1s ease-in-out forwards; }
.lift-clouds {
  position: absolute; left: -5%; right: -5%; bottom: -30px; height: 220px; animation: clouds-down 2.6s .1s ease-in forwards;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='220'%3E%3Cdefs%3E%3Cfilter id='b' x='-20%25' y='-40%25' width='140%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='12'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23b)' fill='%23f4eee3'%3E%3Cellipse cx='40' cy='170' rx='120' ry='62' opacity='.92'/%3E%3Cellipse cx='200' cy='150' rx='110' ry='70'/%3E%3Cellipse cx='360' cy='176' rx='130' ry='58' opacity='.9'/%3E%3Cellipse cx='520' cy='154' rx='118' ry='68'/%3E%3Cellipse cx='660' cy='170' rx='120' ry='62' opacity='.92'/%3E%3Crect x='-20' y='190' width='700' height='40'/%3E%3C/g%3E%3Cg filter='url(%23b)' fill='%23e6c89a' opacity='.35'%3E%3Cellipse cx='130' cy='120' rx='90' ry='30'/%3E%3Cellipse cx='450' cy='126' rx='100' ry='28'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom left / 640px 220px;
}
.lift-copy { position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 2; display: grid; justify-items: center; gap: 14px; padding: 0 14px; text-align: center; opacity: 0; animation: copy-in .7s 2.2s var(--ease) forwards; }
.lift-copy img { width: 104px; height: 104px; border-radius: 50%; box-shadow: var(--ring), 0 0 0 8px rgba(226, 198, 138, .1), 0 0 50px -6px rgba(226, 198, 138, .6); }
.lift-copy h2 {
  font: 600 clamp(48px, 8vw, 104px)/1 var(--serif); color: transparent; background: linear-gradient(180deg, #f6e7c1, #c8a25a); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 6px 30px rgba(5, 10, 30, .6));
}
.lift-copy .tag::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.lift-copy .btn { margin-top: 10px; min-height: 50px; padding: 0 30px; }
/* The rocket climbs past the clouds, then shrinks away through the temple's door. */
@keyframes climb { 55% { transform: translate(-50%, -62vh) rotate(-58deg) scale(1); opacity: 1; } 90% { opacity: 1; } 100% { transform: translate(-50%, calc(-100vh + 340px)) rotate(-62deg) scale(.16); opacity: 0; } }
@keyframes temple-down { to { top: 5vh; } }
@keyframes clouds-down { to { transform: translateY(200px); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Toasts and effects */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; max-width: 340px; padding: 9px 18px 9px 9px; font-size: 17px; line-height: 1.2; color: var(--ivory);
  background: rgba(19, 41, 90, .94); border: var(--hair-strong); border-radius: 3px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .85), 0 0 24px -12px rgba(226, 198, 138, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: toast-in .35s var(--ease); transform-origin: right bottom;
}
.toast.sell { border-color: rgba(229, 112, 95, .6); }
.toast.plain { padding-left: 18px; }
.toast img { width: 36px; height: 36px; border-radius: 50%; box-shadow: var(--ring); }
.toast.out { animation: toast-out .25s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }
#fx { position: fixed; inset: 0; z-index: 90; width: 100%; height: 100%; pointer-events: none; }
.fly-rocket { position: fixed; z-index: 85; width: 80px; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
::view-transition-group(coin-art) { animation-duration: .32s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

@media (max-width: 1040px) {
  .coin-layout { grid-template-columns: minmax(0, 1fr); }
  #coin { padding-bottom: 96px; }
  .trade {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 50; max-height: 88svh; overflow: auto; padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
    border-width: 1px 0 0; border-radius: 10px 10px 0 0; box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .8); transform: translateY(105%); transition: transform .38s cubic-bezier(.2, .9, .3, 1); visibility: hidden;
  }
  .trade.open { transform: none; visibility: visible; }
  .trade .sheet-close { display: block; }
  .trade .side { margin-right: 46px; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(3, 8, 20, .62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: fade .2s; }
  .trade-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(7, 16, 38, .92); border-top: var(--hair-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .trade-bar span { display: block; margin-bottom: 3px; font: 600 14px/1 var(--body); letter-spacing: .08em; color: var(--gold); }
  .trade-bar b { font: 600 24px/1 var(--serif); }
  .trade-bar .btn { min-height: 48px; padding: 0 40px; font-size: 13px; letter-spacing: .2em; }
  .toasts { bottom: 88px; }
}
@media (max-width: 720px) {
  .top { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .brand { margin-right: auto; font-size: 15px; }
  .brand span { display: none; }
  .brand img { width: 34px; height: 34px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search kbd { display: none; }
  .top .btn { min-height: 36px; padding: 0 12px; font-size: 10.5px; }
  .demo-bar { font-size: 9.5px; letter-spacing: .1em; }
  .spotlight { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 22px 20px 24px; }
  .spot-art { display: none; }
  .spot-coin { gap: 16px; margin: 16px 0 6px; }
  .spot-coin img { width: 78px; height: 78px; }
  .fuel.big { margin-top: 30px; }
  .fuel img { width: 50px; }
  .tabs { margin-top: 26px; }
  .tabs button { padding: 12px 8px; font-size: 10.5px; letter-spacing: .08em; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pager { gap: 4px; margin-top: 26px; }
  .pager button { min-width: 34px; height: 40px; padding: 0 8px; font-size: 17px; }
  .pager .step { padding: 0 10px; }
  .pager .step-word { display: none; }
  .tabs { scroll-margin-top: 130px; }
  .coin-head { gap: 14px; }
  .coin-head > img { width: 66px; height: 66px; }
  .coin-stats { width: 100%; justify-content: space-between; padding-top: 12px; border-top: var(--hair); }
  .chart-wrap { height: 300px; }
  .track { height: 96px; }
  .track-rocket { width: 72px; }
  .track-temple { width: 60px; }
  .chart-bar { flex-wrap: wrap; }
  .ohlc { font-size: 12.5px; }
  th:nth-child(5), td:nth-child(5) { display: none; }
  .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .launch-preview { display: none; }
  .modal { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Garamond and Cormorant draw old-style figures by default, where 0 looks like o, and every font shorthand above resets the setting, so it is forced here. */
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
/* Numbers that keep changing also keep their width. */
.card-nums, .coin-stats dd, .ohlc, table, .quote dd, .pos-row, #holders li, .amount-field, .trade-bar b, .wallet-menu, .tape-item, .toast, .spot-line, .card-foot, .track-head p, .have { font-variant-numeric: lining-nums tabular-nums !important; }

/* Opening. The intro covers the page while it fills in, then fades as the page rises into place.
   --intro-end is when that happens; a click or key moves it to now. */
:root { --intro-end: 2.2s; --enter: var(--intro-end); }
html.no-intro { --enter: 0s; }
html.no-intro .intro { display: none; }
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; cursor: pointer;
  background:
    radial-gradient(60% 42% at 50% 104%, rgba(226, 178, 110, .3), transparent 70%),
    radial-gradient(46% 36% at 50% 46%, rgba(36, 66, 132, .55), transparent 72%),
    #050c20;
  animation: intro-out .75s cubic-bezier(.6, 0, .2, 1) var(--intro-end) forwards;
}
.intro-inner { display: grid; justify-items: center; padding: 0 24px; animation: intro-lift .75s cubic-bezier(.6, 0, .2, 1) var(--intro-end) forwards; }
.intro-star { width: 26px; margin-bottom: 30px; fill: #f6e7c1; filter: drop-shadow(0 0 8px rgba(246, 231, 193, .9)) drop-shadow(0 0 26px rgba(226, 198, 138, .7)); animation: star-in 1.1s cubic-bezier(.2, .8, .2, 1) .05s backwards, star-glint 2.4s ease-in-out 1.15s infinite; }
.intro-mark { width: min(80vw, 580px); height: auto; overflow: visible; }
.intro-mark .glyph { transform-box: fill-box; transform-origin: 50% 100%; animation: glyph-in 1s cubic-bezier(.2, .8, .2, 1) calc(.35s + var(--i) * 60ms) backwards; }
.intro-mark .shine { mix-blend-mode: screen; }
.intro-rule { display: block; width: min(52vw, 340px); height: 1px; margin: 30px 0 18px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); animation: rule-in 1.1s cubic-bezier(.2, .8, .2, 1) 1s backwards; }
.intro-line { font: 500 12px/1 var(--roman); letter-spacing: .46em; margin-right: -.46em; text-transform: uppercase; color: var(--gold); animation: line-in 1s ease 1.25s backwards; }
@keyframes star-in { from { opacity: 0; transform: scale(0) rotate(-120deg); } 62% { opacity: 1; transform: scale(1.4) rotate(10deg); } }
@keyframes star-glint { 50% { transform: scale(.82) rotate(45deg); opacity: .8; } }
@keyframes glyph-in { from { opacity: 0; transform: translateY(42%); } }
@keyframes rule-in { from { opacity: 0; transform: scaleX(0); } }
@keyframes line-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes intro-lift { to { opacity: 0; transform: translateY(-22px) scale(.97); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* The page rises into place once, on load. app.js removes .entering afterwards. */
@keyframes enter-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes enter-down { from { opacity: 0; transform: translateY(-14px); } }
@keyframes enter-fade { from { opacity: 0; } }
@keyframes enter-side { from { opacity: 0; transform: translate(34px, 8px); } }
html.entering .view { animation: none; }
html.entering .demo-bar { animation: enter-down .8s var(--ease) var(--enter) backwards; }
html.entering .tape { animation: enter-fade 1s ease calc(var(--enter) + .1s) backwards; }
html.entering .spotlight { animation: enter-up 1s var(--ease) calc(var(--enter) + .08s) backwards; }
html.entering .spot-copy { animation: enter-up 1s var(--ease) calc(var(--enter) + .2s) backwards; }
html.entering .spot-art { animation: enter-side 1.2s var(--ease) calc(var(--enter) + .3s) backwards; }
html.entering .tabs { animation: enter-up .9s var(--ease) calc(var(--enter) + .32s) backwards; }
html.entering .grid .card { animation: enter-up .9s var(--ease) calc(var(--enter) + .4s + var(--n, 0) * 55ms) backwards; }
html.entering #coin .coin-main > * { animation: enter-up .9s var(--ease) calc(var(--enter) + .1s + var(--n, 0) * 90ms) backwards; }
html.entering #coin .trade-bar { animation: enter-up .9s var(--ease) calc(var(--enter) + .4s) backwards; }
@media (min-width: 1041px) { html.entering #coin .trade { animation: enter-side 1s var(--ease) calc(var(--enter) + .2s) backwards; } }
.grid .card:nth-child(2), #coin .coin-main > :nth-child(2) { --n: 1; }
.grid .card:nth-child(3), #coin .coin-main > :nth-child(3) { --n: 2; }
.grid .card:nth-child(4), #coin .coin-main > :nth-child(4) { --n: 3; }
.grid .card:nth-child(5), #coin .coin-main > :nth-child(5) { --n: 4; }
.grid .card:nth-child(6), #coin .coin-main > :nth-child(6) { --n: 5; }
.grid .card:nth-child(7) { --n: 6; }
.grid .card:nth-child(8) { --n: 7; }
.grid .card:nth-child(9) { --n: 8; }
.grid .card:nth-child(10) { --n: 9; }
.grid .card:nth-child(11) { --n: 10; }
.grid .card:nth-child(12) { --n: 11; }

/* Footer */
.site-foot { margin-top: 48px; padding: 72px var(--gutter) 30px; background: linear-gradient(180deg, transparent, var(--night-deep) 160px); border-top: var(--hair); }
.foot-main, .foot-base { max-width: 1400px; margin: 0 auto; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; }
.foot-mark { display: inline-block; }
.foot-mark img { width: 230px; height: auto; }
.foot-brand p { max-width: 25em; margin: 22px 0 26px; font-size: 18px; color: var(--muted); }
.foot-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-actions .arrow { margin-left: 10px; font: 400 16px/1 var(--body); transition: transform .25s var(--ease); }
.foot-actions .btn:hover .arrow { transform: translateX(3px); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot-cols h2 { margin: 6px 0 20px; font: 600 11px/1.2 var(--roman); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.foot-cols ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.foot-link { display: inline-flex; align-items: baseline; gap: 6px; padding: 0; font: 400 17px/1.3 var(--body); text-align: left; color: var(--muted); text-decoration: none; background: none; border: 0; transition: color .2s; }
.foot-link:hover { color: var(--ivory); }
.foot-link .ext { font-size: 12px; color: var(--faint); transition: transform .25s var(--ease), color .2s; }
.foot-link:hover .ext { color: var(--gold); transform: translate(2px, -2px); }
.foot-base { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 60px; padding-top: 24px; border-top: var(--hair); }
.foot-base p { max-width: 38em; font-size: 15px; font-style: italic; color: var(--faint); }
.foot-top { display: inline-flex; align-items: center; gap: 14px; padding: 0; color: var(--muted); background: none; border: 0; }
.foot-top span { font: 500 10.5px/1 var(--roman); letter-spacing: .2em; text-transform: uppercase; }
.foot-top i { display: grid; place-items: center; width: 38px; height: 38px; font: 400 17px/1 var(--body); font-style: normal; border: var(--hair-strong); border-radius: 2px; transition: border-color .2s, color .2s, transform .25s var(--ease); }
.foot-top:hover { color: var(--gold); }
.foot-top:hover i { border-color: var(--gold); transform: translateY(-2px); }

/* How it works */
.learn-card { width: min(100%, 640px); }
.learn-card .tag { margin-bottom: 12px; }
.learn-card h2 { margin-bottom: 8px; }
.learn-card section { padding: 18px 0 16px; border-top: var(--hair); scroll-margin-top: 20px; transition: background .6s; }
.learn-card section:first-of-type { margin-top: 14px; }
.learn-card h3 { margin-bottom: 6px; font: 600 12px/1.3 var(--roman); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.learn-card section p { font-size: 18px; color: var(--muted); }
/* The part a footer link opened gets a gold mark beside it for a moment. */
.learn-card section { position: relative; }
.learn-card section.lit::before { content: ""; position: absolute; left: -16px; top: 18px; bottom: 16px; width: 2px; background: var(--gilt); animation: learn-lit 1.8s ease-out forwards; }
@keyframes learn-lit { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
.learn-note { margin-top: 8px; padding-top: 16px; font-size: 15px; font-style: italic; color: var(--faint); border-top: var(--hair); }

@media (max-width: 1040px) {
  .foot-main { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  body:has(#coin:not([hidden])) .site-foot { padding-bottom: 110px; }
}
@media (max-width: 720px) {
  .site-foot { padding-top: 56px; }
  .foot-mark img { width: 190px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
  .foot-base { flex-direction: column; align-items: flex-start; margin-top: 44px; }
  .intro-line { font-size: 10.5px; letter-spacing: .34em; margin-right: -.34em; }
}

/* Live, protected contract integration */
[hidden] { display: none !important; }
.live-market-toolbar { display: flex; justify-content: flex-end; padding: 18px 0; color: var(--muted); }
.live-market-toolbar a, .live-address, #launch-status a { color: var(--gold); text-decoration: none; }
.live-symbol { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border: var(--hair-strong); border-radius: 50%; font: 600 16px var(--roman); color: var(--gold); background: var(--panel-hi); }
.live-card-metrics { display: flex; justify-content: space-between; gap: 10px; margin: 24px 0 12px; color: var(--muted); font-size: 16px; }
.live-card-metrics b { font-weight: 500; color: var(--ivory); }
progress { display: block; width: 100%; height: 5px; accent-color: var(--gold); border: 0; background: rgba(226,198,138,.12); }
progress::-webkit-progress-bar { background: rgba(226,198,138,.12); }
progress::-webkit-progress-value { background: var(--gold); }
.live-coin-header { display: grid; grid-template-columns: minmax(190px,.8fr) minmax(300px,1.4fr) auto; gap: 28px; align-items: center; padding: 34px 0; border-bottom: var(--hair); }
.live-coin-header h1 { margin: 5px 0; font: 500 clamp(32px,5vw,60px)/1.1 var(--serif); overflow-wrap: anywhere; }
.live-coin-header h2 { white-space: nowrap; font-weight: 500; }
.live-address { display: inline-block; margin-top: 10px; font-size: 14px; overflow-wrap: anywhere; }
.live-coin-layout { display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: 22px; align-items: start; padding-top: 28px; }
.live-progress { margin-bottom: 32px; color: var(--gold); }
.live-progress p { margin-bottom: 10px; }
.live-market-data h2 { font-weight: 500; }
.live-table-scroll { overflow-x: auto; }
.live-table-scroll table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.live-table-scroll th, .live-table-scroll td { text-align: left; border-bottom: var(--hair); padding: 14px 12px 14px 0; }
.live-table-scroll a { color: var(--muted); }
.live-table-scroll th { font-weight: 500; color: var(--muted); }
.live-slippage { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 20px 0; color: var(--muted); }
.live-slippage input { width: 80px; padding: 6px 8px; background: rgba(0,0,0,.15); border: var(--hair-strong); border-radius: 2px; color: var(--ivory); }
.live-no-tax { font-size: 16px; line-height: 1.5; color: var(--gold); margin: 18px 0; }
.live-launch { width: min(800px,calc(100vw - 32px)); max-height: calc(100svh - 40px); overflow: auto; }
.live-launch h2 { font-weight: 500; font-size: 32px; margin-bottom: 25px; }
.live-launch form > label:not(.live-slippage) { display: block; color: var(--muted); margin: 15px 0; }
.live-launch small { opacity: .7; }
.live-launch form > label:not(.live-slippage) input { display: block; width: 100%; box-sizing: border-box; padding: 12px; margin-top: 6px; background: rgba(0,0,0,.15); border: var(--hair-strong); border-radius: 2px; color: var(--ivory); }
@media(max-width:1040px) {
  .live-coin-layout { grid-template-columns: 1fr; }
  .trade.live-trade { position: static; display: block; max-height: none; width: auto; transform: none; visibility: visible; border: var(--hair-strong); border-radius: 4px; }
  .live-coin-header { align-items: flex-start; flex-direction: column; }
}
.live-symbol img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.coin-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; border: var(--hair-strong); }
.coin-socials { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0; }
.coin-socials a { color: var(--gold); text-decoration: none; }
#coin-description, #preview-description { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 640px; color: var(--muted); }
.live-launch .launch-social-fields { border: var(--hair); padding: 12px; margin: 18px 0; }
.launch-social-fields legend { color: var(--gold); padding: 0 6px; }
.live-launch .launch-social-fields label { display: block; margin: 8px 0; color: var(--muted); }
.live-launch textarea, .live-launch .launch-social-fields input { display: block; width: 100%; box-sizing: border-box; background: rgba(0,0,0,.15); border: var(--hair-strong); color: var(--ivory); padding: 10px; margin-top: 6px; font: inherit; }
.launch-preview-heading { display: flex; gap: 20px; align-items: center; margin: 25px 0; }
.launch-preview-heading img { width: 96px; height: 96px; object-fit: cover; border: var(--hair-strong); border-radius: 50%; }
.launch-preview-heading h3 { margin: 0 0 4px; font: 500 30px var(--serif); overflow-wrap: anywhere; }
.launch-preview-heading p { color: var(--gold); }
.preview-details { margin-top: 24px; }
.preview-details div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: var(--hair); }
.preview-details dt { color: var(--muted); }
.preview-details dd { margin: 0; }
.launch-preview-actions { display: flex; gap: 12px; margin-top: 22px; }
.launch-preview-actions button { flex: 1; }
#preview-status, #launch-avatar-status { color: var(--muted); }

/* Basic coin identity: avatar alongside name and ticker. */
.launch-basics { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 25px; }
.launch-avatar-column, .launch-identity, .launch-names > * { min-width: 0; }
.launch-field-label, .live-launch .launch-field { display: block; color: var(--muted); }
.launch-field-label { margin-bottom: 7px; }
.launch-avatar-drop { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px dashed rgba(226,198,138,.5); border-radius: 3px; background: rgba(0,0,0,.15); color: var(--gold); cursor: pointer; }
.launch-avatar-drop:hover, .launch-avatar-drop:focus-within { border-color: var(--gold); background: rgba(226,198,138,.06); }
.launch-avatar-drop:focus-within { outline: 2px solid rgba(226,198,138,.4); outline-offset: 3px; }
#launch-avatar { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; opacity: 0; cursor: pointer; }
.launch-avatar-placeholder { display: grid; justify-items: center; gap: 13px; font-size: 15px; }
.launch-avatar-placeholder svg { width: 52px; height: 52px; stroke: currentColor; stroke-width: 1.3; }
#launch-avatar-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.launch-avatar-change { display: none; position: absolute; inset: auto 0 0; padding: 8px; background: rgba(7,16,38,.8); color: var(--ivory); font-size: 14px; text-align: center; }
.launch-avatar-drop:has(img:not([hidden])) .launch-avatar-placeholder { display: none; }
.launch-avatar-drop:has(img:not([hidden])) .launch-avatar-change { display: block; }
#launch-avatar-status { display: block; margin-top: 9px; font-size: 13px; line-height: 1.4; }
.launch-names { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.live-launch .launch-field input { display: block; width: 100%; box-sizing: border-box; padding: 12px; margin-top: 7px; background: rgba(0,0,0,.15); border: var(--hair-strong); border-radius: 2px; color: var(--ivory); }
.live-launch .launch-description { margin-top: 19px; }
.live-launch .launch-description textarea { min-height: 116px; resize: vertical; margin-top: 7px; }
.live-launch .launch-social-fields { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.live-launch .launch-social-fields label { min-width: 0; }
@media (max-width: 600px) {
  .launch-basics { grid-template-columns: 108px minmax(0,1fr); gap: 18px; }
  .launch-identity { display: contents; }
  .launch-names { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; gap: 12px; }
  .launch-avatar-column { grid-column: 1; grid-row: 1; }
  .live-launch .launch-description { grid-column: 1 / -1; margin-top: 0; }
  .launch-avatar-placeholder { gap: 8px; font-size: 12px; }
  .launch-avatar-placeholder svg { width: 36px; height: 36px; }
  .live-launch .launch-social-fields { grid-template-columns: 1fr; gap: 0; }
}
.chart-unit { margin-left: auto; color: var(--gold); font-size: 13px; white-space: nowrap; }
.live-ohlc { margin: 0; padding: 9px 14px 0; text-align: left; font-size: 13px; min-height: 28px; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--muted); pointer-events: none; }
.live-balance { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.live-balance .text-btn { padding: 2px 5px; min-width: 28px; font-size: 19px; }
.presets button.on { color: var(--gold); border-color: var(--gold); background: rgba(226,198,138,.12); }
@media(max-width:600px) { .chart-unit { margin-left: 0; } .seg.num button { padding: 3px 8px; } .live-ohlc { font-size: 12px; } }
.card-avatar { display: grid; place-items: center; width: 68px; height: 68px; flex: 0 0 68px; border-radius: 50%; box-shadow: var(--ring); color: var(--gold); background: var(--panel-hi); font: 600 20px var(--roman); }
.card-avatar img { width: 68px; height: 68px; object-fit: cover; }
.card .card-nums { gap: 8px; font-size: 21px; }
.card .card-nums .ch { white-space: nowrap; font-size: 16px; }
#market-panel { position: relative; }
#market-panel .live-market-toolbar { position: absolute; right: 0; top: -45px; padding: 0; }
#tabs { padding-right: 76px; }
@media(max-width:600px) {
 #market-panel .live-market-toolbar { position: static; padding: 0 0 12px; }
 #tabs { padding-right: 0; margin-bottom: 12px; }
}
.live-sidebar { min-width: 0; display: grid; gap: 18px; }
.live-sidebar .trade { position: static; max-height: none; }
.holder-panel { margin: 0; padding: 18px; }
.holder-heading, .holder-summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.holder-heading h2 { margin: 0; font: 600 var(--ui-label) var(--roman); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.holder-heading span { color: var(--muted); }
.holder-summary { margin-top: 19px; font-size: 15px; color: var(--muted); }
.holder-summary b { color: var(--gold); font-weight: 500; }
.holder-distribution { display: flex; overflow: hidden; height: 7px; border-radius: 2px; background: rgba(226,198,138,.1); margin-top: 10px; }
.holder-status { font-size: 15px; color: var(--muted); margin: 10px 0; }
.holder-table { max-height: 350px; overflow: auto; }
.holder-table table { width: 100%; border-collapse: collapse; font-size: var(--ui-text); }
.holder-table th { color: var(--muted); font-weight: 400; }
.holder-table td, .holder-table th { padding: 9px 2px; border-bottom: var(--hair); text-align: right; white-space: nowrap; }
.holder-table td:first-child, .holder-table th:first-child { text-align: left; }
.holder-table a { color: var(--ivory); text-decoration: none; }
.holder-reserves, .holder-note { font-size: 15px; line-height: 1.4; color: var(--muted); margin-top: 12px; }
.holder-note { color: var(--faint); }

/* Coin overview: identity, launch progress, and valuation. */
.coin-identity, .header-progress { min-width: 0; }
.header-progress { align-self: end; margin-bottom: 3px; }
.header-progress .track { height: 96px; }
.header-progress .track-head h2 { font-size: var(--ui-label); font-weight: 600; }
.coin-valuation { align-self: center; }
.official-coin { color: var(--gold); font: 600 12px var(--roman); margin-top: 14px; }
.card-official { display: inline-flex; align-items: center; gap: 5px; font: 600 10px var(--roman); color: var(--gold); margin: 3px 0; }
.card-ticker .chip { margin-left: auto; flex-shrink: 0; }
.card-info { flex: 1; min-width: 0; }
.live-quote { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px; margin: 18px 0 8px; color: var(--muted); font-size: 14px; }
.live-quote b { text-align: right; color: var(--gold); overflow-wrap: anywhere; font-weight: 500; }
.live-quote .text-btn { min-height: 24px; padding: 0 3px; }
.live-quote[hidden] { display: none; }
.chart-price-axis { position: absolute; right: 0; top: 0; bottom: 27px; width: 96px; z-index: 1; cursor: ns-resize; touch-action: none; }
@media (max-width: 1040px) {
 .live-coin-header { grid-template-columns: minmax(0,1fr) auto; }
 .header-progress { grid-column: 1 / -1; order: 3; width: 100%; }
 .coin-identity { order: 1; }.coin-valuation { order: 2; }
}
@media (max-width: 520px) {
 .live-coin-header { gap: 18px 12px; }
 .coin-valuation h2 { font-size: 20px; }
 .live-quote { font-size: 13px; }
}

.live-trade #trade-submit { white-space: normal; overflow-wrap: anywhere; letter-spacing: .08em; line-height: 1.5; height: auto; min-height: 54px; padding: 14px 10px; }

.card-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 6px; }
.card-title-row h3 { flex: 1 1 70px; min-width: 0; margin: 0; font-size: 28px; }
.card-title-row .card-official { flex: none; margin: 0 0 0 auto; gap: 4px; font: 500 var(--ui-text)/1.2 var(--body); white-space: nowrap; }
.card-official img, .official-coin img { display: block; width: 32px; height: 32px; object-fit: contain; }
.official-coin { display: flex; align-items: center; gap: 4px; }
.official-coin[hidden] { display: none; }

/* Compact coin overview. */
.live-coin-header { grid-template-columns: minmax(260px,.9fr) minmax(400px,1.35fr); gap: 40px; padding: 24px 0; align-items: center; }
.coin-title { display: flex; align-items: center; gap: 16px; }
.coin-title .coin-avatar { width: 64px; height: 64px; margin: 0; flex: none; }
.coin-heading { min-width: 0; }
.coin-title-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.live-coin-header .coin-title-line h1 { font-size: clamp(34px,3.4vw,46px); margin: 0; line-height: 1.1; }
#coin-name { color: var(--muted); font-size: 20px; }
#coin-description:not(:empty) { margin: 14px 0 8px; font-size: 18px; line-height: 1.4; }
#coin-description:empty, #coin-socials:empty { display: none; }
.coin-identity .live-address { margin-top: 4px; font-size: var(--ui-text); max-width: 100%; }
.coin-identity .official-coin { margin-top: 12px; font: 500 18px/1.3 var(--body); gap: 7px; }
.coin-identity .official-coin img { width: 42px; height: 42px; }
#coin > .text-btn { font-size: var(--ui-label); }
.coin-overview { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.coin-valuation { display: flex; justify-content: flex-end; align-items: center; gap: 14px; align-self: stretch; }
.coin-valuation h2 { font-size: 28px; line-height: 1; margin: 0; }
.header-progress { margin: 0; align-self: stretch; padding: 12px 0 8px; }
.header-progress .track { height: 100px; }
.header-progress .track-rocket { width: 78px; }
.header-progress .track-temple { width: 62px; bottom: 23px; }
@media (max-width: 1040px) {
 .live-coin-header { grid-template-columns: minmax(230px,.9fr) minmax(300px,1.2fr); gap: 24px; }
 .coin-identity { order: initial; }.coin-valuation { order: initial; }.header-progress { order: initial; }
}
@media (max-width: 760px) {
 .live-coin-header { grid-template-columns: 1fr; gap: 20px; padding: 22px 0; }
 .coin-valuation { justify-content: flex-start; }
 .coin-title .coin-avatar { width: 56px; height: 56px; }
 .coin-valuation h2 { font-size: 25px; }
}

.chart-wrap { touch-action: none; }
.table-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 16px; font-size: 16px; color: var(--muted); }
.table-pagination[hidden] { display: none; }
.table-pagination button { padding: 7px 10px; border: var(--hair); border-radius: 4px; background: transparent; color: var(--gold); font: inherit; cursor: pointer; }
.table-pagination button:disabled { opacity: .4; cursor: default; }
.table-pagination button:not(:disabled):hover { background: rgba(226,198,138,.08); }
.table-pagination span { white-space: nowrap; }
.holder-panel .table-pagination { justify-content: space-between; gap: 8px; }
.holder-panel .holder-table { max-height: none; }
@media (max-width: 380px) { .table-pagination { gap: 8px; font-size: 15px; }.table-pagination button { padding: 7px; } }

/* Swap fields use the site's navy and gold treatment. */
.live-trade .trade-pay { display: block; padding: 14px 15px 12px; margin: 18px 0 10px; background: rgba(3,11,29,.35); border: var(--hair-strong); border-radius: 6px; }
.swap-field-label { display: block; color: var(--muted); font: 400 var(--ui-text)/1.3 var(--body); letter-spacing: 0; text-transform: none; }
.live-trade .trade-pay .amount-field { display: flex; align-items: center; gap: 10px; margin-top: 10px; border: 0; background: none; padding: 0; }
.live-trade .trade-pay .amount-field:focus-within { box-shadow: none; }
.live-trade .trade-pay:focus-within { border-color: rgba(226, 198, 138, .75); }
.live-trade .trade-pay input { min-width: 0; padding: 0; background: transparent; border: 0; box-shadow: none; font-size: clamp(26px,3vw,34px); line-height: 1.2; }
.live-trade .swap-unit { flex: none; max-width: 45%; overflow-wrap: anywhere; padding: 7px 10px; border: var(--hair); border-radius: 4px; color: var(--gold); font: 500 15px/1.1 var(--roman); }
.live-trade .live-quote { display: block; padding: 14px 15px 12px; margin: 15px 0; background: rgba(3,11,29,.35); border: var(--hair-strong); border-radius: 6px; }
.quote-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.quote-output-line { display: flex; align-items: center; gap: 10px; }
.live-trade #trade-output { flex: 1; min-width: 0; display: block; text-align: left; font: 500 clamp(26px,3vw,34px)/1.2 var(--serif); color: var(--ivory); letter-spacing: 0; }
.live-trade .live-balance { margin: 8px 0 4px; }
.live-market-data, .live-sidebar, .chart-panel, .chart-wrap, .chart-surface { min-width: 0; }
.card-title-row .card-official img { border: 0; border-radius: 0; background: none; }
@media (max-width: 1040px) { .live-coin-layout { grid-template-columns: minmax(0,1fr); } }
.card-title-row .card-official img { box-shadow: none; }

/* Use the footer's readable body size throughout live market information. */
.card-title-row .card-official img { width: 42px; height: 42px; }
.card-ticker, .card-foot, .track-head p, .live-balance, .live-no-tax,
.live-table-scroll table, .seg.num button { font-size: var(--ui-text); }
.card-ticker { line-height: 1.35; }
.card-ticker .chip { font-size: 16px; }
.coin-valuation .tag { font-size: var(--ui-label); }
.live-ohlc { font-size: 15px; line-height: 1.5; padding-bottom: 5px; }
.live-table-scroll th, .holder-table th { font-size: 12px; letter-spacing: .1em; }
.live-trade .side button { font-size: var(--ui-label); }
.live-trade .presets button { font-size: var(--ui-text); }
.live-table-scroll th:nth-child(5), .live-table-scroll td:nth-child(5) { display: table-cell; }
@media (max-width: 380px) {
 .card { padding: 14px; }
 .card-top { gap: 10px; }
 .card-avatar, .card-avatar img { width: 56px; height: 56px; }
 .card-avatar { flex-basis: 56px; }
}

/* Stable coin identity rows: badges do not push the ticker above its avatar. */
.card-top { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.card-avatar, .card-avatar img { width: 64px; height: 64px; aspect-ratio: 1; }
.card-avatar img { object-fit: cover; }
.card-info h3 { font-size: 28px; }
.card-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.card-badges .card-official { margin: 0; gap: 4px; font: 500 17px/1.2 var(--body); white-space: nowrap; }
.card-badges .card-official span { max-width: 62px; white-space: normal; }
.card-badges .card-official img { width: 42px; height: 42px; aspect-ratio: 1; object-fit: contain; border: 0; border-radius: 0; box-shadow: none; flex: none; }
.card-badges .chip { font-size: 16px; }
.card .card-nums { margin-top: 14px; }
.live-coin-header { grid-template-columns: minmax(0,1.3fr) minmax(320px,1fr); gap: 28px; }
.coin-title { align-items: flex-start; gap: 16px; }
.coin-title .coin-avatar { width: 64px; height: 64px; aspect-ratio: 1; object-fit: cover; }
.coin-heading { flex: 1; }
.coin-title-line { align-items: center; gap: 8px 12px; }
.live-coin-header .coin-title-line h1 { font-size: clamp(32px,3vw,42px); }
.coin-identity .official-coin { margin: 0 0 0 4px; font-size: 17px; white-space: nowrap; gap: 4px; }
.coin-identity .official-coin img { width: 42px; height: 42px; aspect-ratio: 1; object-fit: contain; flex: none; }
.coin-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.coin-meta #coin-status { margin: 0; font: 400 17px/1.3 var(--body); letter-spacing: 0; color: var(--muted); }
.coin-meta .live-address { background: transparent; cursor: copy; margin: 0; padding: 2px 8px; border: var(--hair); border-radius: 4px; line-height: 1.3; }
.coin-meta .coin-socials { margin: 0; gap: 12px; }
@media (max-width: 900px) { .live-coin-header { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 380px) {
 .card-top { grid-template-columns: 56px minmax(0,1fr) auto; gap: 8px; }
 .card-avatar, .card-avatar img { width: 56px; height: 56px; }
 .coin-title { gap: 10px; }
 .coin-title .coin-avatar { width: 56px; height: 56px; }
 .coin-title-line { gap: 6px 8px; }
}

/* Pinned coin spotlight, using the same live market data as the cards. */
.featured-spotlight { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); min-height: 338px; gap: 36px; }
.featured-copy { display: block; min-width: 0; color: inherit; text-decoration: none; }
.featured-identity { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.featured-avatar { display: grid; place-items: center; flex: none; width: 108px; height: 108px; border-radius: 50%; background: var(--night-deep); color: var(--gold); font: 500 38px/1 var(--serif); box-shadow: var(--ring), 0 0 0 7px rgba(226,198,138,.08), 0 18px 36px -14px rgba(0,0,0,.8); overflow: hidden; }
.featured-avatar img { width: 100%; height: 100%; object-fit: cover; }
.featured-heading { min-width: 0; }
.featured-heading h1 { max-width: none; margin: 0; font: 500 clamp(42px,4.7vw,66px)/1 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#featured-name { margin-top: 6px; color: var(--muted); font-size: 19px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.featured-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 13px; }
.featured-badges .chip { font-size: 16px; }
.featured-official { display: inline-flex; align-items: center; gap: 6px; color: #251b0c; padding: 2px 12px 2px 5px; border: 1px solid rgba(249,224,165,.65); border-radius: 999px; background: var(--gilt); font: 600 15px/1 var(--body); white-space: nowrap; box-shadow: 0 8px 22px -14px var(--gold); }
.featured-official img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.featured-fuel { margin-top: 40px; }
.featured-fuel img { width: 60px; }
.featured-summary { margin-top: 14px; }
.featured-summary .spot-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; margin: 0; font-size: 18px; line-height: 1.45; }
.featured-summary .spot-line b { font-size: 22px; }
#featured-target::before { content: '·'; margin: 0 8px 0 2px; }
#featured-progress { margin-top: 5px; font-size: 16px; color: var(--gold); }
.featured-spotlight .spot-art { min-height: 260px; }
.featured-spotlight .spot-cherub { left: 8%; bottom: -6%; width: 56%; max-width: 290px; }
.featured-spotlight .spot-temple { right: -1%; top: 4%; width: 43%; max-width: 230px; }
.featured-spotlight .sticker.zero { left: 0; top: -2%; width: 83px; height: 83px; font-size: 35px; }
.featured-spotlight .sticker.zero small { font-size: 7px; }
@media (max-width: 1040px) and (min-width: 721px) {
 .featured-spotlight { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 24px; }
 .featured-identity { gap: 18px; }
 .featured-avatar { width: 86px; height: 86px; }
 .featured-spotlight .spot-cherub { left: 0; bottom: 2%; width: 65%; }
 .featured-spotlight .spot-temple { top: 20%; width: 47%; }
 .featured-spotlight .sticker.zero { width: 68px; height: 68px; font-size: 29px; }
}
@media (max-width: 720px) {
 .featured-spotlight { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 0; padding: 26px 24px; }
 .featured-identity { gap: 18px; margin-top: 24px; }
 .featured-avatar { width: 82px; height: 82px; font-size: 30px; }
 .featured-heading h1 { font-size: 46px; }
 #featured-name { font-size: 17px; }
 .featured-badges { gap: 8px; margin-top: 10px; }
 .featured-official { font-size: 14px; }
 .featured-official img { width: 24px; height: 24px; }
 .featured-fuel { margin-top: 36px; }
 .featured-summary .spot-line { font-size: 17px; }
 #featured-target { flex-basis: 100%; }
 #featured-target::before { content: none; }
}
@media (max-width: 380px) {
 .featured-spotlight { padding: 24px 20px; }
 .featured-identity { gap: 15px; }
 .featured-avatar { width: 64px; height: 64px; }
 .featured-heading h1 { font-size: 38px; }
 .featured-official { font-size: 13px; padding-right: 9px; }
 .featured-official img { width: 22px; height: 22px; }
}
