/* LUTINE v3 — a cover desk you shop like a store.
   Construction measured from prismassets.shop (29 Sep 2026, 1440×900): dark marketplace rgb(7,7,7), panels one step
   lighter with a 1px line, ~10px radius, Instrument Sans, an Amazon two-row header, a 60px icon rail, category cards of
   pastel tiles. Brand is ours: navy + gold + signal red from the naval badge; starboard green means "came home". */

/* ------------------------------------------------------------------------------------------------ tokens */
:root {
  --bg: #070707;
  --bg-2: #0b0b0c;
  --panel: #0f0f10;
  --panel-2: #151517;
  --panel-3: #1c1c1f;
  --line: #28282b;
  --line-2: #37373b;
  --ink: #f3f3f1;
  --ink-2: #ececea;
  --muted: #a6a6a3;
  --faint: #76767a;

  --navy: #0d1f5c;
  --navy-2: #16307f;
  --navy-deep: #081236;
  --navy-ink: #0a1440;
  --gold: #f2c230;
  --gold-2: #ffd766;
  --gold-soft: rgba(242, 194, 48, .13);
  --red: #ff4f58;
  --red-flag: #e41b23;
  --red-soft: rgba(255, 79, 88, .12);
  --green: #3fd49b;
  --green-soft: rgba(63, 212, 155, .12);
  --amber: #f0a64a;

  /* pastel tiles (Prism's light logo tiles), picked per token from its address */
  --t1: #fdf6e3; --t2: #eaf1fb; --t3: #fbeceb; --t4: #eaf6ef; --t5: #f0ecfb; --t6: #f6f0e2;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 11.5px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 8px 24px -16px rgba(0, 0, 0, .55);
  --shadow-pop: 0 24px 60px -20px rgba(0, 0, 0, .8), 0 2px 8px rgba(0, 0, 0, .5);

  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --rail: 60px;
  --h1row: 64px;
  --h2row: 46px;
  --wrap: 1348px;
  color-scheme: dark;
}

/* ------------------------------------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 128px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy-ink); padding: 8px 14px; border-radius: var(--pill); font-weight: 700; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-xs { width: 13px; height: 13px; }
.gold { color: var(--gold); }
.red { color: var(--red); }
.green { color: var(--green); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.page { min-height: 60vh; }

/* ------------------------------------------------------------------------------------------------ header */
.hdr { position: sticky; top: 0; z-index: 60; }
.hdr-main {
  height: var(--h1row); background: #080808; display: flex; align-items: center; gap: 10px;
  padding: 0 18px 0 16px;
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px;
  border-radius: var(--r); border: 1px solid var(--line-2); color: var(--ink);
}
.icon-btn:hover { background: var(--panel-2); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; padding: 0 6px; flex: none; }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.browse-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r);
  border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; flex: none;
}
.browse-btn:hover, .browse-btn[aria-expanded="true"] { background: var(--panel-2); }
.search {
  flex: 1 1 auto; max-width: 620px; margin: 0 auto; height: 44px; display: flex; align-items: center; gap: 10px;
  padding: 0 8px 0 16px; border-radius: var(--pill); background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: box-shadow .15s, background .15s;
}
.search:focus-within { background: rgba(255, 255, 255, .11); box-shadow: inset 0 0 0 1px rgba(242, 194, 48, .55); }
.search .ic { color: var(--muted); }
.search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 14.7px; color: #fff; height: 100%;
}
.search input::placeholder { color: #8d8d8a; }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.search kbd {
  font: 600 11px var(--mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px;
  background: rgba(255, 255, 255, .05);
}
.search-go { display: none; }
.net {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); padding: 0 10px; white-space: nowrap; flex: none;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(63, 212, 155, .16); flex: none; display: inline-block; }
.dot.gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(242, 194, 48, .18); }
.dot.off { background: var(--faint); box-shadow: none; }
.contract-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: var(--pill);
  border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; flex: none;
}
.basket {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 8px; border-radius: var(--r); flex: none;
  font-weight: 700; font-size: 13.5px;
}
.basket:hover { background: var(--panel-2); }
.basket-ic { position: relative; display: inline-flex; }
.basket-ic .ic { width: 26px; height: 26px; }
.count {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%); min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: var(--pill); background: var(--gold); color: var(--navy-ink); font: 700 11.5px/19px var(--font); text-align: center;
}
.count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: translateX(-50%) scale(1.3); } }

