/* FLONK dev layer: glue between Bang's markup and the UI Designer's ui/flonk.css. Loaded last.
   Only brand variables (tokens.css / flonk.css §1); no new colors. Remove rules as pages get the designer's markup. */

/* ---------- shell: nav (Bang's header with the .fl-nav look), marquee, footer ---------- */
.fl-nav { box-shadow: none; backdrop-filter: none; }
.fl-nav .logo img { display: block; height: 30px; width: auto; }
.fl-nav .nav__links a { font-stretch: normal; }
.fl-nav .pill--net { border-color: var(--uink); background: var(--white); color: var(--uink); }
.fl-nav .iconbtn { border-color: var(--uink); background: var(--white); color: var(--uink); box-shadow: var(--sh-sm); }
.fl-nav .wallet-btn { min-height: 40px; }
@media (max-width: 860px) { .fl-nav .logo img { height: 24px; } }
.tick.mq { position: sticky; top: 68px; z-index: 40; height: 48px; min-height: 48px; } /* look = ui/flonk.css §5 (pink Dela 24px on ink) */
@media (max-width: 860px) { .tick.mq { top: 60px; } }
@media (max-width: 640px) { .tick.mq { height: 40px; min-height: 40px; } }
.tick.mq { font: 400 24px/48px var(--display); color: var(--pink); }
.tick.mq .tk { color: var(--pink); background: none; border: 0; padding: 0 11px; font: 400 24px/48px var(--display); text-transform: uppercase; text-decoration: none; }
@media (max-width: 640px) { .tick.mq .tk { line-height: 40px; } }
.tick.mq .tk b { color: inherit; font-weight: 400; text-transform: none; } /* tickers keep their case: NVDAx */
.tick.mq .tk svg { display: none; }
.fl-foot { display: grid; gap: 22px; padding: 28px var(--pad) 22px; background: var(--uink); color: var(--white); border-top: var(--line); overflow: hidden; }
.fl-foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 700 13px/1 var(--mono); }
.fl-foot__links a { color: var(--white); text-decoration: none; text-transform: lowercase; }
.fl-foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fl-foot__wm { width: 100%; height: auto; opacity: 1; }

/* ---------- Dip art ---------- */
img.dip { object-fit: contain; aspect-ratio: 1; height: auto; }
.pg-list .phead .dip { transition: transform var(--t-slow) var(--spring); }
.is-listed .phead .dip { transform: translateY(-24px) rotate(-6deg); }

/* ---------- /list extras not in the mock ---------- */
.more2 { margin-top: 14px; } .more2 summary { cursor: pointer; font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } @media (max-width: 640px) { .row3 { grid-template-columns: 1fr; } }
.pick__note { margin: 10px 0 0; font: 700 13px var(--mono); }
.pv__img--empty { display: grid; place-items: center; padding: 8px; }
.pv__img img, .pv__img--empty img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.lx2__side .slab--pink { width: 100%; }
.lx2 .err { margin: 8px 0 0; font: 700 13.5px/1.4 var(--sans); color: var(--uink); }
.lx2 .err:not(:empty)::before { content: "✕ "; }
.lbar__id span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- inherited pages (home, coin, docs): until they get the designer's markup ---------- */
.bang-btn { background: var(--uink); color: var(--white); border: var(--line); box-shadow: var(--sh); font-family: var(--display); }
.bang-btn__mark { display: none; }
.btn { font-family: var(--display); font-weight: 400; }
.h2, .hl, h1, h2 { font-family: var(--display); font-weight: 400; font-stretch: normal; }
.cond { font-stretch: normal; }
.pairbadge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border: 2px solid var(--uink); border-radius: 99px; background: var(--white); color: var(--uink); font: 700 11.5px/1 var(--mono); white-space: nowrap; }
.pairbadge--stock { background: var(--sky); }
.bc__top .pairbadge { margin-left: auto; align-self: flex-start; }
.pairbox { margin-top: 12px; padding: 12px 14px; border: var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--sh-sm); max-width: 720px; }
.pairbox .eyebrow { margin: 0 0 4px; }
.pairbox__row { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font: 700 14px var(--mono); }
.pairbox__row b { font: 400 22px/1 var(--display); }
.pairbox__row i { font-style: normal; }
.pairs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.pairtile { display: grid; gap: 2px; padding: 12px 14px; border: var(--line); border-radius: var(--r); background: var(--white); color: var(--uink); text-decoration: none; transition: transform var(--t-fast) var(--spring); }
.pairtile:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-sm); }
.pairtile b { font: 400 20px/1 var(--display); }
.pairtile span { font: 600 13px var(--sans); }
.pairtile small { font: 700 10.5px/1.4 var(--mono); text-transform: uppercase; }
.pairtile--stock { background: var(--ice); }
.pairtile i { font-style: normal; }
.up { color: var(--uink); } .dn { color: var(--uink); }
@media (prefers-reduced-motion: reduce) { .is-listed .phead .dip { transform: none; } }

