/* Bowsion. Modern minimal: a near white page, soft glass panels over a subtle
   indigo to violet wash, one family (Manrope), thin lines, 16px radius, air.
   Every number is set in lining, tabular figures. */

:root {
  --bg: #fbfbfe;
  --ink: #14142b;
  --ink-2: #6b6b8a;
  --ink-3: #a3a3ba;
  --indigo: #5b5bd6;
  --violet: #9b6bff;
  --tint: #f3f1ff;
  --line: rgba(20, 20, 43, .08);
  --line-strong: rgba(20, 20, 43, .14);
  --glass: rgba(255, 255, 255, .7);
  --up: #5b5bd6;
  --down: #6b6b8a;
  --warn: #4c2fa8;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 20, 43, .04), 0 14px 34px -16px rgba(20, 20, 43, .16);
  --shadow-lift: 0 2px 4px rgba(20, 20, 43, .05), 0 26px 50px -20px rgba(91, 91, 214, .32);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1200px;
  --gutter: 24px;
}
@media (max-width: 760px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--font);
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  position: relative; isolation: isolate; min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
::selection { background: rgba(155, 107, 255, .25); }

/* ---- the wash: lives behind the hero and the featured strip only ---------- */
.bw-wash {
  position: absolute; left: 0; right: 0; top: 0; height: 780px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 58% at 80% 6%, rgba(155, 107, 255, .34), rgba(155, 107, 255, 0) 70%),
    radial-gradient(44% 54% at 12% 42%, rgba(91, 91, 214, .24), rgba(91, 91, 214, 0) 70%),
    linear-gradient(180deg, #f4f2ff 0%, rgba(251, 251, 254, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
}
.bw-wash.is-low { height: 440px; opacity: .8; }

/* ---- header: a floating glass bar -------------------------------------------- */
.bw-header { position: sticky; top: 12px; z-index: 40; padding: 12px var(--gutter) 0; pointer-events: none; }
.bw-header-in {
  pointer-events: auto; position: relative; max-width: var(--max); margin: 0 auto; height: 58px;
  display: flex; align-items: center; gap: 6px; padding: 0 8px 0 14px;
  background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px var(--line), 0 10px 30px -16px rgba(20, 20, 43, .18);
}
.bw-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; margin-right: 10px; }
.bw-brand svg { width: 28px; height: 28px; flex: none; }
.bw-nav { display: flex; gap: 2px; }
.bw-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 13.5px; padding: 8px 12px; border-radius: 10px; transition: color .15s, background .15s; }
.bw-nav a:hover { color: var(--ink); background: rgba(20, 20, 43, .04); }
.bw-nav a.is-on { color: var(--ink); background: rgba(91, 91, 214, .08); }
.bw-tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.bw-burger { display: none; }