.hdr-tabs {
  height: var(--h2row); background: #0b0b0c; display: flex; align-items: stretch; justify-content: space-around;
  padding-left: var(--rail); position: relative;
}
.hdr-tabs::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(242, 194, 48, 0) 0%, rgba(242, 194, 48, .55) 30%, rgba(242, 194, 48, .55) 70%, rgba(242, 194, 48, 0) 100%);
}
.hdr-tabs a {
  display: inline-flex; align-items: center; gap: 9px; padding: 0 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  position: relative; white-space: nowrap;
}
.hdr-tabs a .ic { color: var(--gold); width: 18px; height: 18px; }
.hdr-tabs a.live .ic { color: var(--red); }
.hdr-tabs a:hover { color: #fff; }
.hdr-tabs a[aria-current="page"] { color: var(--gold); }
.hdr-tabs a[aria-current="page"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px 2px 0 0;
}

/* announcement strip */
.strip {
  background: linear-gradient(90deg, rgba(13, 31, 92, .55), rgba(13, 31, 92, .8) 50%, rgba(13, 31, 92, .55));
  border-bottom: 1px solid rgba(242, 194, 48, .16);
  padding: 9px 16px 9px calc(var(--rail) + 16px); text-align: center; font-size: 13.5px; font-weight: 600; color: #fff;
}
.strip .dot { margin-right: 8px; vertical-align: 1px; }
.strip a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.strip .soft { color: #c9cfe3; font-weight: 400; }

/* browse panel (≡ and Browse) */
.browse {
  position: fixed; z-index: 70; top: calc(var(--h1row) - 2px); left: 16px; width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 90px); overflow: auto;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  padding: 18px; display: none;
}
.browse.open { display: block; }
.browse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 22px; }
.browse h2 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 8px; }
.browse a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; font-size: 14.5px; }
.browse a:hover { background: var(--panel-2); }
.browse a small { color: var(--faint); margin-left: auto; font-size: 12px; }
.browse a img { width: 26px; height: 26px; mix-blend-mode: lighten; }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(0, 0, 0, .55); display: none; }
.scrim.open { display: block; }

/* icon rail */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); z-index: 40; background: var(--panel);
  border-right: 1px solid var(--line); padding: calc(var(--h1row) + var(--h2row) + 8px) 0 16px; display: flex; flex-direction: column;
  align-items: center; gap: 4px; overflow-y: auto; scrollbar-width: none;
}
.rail a, .rail button {
  width: 42px; height: 40px; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center;
  color: #b9b9b6; position: relative; flex: none;
}
.rail a:hover, .rail button:hover { background: var(--panel-3); color: #fff; }
.rail a[aria-current="page"] { background: var(--gold-soft); color: var(--gold); }
.rail .sep { width: 100%; height: 1px; background: var(--line); margin: 10px 0; flex: none; }
.rail [data-tip]:hover::after, .rail [data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; left: 50px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--panel-3); border: 1px solid var(--line-2); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 5px 9px; border-radius: 7px; pointer-events: none; box-shadow: var(--shadow);
}
.rail .rail-count {
  position: absolute; top: 3px; right: 3px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--gold); color: var(--navy-ink);
  font: 700 9.5px/15px var(--font); text-align: center; padding: 0 3px;
}
.rail .rail-count:empty, .rail .rail-count[data-n="0"] { display: none; }

@media (min-width: 1024px) {
  .page, .strip, .ftr, .totop, .band { margin-left: var(--rail); }
  .strip { padding-left: 16px; }
}

