/* SHAO 芍 — same layout as the original, rebranded pink + red.
   Everything that carries the brand lives in the variables below; neutrals
   (page greys, white cards, black text) and the market colours (red = up,
   green = down) are the original's and stay as they were. */

:root {
  /* brand */
  --pink: #ff3d8b;        /* rosa intenso */
  --pink-soft: #ffc2d9;
  --pink-pale: #fff0f5;
  --red: #e0173f;         /* rojo */
  --red-deep: #9e0f2f;
  --green: #1fbf75;
  --orange-soft: #ff86b1;
  --wine: #4a0a1c;
  --brand-grad: linear-gradient(135deg, var(--pink) 0%, var(--red) 100%);
  --brand-tri: linear-gradient(90deg, #ff86b1 0%, #ff3d8b 50%, #e0173f 100%);

  /* neutrals (unchanged) */
  --bg: #232323;
  --bg-2: #1c1c1c;
  --bg-3: #2b2b2b;
  --line: rgba(255,255,255,.09);
  --text: #f2f2f2;
  --muted: #a3a3a3;
  --dim: #6f6f6f;
  --card: #ffffff;
  --ink: #1d1d1d;
  --ink-2: #555;
  --ink-3: #8a8a8a;
  --card-line: #ececec;
  --field: #f3f3f3;

  /* market colours (unchanged: red = up, green = down) */
  --up: #e5484d;
  --down: #2fa36b;
  --up-fill: rgba(229,72,77,.13);
  --down-fill: rgba(47,163,107,.13);

  --sans: "Source Sans 3", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1140px;
  --wrap-head: 1340px;
  --r: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.mono { font-family: var(--mono); }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.up { color: var(--up); }
.down { color: var(--down); }

/* ---------- banner + header ---------- */
.banner {
  background: #111; color: #e8e8e8; text-align: center;
  font-size: 13px; padding: 8px 12px; letter-spacing: .02em;
}
.banner b { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pink); }

.head { background: var(--bg-2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.head-in {
  width: min(var(--wrap-head), calc(100% - 32px)); margin: 0 auto;
  height: 56px; display: flex; align-items: center; gap: 28px;
}
.logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.logo-mark {
  font-family: var(--mono); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 1px;
}
.logo-mark i { font-style: normal; color: var(--pink); }
.logo-mark .br { color: currentColor; opacity: .9; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 6px 11px; border-radius: 4px; color: #bdbdbd; font-size: 14px; }
.nav a:hover { color: #fff; }
.nav a.on { color: var(--pink); font-weight: 600; }
.nav a.on::before, .nav a.on::after { position: absolute; top: 50%; transform: translateY(-54%); color: #fff; opacity: .9; font-weight: 400; }
.nav a.on::before { content: "["; left: 0; }
.nav a.on::after { content: "]"; right: 0; }
.head-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search {
  display: flex; align-items: center; gap: 8px; width: 222px; height: 32px;
  border: 1px solid #3a3a3a; border-radius: 4px; padding: 0 8px; color: var(--muted); font-size: 13px;
  background: #222;
}
.search input { background: none; border: 0; outline: 0; flex: 1; min-width: 0; color: #ddd; font-size: 13px; }
.search input::placeholder { color: #8a8a8a; }
.search:focus-within { border-color: var(--pink); }
.kbd { font-family: var(--mono); font-size: 10px; border: 1px solid #444; border-radius: 3px; padding: 1px 4px; color: #777; }
.hbtn {
  height: 32px; padding: 0 11px; border: 1px solid #3a3a3a; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #eee; font-weight: 600;
  background: #222;
}
.hbtn:hover { border-color: var(--pink); }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid #3a3a3a; border-radius: 4px; height: 32px; }
.lang button { font-size: 11px; padding: 3px 7px; border-radius: 3px; color: #aaa; font-weight: 600; }
.lang button.on { background: var(--pink); color: #fff; }
.hbtn.wallet { background: #fff; color: #111; border-color: #fff; font-weight: 500; }
.hbtn.wallet:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ---------- shared bits ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px;
  border-radius: 3px; font-size: 13px; font-weight: 500; white-space: nowrap;
}
.btn-light { background: #fff; color: #111; }
.btn-light:hover { background: var(--pink-pale); }
.btn-ghost { background: rgba(70,0,22,.28); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-dark { background: var(--red); color: #fff; }
.btn-dark:hover { background: var(--pink); }
.btn-out { border: 1px solid #ddd; color: var(--ink); background: #fff; }
.btn-out:hover { border-color: var(--pink); color: var(--red); }
.arr { font-size: 11px; }

.badge {
  font-size: 11px; padding: 2px 8px; border-radius: 3px; background: #f1f1f1; color: #777; white-space: nowrap;
}
.badge.inv { background: var(--pink-pale); color: var(--red); border: 1px solid var(--pink-soft); }
.pix { image-rendering: pixelated; display: block; }

.logos { display: flex; align-items: center; gap: 6px; }
.lg {
  width: 24px; height: 24px; border-radius: 5px; display: grid; place-items: center;
  --lgf: 8px; font-size: calc(var(--lgf) * var(--k, 1)); font-weight: 700; color: #fff; letter-spacing: -.03em; overflow: hidden; flex: none; white-space: nowrap;
  line-height: 1;
}
.lg.more { background: #f2f2f2; color: #888; --lgf: 10px; font-weight: 500; }

.spark { display: block; width: 100%; }

/* ---------- HOME: hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 230px 0 0;
  background:
    radial-gradient(38% 50% at 14% 32%, rgba(122,10,40,.5) 0%, transparent 70%),
    radial-gradient(55% 60% at 22% 75%, #ff7aa8 0%, transparent 70%),
    radial-gradient(45% 55% at 60% 15%, #ff9ec4 0%, transparent 70%),
    radial-gradient(50% 65% at 92% 40%, #ff2a5c 0%, transparent 70%),
    radial-gradient(60% 50% at 70% 100%, #c5133b 0%, transparent 75%),
    linear-gradient(120deg, #d8325f 0%, #ff5d95 45%, #ff8db5 62%, #e3214b 100%);
}
.noise::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid-v { position: absolute; top: 0; bottom: 0; left: max(16px, calc(50% - var(--wrap)/2 - 190px)); width: 1px; background: rgba(255,255,255,.3); z-index: 1; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 368px; gap: 40px; align-items: start; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #fff;
  background: rgba(40,0,12,.32); border: 1px solid rgba(255,255,255,.32); border-radius: 99px; padding: 4px 12px;
}
.pill:hover { background: rgba(40,0,12,.5); }
.hero h1 { font-weight: 300; font-size: 72px; line-height: 1.1; margin: 22px 0 30px; color: #fff; letter-spacing: -.01em; }
.hero p.sub { color: rgba(255,255,255,.94); max-width: 470px; font-size: 14.5px; margin: 0 0 26px; line-height: 1.6; }
.hero .ctas { display: flex; gap: 10px; }
.hero-cards { display: flex; flex-direction: column; gap: 16px; margin-top: -60px; }
.hcard { background: #fff; color: var(--ink); border-radius: var(--r); padding: 16px 18px 14px; box-shadow: 0 16px 40px rgba(90,0,30,.2); display: block; }
.hcard:hover { box-shadow: 0 16px 40px rgba(90,0,30,.35), 0 0 0 1px var(--pink-soft); }
.hcard .t { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.hcard .v { font-size: 28px; font-weight: 300; margin-top: 12px; display: flex; justify-content: space-between; align-items: flex-end; }
.hcard .v small { font-size: 12px; }
.hcard .ch { height: 44px; margin-top: 4px; }
.hcard .logos { margin-top: 8px; gap: 5px; }
.hcard .lg { width: 20px; height: 20px; border-radius: 4px; --lgf: 6.5px; }
.bf { position: absolute; z-index: 3; pointer-events: none; }
.tick-row {
  position: relative; z-index: 2; margin-top: 90px; border-top: 1px solid rgba(255,255,255,.3);
  padding: 18px 0 22px; display: flex; gap: 34px; font-size: 12.5px; color: rgba(255,255,255,.92); white-space: nowrap; overflow: hidden;
}
.tick-row .wrap { display: flex; gap: 34px; }
.tick-row b { font-weight: 600; margin: 0 6px 0 4px; }
.tick-row .up { color: #fff; font-weight: 600; }
.tick-row .down { color: #c4ffe0; }

/* ---------- HOME: moving company strip ---------- */
.strip { background: var(--bg); padding: 70px 0 70px; overflow: hidden; }
.strip .lbl { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .08em; margin-bottom: 26px; }
.marq { display: flex; width: max-content; gap: 44px; animation: marq 80s linear infinite; padding: 10px 0; }
.marq.rev { animation-direction: reverse; animation-duration: 95s; }
.strip:hover .marq { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.chip { display: flex; align-items: center; gap: 10px; font-size: 13px; white-space: nowrap; }
.chip .lg { width: 30px; height: 30px; --lgf: 9px; }
.chip .n { color: #eee; font-weight: 500; }
.chip .c { color: var(--dim); font-size: 11px; display: block; }
.chip .p { font-size: 12px; margin-left: 6px; }

/* ---------- HOME: one place ---------- */
.band { position: relative; overflow: hidden; }
.band-1 {
  padding: 116px 0;
  background:
    radial-gradient(40% 70% at 10% 30%, #ff5a90 0%, transparent 70%),
    radial-gradient(45% 70% at 88% 70%, #ff8fb8 0%, transparent 70%),
    radial-gradient(40% 60% at 50% 0%, #c9143c 0%, transparent 70%),
    radial-gradient(50% 60% at 30% 100%, #ffd0e0 0%, transparent 70%),
    linear-gradient(100deg, #e83a68, #ff77a6 50%, #f4416c);
}
.place-card {
  position: relative; z-index: 2; background: #fff; color: var(--ink); width: min(792px, 100%); margin: 0 auto;
  padding: 50px 46px 44px; box-shadow: 0 30px 80px rgba(90,0,30,.22); min-height: 488px;
}
.place-card h2 { font-weight: 300; font-size: 54px; line-height: 1.1; margin: 0 0 44px; max-width: 520px; letter-spacing: -.01em; }
.stats { display: flex; gap: 52px; margin-bottom: 34px; }
.stats b { display: block; font-weight: 300; font-size: 28px; line-height: 1.1; }
.stats span { font-size: 10px; color: var(--ink-3); display: block; margin-top: 4px; }
.place-card p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 12px; line-height: 1.7; max-width: 440px; }
.place-card .bf { z-index: 3; }

/* ---------- HOME: sections ---------- */
.sec { padding: 120px 0 80px; }
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; }
.sec-h h2 { font-weight: 300; font-size: 54px; margin: 0; letter-spacing: -.015em; line-height: 1.1; }
.sec-h p { margin: 0; max-width: 410px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.sec-h .r { display: flex; align-items: flex-end; gap: 14px; }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { background: #fff; color: var(--ink); border-radius: var(--r); padding: 16px 16px 14px; display: flex; flex-direction: column; min-height: 410px; }
.tcard h3 { font-size: 15px; font-weight: 500; margin: 0 0 6px; }
.tcard > p { font-size: 12px; color: var(--ink-2); margin: 0 0 18px; min-height: 38px; line-height: 1.55; }
.term {
  background: #161616; color: #ddd; border-radius: 3px; font-family: var(--mono); font-size: 11.5px;
  padding: 14px 16px; margin: 0 14px; line-height: 1.8; flex: 1; position: relative;
  border-top: 3px solid var(--pink);
}
.term .th { display: flex; justify-content: space-between; color: #aaa; margin-bottom: 8px; }
.term .tag { background: var(--red); color: #fff; padding: 0 6px; border-radius: 2px; font-size: 10px; }
.term .k { color: var(--pink); }
.term .r { color: #ff8aa8; }
.term .g { color: #7fd1a4; }
.term .dim { color: #777; }
.term .note { color: #fff; font-family: var(--sans); font-size: 12px; margin-top: 12px; line-height: 1.45; }
.term .note small { display: block; color: #9a9a9a; font-size: 11px; }
.tfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 11px; color: var(--ink-3); }
.tfoot .logo { font-size: 14px; color: var(--ink); }
.tfoot .logo-mark { font-size: 12px; }

/* ---------- HOME: four markets ---------- */
.band-2 {
  padding: 150px 0 150px;
  background:
    radial-gradient(35% 55% at 20% 70%, #ff9cc0 0%, transparent 70%),
    radial-gradient(40% 60% at 55% 45%, #ff3f72 0%, transparent 70%),
    radial-gradient(35% 60% at 85% 75%, #b8113a 0%, transparent 70%),
    radial-gradient(40% 50% at 70% 0%, #ffc4d8 0%, transparent 70%),
    linear-gradient(120deg, #d9284f, #ff6b9a 55%, #c3163e);
}
.band-2 .wrap { position: relative; }
.band-2 h2 { position: relative; z-index: 2; font-weight: 300; font-size: 54px; color: #fff; margin: 0 0 100px max(-168px, calc(-1 * (100vw - var(--wrap)) / 2 + 30px)); letter-spacing: -.01em; }
.mkts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 380px); gap: 70px 0; justify-content: center; }
.mkt { display: flex; gap: 16px; align-items: center; color: #fff; }
.mkt .ic { width: 74px; height: 74px; background: #fff; border-radius: 2px; display: grid; place-items: center; flex: none; }
.mkt .nm { font-size: 32px; font-weight: 300; line-height: 1.1; }
.mkt .nm small { font-size: 11px; font-weight: 600; margin-left: 8px; opacity: .9; }
.mkt .ds { font-size: 11px; opacity: .92; margin-top: 4px; }
.mkt .ds b { display: block; font-weight: 600; }

/* ---------- index cards (home + explorer) ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.icard {
  background: #fff; color: var(--ink); border-radius: var(--r); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease; overflow: hidden; border: 1px solid transparent;
}
.icard:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.35); border-color: var(--pink-soft); }
.icard .top { padding: 18px 20px 0; display: flex; justify-content: space-between; gap: 10px; }
.icard h3 { font-weight: 400; font-size: 19px; margin: 0; line-height: 1.2; }
.icard .tk { font-family: var(--mono); font-size: 11px; color: var(--ink-2); margin-top: 6px; letter-spacing: .02em; }
.icard .pct { font-weight: 300; font-size: 23px; text-align: right; white-space: nowrap; line-height: 1.1; }
.icard .per { font-size: 10px; color: var(--ink-3); text-align: right; white-space: nowrap; margin-top: 4px; }
.icard .desc { padding: 10px 20px 0; font-size: 12.5px; color: var(--ink-2); min-height: 44px; line-height: 1.55; }
.icard .ch { margin-top: 8px; height: 56px; }
.icard .row { padding: 10px 20px 12px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--card-line); margin: 0 0; }
.icard .ft { padding: 12px 20px 14px; display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); gap: 10px; }
.icard .ft .cnt { margin-left: 12px; }
.icard .ft .v { color: var(--ink); font-weight: 500; white-space: nowrap; }
.icard:hover .ft .v { color: var(--red); }

.allbtn { display: inline-flex; align-items: center; gap: 5px; background: #fff; color: #111; font-size: 12px; padding: 6px 12px; border-radius: 3px; white-space: nowrap; }
.allbtn:hover { background: var(--pink); color: #fff; }

/* ---------- HOME: calls ---------- */
.calls { background: #fff; color: var(--ink); display: grid; grid-template-columns: 512px 1fr; border-radius: var(--r); overflow: hidden; min-height: 396px; }
.calls .l { padding: 36px 32px 30px; display: flex; flex-direction: column; }
.calls h2 { font-weight: 300; font-size: 34px; line-height: 1.2; margin: 0; }
.calls .l p { font-size: 12.5px; color: var(--ink-2); margin: auto 0 16px; line-height: 1.65; max-width: 420px; }
.calls .l .b { display: flex; gap: 8px; }
.calls .r { position: relative; overflow: hidden; min-height: 300px; }
.calls .r #callsPix { position: absolute; inset: 0; width: 100%; height: 100%; }
.board {
  position: absolute; left: 60px; right: 0; top: 64px; background: #fff; border-radius: 2px 0 0 2px;
  box-shadow: 0 16px 40px rgba(80,0,25,.25); font-size: 12px; overflow: hidden; padding-bottom: 20px;
}
.board .bh { background: #1d1d1d; color: #fff; display: flex; justify-content: space-between; padding: 9px 14px; font-family: var(--mono); font-size: 11px; }
.board .bh em { font-style: normal; color: var(--pink); margin: 0 5px; }
.board .br2 { padding: 18px 16px 10px; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; }
.board .who { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.board .what { display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.board .lbl2 { font-size: 10px; padding: 1px 7px; border-radius: 2px; }
.board .long { background: var(--pink-pale); color: var(--red); border: 1px solid var(--pink-soft); }
.board .idx { background: #1d1d1d; color: #fff; font-weight: 600; }
.board .ty { background: #f1f1f1; color: #555; }
.board .tgt { font-size: 10.5px; color: var(--ink-2); margin-top: 6px; font-family: var(--mono); }
.board .res { text-align: right; font-size: 20px; font-weight: 300; padding-right: 10px; }
.board .res small { display: block; font-size: 10px; color: var(--ink-3); }
.board .cm { padding: 0 16px 0 62px; font-size: 13px; color: var(--ink); }

/* ---------- HOME: closing CTA ---------- */
.cta { background: #fff; color: var(--ink); border-radius: var(--r); position: relative; overflow: hidden; text-align: center; padding: 100px 20px 96px; }
.cta .k { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .08em; }
.cta h2 { font-weight: 300; font-size: 52px; line-height: 1.15; margin: 14px 0 26px; letter-spacing: -.01em; }
.cta .bf { position: absolute; pointer-events: none; z-index: 1; }
.cta > *:not(.bf) { position: relative; z-index: 2; }

/* ---------- inner pages ---------- */
.page { padding: 46px 0 90px; }
.page h1 { font-weight: 300; font-size: 58px; margin: 0 0 12px; letter-spacing: -.015em; line-height: 1.1; }
.page .lead { color: #c9c9c9; font-size: 14.5px; max-width: 540px; margin: 0; line-height: 1.6; }
.page-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.page-h .btn-light { height: 40px; padding: 0 18px; font-size: 14px; }

.tools { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs { display: flex; gap: 2px; padding: 3px; border-radius: 4px; }
.tabs button { position: relative; padding: 5px 11px; font-size: 12.5px; color: #c9c9c9; border-radius: 3px; }
.tabs button.on, .ctabs button.on { background: none; color: var(--pink); font-weight: 600; box-shadow: none; }
.tabs button.on::before, .tabs button.on::after, .ctabs button.on::before, .ctabs button.on::after { position: absolute; top: 50%; transform: translateY(-54%); color: #fff; opacity: .9; font-weight: 400; }
.tabs button.on::before, .ctabs button.on::before { content: "["; left: 1px; }
.tabs button.on::after, .ctabs button.on::after { content: "]"; right: 1px; }
.tabs button:hover:not(.on) { color: #fff; }
.sel {
  height: 36px; background: #2c2c2c; border: 1px solid #3c3c3c; border-radius: 3px; padding: 0 10px; color: #eee; font-size: 12.5px;
}
.sel:focus { outline: 1px solid var(--pink); }
.isearch {
  margin-left: auto; display: flex; align-items: center; gap: 8px; height: 36px; width: 230px; border: 1px solid #3c3c3c;
  border-radius: 3px; padding: 0 12px; background: #262626; color: #888;
}
.isearch input { background: none; border: 0; outline: 0; flex: 1; color: #eee; font-size: 13px; min-width: 0; }
.isearch:focus-within { border-color: var(--pink); }
.empty { text-align: center; color: var(--muted); padding: 60px 0; grid-column: 1 / -1; }

/* forms (launch + create) */
.two { display: grid; grid-template-columns: 1fr 376px; gap: 16px; align-items: start; }
.panel { background: #fff; color: var(--ink); border-radius: var(--r); padding: 20px 21px; margin-bottom: 16px; }
.panel h2 { font-weight: 400; font-size: 15.5px; margin: 0; }
.panel h2 small { font-size: 11px; color: var(--ink-3); }
.ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.ph .hint { font-size: 11px; color: var(--ink-2); }
.f-lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink); margin-bottom: 6px; }
.f-lbl span { color: var(--ink-3); }
.fld {
  width: 100%; background: var(--field); border: 1px solid #ececec; border-radius: 3px; padding: 10px 12px; font-size: 13px; color: var(--ink); outline: 0;
}
.fld:focus { border-color: var(--pink); background: #fff; box-shadow: 0 0 0 3px rgba(255,61,139,.12); }
.fld::placeholder { color: #9a9a9a; }
textarea.fld { resize: vertical; min-height: 74px; }
.fld.mono::placeholder { font-family: var(--mono); letter-spacing: .05em; }
.f-row { display: grid; gap: 10px; margin-bottom: 12px; }

.srow {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; background: #f6f6f6; border-radius: 3px; margin-bottom: 6px;
  border: 2px solid transparent; cursor: pointer; width: 100%; text-align: left; color: var(--ink);
}
.srow:hover { border-color: var(--pink-soft); }
.srow.on { border-color: var(--red); background: #fff; }
.srow .lg { width: 34px; height: 34px; --lgf: 10px; border-radius: 6px; }
.srow .nm { font-size: 13px; }
.srow .cd { font-size: 10.5px; color: var(--ink-2); }
.srow .pr { margin-left: auto; text-align: right; font-size: 12.5px; }
.srow .pr div:last-child { font-size: 12px; }

.upl {
  width: 104px; height: 104px; border-radius: 5px; background: #f2f2f2; border: 1px solid #e8e8e8; display: grid; place-items: center;
  text-align: center; font-size: 11.5px; color: #888; padding: 10px; cursor: pointer; flex: none; overflow: hidden; position: relative;
}
.upl small { display: block; font-size: 9.5px; color: #888; margin-top: 4px; }
.upl:hover { border-color: var(--pink); }
.upl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.prev .pt { display: flex; gap: 12px; align-items: center; margin: 14px 0 16px; }
.prev .q { width: 48px; height: 48px; border-radius: 5px; background: #1a1a1a; color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; }
.prev .q img { width: 100%; height: 100%; object-fit: cover; }
.prev .q.has { background: var(--brand-grad); }
.kv { border: 1px solid var(--card-line); border-radius: 3px; display: grid; grid-template-columns: 1fr 1fr; padding: 14px; gap: 18px 10px; }
.kv span { font-size: 10.5px; color: var(--ink-2); display: block; }
.kv b { font-weight: 400; font-size: 15.5px; }
.prev ul { padding-left: 16px; font-size: 11px; color: var(--ink-2); line-height: 1.75; margin: 16px 0 20px; }
.big { width: 100%; height: 45px; background: var(--brand-grad); color: #fff; border-radius: 3px; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.big:hover { filter: brightness(1.08); }
.paylink { color: var(--red); text-decoration: underline; text-decoration-color: var(--pink-soft); }
.paylink:hover { color: var(--pink); }

/* create index */
.ctabs { display: inline-flex; background: #1f1f1f; padding: 3px; border-radius: 4px; }
.ctabs button { position: relative; color: #ccc; font-size: 12px; padding: 5px 12px; border-radius: 3px; }
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-height: 296px; overflow-y: auto; padding-right: 6px; }
.pick::-webkit-scrollbar { width: 8px; }
.pick::-webkit-scrollbar-thumb { background: #bbb; border-radius: 4px; }
.pk {
  display: flex; align-items: center; gap: 8px; padding: 8px 9px; background: #f6f6f6; border-radius: 3px; text-align: left;
  border: 1px solid transparent; color: var(--ink); min-height: 50px;
}
.pk:hover { border-color: var(--pink-soft); }
.pk.on { border-color: var(--red); background: var(--pink-pale); }
.pk .lg { width: 22px; height: 22px; --lgf: 7px; }
.pk .nm { font-size: 12.5px; line-height: 1.2; }
.pk .cd { font-size: 10px; color: var(--ink-2); }
.pk .pl { margin-left: auto; color: #999; font-size: 14px; }
.pk.on .pl { color: var(--red); }
.pk .ch2 { font-size: 8.5px; color: var(--red); border: 1px solid var(--pink-soft); border-radius: 2px; padding: 0 3px; margin-left: 4px; }
.wbtns { display: flex; gap: 8px; }
.wbtns button { background: #f3f3f3; color: #444; font-size: 12px; padding: 6px 12px; border-radius: 3px; }
.wbtns button:disabled { color: #aaa; cursor: default; }
.wbtns button:not(:disabled):hover { background: var(--pink-pale); color: var(--red); }
.wl { display: grid; grid-template-columns: 22px 1fr 160px 60px 22px; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--card-line); font-size: 13px; }
.wl input[type=range] { accent-color: var(--pink); width: 100%; }
.wl input[type=number] { width: 60px; padding: 4px 6px; border: 1px solid #e4e4e4; border-radius: 3px; text-align: right; font-size: 12px; }
.wl .x { color: #aaa; font-size: 16px; }
.wl .x:hover { color: var(--red); }
.note2 { font-size: 11.5px; color: var(--ink-2); }
.donut { display: flex; gap: 18px; align-items: center; margin: 18px 0 18px; }
.donut .ring { width: 142px; height: 142px; flex: none; position: relative; }
.donut .ring .c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.donut .ring b { font-weight: 300; font-size: 22px; display: block; }
.donut .ring small { font-size: 11px; color: var(--ink-2); }
.donut .info { font-size: 11.5px; color: var(--ink-2); line-height: 1.9; }
.donut .info .warn { color: var(--up); }
.donut .info .ok { color: var(--down); }
.bt { border-top: 1px solid var(--card-line); padding-top: 22px; font-size: 11.5px; color: var(--ink-2); }
.bt .area { height: 180px; display: grid; place-items: center; color: var(--ink-2); }
.bstats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--card-line); border-radius: 3px; margin-top: 10px; font-size: 10.5px; color: var(--ink-2); }
.bstats div { padding: 10px 14px; }
.bstats b { display: block; font-weight: 400; font-size: 15px; color: var(--ink); }
.pub { margin-top: 14px; }
.pub .big[disabled] { background: #d4d4d4; color: #666; cursor: not-allowed; filter: none; }

/* ---------- footer ---------- */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 68px 0 40px; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: 1fr repeat(4, auto); gap: 70px; }
.foot .logo { color: #fff; font-size: 17px; }
.foot .tag { margin-top: 18px; line-height: 1.75; font-size: 13.5px; }
.foot h4 { font-weight: 400; font-size: 11px; color: var(--dim); margin: 0 0 18px; letter-spacing: .1em; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 9px; font-size: 13.5px; color: #d6d6d6; }
.foot li a:hover { color: var(--pink); }
.foot .disc { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 22px; font-size: 11.5px; color: #8b8b8b; line-height: 1.9; max-width: 840px; }
.foot .chain { font-family: var(--mono); font-size: 11.5px; color: #555; margin-top: 16px; }
.foot .chain .u { color: #8a4150; }
.foot .chain .d { color: #3e6a52; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 100;
  background: #111; color: #fff; padding: 10px 16px; border-radius: 4px; font-size: 13px; border-left: 3px solid var(--pink);
  transition: .2s ease; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .search { width: 160px; }
}
@media (max-width: 900px) {
  .grid3, .tri { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-cards { margin-top: 10px; flex-direction: row; overflow-x: auto; }
  .hero-cards .hcard { min-width: 230px; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 30px; }
  .calls { grid-template-columns: 1fr; }
  .calls .r { min-height: 240px; }
  .search, .hbtn.x { display: none; }
  .pick { grid-template-columns: 1fr 1fr; }
  .band-2 h2 { margin-left: 0; }
  .mkts { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .place-card .bf { opacity: .35; }
}
@media (max-width: 600px) {
  .grid3, .tri { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .page h1 { font-size: 40px; }
  .mkts { grid-template-columns: 1fr; }
  .page-h, .sec-h { flex-direction: column; align-items: flex-start; }
  .isearch { margin-left: 0; width: 100%; }
  .hbtn.create { display: none; }
  .pick { grid-template-columns: 1fr; }
  .wl { grid-template-columns: 22px 1fr 60px 22px; }
  .wl input[type=range] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marq { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   Added for the working site: real logos, tables, detail pages, modal
   =================================================================== */
.lg.img { padding: 0; }
.lg.img img { width: 100%; height: 100%; object-fit: cover; display: block; }

a.board, a.chip, a.mkt { color: inherit; }
a.tcard { color: var(--ink); }
a.tcard:hover { box-shadow: 0 0 0 2px var(--pink-soft); }
a.mkt:hover .nm { text-decoration: underline; text-decoration-color: rgba(255,255,255,.6); text-underline-offset: 6px; }
.board { display: block; }

/* burger + mobile nav */
.burger { display: none; width: 36px; height: 36px; border: 1px solid #3a3a3a; border-radius: 4px; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger span { width: 16px; height: 2px; background: #ddd; display: block; }
@media (max-width: 1100px) {
  .burger { display: flex; }
  .head.open .nav { display: flex; position: absolute; left: 0; right: 0; top: 56px; background: var(--bg-2); flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
  .head.open .nav a { padding: 12px; font-size: 16px; }
  .head.open .nav a.on::before, .head.open .nav a.on::after { position: static; transform: none; margin: 0 8px; }
  .head.open .nav a.on::before { margin-left: -12px; }
  .head-in { position: relative; gap: 14px; }
}

/* sample-data badge */
.demo { position: fixed; left: 16px; bottom: 16px; z-index: 90; background: #111; color: #ffc2d9; border: 1px solid var(--pink); font-size: 12px; padding: 6px 10px; border-radius: 4px; }
.srvnote { background: rgba(255,61,139,.1); border: 1px solid rgba(255,61,139,.4); color: #ffc2d9; padding: 10px 14px; border-radius: 3px; font-size: 13px; margin: 0 0 16px; }
.panel .srvnote, .mbox .srvnote { color: var(--red); background: var(--pink-pale); border-color: var(--pink-soft); }

/* tables */
.scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; color: var(--ink); }
.tbl th { text-align: left; font-weight: 500; font-size: 11.5px; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--card-line); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid #f3f3f3; vertical-align: middle; }
.tbl tbody tr:hover { background: #fcf7f9; }
.tbl .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl.compact th, .tbl.compact td { padding: 8px 6px; font-size: 12.5px; }
.tbl .st { width: 36px; padding-right: 0; }
.as { display: flex; align-items: center; gap: 10px; }
.as .lg { width: 28px; height: 28px; }
.sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.dim3 { color: var(--ink-3); }
.panel.flush { padding: 0; overflow: hidden; }
.ph.pad { padding: 18px 20px 4px; }
.star { font-size: 17px; color: #999; width: 28px; height: 28px; border-radius: 3px; }
.star:hover { color: var(--pink); }
.star.on { color: var(--pink); }
.ch2 { font-size: 10px; color: var(--red); border: 1px solid var(--pink-soft); border-radius: 2px; padding: 0 4px; white-space: nowrap; }
.lbl2 { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 2px; white-space: nowrap; }
.lbl2.long { background: var(--pink-pale); color: var(--red); border: 1px solid var(--pink-soft); }
.lbl2.short { background: #eef7f2; color: var(--down); border: 1px solid #cfe9db; }
.lbl2.idx { background: #1d1d1d; color: #fff; font-weight: 600; }

.h2 { font-weight: 300; font-size: 26px; margin: 36px 0 14px; }
.upd { color: var(--muted); font-size: 12px; white-space: nowrap; }
.btn.sm { height: 28px; padding: 0 12px; font-size: 12px; }
.big2 { height: 40px !important; padding: 0 18px !important; font-size: 14px !important; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 16px; }
.statgrid .panel { margin: 0; }
.statgrid span { font-size: 12px; color: var(--ink-3); display: block; }
.statgrid b { font-weight: 300; font-size: 30px; display: block; margin-top: 6px; }
.panel.center { text-align: center; padding: 40px 20px; }
.warn2 { color: var(--up); font-size: 14px; }
.empty { color: var(--ink-3); }
.page > .wrap > .empty, .grid3 > .empty { color: var(--muted); }

/* index detail */
.back { color: var(--muted); font-size: 13px; display: inline-block; margin-bottom: 18px; }
.back:hover { color: var(--pink); }
.ixh { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 22px; flex-wrap: wrap; }
.ixh h1 { margin-bottom: 6px; }
.ixh .tk { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.ixv { text-align: right; }
.ixv .lv { font-size: 46px; font-weight: 300; line-height: 1; }
.ixv > div:nth-child(2) { font-size: 18px; margin-top: 6px; }
.dim2 { color: var(--muted); font-size: 12px; }
.ixb { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; flex-wrap: wrap; }
.ixb .btn { height: 36px; }
.tabs.light { background: #f3f3f3; }
.tabs.light button { color: #666; }
.tabs.light button.on { background: none; color: var(--red); }
.tabs.light button.on::before, .tabs.light button.on::after { color: #111; }
.fig { position: relative; height: 340px; }
.fig svg { display: block; touch-action: pan-y; }
.tip { position: absolute; top: 0; background: #1d1d1d; color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 3px; pointer-events: none; white-space: nowrap; }
.legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); margin-top: 12px; }
.legend .ln { display: inline-block; width: 22px; border-top: 2px dashed #999; vertical-align: middle; margin-right: 6px; }
.mini { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f3f3f3; font-size: 12.5px; }

/* docs */
.docs { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.docnav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 76px; }
.docnav a { padding: 8px 12px; border-radius: 3px; color: #c9c9c9; font-size: 14px; }
.docnav a.on { background: #fff; color: #111; box-shadow: inset 3px 0 0 var(--pink); }
.doc { padding: 32px 36px; }
.doc h1 { font-weight: 300; font-size: 40px; margin: 0 0 10px; }
.doc h2 { font-weight: 500; font-size: 17px; margin: 26px 0 6px; }
.doc p { font-size: 15px; line-height: 1.75; color: #333; margin: 0; max-width: 680px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(10,0,4,.6); display: grid; place-items: center; padding: 16px; }
.mbox { background: #fff; color: var(--ink); width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 4px; padding: 26px 24px 22px; position: relative; border-top: 3px solid var(--pink); }
.mbox h2 { font-weight: 400; font-size: 22px; margin: 0 0 14px; }
.mx { position: absolute; right: 10px; top: 8px; font-size: 24px; color: #999; width: 36px; height: 36px; }
.mx:hover { color: var(--red); }
.mform { display: grid; gap: 12px; }
.mform label { font-size: 12px; color: var(--ink-2); display: grid; gap: 6px; }
.mform .fld { font-size: 15px; }
.seg { display: flex; gap: 6px; }
.seg label { flex: 1; display: block; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px; border: 1px solid #e4e4e4; border-radius: 3px; font-size: 14px; color: var(--ink); cursor: pointer; }
.seg input:checked + span { border-color: var(--red); background: var(--pink-pale); color: var(--red); }
.seg input:focus-visible + span { outline: 2px solid var(--pink); }

/* forms: responsive grids */
.f-row.g2 { grid-template-columns: 1fr 140px; }
.f-row.g3 { grid-template-columns: 1fr 150px 130px; }
.f-row.g3e { grid-template-columns: repeat(3, 1fr); }
.tokrow { display: flex; gap: 14px; align-items: flex-start; }
.ph.wrapx { flex-wrap: wrap; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; }
  .docnav { position: static; flex-direction: row; flex-wrap: wrap; }
  .two[style] { grid-template-columns: 1fr !important; }
  .ixv { text-align: left; }
  .ixb { justify-content: flex-start; }
  .board .br2 { grid-template-columns: 28px 1fr; }
  .board .res { grid-column: 2; text-align: left; }
}
@media (max-width: 600px) {
  .f-row.g2, .f-row.g3, .f-row.g3e { grid-template-columns: 1fr; }
  .tokrow { flex-direction: column; }
  .doc { padding: 22px 18px; }
  .fig { height: 260px; }
  .head-r .hbtn.wallet { padding: 0 8px; }
}
.panel .ph { flex-wrap: wrap; gap: 10px; }
.tabs button { white-space: nowrap; }


/* ================================================================== new sections */
.fig svg .gl { stroke: #eee; }
.fig svg .ax { fill: #999; }
.hlinks { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share { display: inline-flex; gap: 6px; }
.btn.sm, .btn-out.sm { height: 30px; padding: 0 12px; font-size: 12px; display: inline-flex; align-items: center; }
.bell { font-size: 14px; opacity: .45; width: 28px; height: 28px; border-radius: 3px; }
.bell:hover { opacity: 1; background: var(--pink-pale); }
.clink { white-space: nowrap; }
.clink:hover { color: var(--red); }
a.as:hover > div > div:first-child, td a:hover { color: var(--red); }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; }
.chk input { accent-color: var(--red); }
.more2 { display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--red); }
.lg.img.xl { width: 56px; height: 56px; border-radius: 10px; }
.tkhead { display: flex; gap: 18px; align-items: flex-start; }
.tklinks { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin-top: 10px; color: var(--muted); }
.tklinks a:hover { color: var(--pink); }
.tks { display: inline-flex; align-items: center; gap: 6px; }
.tks .lg { width: 18px; height: 18px; border-radius: 4px; }

/* token tiles */
.tkimg { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex: none; display: grid; place-items: center;
  background: var(--brand-tri); color: #fff; font-weight: 700; font-size: 20px; }
.tkimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tkimg.big { width: 88px; height: 88px; border-radius: 12px; font-size: 28px; }
.tkimg.sm { width: 30px; height: 30px; border-radius: 6px; font-size: 11px; }
.tkcard { display: flex; gap: 14px; background: var(--card); color: var(--ink); border-radius: var(--r); padding: 14px; }
.tkcard:hover { box-shadow: 0 0 0 2px var(--pink-soft); }
.tkb { flex: 1; min-width: 0; }
.tkn { display: flex; gap: 8px; align-items: baseline; }
.tkn b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tkn span { font-size: 11.5px; color: var(--ink-3); }
.tkd { font-size: 12px; color: var(--ink-2); margin: 3px 0 8px; min-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tkm { display: flex; gap: 10px; font-size: 12px; color: var(--ink-2); align-items: baseline; }
.tkm b { color: var(--ink); font-weight: 600; }
.tkf { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--ink-3); margin-top: 6px; }
.bar { height: 5px; background: #eee; border-radius: 3px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--brand-tri); border-radius: 3px; }
.bar.big { height: 9px; }
.dim3 { color: var(--ink-3); }

/* trade box */
.trade .seg span, .mform .seg span { text-align: center; }
.quick { display: flex; gap: 6px; margin-top: 8px; }
.quick button { flex: 1; height: 30px; border-radius: 3px; background: var(--field); color: var(--ink-2); font-size: 12px; }
.quick button:hover { background: var(--pink-pale); color: var(--red); }
.trade .big { margin-top: 4px; }
.trade a.big { text-decoration: none; }

/* news + events */
.news { list-style: none; margin: 8px 0 0; padding: 0; }
.news li { padding: 11px 0; border-bottom: 1px solid #f1f1f1; }
.news li:last-child { border-bottom: 0; }
.news a { display: block; font-size: 14px; line-height: 1.5; color: var(--ink); }
.news a:hover { color: var(--red); }
.news span { font-size: 11.5px; color: var(--ink-3); }
.evm { padding: 4px 18px 10px; }
.evm h3 { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 16px 0 6px; }
.evrow { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f3f3f3; color: var(--ink); }
.evrow:hover .evn > span { color: var(--red); }
.evrow.past { opacity: .55; }
.evrow .lg { width: 26px; height: 26px; }
.evd { width: 44px; flex: none; text-align: center; line-height: 1.1; }
.evd b { display: block; font-size: 14px; font-weight: 600; }
.evd small { font-size: 10px; color: var(--ink-3); }
.evn { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.evn span { font-size: 13.5px; }
.evn small { font-size: 11.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evk { font-size: 11px; padding: 2px 8px; border-radius: 3px; flex: none; }
.evk.earnings { background: #ffe3ee; color: #c2185b; }
.evk.dividend { background: #fff0f5; color: #9e0f2f; }
.panel .evrow:last-of-type { border-bottom: 0; }

@media (max-width: 760px) {
  .tkhead { gap: 12px; }
  .tkimg.big { width: 60px; height: 60px; }
  .share { flex-wrap: wrap; }
}

/* ================================================================== light mode */
.hbtn.theme { width: 34px; justify-content: center; font-size: 15px; padding: 0; }
html.light {
  --bg: #f4f2ee;
  --bg-2: #fbfaf8;
  --bg-3: #ebe8e2;
  --line: rgba(0,0,0,.08);
  --text: #1d1d1d;
  --muted: #5e5e5e;
  --dim: #8a8a8a;
}
html.light .head { background: rgba(251,250,248,.94); backdrop-filter: blur(8px); }
html.light .nav a { color: #444; }
html.light .nav a:hover { color: #111; }
html.light .nav a.on { color: var(--red); }
html.light .nav a.on::before, html.light .nav a.on::after { color: #111; }
html.light .hbtn { border-color: #ddd8cf; color: #333; background: #fff; }
html.light .hbtn.wallet { background: #1d1d1d; color: #fff; border-color: #1d1d1d; }
html.light .search { background: #fff; border-color: #ddd8cf; color: #555; }
html.light .search input { color: #1d1d1d; }
html.light .kbd { background: #f1eee9; color: #777; border-color: #e2ddd4; }
html.light .lang { border-color: #ddd8cf; background: #fff; }
html.light .lang button { color: #555; }
html.light .tabs { background: #e7e3dc; }
html.light .tabs button { color: #555; }
html.light .tabs button.on, html.light .ctabs button.on { color: var(--red); }
html.light .tabs button.on::before, html.light .tabs button.on::after, html.light .ctabs button.on::before, html.light .ctabs button.on::after { color: #111; }
html.light .isearch, html.light .tools select { background: #fff; color: #333; border-color: #ddd8cf; }
html.light .foot { background: #ece8e1; color: #333; }
html.light .foot a { color: #444; }
html.light .foot .disc, html.light .foot .chain { color: #777; }
html.light .page h1, html.light .page-h h1, html.light .h2, html.light .sec-h h2 { color: #1d1d1d; }
html.light .lead, html.light .page-h p { color: #555; }
html.light .back { color: #666; }
html.light .demo { background: #fff; color: #a24d12; }
html.light .srvnote { color: #a24d12; background: #fdeedd; border-color: #f2c9a1; }
html.light .toast { background: #1d1d1d; }
html.light .docnav a { color: #555; }
html.light .upd, html.light .chk { color: #666; }
html.light .tklinks { color: #555; }
html.light .head.open .nav { background: #fbfaf8; }
html.light .burger span { background: #333; }
html.light .isearch input, html.light .tools select { color: #1d1d1d; }