/* ---- buttons and chips ------------------------------------------------------- */
.bw-btn, .tp-btn, .ip-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  font-weight: 600; font-size: 13.5px; line-height: 1; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.bw-btn:hover, .tp-btn:hover, .ip-btn:hover { border-color: rgba(20, 20, 43, .26); box-shadow: 0 8px 18px -12px rgba(20, 20, 43, .3); }
.bw-btn:active, .tp-btn:active, .ip-btn:active { transform: translateY(1px); }
.bw-btn:disabled, .tp-btn:disabled, .ip-btn:disabled { opacity: .45; cursor: default; box-shadow: none; transform: none; }
.bw-btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.bw-btn-ink:hover { background: #262650; border-color: #262650; }
.bw-btn-ink.is-connected { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.bw-btn-ink.is-connected svg { color: var(--violet); }
.bw-btn-primary, .tp-btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; border-color: transparent;
  box-shadow: 0 10px 22px -12px rgba(91, 91, 214, .7);
}
.bw-btn-primary:hover, .tp-btn-primary:hover { border-color: transparent; box-shadow: 0 14px 26px -12px rgba(91, 91, 214, .8); filter: saturate(1.08); }
.bw-btn-ghost { background: transparent; border-color: transparent; }
.bw-btn-ghost:hover { background: rgba(20, 20, 43, .05); border-color: transparent; box-shadow: none; }
.bw-btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.bw-btn-lg { height: 44px; padding: 0 20px; font-size: 14.5px; border-radius: 12px; }
.bw-chip, .bw-copy {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: border-color .15s, color .15s, background .15s;
}
.bw-chip:hover, .bw-copy:hover { border-color: rgba(20, 20, 43, .28); }
.bw-copy.is-ok { color: var(--indigo); border-color: rgba(91, 91, 214, .5); }
.bw-addr { font-size: 12.5px; color: var(--ink-2); font-weight: 500; letter-spacing: .01em; }

/* ---- layout ------------------------------------------------------------------ */
.bw-main { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 0; min-height: 60vh; }
.bw-two { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.bw-two-wide { grid-template-columns: minmax(0, 1fr) 420px; }
.bw-stack { display: grid; gap: 20px; }
.bw-sticky { position: sticky; top: 96px; }
.bw-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bw-spread { justify-content: space-between; }
.bw-mute { color: var(--ink-2); }
.bw-faint { color: var(--ink-3); }
.bw-small { font-size: 12.5px; }
.bw-up { color: var(--up); }
.bw-down { color: var(--down); }
.bw-prose { max-width: 640px; }
.bw-prose p { margin: 0 0 14px; }
.bw-note { font-size: 13px; color: var(--ink-2); }
.bw-note.is-warn { color: var(--warn); font-weight: 500; }
.bw-note:empty { display: none; }

/* ---- panels ------------------------------------------------------------------ */
.bw-panel, .bw-card {
  background: var(--glass); border-radius: var(--radius); padding: 20px;
  box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px var(--line), var(--shadow);
}
.bw-glass { -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.bw-panel-tight { padding: 16px; }
.bw-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bw-panel-h h2, .bw-panel-h h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.bw-panel-h .bw-note { margin: 0; }
.bw-card { transition: transform .2s ease, box-shadow .2s ease; }
.bw-card.is-link { cursor: pointer; }
.bw-card.is-link:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px var(--line), var(--shadow-lift); }
.is-fresh { animation: bw-tremble .5s ease; box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px rgba(155, 107, 255, .75), var(--shadow-lift) !important; }
@keyframes bw-tremble { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-3px); } 40% { transform: translateX(3px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }

/* ---- type ----------------------------------------------------------------------- */
.bw-display { font-size: clamp(40px, 5.6vw, 72px); font-weight: 300; letter-spacing: -.04em; line-height: 1.02; }
.bw-h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.bw-h2 { font-size: 26px; font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.bw-h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.bw-lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.bw-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .01em; }
.bw-eyebrow svg { width: 16px; height: 16px; flex: none; }
.bw-sec { margin-top: 56px; }
.bw-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.bw-sec-head .bw-h2 { margin-top: 6px; }
.bw-title-block { padding: 24px 0 8px; display: grid; gap: 10px; }
.bw-title-block .bw-lead { margin-top: 4px; }
.bw-num { font-variant-numeric: lining-nums tabular-nums; }

/* ---- live dot and change pills ---------------------------------------------- */
.bw-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.bw-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 0 rgba(155, 107, 255, .55); animation: bw-pulse 2.4s ease-out infinite; }
@keyframes bw-pulse { 0% { box-shadow: 0 0 0 0 rgba(155, 107, 255, .55); } 70% { box-shadow: 0 0 0 8px rgba(155, 107, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(155, 107, 255, 0); } }
.bw-chg { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 8px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.bw-chg.is-up { color: var(--indigo); background: rgba(91, 91, 214, .1); }
.bw-chg.is-down { color: var(--ink-2); background: rgba(20, 20, 43, .06); }
.bw-chg.is-flat { color: var(--ink-2); background: rgba(20, 20, 43, .06); }
.bw-chg svg { width: 10px; height: 10px; margin-right: 4px; }
.bw-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; font-weight: 700; background: rgba(91, 91, 214, .1); color: var(--indigo); white-space: nowrap; }
.bw-tag.is-open { background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; }
.bw-tag.is-ended { background: rgba(20, 20, 43, .06); color: var(--ink-2); }
.bw-tag.is-soon { background: rgba(155, 107, 255, .14); color: #6d3fd8; }

/* ---- segmented switch --------------------------------------------------------- */
.bw-seg, .tp-tabs { display: inline-flex; gap: 2px; padding: 3px; background: rgba(20, 20, 43, .06); border-radius: 12px; }
.bw-seg button, .tp-tab {
  border: 0; background: transparent; height: 32px; padding: 0 14px; border-radius: 9px;
  font-weight: 600; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: color .15s, background .15s, box-shadow .15s;
}
.bw-seg button:hover, .tp-tab:hover { color: var(--ink); }
.bw-seg button.is-on, .tp-tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 20, 43, .1), 0 0 0 1px rgba(20, 20, 43, .04); }
.tp-tabs { display: flex; }
.tp-tab { flex: 1; }

/* ---- logos ------------------------------------------------------------------------ */
.bw-logo {
  position: relative; width: 44px; height: 44px; border-radius: 12px; flex: none; overflow: hidden;
  background: linear-gradient(135deg, #f1efff, #e5deff); color: var(--indigo);
  display: grid; place-items: center; font-weight: 700; font-size: 17px; letter-spacing: -.02em;
}
.bw-logo::before { content: attr(data-letter); }
.bw-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.bw-logo-lg { width: 72px; height: 72px; border-radius: 20px; font-size: 26px; }
.bw-logo-md { width: 56px; height: 56px; border-radius: 16px; font-size: 21px; }

/* ---- hero (feed) ----------------------------------------------------------------- */
.bw-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; padding: 56px 0 40px; }
.bw-hero-copy { display: grid; gap: 22px; justify-items: start; }
.bw-hero-copy .bw-lead { margin-top: -6px; }
.bw-hero-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.bw-hero-art { display: flex; justify-content: center; }
.bw-bow { width: min(100%, 420px); height: auto; overflow: visible; }
.bw-bow .bow-arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bw-draw 1.2s cubic-bezier(.65, 0, .25, 1) .2s forwards; }
.bw-bow .bow-string { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bw-draw .6s ease-out 1.15s forwards; }
.bw-bow .bow-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: bw-pop .5s cubic-bezier(.2, .9, .3, 1.35) 1.55s forwards; }
.bw-bow .bow-halo { opacity: 0; animation: bw-fade 1.2s ease 1.8s forwards; }
@keyframes bw-draw { to { stroke-dashoffset: 0; } }
@keyframes bw-pop { to { transform: scale(1); } }
@keyframes bw-fade { to { opacity: 1; } }
.bw-pulse-line { display: flex; gap: 22px; flex-wrap: wrap; align-items: baseline; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.bw-pulse-line b { font-weight: 600; color: var(--ink); font-size: 15px; margin-right: 5px; }
.bw-pulse-line:empty { display: none; }

/* ---- featured strip ------------------------------------------------------------------- */
.bw-featured { margin-top: 28px; }
.bw-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bw-fcard { display: grid; gap: 14px; padding: 20px; }
.bw-fcard-top { display: flex; gap: 12px; align-items: center; }
.bw-fcard-name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; text-decoration: none; display: block; }
.bw-fcard-name:hover { color: var(--indigo); }
.bw-fcard-sym { color: var(--ink-2); font-weight: 500; font-size: 13px; }
.bw-fcard-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bw-fcard-price b { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.bw-fcard-price span { color: var(--ink-2); font-size: 13px; }
.bw-fcard-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.bw-fcard-stats dt { font-size: 12px; color: var(--ink-2); }
.bw-fcard-stats dd { font-size: 14px; font-weight: 600; margin-top: 2px; }
.bw-fcard-stats small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* ---- feed grid and cards -------------------------------------------------------------- */
.bw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bw-tcard { display: grid; gap: 14px; padding: 18px; }
.bw-tcard-top { display: flex; gap: 12px; align-items: center; }
.bw-tcard-id { min-width: 0; flex: 1; }
.bw-tcard-name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; text-decoration: none; display: inline; }
.bw-tcard-name:hover { color: var(--indigo); }
.bw-tcard-sym { color: var(--ink-2); font-weight: 500; font-size: 13px; margin-left: 6px; }
.bw-tcard-meta { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.bw-tcard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.bw-tcard-stats dt { font-size: 11.5px; color: var(--ink-2); }
.bw-tcard-stats dd { font-size: 13.5px; font-weight: 600; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-tcard-stats small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; }
.bw-tcard-foot { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bw-tcard-fees { margin-left: auto; font-size: 12px; color: var(--ink-2); }
.bw-dcard-bar { height: 6px; border-radius: 4px; background: rgba(20, 20, 43, .07); overflow: hidden; }
.bw-dcard-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--indigo), var(--violet)); }
.bw-state { font-size: 13.5px; color: var(--ink-2); margin: 0 0 14px; }
.bw-state:empty { display: none; }
.bw-empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 56px 20px; }
.bw-empty svg { width: 96px; height: auto; }
.bw-empty p { color: var(--ink-2); max-width: 380px; }
.bw-more { display: flex; justify-content: center; margin-top: 24px; }