/* ------------------------------------------------------------------------------------------------ shared blocks */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 22px;
  border-radius: var(--pill); font-weight: 700; font-size: 14.4px; white-space: nowrap; transition: background .15s, box-shadow .15s, color .15s;
}
.btn .ic { width: 17px; height: 17px; }
.btn-gold { background: var(--gold); color: var(--navy-ink); box-shadow: 0 6px 22px -8px rgba(242, 194, 48, .55); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); }
.btn-line:hover { background: var(--panel-2); }
.btn-navy { background: var(--navy); color: #fff; border: 1px solid rgba(242, 194, 48, .3); }
.btn-navy:hover { background: var(--navy-2); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--panel-3); color: var(--faint); box-shadow: none; border: 1px dashed var(--line-2); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.link { color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.chev {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); flex: none; background: var(--panel);
}
.chev:hover { background: var(--panel-3); color: #fff; }
.chev .ic { width: 15px; height: 15px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px; border-radius: var(--pill);
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; border: 1px solid transparent;
}
.tag-gold { background: var(--gold-soft); color: var(--gold); border-color: rgba(242, 194, 48, .25); }
.tag-red { background: var(--red-soft); color: var(--red); border-color: rgba(255, 79, 88, .25); }
.tag-green { background: var(--green-soft); color: var(--green); border-color: rgba(63, 212, 155, .25); }
.tag-grey { background: rgba(255, 255, 255, .05); color: var(--muted); border-color: var(--line-2); }
.tag-amber { background: rgba(240, 166, 74, .12); color: var(--amber); border-color: rgba(240, 166, 74, .28); }
.addr { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.src { font-size: 12.5px; color: var(--faint); }
.src a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.src strong { color: var(--muted); font-weight: 600; }

/* segmented tabs (Prism's Trade / Invest / Analyze pill group) */
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--pill); background: var(--bg-2); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button {
  height: 32px; padding: 0 14px; border-radius: var(--pill); font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: var(--panel-3); color: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.seg button .n { color: var(--faint); font-weight: 500; margin-left: 5px; font-variant-numeric: tabular-nums; }

/* token logo and pastel tile */
.logo {
  width: 44px; height: 44px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none;
  font: 700 15px/1 var(--font); letter-spacing: -.02em; color: #fff; position: relative;
}
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.logo.round { border-radius: 50%; }
.logo.sm { width: 34px; height: 34px; font-size: 12.5px; }
.logo.xs { width: 26px; height: 26px; font-size: 10.5px; border-radius: 6px; }
.logo.c0 { background: linear-gradient(150deg, #16307f, #0d1f5c); color: var(--gold); }
.logo.c1 { background: linear-gradient(150deg, #f5cf4d, #d9a514); color: var(--navy-ink); }
.logo.c2 { background: linear-gradient(150deg, #ef4b52, #b8161d); color: #fff; }
.logo.c3 { background: linear-gradient(150deg, #2a2a2e, #111113); color: #fff; }
.logo.c4 { background: linear-gradient(150deg, #2e7d6b, #1b5446); color: #eafff7; }
.logo.c5 { background: linear-gradient(150deg, #f3efe4, #d8d0bb); color: var(--navy-ink); }
.logo.dead { filter: grayscale(1) brightness(.75); }

/* ------------------------------------------------------------------------------------------------ hero */
.hero { position: relative; }
.hero-bg { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 240px); overflow: hidden; pointer-events: none; z-index: 0; }
.hero-bg svg { position: absolute; right: -8%; bottom: 0; width: 125%; height: 100%; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 78% 38%, rgba(22, 48, 127, .38), transparent 70%),
    radial-gradient(700px 300px at 18% 30%, rgba(242, 194, 48, .05), transparent 70%);
}
.hero-dots { position: relative; z-index: 1; display: flex; justify-content: center; gap: 6px; padding-top: 12px; height: 18px; }
.hero-dots i { width: 7px; height: 5px; border-radius: 3px; background: #2e2e32; transition: width .2s, background .2s; }
.hero-dots i.on { width: 22px; background: #5b5b60; }
.hero-in {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 40px; align-items: start;
  padding: 26px 40px 34px;
}
.hero-copy { padding-top: 14px; max-width: 540px; min-width: 0; }
.hero h1 { margin-top: 10px; font-size: 42px; line-height: 1.08; font-weight: 700; letter-spacing: -.03em; color: var(--ink-2); text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { margin-top: 18px; font-size: 15.5px; line-height: 1.62; color: #cfcfcc; max-width: 470px; }
.hero .lede strong { color: #fff; font-weight: 600; }
.hero-actions { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 8px; }

.deck { position: relative; min-width: 0; }
.deck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deck-nav {
  position: absolute; top: 50%; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; transform: translateY(-50%); z-index: 2; box-shadow: var(--shadow);
}
.deck-nav:hover { background: var(--panel-3); }
.deck-nav.prev { left: -22px; }
.deck-nav.next { right: -22px; }
.deck-foot { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--faint); }

/* listing card (hero deck + all listings) */
.lcard {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r-lg); background: var(--panel);
  border: 1px solid var(--line); box-shadow: 0 18px 44px -22px rgba(0, 0, 0, .7); min-height: 132px; text-align: left; width: 100%;
  transition: border-color .15s, transform .15s;
}
.lcard:hover { border-color: #45454a; }
.lcard-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lcard-id { min-width: 0; flex: 1; }
.lcard-sym { font: 700 13.4px/1.35 var(--mono); letter-spacing: -.01em; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard-name { font-size: 11.8px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge {
  width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.badge .ic { width: 17px; height: 17px; stroke-width: 1.8; }
.badge.ok { color: var(--green); }
.badge.bad { color: var(--red); }
.badge.wait { color: var(--amber); }
.lcard-mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.lcard-meta { font-size: 12px; color: var(--muted); line-height: 1.45; }
.lcard-meta b { color: var(--ink-2); font-weight: 600; }
.spark { width: 76px; height: 24px; flex: none; overflow: visible; }
.spark path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.spark.up path { stroke: var(--green); }
.spark.down path { stroke: var(--red); }
.spark.flat path { stroke: var(--faint); }
.lcard-bot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; }
.lcard-bot span { font-size: 11.2px; color: var(--muted); }
.lcard-bot strong { font-size: 16.3px; font-weight: 700; color: var(--gold); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lcard-bot strong.red { color: var(--red); }
.lcard-bot strong.muted { color: var(--muted); }
.lcard .add {
  position: absolute; right: 12px; bottom: 44px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 1px solid rgba(242, 194, 48, .45);
  color: var(--gold); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s, background .15s;
}
.lcard:hover .add, .lcard .add:focus-visible, .lcard .add.in { opacity: 1; }
.lcard .add.in { background: var(--gold); color: var(--navy-ink); }
.lcard .add .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.lcard .hit { position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.lcard > *:not(.hit) { position: relative; z-index: 1; pointer-events: none; }
.lcard > .add { pointer-events: auto; z-index: 2; position: absolute; }
.skel .lcard-sym, .skel .lcard-name, .skel .lcard-meta, .skel .lcard-bot span, .skel .lcard-bot strong {
  color: transparent !important; background: var(--panel-3); border-radius: 5px;
}
.skel .logo { background: var(--panel-3); }

/* ------------------------------------------------------------------------------------------------ category rows */
.rows { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rowcard { padding: 20px; display: flex; flex-direction: column; min-height: 342px; }
.rowcard-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.rowcard h2, .rowcard h3 { font-size: 17.9px; line-height: 1.37; font-weight: 700; color: var(--ink-2); letter-spacing: -.01em; }
.rowcard-sub { margin-top: 2px; font-size: 12.8px; line-height: 1.37; color: var(--muted); }
.tiles { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.tile-face {
  width: 100%; display: flex; align-items: center; justify-content: center; padding: 12px 0; border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(15, 17, 17, .06); transition: transform .15s, box-shadow .15s;
}
.tile-face:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(15, 17, 17, .12), 0 6px 16px -8px rgba(0, 0, 0, .8); }
.tile-face.p1 { background: var(--t1); } .tile-face.p2 { background: var(--t2); } .tile-face.p3 { background: var(--t3); }
.tile-face.p4 { background: var(--t4); } .tile-face.p5 { background: var(--t5); } .tile-face.p6 { background: var(--t6); }
.tile-face.gone { background: #3a3a3e; }
.tile-sym {
  margin-top: 7px; font: 700 13px/1.4 var(--mono); letter-spacing: -.01em; color: var(--ink-2); max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center;
}
.tile-num { font-size: 12px; line-height: 1.35; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile-num.gold { color: var(--gold); } .tile-num.red { color: var(--red); } .tile-num.green { color: var(--green); }
.tile .add {
  position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); border: 1px solid rgba(242, 194, 48, .5); color: var(--gold); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .8); transition: transform .15s, background .15s;
}
.tile .add .ic { width: 13px; height: 13px; stroke-width: 2.4; }
.tile .add:hover { transform: scale(1.1); }
.tile .add.in { background: var(--gold); color: var(--navy-ink); }
.rowcard-empty { margin-top: 16px; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 18px; }
.rowcard-foot { margin-top: auto; padding-top: 14px; font-size: 11.8px; color: var(--faint); }

.sec { padding-top: 16px; }
.sec-gap { padding-top: 36px; }
.sec-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-title h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink-2); }
.sec-title p { font-size: 13.5px; color: var(--muted); }

/* category icons row (3D icons) */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 12px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .15s, transform .15s; position: relative;
}
.cat:hover { border-color: #46464b; transform: translateY(-1px); }
.cat img { width: 88px; height: 88px; mix-blend-mode: lighten; margin-bottom: 4px; }
.cat strong { font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.cat strong .ic { width: 14px; height: 14px; color: var(--muted); }
.cat span { font-size: 12.3px; color: var(--muted); line-height: 1.35; }
.cat span b { color: var(--ink-2); font-weight: 600; }

/* promo banner */
.promo {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid rgba(242, 194, 48, .22); min-height: 272px;
  background: #0a1a4d url("../img/promo-banner.webp") right center / auto 100% no-repeat; display: flex; align-items: center;
}
.promo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 18, 54, .96) 0%, rgba(8, 18, 54, .86) 38%, rgba(8, 18, 54, 0) 62%);
}
.promo-in { position: relative; padding: 30px 36px; max-width: 640px; }
.promo h2 { margin-top: 12px; font-size: 27px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.promo p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: #d3d9ec; max-width: 540px; }
.promo p strong { color: #fff; }
.promo .hero-actions { margin-top: 18px; }
.promo-figs { display: flex; gap: 26px; margin-top: 16px; flex-wrap: wrap; }
.promo-figs div { display: flex; flex-direction: column; }
.promo-figs dt { font-size: 11.5px; color: #aeb7d6; letter-spacing: .04em; }
.promo-figs dd { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* all listings panel */
.board { padding: 20px; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.board-head h2 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.board-head h2 small { font-size: 13.5px; font-weight: 400; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.board-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 12px; }
.board-grid .lcard { background: var(--panel-2); border-color: #242427; box-shadow: none; }
.board-more { margin-top: 16px; display: flex; justify-content: center; }
.board-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.board-sub { margin-top: 22px; }
.board-sub h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--ink-2); }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line-2); border-radius: var(--r); margin-top: 18px; }

/* what $1,000 of cover costs */
.costs { overflow: hidden; }
.costs-head {
  background: linear-gradient(90deg, #0f1c3f, #122453); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(242, 194, 48, .15);
}
.costs-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.costs-head p { font-size: 13px; color: #b7c0dd; margin-top: 2px; }
.amounts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.amounts button, .amounts label {
  height: 34px; padding: 0 14px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .25);
  font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; color: #e6e9f4;
}
.amounts button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: rgba(242, 194, 48, .08); }
.amounts input { width: 86px; background: transparent; border: 0; outline: 0; color: #fff; font-size: 13.5px; }
.costs-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cost { display: flex; gap: 14px; padding: 18px 20px; border-top: 1px solid var(--line); position: relative; }
.cost:nth-child(-n+3) { border-top: 0; }
.cost + .cost:not(:nth-child(3n+1))::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.cost img { width: 36px; height: 36px; mix-blend-mode: lighten; flex: none; }
.cost strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; display: block; }
.cost strong b { font-variant-numeric: tabular-nums; }
.cost p { font-size: 12.8px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.costs-note { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }

/* trust cards */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust > div { padding: 22px; display: flex; gap: 14px; }
.trust img { width: 44px; height: 44px; mix-blend-mode: lighten; flex: none; }
.trust h3 { font-size: 16.5px; font-weight: 700; }
.trust p { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; }

/* back to top + band + footer */
.totop { display: block; margin-top: 56px; background: #1d2433; color: #e8ebf2; text-align: center; font-size: 14px; font-weight: 600; padding: 14px; }
.totop:hover { background: #242d40; }
.band { background: linear-gradient(180deg, #0c1a45, #0a1535); border-top: 1px solid rgba(242, 194, 48, .12); }
.band-in { max-width: 1060px; margin: 0 auto; padding: 52px 24px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.band h2 { margin-top: 8px; font-size: 27px; line-height: 1.22; font-weight: 700; letter-spacing: -.02em; }
.band p { margin-top: 12px; font-size: 14.5px; color: #b9c2df; line-height: 1.6; }
.band-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.band-chips a, .band-chips span {
  height: 38px; padding: 0 16px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .2); display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; background: rgba(0, 0, 0, .2);
}
.band-chips a:hover { border-color: var(--gold); color: var(--gold); }
.band-chips span { color: #8e98ba; border-style: dashed; }
.ftr { background: #0c0c0d; border-top: 1px solid var(--line); }
.ftr-in { max-width: 1060px; margin: 0 auto; padding: 48px 24px 28px; }
.ftr-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ftr h2 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.ftr li + li { margin-top: 9px; }
.ftr li a { font-size: 14px; color: #a2a29f; }
.ftr li a:hover { color: #fff; }
.official { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; }
.official h3 { font-size: 15px; font-weight: 700; }
.official dl { margin-top: 10px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 13.5px; }
.official dt { color: var(--faint); }
.official dd { color: var(--ink-2); }
.official .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ftr-base { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }

/* ------------------------------------------------------------------------------------------------ slip drawer */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(452px, 100vw); background: #0d0d0e; border-left: 1px solid var(--line-2);
  box-shadow: var(--shadow-pop); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .22s ease; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.cart > *, .slip-line, .slip-line-q > * { min-width: 0; }
.two > * { min-width: 0; }
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head img { width: 38px; height: 38px; mix-blend-mode: lighten; }
.drawer-head h2 { font-size: 18px; font-weight: 700; }
.drawer-head p { font-size: 12px; color: var(--muted); }
.drawer-head .icon-btn { margin-left: auto; width: 38px; height: 38px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 18px 18px; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: #0b0b0c; }
.slip-line { padding: 14px 0; border-bottom: 1px solid var(--line); }
.slip-line-top { display: flex; align-items: center; gap: 10px; }
.slip-line-id { flex: 1; min-width: 0; }
.slip-line-id strong { display: block; font: 700 13.5px/1.35 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slip-line-id span { display: block; font-size: 11.8px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm { width: 30px; height: 30px; border-radius: 8px; color: var(--faint); display: inline-flex; align-items: center; justify-content: center; }
.rm:hover { background: var(--panel-3); color: #fff; }
.slip-line-q { margin-top: 10px; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: end; }
.amt { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--muted); }
.amt-in {
  display: flex; align-items: center; height: 36px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line-2); padding: 0 10px; gap: 4px;
}
.amt-in:focus-within { border-color: var(--gold); }
.amt-in span { color: var(--muted); font-size: 14px; }
.amt-in input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.qv { text-align: right; }
.qv small { display: block; font-size: 11.5px; color: var(--muted); }
.qv b { font-size: 15.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.qv b.gold { color: var(--gold); }
.checks { margin-top: 10px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.chk {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 2px 4px; border-radius: 7px; border: 1px solid var(--line-2);
  background: var(--panel-2); font-size: 10.5px; line-height: 1.2; color: var(--muted); text-align: center; position: relative;
}
.chk b { font: 700 11.5px/1.2 var(--mono); color: var(--ink-2); }
.chk.pass { border-color: rgba(63, 212, 155, .35); background: var(--green-soft); }
.chk.pass b, .chk.pass span { color: var(--green); }
.chk.fail { border-color: rgba(255, 79, 88, .4); background: var(--red-soft); }
.chk.fail b, .chk.fail span { color: var(--red); }
.chk.wait { border-color: rgba(240, 166, 74, .4); background: rgba(240, 166, 74, .1); }
.chk.wait b, .chk.wait span { color: var(--amber); }
.chk.later { border-style: dashed; }
.chk-notes { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.chk-notes li { display: flex; gap: 6px; }
.chk-notes li b { font-family: var(--mono); font-weight: 600; color: var(--ink-2); flex: none; width: 28px; }
.chk-notes li.fail { color: #ffb3b6; }
.chk-notes li.fail b { color: var(--red); }
.legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin-top: 12px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; border: 1px solid var(--line-2); }
.legend .l-pass { background: var(--green); border-color: var(--green); }
.legend .l-fail { background: var(--red); border-color: var(--red); }
.legend .l-wait { background: var(--amber); border-color: var(--amber); }
.legend .l-later { border-style: dashed; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; font-size: 13.5px; }
.totals dt { color: var(--muted); }
.totals dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.totals .big dt, .totals .big dd { font-size: 16px; color: #fff; font-weight: 700; }
.totals .big dd { color: var(--gold); }
.drawer-foot .btn { width: 100%; margin-top: 12px; }
.fine { margin-top: 10px; font-size: 11.8px; color: var(--faint); line-height: 1.5; }
.fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.slip-empty { text-align: center; padding: 40px 12px; }
.slip-empty img { width: 110px; height: 110px; margin: 0 auto 8px; mix-blend-mode: lighten; }
.slip-empty h3 { font-size: 18px; }
.slip-empty p { margin: 8px auto 18px; font-size: 13.5px; color: var(--muted); max-width: 320px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90; background: var(--panel-3); border: 1px solid var(--line-2);
  border-radius: var(--pill); padding: 9px 16px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; display: flex; gap: 8px; align-items: center; white-space: nowrap; max-width: calc(100vw - 24px);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { color: var(--gold); }

/* listing dialog */
dialog.listing {
  width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line-2); border-radius: 14px;
  background: #0e0e0f; color: var(--ink); box-shadow: var(--shadow-pop); overflow: auto;
}
dialog.listing::backdrop { background: rgba(0, 0, 0, .66); }
.dl-head { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #0e0e0f; z-index: 1; }
.dl-head .tile-face { width: 64px; flex: none; padding: 10px 0; }
.dl-head h2 { font: 700 19px/1.3 var(--mono); }
.dl-head p { font-size: 13px; color: var(--muted); }
.dl-head .icon-btn { margin-left: auto; width: 38px; height: 38px; }
.dl-body { padding: 18px 20px 20px; display: grid; gap: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--panel); padding: 10px 12px; }
.facts dt { font-size: 11.5px; color: var(--muted); }
.facts dd { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; word-break: break-word; }
.facts dd small { display: block; font-size: 11px; color: var(--faint); font-weight: 400; }
.quotebox { border: 1px solid rgba(242, 194, 48, .25); background: linear-gradient(180deg, rgba(13, 31, 92, .35), rgba(13, 31, 92, .12)); border-radius: var(--r); padding: 14px; }
.quotebox-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.quotebox .amt { flex: 1; min-width: 150px; }
.quotebox .qv b { font-size: 22px; }
.dl-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dl-note { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ------------------------------------------------------------------------------------------------ inner pages */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs .ic { width: 14px; height: 14px; }
.page-head { padding: 14px 0 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
.page-head h1 em { font-style: normal; color: var(--gold); }
.page-head p { margin-top: 10px; font-size: 15px; color: #c9c9c6; max-width: 720px; line-height: 1.6; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 16px 18px; }
.kpi dt { font-size: 12.5px; color: var(--muted); }
.kpi dd { margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi dd small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.kpi.red dd { color: var(--red); } .kpi.green dd { color: var(--green); } .kpi.gold dd { color: var(--gold); }

.feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0; overflow: hidden; }
.feature-chart { padding: 20px; border-right: 1px solid var(--line); }
.feature-side { padding: 20px; background: var(--panel-2); }
.feature h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.feature .sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.chart { width: 100%; height: auto; margin-top: 12px; }
.chart .grid { stroke: #232326; stroke-width: 1; }
.chart .ax { fill: #86868a; font: 500 13.5px var(--font); }
.chart .area { fill: url(#homefill); }
.chart .line { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; }
.chart .mk line { stroke: #4a4a50; stroke-dasharray: 3 4; }
.chart .mk text { fill: #e2e2df; font: 600 14.5px var(--font); }
.chart .mk .s { fill: #86868a; font-weight: 500; }
.chart .mk.pull line { stroke: var(--red); }
.chart .mk.pull text { fill: var(--red); }
.chart .mk.bind line { stroke: var(--gold); }
.chart .pulldot { fill: var(--red); }
.replay-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.timeline li { position: relative; padding: 0 0 14px 20px; font-size: 13.5px; line-height: 1.5; color: #cfcfcc; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.bind::before { background: var(--gold); }
.timeline li.pull::before { background: var(--red); }
.timeline b { font-family: var(--mono); font-weight: 600; color: #fff; margin-right: 6px; font-size: 12.5px; }

.tbl-wrap { overflow-x: auto; border-radius: var(--r-lg); }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--panel); position: sticky; top: 0; }
table.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:hover td { background: rgba(255, 255, 255, .02); }
table.t td small { display: block; font-size: 11.8px; color: var(--faint); margin-top: 2px; line-height: 1.4; }
table.t .tok { display: flex; gap: 10px; align-items: flex-start; min-width: 230px; }
table.t .tok strong { font-family: var(--mono); font-weight: 700; font-size: 13px; }
table.t .tok p { font-size: 12px; color: var(--muted); max-width: 360px; line-height: 1.45; margin-top: 2px; }
table.t .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.t tr.hl td { background: rgba(242, 194, 48, .05); }
table.t tr.under td { opacity: .85; }
table.t tr.under-head td { background: var(--panel-2); font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tbl-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.find { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: var(--pill); background: var(--panel-2); border: 1px solid var(--line-2); min-width: 240px; }
.find input { background: transparent; border: 0; outline: 0; font-size: 13.5px; width: 100%; }
.find .ic { color: var(--muted); width: 16px; height: 16px; }

.two { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.subnav { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 2px; padding: 10px; }
.subnav a { padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.subnav a:hover { color: #fff; background: var(--panel-2); }
.subnav a[aria-current="true"] { color: var(--gold); background: var(--gold-soft); }
.subnav a img { width: 22px; height: 22px; mix-blend-mode: lighten; }
.doc > section { padding: 24px; margin-bottom: 16px; }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 12px; }
.doc h2 img { width: 44px; height: 44px; mix-blend-mode: lighten; }
.doc h2 .stepn { font: 600 12.5px var(--mono); color: var(--gold); border: 1px solid rgba(242, 194, 48, .35); border-radius: var(--pill); padding: 2px 9px; }
.doc h3 { font-size: 16px; font-weight: 700; margin-top: 18px; }
.doc p, .doc li { font-size: 14.5px; line-height: 1.65; color: #cfcfcc; }
.doc p + p { margin-top: 10px; }
.doc .lead { margin-top: 10px; color: #dcdcd9; }
.doc ul.ticks { margin-top: 12px; display: grid; gap: 6px; }
.doc ul.ticks li { padding-left: 22px; position: relative; }
.doc ul.ticks li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.doc a:not(.btn):not(.link) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.schema { margin-top: 14px; }
.schema table.t td:first-child { font-family: var(--mono); color: var(--gold); white-space: nowrap; }
.schema table.t td:nth-child(2) { font-family: var(--mono); color: var(--muted); white-space: nowrap; }
.schema table.t td:nth-child(3) { font-family: var(--mono); white-space: nowrap; }
pre.json {
  margin-top: 14px; padding: 16px; border-radius: var(--r); background: #050506; border: 1px solid var(--line); overflow-x: auto;
  font: 500 12.5px/1.65 var(--mono); color: #d8d8d5;
}
pre.json .k { color: var(--gold); } pre.json .s { color: #9fd8c1; } pre.json .n { color: #9fb4ff; } pre.json .c { color: var(--faint); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.steps a { padding: 14px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.steps a:hover { border-color: #46464b; }
.steps img { width: 54px; height: 54px; mix-blend-mode: lighten; }
.steps b { font-size: 15px; }
.steps span { font-size: 12.8px; color: var(--muted); line-height: 1.45; }
.checktable td:first-child { font-family: var(--mono); font-weight: 700; color: var(--gold); white-space: nowrap; }
.split3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.split3 > div { padding: 16px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line); }
.split3 h3 { margin-top: 0; font-size: 15px; }
.split3 p { font-size: 13.5px; margin-top: 6px; }
.callout { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); border: 1px solid rgba(255, 79, 88, .3); background: var(--red-soft); font-size: 14px; line-height: 1.6; color: #f3d3d4; }
.callout.gold { border-color: rgba(242, 194, 48, .3); background: var(--gold-soft); color: #f1e6c4; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 14px; }
.legal { max-width: 820px; padding: 28px; margin-bottom: 16px; }
.legal h2 { font-size: 18px; margin-top: 22px; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 14.5px; line-height: 1.7; color: #cfcfcc; margin-top: 8px; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* slip page (basket page) */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.cart-list { padding: 4px 20px 8px; }
.cart-side { padding: 18px; position: sticky; top: 130px; }
.cart-side h2 { font-size: 16px; margin-bottom: 12px; }
.cart-side .btn { width: 100%; margin-top: 12px; }

/* mobile bottom bar */
.tabbar { display: none; }

/* ------------------------------------------------------------------------------------------------ responsive */
@media (max-width: 1279px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) 500px; padding: 22px 28px 30px; }
  .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contract-pill { display: none; }
}
@media (max-width: 1023px) {
  .rail { display: none; }
  .hdr-tabs { padding-left: 0; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 4px; padding: 0 8px; }
  .hdr-tabs::-webkit-scrollbar { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-copy { max-width: 640px; }
  .deck-nav.prev { left: -10px; } .deck-nav.next { right: -10px; }
  .costs-grid { grid-template-columns: 1fr 1fr; }
  .cost:nth-child(3) { border-top: 1px solid var(--line); }
  .cost + .cost:not(:nth-child(3n+1))::before { display: none; }
  .cost:nth-child(2n)::before { content: ""; display: block !important; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
  .trust { grid-template-columns: 1fr; }
  .band-in { grid-template-columns: 1fr; }
  .band-chips { justify-content: flex-start; }
  .ftr-cols { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature-chart { border-right: 0; border-bottom: 1px solid var(--line); }
  .two { grid-template-columns: 1fr; }
  .subnav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .subnav a { white-space: nowrap; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .cart { grid-template-columns: 1fr; }
  .cart-side { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .net { display: none; }
}
@media (max-width: 767px) {
  :root { --h1row: auto; }
  html { scroll-padding-top: 170px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .hdr-main { flex-wrap: wrap; height: auto; padding: 10px 12px; gap: 8px; }
  .browse-btn { display: none; }
  .brand { font-size: 18px; padding: 0 2px; }
  .basket { margin-left: auto; }
  .basket-label { display: none; }
  .search {
    order: 5; flex: 1 1 100%; max-width: none; height: 44px; border-radius: 9px; background: #fff; box-shadow: none; padding: 0 0 0 12px; overflow: hidden;
  }
  .search:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--gold); }
  .search input { color: #111; font-size: 15px; }
  .search input::placeholder { color: #707070; }
  .search .ic { color: #666; }
  .search kbd { display: none; }
  .search-go { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 100%; background: var(--gold); color: var(--navy-ink); }
  .search-go .ic { color: var(--navy-ink); }
  .hdr-tabs { height: 42px; }
  .hdr-tabs a { font-size: 13.5px; padding: 0 9px; }
  .browse { top: 60px; left: 12px; width: calc(100vw - 24px); }
  .browse-grid { grid-template-columns: 1fr 1fr; }
  .strip { font-size: 12.5px; padding: 8px 12px; }
  .strip .soft { display: none; }
  .wrap { padding: 0 12px; }
  .hero-in { padding: 14px 4px 22px; }
  .hero-dots { display: none; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 15px; }
  .deck-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .deck-nav { display: none; }
  .lcard { padding: 12px; min-height: 124px; }
  .lcard .spark { display: none; }
  .lcard .add { opacity: 1; bottom: auto; top: 10px; right: 10px; }
  .lcard .badge { display: none; }
  .rows { grid-template-columns: 1fr; gap: 12px; }
  .rowcard { min-height: 0; padding: 16px; }
  .tiles { gap: 12px 8px; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat { padding: 12px 6px; }
  .cat img { width: 60px; height: 60px; }
  .cat strong { font-size: 13px; }
  .cat span { font-size: 11.5px; }
  .promo { min-height: 0; flex-direction: column; align-items: stretch; background-size: auto 210px; background-position: right top; padding-top: 170px; }
  .promo::before { background: linear-gradient(180deg, rgba(8, 18, 54, 0) 0%, rgba(8, 18, 54, .75) 120px, rgba(8, 18, 54, .98) 175px); }
  .promo-in { padding: 0 18px 22px; }
  .promo h2 { font-size: 23px; }
  .board { padding: 14px; }
  .board-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .costs-grid { grid-template-columns: 1fr; }
  .cost:nth-child(n) { border-top: 1px solid var(--line); }
  .cost:first-child { border-top: 0; }
  .cost:nth-child(2n)::before { display: none !important; }
  .ftr-cols { grid-template-columns: 1fr 1fr; gap: 22px; }
  .official { grid-template-columns: 1fr; }
  .official .actions { justify-content: flex-start; }
  .band-in { padding: 36px 18px; }
  .band h2 { font-size: 23px; }
  .page-head h1 { font-size: 28px; }
  .kpi dd { font-size: 22px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split3 { grid-template-columns: 1fr; }
  .doc > section { padding: 18px; }
  .legal { padding: 20px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: rgba(10, 10, 11, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a, .tabbar button { height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; }
  .tabbar .ic { width: 21px; height: 21px; }
  .tabbar [aria-current="page"] { color: var(--gold); }
  .tabbar .count { top: 5px; left: calc(50% + 12px); }
  .toast { bottom: 76px; }
  table.t .tok { min-width: 200px; }
}
@media (max-width: 400px) {
  .board-grid { grid-template-columns: 1fr; }
  .deck-grid { grid-template-columns: 1fr; }
  .deck-grid .lcard:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.solana-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.net select{font:inherit;max-width:150px;border:1px solid var(--line);border-radius:6px;padding:5px;background:var(--paper);color:var(--ink)}@media(max-width:600px){.solana-grid{grid-template-columns:1fr}.net{display:flex!important;gap:5px;align-items:center;font-size:11px}.net select{max-width:115px;font-size:11px}.deck-grid{grid-template-columns:1fr 1fr}}

[hidden]{display:none!important}.tiles .lcard{min-width:0;max-width:100%}.tiles{overflow-x:auto}.lcard-sym .link{max-width:100%;overflow:hidden;text-overflow:ellipsis}.lcard-id{min-width:0}
.lcard button{pointer-events:auto}.rows{grid-template-columns:repeat(2,minmax(0,1fr))}.tiles[data-group]{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.rows,.tiles[data-group]{grid-template-columns:1fr}}
.solana-grid{min-width:0;width:100%}.solana-grid .lcard{min-width:0}.lcard-bot{flex-wrap:wrap}.page>.wrap{padding-left:16px!important;padding-right:16px!important}@media(max-width:600px){.solana-grid{grid-template-columns:minmax(0,1fr)}}
.deck-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.deck-grid .lcard{min-width:0}@media(max-width:400px){.deck-grid{grid-template-columns:minmax(0,1fr)}}