/* ---------- home (UI spec §5, adapted to the no-post scope) ---------- */
.hz { position: relative; overflow: hidden; display: grid; align-content: start; min-height: clamp(560px, 54vw, 1040px); padding: clamp(28px, 4vw, 64px) var(--pad) 26px; isolation: isolate; }
.hz__art { position: absolute; inset: 0; z-index: -1; background: url("/img/hero/hero_art.png") right bottom / cover no-repeat; transform-origin: 70% 90%; }
.hz__art.is-crash { animation: hz-crash 460ms var(--spring) both, hz-shake 140ms steps(4) 300ms; }
.hz__art.is-shake { animation: hz-shake 140ms steps(4); }
@keyframes hz-crash { from { transform: translateY(-5%) rotate(-1.5deg) scale(1.03); opacity: 0; } 60% { transform: translateY(0) scaleY(.985); opacity: 1; } }
@keyframes hz-shake { 25% { transform: translate(6px, -4px); } 50% { transform: translate(-6px, 4px); } 75% { transform: translate(4px, 2px); } }
.hz__l { position: relative; max-width: min(52%, 860px); }
.hz .h-hero { font-size: clamp(44px, 4.8vw, 94px); }
.hz .h-hero span { display: block; white-space: nowrap; color: var(--white); text-shadow: 5px 5px 0 var(--uink); -webkit-text-stroke: 2px var(--uink); paint-order: stroke fill; }
.hz .eyebrow { margin: 0 0 16px; }
.hz .lede { margin-top: 18px; max-width: 46ch; font-weight: 600; }
.hz__sub3 { margin: 8px 0 0; font: 800 15px/1.35 var(--sans); }
.hz__go { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; margin-top: 26px; }
.hz__pair { position: relative; }
.hz__pair .pchip--btn { height: 64px; padding: 0 16px 0 8px; font-size: 18px; border-width: 3px; }
.hz__pair .pchip--btn .pchip__g { width: 36px; height: 36px; font-size: 14px; }
.hz__pair .ppop { left: 0; top: calc(100% + 10px); }
.hz__go .slab--pink { min-width: 200px; }
.hz__see { font: 800 15px var(--sans); color: var(--uink); text-transform: uppercase; text-underline-offset: 4px; }
.hz__meta { margin: 18px 0 0; font-size: 13px; } .hz__meta a { color: var(--uink); }
.hz__cap { margin: 6px 0 0; font-size: 12px; }
@media (max-width: 1099px) { .hz__l { max-width: 64%; } }
@media (max-width: 760px) {
  .hz { min-height: 0; padding-bottom: 0; }
  .hz__l { max-width: none; }
  .hz__art { position: relative; inset: auto; z-index: 0; order: 2; height: calc(100vw * 1.12); margin: 8px calc(var(--pad) * -1) 0; background: url("/img/hero/hero_art_mobile.png") center bottom / 100% auto no-repeat; }
  .hz .h-hero { font-size: clamp(34px, 10.4vw, 72px); }
  .hz .h-hero span { white-space: normal; }
  .hz__l { min-width: 0; }
}
@media (max-width: 640px) { .hz__go { display: grid; grid-template-columns: 1fr 1.4fr; } .hz__pair .pchip--btn { width: 100%; justify-content: center; } .hz__go .slab--pink { min-width: 0; } .hz__see { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .hz__art, .hz__art.is-crash, .hz__art.is-shake { animation: none; } }
.beats2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0 var(--pad) 10px; list-style: none; }
.beats2 li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--sh-sm); }
.beats2 b { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--uink); color: var(--white); font: 400 17px/1 var(--display); }
.beats2 span { font: 600 13.5px/1.35 var(--sans); } .beats2 strong { display: block; font: 400 17px/1.1 var(--display); }
@media (max-width: 760px) { .beats2 { grid-template-columns: 1fr; } }
.sec2 { padding: 34px var(--pad) 10px; }
.sec2__h { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.sec2__ctl { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.sec2__ctl .qchips { margin: 0; }
.sel2 { height: 40px; padding: 0 12px; border: var(--line); border-radius: 99px; background: var(--white); color: var(--uink); font: 700 13px var(--mono); }
/* sticker card internals */
.stk { min-height: 214px; align-content: start; }
.stk__top { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.stk__top img { width: 72px; height: 72px; border: var(--line); border-radius: 14px; object-fit: cover; background: var(--white); }
.stk__id { min-width: 0; display: grid; gap: 4px; justify-items: start; }
.stk__id h3 { margin: 0; max-width: 100%; font: 400 20px/1.05 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stk__id .mono { font-size: 14px; font-weight: 700; }
.stk__mid { display: flex; align-items: center; gap: 10px; } .stk__mid b { font: 400 26px/1 var(--display); }
.stk .upl { height: 12px; } .stk .upl__lbl { margin-top: 0; }
.stk__foot { font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stk--up { background: var(--white); }
.stamp2 { position: absolute; top: -12px; right: 14px; z-index: 2; padding: 5px 9px; border: var(--line); border-radius: 8px; background: var(--sky); font: 400 13px/1 var(--display); transform: rotate(-4deg); }
.wall__empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; padding: 26px; border: 3px dashed var(--uink); border-radius: var(--r-lg); text-align: center; font: 600 16px var(--sans); }
.wall__empty a { color: var(--uink); font-weight: 800; }
/* pairs band */
.pband { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px 36px; align-items: center; padding: clamp(18px, 2.4vw, 32px); border: var(--line); border-radius: var(--r-lg); background: var(--ice); box-shadow: var(--sh); }
.pband__eq { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 18px; }
.pband__eq b { display: block; font: 400 clamp(30px, 4vw, 60px)/1 var(--display); text-transform: none; }
.pband__eq small { display: block; margin-top: 6px; font: 700 12px var(--mono); text-transform: uppercase; }
.pband__eq > i { font: 400 clamp(30px, 4vw, 60px)/1 var(--display); font-style: normal; }
.pband__facts { margin: 0; padding-left: 20px; display: grid; gap: 8px; font: 600 15px/1.4 var(--sans); }
.pband__more { grid-column: 1 / -1; color: var(--uink); font-weight: 700; }
@media (max-width: 860px) { .pband { grid-template-columns: 1fr; } }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin-top: 22px; }
.pgrid .chg { height: 20px; font-size: 11px; padding: 0 6px; }
/* burns strip */
.bstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 40px; }
.bstk { display: grid; gap: 6px; padding: 16px; border: var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--sh-sm); color: var(--uink); text-decoration: none; }
.bstk span { font: 700 12px var(--mono); text-transform: uppercase; } .bstk b { font: 400 26px/1 var(--display); } .bstk small { font: 600 12.5px/1.35 var(--sans); }
.bstk--off { border-style: dashed; box-shadow: none; background: transparent; }
@media (max-width: 760px) { .bstrip { grid-template-columns: 1fr; } }

/* ---------- coin page glue ---------- */
.cx__go { width: 100%; }
.cx__chartnote { margin: 8px 0 0; font: 600 12.5px var(--sans); }
.upl--lg { height: 22px; }
.cx__fuse .upl__lbl { font-size: 13px; }
.pairbox__row .eyebrow { margin: 0; }
.pairbox__row a { color: var(--uink); }
.seg button[aria-pressed="true"][data-side="buy"], [data-side="buy"][aria-pressed="true"] { background: var(--pump); color: var(--uink); }
[data-side="sell"][aria-pressed="true"] { background: var(--dump); color: var(--white); }

/* ---------- docs / legal glue ---------- */
.dx__card--risk { margin: 0 0 22px; padding: 18px 20px; border: var(--line); border-radius: var(--r); background: var(--uink); color: var(--white); box-shadow: var(--sh-sm); }
.dx__card--risk h2 { margin-top: 0; color: var(--white); }
.dx__card--risk a, .dx__card--risk b { color: var(--white); }
.hero--page .h-page { margin: 10px 0 0; }
.doc section h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
@media (max-width: 640px) { .fl-nav { gap: 8px; } .fl-nav .pill--net { display: none; } .fl-nav .wallet-btn { min-height: 38px; padding: 0 10px; font-size: 12px; white-space: nowrap; } .fl-nav .wallet-btn .pill, .fl-nav .wallet-btn .xpill { display: none; } }

/* hero2 motion (brand/MOTION.md): one crash-shake on load, then a short shake every ~6 s while visible (home.js toggles) */
.hero2.is-crash { animation: hz-shake 140ms steps(4) 280ms; }
.hero2.is-shake { animation: hz-shake 140ms steps(4); }
.hero2 .hz__pair { position: relative; display: inline-flex; }
.hero2 .hz__pair .ppop { left: 0; top: calc(100% + 10px); }
.cd .drop2.is-over { background: var(--ice); }
@media (prefers-reduced-motion: reduce) { .hero2.is-crash, .hero2.is-shake { animation: none; } }
/* the 480 KB hero SVGs (thousands of clip paths) don't paint as CSS backgrounds at 2× density in Chrome: use the
   Visual Designer's identical PNG exports there (same art, same 1080×1920 / 1920×1080 frames, so the vw layout holds) */
@media (max-width: 899px) { .hero2 { background-image: url("/img/hero/hero_art_mobile.png"); } }
.cmode { display: inline-flex; margin-left: 8px; border: 2px solid var(--uink); border-radius: 99px; overflow: hidden; vertical-align: middle; }
.cmode button { height: 24px; padding: 0 9px; border: 0; background: var(--white); color: var(--uink); font: 700 11px var(--mono); cursor: pointer; }
.cmode button + button { border-left: 2px solid var(--uink); }
.cmode button[aria-pressed="true"] { background: var(--uink); color: var(--white); }

/* ---------- /burns + /analytics (UI spec v2 §7-8) ---------- */
.bpanels { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 10px; }
.bpanel { padding: 18px; border: var(--line); border-radius: var(--r-lg); background: var(--ice); box-shadow: var(--sh); }
.bpanel .h-card { margin-bottom: 10px; }
.bpanel--off { border-style: dashed; box-shadow: none; background: transparent; }
.bpanel__by { margin: 8px 0 0; font-size: 12px; }
@media (max-width: 899px) { .bpanels { grid-template-columns: 1fr; } }
.mix { display: flex; height: 34px; margin: 6px 0 16px; border: var(--line); border-radius: 10px; overflow: hidden; }
.mix__s { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0 6px; overflow: hidden; white-space: nowrap; font: 700 11px var(--mono); border-right: 2px solid var(--uink); }
.mix__s:last-child { border-right: 0; }
.mix__s--0 { background: var(--uink); color: var(--white); } .mix__s--1 { background: var(--sky); } .mix__s--2 { background: var(--white); } .mix__s--3 { background: var(--ice); }
.mix__s b { font-weight: 700; margin-right: 4px; text-transform: none; }
.tp__t th { background: var(--uink); color: var(--white); font: 700 11.5px var(--mono); text-transform: uppercase; }
.tp__t tbody tr:nth-child(even) { background: var(--ice); } .tp__t tbody tr:nth-child(odd) { background: var(--white); }
.tiers__soon { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12px; }

/* pair icons: flonk.css §17 (UI spec §1.6). Glue only: */
.tdpair { white-space: nowrap; }
[data-ptic] { margin-bottom: 6px; }