/* ---- stats grid: hairlines, no boxes ------------------------------------------------ */
.bw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.bw-stat { background: #fff; padding: 14px 16px; min-width: 0; }
.bw-stat dt { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.bw-stat dd { margin-top: 4px; font-size: 17px; font-weight: 500; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-stat small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; margin-top: 2px; white-space: normal; }

/* ---- token page ---------------------------------------------------------------- */
.tk-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 20px 0 6px; }
.tk-name { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tk-name h1 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.tk-name span { color: var(--ink-2); font-weight: 500; font-size: 17px; }
.tk-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.tk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin-top: 20px; }
.tk-col { display: grid; gap: 20px; min-width: 0; }
.tk-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 6px 0 2px; }
.tk-price b { font-size: clamp(34px, 4vw, 48px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.tk-price span { color: var(--ink-2); font-size: 14px; }
.tk-chart { padding: 0; overflow: hidden; }
.tk-chart iframe { width: 100%; height: 440px; border: 0; display: block; background: #fff; }
.tk-chart-in { padding: 18px 20px 12px; }
.tk-spark { width: 100%; height: auto; display: block; }
.tk-spark-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ink-3); padding: 0 20px 14px; }
.tk-chart-note { padding: 0 20px 16px; }
.tk-dex { padding: 0 20px 18px; }
.tk-earn-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.tk-inline { display: inline-flex; align-items: center; gap: 6px; }
.tk-inline input { width: 70px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-strong); }
.tk-kv { display: grid; gap: 8px; font-size: 13.5px; }
.tk-kv div { display: flex; justify-content: space-between; gap: 12px; }
.tk-kv dt { color: var(--ink-2); }
.tk-kv dd { font-weight: 600; text-align: right; }
.tk-supply-bar { display: flex; height: 8px; border-radius: 5px; overflow: hidden; background: rgba(20, 20, 43, .07); margin: 12px 0 8px; }
.tk-supply-bar i { display: block; height: 100%; }
.tk-supply-bar .is-pool { background: linear-gradient(90deg, var(--indigo), var(--violet)); }
.tk-supply-bar .is-reserve { background: rgba(20, 20, 43, .18); }
.tk-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.tk-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* ---- trade panel (PadTrade markup, tp- classes) --------------------------------------- */
.tp-leg { background: rgba(20, 20, 43, .035); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
.tp-leg-top { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.tp-bal { margin-left: auto; }
.tp-btn-max { height: 24px; padding: 0 8px; font-size: 11.5px; border-radius: 7px; }
.tp-amt { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.tp-input { flex: 1; min-width: 0; width: 100%; font-size: 26px; font-weight: 500; letter-spacing: -.02em; border: 0; outline: 0; background: transparent; padding: 0; }
.tp-input::placeholder { color: var(--ink-3); }
.tp-out { flex: 1; min-width: 0; font-size: 26px; font-weight: 500; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-out.is-dim { color: var(--ink-3); font-weight: 400; }
.tp-asset { font-weight: 700; font-size: 13.5px; color: var(--ink-2); flex: none; }
.tp-mid { position: relative; height: 0; z-index: 1; }
.tp-mid::before {
  content: ""; position: absolute; left: 50%; top: -18px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 5v14m0 0l-5-5m5 5l5-5' stroke='%235b5bd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(20, 20, 43, .08);
}
.tp-facts { display: grid; gap: 6px; font-size: 13px; margin: 14px 0 6px; }
.tp-fact { display: flex; justify-content: space-between; gap: 12px; }
.tp-fact dt { color: var(--ink-2); }
.tp-fact dd { font-weight: 600; text-align: right; }
.tp-fact dd.is-down { color: var(--warn); }
.tp-hint { font-size: 12px; color: var(--ink-3); margin: 6px 0 10px; line-height: 1.45; }
.tp-slip { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; margin-top: 8px; flex-wrap: wrap; }
.tp-seg { display: inline-flex; gap: 4px; }
.tp-seg button { height: 26px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line-strong); background: #fff; font-size: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.tp-seg button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tp-custom { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.tp-custom input { width: 80px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-strong); }
.tp-steps { display: flex; gap: 10px; align-items: center; justify-content: space-between; font-size: 12.5px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(155, 107, 255, .1); color: #4c2fa8; }
.tp-steps i { font-style: normal; }
.tp-act { margin-top: 12px; }
.tp-act .tp-btn { width: 100%; height: 46px; border-radius: 12px; font-size: 14.5px; }
.tp-note { font-size: 12.5px; color: var(--ink-2); margin: 10px 0 0; line-height: 1.45; }
.tp-note.is-warn { color: var(--warn); font-weight: 500; }
.tp-cap { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-top: 10px; }
.tp-cap i { font-style: normal; }
.tp-foot { font-size: 12.5px; color: var(--ink-2); margin: 10px 0 0; }
.tp-foot a { color: var(--indigo); }
.tp-empty { font-size: 13.5px; color: var(--ink-2); }

/* ---- forms ------------------------------------------------------------------------- */
.bw-form { display: grid; gap: 22px; }
.bw-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 14px; }
.bw-fieldset-h { display: grid; gap: 4px; padding-bottom: 4px; }
.bw-fieldset-h h2 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.bw-fieldset-h p { font-size: 13px; color: var(--ink-2); }
.bw-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bw-field > label, .bw-label { font-size: 13px; font-weight: 600; }
.bw-field > label span, .bw-label span { color: var(--ink-3); font-weight: 500; }
.bw-input, .bw-field input:not([type="checkbox"]):not([type="file"]), .bw-field select, .bw-field textarea, [data-urlwrap] input {
  width: 100%; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; min-width: 0;
  transition: border-color .15s, box-shadow .15s;
}
.bw-field textarea { height: auto; min-height: 88px; padding: 10px 14px; resize: vertical; line-height: 1.5; }
.bw-field input:focus, .bw-field select:focus, .bw-field textarea:focus, .bw-input:focus, [data-urlwrap] input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(91, 91, 214, .13); }
.bw-field select { -webkit-appearance: none; appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%236b6b8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/16px no-repeat; }
.bw-help { font-size: 12.5px; color: var(--ink-2); }
.bw-help:empty { display: none; }
.bw-err { font-size: 12.5px; color: var(--warn); font-weight: 500; }
.bw-err:empty { display: none; }
.bw-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bw-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.bw-check input { width: 16px; height: 16px; accent-color: var(--indigo); margin: 0; }
.bw-form-acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bw-status { font-size: 13px; color: var(--ink-2); }
.bw-status:empty { display: none; }
.bw-unit { display: flex; align-items: center; gap: 8px; }
.bw-unit input { flex: 1; }
.bw-unit span { font-size: 13px; color: var(--ink-2); font-weight: 600; flex: none; }
.bw-prelaunch { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(155, 107, 255, .1); color: #4c2fa8; font-size: 13.5px; font-weight: 500; }

/* term sheet */
.bw-sheet { display: grid; gap: 16px; }
.bw-sheet-top { display: flex; gap: 12px; align-items: center; }
.bw-sheet-name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-sheet-sym { color: var(--ink-2); font-size: 13px; }
.bw-gauge { display: grid; justify-items: center; gap: 2px; padding: 4px 0 0; }
.bw-gauge svg { width: 150px; height: auto; }
.bw-gauge-cap { font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-top: -8px; }
.bw-gauge-cap b { color: var(--ink); font-weight: 700; }
.bw-sheet-kv { display: grid; gap: 9px; font-size: 13.5px; }
.bw-sheet-kv div { display: flex; justify-content: space-between; gap: 12px; }
.bw-sheet-kv dt { color: var(--ink-2); }
.bw-sheet-kv dd { font-weight: 600; text-align: right; }
.bw-sheet-kv small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.bw-sheet-ready { font-size: 13px; font-weight: 600; color: var(--indigo); display: flex; align-items: center; gap: 6px; }

/* phases (collection form) */
.bw-phase { display: grid; gap: 12px; padding: 16px; }
.bw-phase.is-off .bw-phase-body { display: none; }
.bw-phase-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bw-phase-h .bw-check { font-size: 15px; font-weight: 700; }
.bw-phase-h p { font-size: 12.5px; color: var(--ink-2); width: 100%; margin-left: 24px; }
.bw-phase-body { display: grid; gap: 12px; }
.bw-phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }

/* image picker (PadImagePick markup, ip- classes) */
.ip-drop { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1px dashed rgba(91, 91, 214, .4); background: rgba(91, 91, 214, .03); transition: border-color .15s, background .15s; }
.ip-drop.is-over { border-color: var(--indigo); background: rgba(91, 91, 214, .08); }
.ip-prev { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; background: linear-gradient(135deg, #f1efff, #e5deff); display: grid; place-items: center; color: var(--indigo); }
.ip-main { min-width: 0; flex: 1; }
.ip-title { font-weight: 700; font-size: 14px; }
.ip-sub { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.ip-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ip-btn { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.ip-btn-ghost { background: transparent; border-color: transparent; }
.ip-btn-ghost:hover { background: rgba(20, 20, 43, .05); border-color: transparent; box-shadow: none; }
.ip-err { font-size: 12.5px; color: var(--warn); font-weight: 500; margin-top: 6px; }
.ip-err:empty { display: none; }

/* ---- launch chooser -------------------------------------------------------------- */
.bw-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.bw-choice { display: grid; gap: 16px; padding: 28px; text-decoration: none; position: relative; overflow: hidden; }
.bw-choice::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(155, 107, 255, .18), rgba(155, 107, 255, 0) 70%); pointer-events: none; }
.bw-choice svg.bw-choice-art { width: 56px; height: 56px; }
.bw-choice h2 { font-size: 26px; font-weight: 400; letter-spacing: -.025em; }
.bw-choice p { color: var(--ink-2); }
.bw-choice ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13.5px; }
.bw-choice li { display: flex; gap: 8px; align-items: flex-start; }
.bw-choice li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--indigo); }
.bw-choice .bw-btn { justify-self: start; }
.bw-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.bw-step { padding: 22px; display: grid; gap: 8px; align-content: start; }
.bw-step svg { width: 36px; height: 36px; }
.bw-step h3 { font-size: 20px; font-weight: 400; letter-spacing: -.02em; }
.bw-step p { color: var(--ink-2); font-size: 13.5px; }

/* ---- collection page --------------------------------------------------------------- */
.cl-banner { width: 100%; height: 220px; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 0 0 1px var(--line); background: var(--tint); }
.cl-banner-ph { height: 160px; border-radius: 20px; background: linear-gradient(120deg, #f4f2ff, #ebe4ff); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; }
.cl-banner-ph svg { width: 120px; height: auto; opacity: .7; }
.cl-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: -36px; padding: 0 20px 4px; position: relative; }
.cl-head .bw-logo-lg { box-shadow: 0 0 0 4px #fff, var(--shadow); }
.cl-phase { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.cl-phase:first-of-type { border-top: 0; padding-top: 0; }
.cl-phase-dot { width: 22px; height: 22px; display: grid; place-items: center; }
.cl-phase-dot i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-3); background: #fff; }
.cl-phase.is-open .cl-phase-dot i { border-color: var(--violet); background: var(--violet); box-shadow: 0 0 0 4px rgba(155, 107, 255, .2); }
.cl-phase.is-ended .cl-phase-dot i { border-color: var(--line-strong); background: var(--line-strong); }
.cl-phase.is-soon .cl-phase-dot i { border-color: var(--indigo); }
.cl-phase-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cl-phase-h b { font-size: 15px; }
.cl-phase-sub { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.cl-mint-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0; }
.cl-mint-price b { font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
.cl-mint-price span { color: var(--ink-2); font-size: 13px; }
.cl-qty { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.cl-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: #fff; }
.cl-stepper button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.cl-stepper button:hover { background: rgba(20, 20, 43, .05); }
.cl-stepper button:disabled { opacity: .35; cursor: default; }
.cl-stepper b { min-width: 44px; text-align: center; font-size: 17px; font-weight: 600; }
.cl-total { font-size: 13.5px; color: var(--ink-2); }
.cl-total b { color: var(--ink); font-weight: 600; }
.cl-go { width: 100%; height: 46px; border-radius: 12px; font-size: 14.5px; }
.cl-tool { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.cl-tool input { flex: 1; min-width: 160px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); }

/* ---- tables --------------------------------------------------------------------------- */
.bw-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bw-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bw-table th { text-align: left; font-weight: 600; color: var(--ink-2); font-size: 12px; padding: 6px 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bw-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.bw-table tr:last-child td { border-bottom: 0; }
.bw-table td:first-child, .bw-table th:first-child { padding-left: 0; }
.bw-table td:last-child, .bw-table th:last-child { padding-right: 0; text-align: right; }
.bw-table a { text-decoration: none; font-weight: 600; }
.bw-table a:hover { color: var(--indigo); }

/* ---- dashboard ------------------------------------------------------------------------- */
.db-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.db-col { display: grid; gap: 12px; }
.db-col-top { display: flex; gap: 12px; align-items: center; }
.db-col-top a { font-weight: 700; text-decoration: none; }
.db-col-top a:hover { color: var(--indigo); }

/* ---- learn ------------------------------------------------------------------------------- */
.ln-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 12px; }
.ln-nav { display: grid; gap: 2px; padding: 8px; }
.ln-nav a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 13.5px; transition: color .15s, background .15s; }
.ln-nav a:hover { color: var(--ink); background: rgba(20, 20, 43, .04); }
.ln-nav a[aria-current="page"] { color: var(--ink); background: rgba(91, 91, 214, .08); }
.ln-article { padding: 36px 40px 40px; }
.ln-article h1 { font-size: clamp(30px, 3.6vw, 40px); font-weight: 300; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 18px; }
.ln-article .ln-lead { font-size: 17.5px; color: var(--ink-2); line-height: 1.55; margin-bottom: 22px; max-width: 620px; }
.ln-article p { font-size: 15.5px; line-height: 1.7; max-width: 620px; margin-bottom: 16px; }
.ln-article p:last-child { margin-bottom: 0; }
.ln-next { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ln-next a { text-decoration: none; font-weight: 600; font-size: 13.5px; color: var(--indigo); display: inline-flex; align-items: center; gap: 6px; }

/* ---- 404 --------------------------------------------------------------------------------- */
.nf { display: grid; justify-items: center; text-align: center; gap: 18px; padding: 48px 0 24px; }
.nf svg { width: 220px; height: auto; }

/* ---- footer ----------------------------------------------------------------------------- */
.bw-footer { padding: 0 var(--gutter); margin-top: 72px; }
.bw-footer-in { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); padding: 26px 0 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--ink-2); }
.bw-footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.bw-footer-brand svg { width: 22px; height: 22px; }
.bw-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.bw-footer nav a { text-decoration: none; font-weight: 600; }
.bw-footer nav a:hover { color: var(--ink); }

/* ---- toast and sample stamp ----------------------------------------------------------- */
.bw-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 14px); opacity: 0; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-lift); z-index: 70; max-width: min(92vw, 480px); text-align: center; transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.bw-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.bw-sample { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-lift); }
.bw-sample svg { width: 16px; height: 16px; }

/* ---- responsive -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .bw-two, .bw-two-wide, .tk-layout { grid-template-columns: 1fr; }
  .tk-layout .tk-col { display: contents; }
  .tk-layout > .tk-col > * { order: 5; }
  .tk-layout .tk-price-area { order: 1; }
  .tk-layout .tk-trade-area { order: 2; }
  .tk-layout .tk-chart-area { order: 3; }
  .tk-layout .tk-stats-area { order: 4; }
  .bw-sticky { position: static; }
  .ln-layout { grid-template-columns: 1fr; gap: 16px; }
  .ln-nav { display: flex; flex-wrap: wrap; }
  .ln-article { padding: 26px 22px 30px; }
  .bw-featured-grid { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .bw-featured-grid::-webkit-scrollbar { display: none; }
  .bw-featured-grid > * { scroll-snap-align: start; }
  .bw-steps { grid-template-columns: 1fr; }
  .bw-choose { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bw-header { top: 8px; padding-top: 8px; }
  .bw-header-in { height: 54px; padding: 0 6px 0 12px; }
  .bw-brand span { font-size: 16px; }
  .bw-nav { display: none; }
  .bw-nav.is-open { display: grid; gap: 2px; position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 8px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 16px; box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px var(--line), var(--shadow-lift); }
  .bw-nav.is-open a { padding: 12px 14px; font-size: 15px; }
  .bw-burger { display: inline-flex; width: 38px; padding: 0; }
  .bw-btn-ink#bw-connect { height: 34px; padding: 0 12px; font-size: 13px; }
  .bw-hero { grid-template-columns: 1fr; gap: 16px; padding: 28px 0 24px; }
  .bw-hero-art { order: -1; }
  .bw-bow { width: min(70%, 260px); }
  .bw-display { font-size: clamp(36px, 10.5vw, 44px); }
  .bw-wash { height: 640px; }
  .bw-sec { margin-top: 40px; }
  .bw-form-grid { grid-template-columns: 1fr; }
  .bw-panel, .bw-card { padding: 16px; }
  .bw-fcard, .bw-tcard { padding: 16px; }
  .tk-chart iframe { height: 340px; }
  .cl-banner { height: 150px; }
  .cl-head { padding: 0 12px; }
  .bw-stats { grid-template-columns: 1fr 1fr; }
  .bw-footer-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .bw-bow .bow-arc, .bw-bow .bow-string { stroke-dashoffset: 0; animation: none; }
  .bw-bow .bow-dot { transform: none; animation: none; }
  .bw-bow .bow-halo { opacity: 1; animation: none; }
  .bw-live::before { animation: none; }
}

/* ---- utilities and layout order (appended, wins over earlier rules) ------------ */
.bw-mt { margin-top: 20px; }
.bw-mt-sm { margin-top: 12px; }
.bw-panel-h-tight { margin-bottom: 8px; }
.bw-stack-tight { display: grid; gap: 4px; min-width: 0; }
.bw-logo-sm { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.bw-addr { overflow-wrap: anywhere; }
.tk-supply-bar .is-traders { background: rgba(155, 107, 255, .45); }
.tk-legend i.is-pool { background: var(--indigo); }
.tk-legend i.is-traders { background: rgba(155, 107, 255, .45); }
.tk-legend i.is-reserve { background: rgba(20, 20, 43, .18); }
.nf-lead { text-align: center; }
.bw-grid.is-empty { grid-template-columns: 1fr; }
.bw-arc circle.is-live { transform-box: fill-box; transform-origin: center; animation: bw-dot 2.2s ease-in-out infinite; }
@keyframes bw-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.tk-layout { align-items: stretch; }
.tk-col { align-content: start; }
.tk-col-side { display: block; }
.tk-col-side .bw-sticky { display: grid; gap: 20px; position: sticky; top: 88px; }
.tk-head > .bw-stack-tight { flex: 1; }
.db-col-top .bw-logo-sm { flex: none; }
.bw-sheet .bw-panel-h { margin-bottom: 0; }
@media (max-height: 820px) { .tk-col-side .bw-sticky { position: static; } }
@media (max-width: 1000px) {
  .tk-layout .tk-col, .tk-layout .tk-col-side, .tk-layout .bw-sticky { display: contents; }
  .tk-layout .tk-price-area { order: 1; }
  .tk-layout .tk-trade-area { order: 2; }
  .tk-layout .tk-chart-area { order: 3; }
  .tk-layout .tk-stats-area { order: 4; }
  .tk-layout .tk-about-area { order: 5; }
  .tk-layout .tk-supply-area { order: 6; }
  .tk-layout .tk-earn-area { order: 7; }
  .cl-layout .bw-stack { display: contents; }
  .cl-layout .cl-mint-area { order: 1; }
  .cl-layout .cl-phases-area { order: 2; }
  .cl-layout .cl-about-area { order: 3; }
  .cl-layout .cl-recent-area { order: 4; }
  .cl-layout .cl-tools-area { order: 5; }
  .bw-two > .bw-sticky, .tk-col-side .bw-sticky { position: static; }
}
@media (prefers-reduced-motion: reduce) { .bw-arc circle.is-live { animation: none; } }

/* ---- pass 2 fixes ------------------------------------------------------------------ */
.bw-header .bw-burger { display: none; }
.bw-panel, .bw-card { min-width: 0; }
.bw-scroll { max-width: 100%; }
.bw-tcard-stats dd, .bw-fcard-stats dd, .bw-stat dd { white-space: normal; overflow-wrap: anywhere; }
.bw-stat dd { font-size: 16.5px; }
.bw-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bw-prelaunch svg { width: 18px; height: 18px; flex: none; }
.bw-panel-h { flex-wrap: wrap; }
.bw-panel-h h2, .bw-panel-h h3 { white-space: nowrap; }
.tk-kv small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.cl-head { align-items: flex-start; }
.cl-head-text { flex: 1; min-width: 240px; padding-top: 42px; }
.bw-sec-head .bw-eyebrow + .bw-h2 { margin-top: 6px; }
@media (max-width: 1000px) {
  .bw-featured-grid { grid-template-columns: repeat(3, minmax(280px, 1fr)); }
}
@media (max-width: 760px) {
  .bw-header .bw-burger { display: inline-flex; }
  .bw-bow { width: min(58%, 220px); }
  .bw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl-head { margin-top: -30px; }
  .cl-head-text { padding-top: 0; min-width: 0; width: 100%; }
}
