/* SCREENER · one stylesheet. Own look (designreg: Pretendard + SUSE Mono, blue-graphite #0d1015, one violet accent).
   Colour means something: green/red = up/down or buy/sell, role colours = who traded. Nothing decorative. */
@font-face { font-family: 'Pretendard'; src: url('/fonts/pretendard-latin.woff2') format('woff2'); font-weight: 45 930; font-display: swap; }
@font-face { font-family: 'SUSE Mono'; src: url('/fonts/suse-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #0d1015; --bg2: #10141a; --panel: #131820; --panel2: #171d26; --hover: #1a212b; --press: #202834;
  --line: #1d242d; --line2: #28303b; --line3: #353f4c;
  --ink: #e9edf2; --ink2: #aab3bf; --ink3: #707b89; --ink4: #4f5966;
  --acc: #9d8fff; --acc2: #b8adff; --acc-bg: rgba(157, 143, 255, .12); --acc-line: rgba(157, 143, 255, .38);
  --up: #12b98c; --dn: #f2495c; --up-bg: rgba(18, 185, 140, .11); --dn-bg: rgba(242, 73, 92, .11);
  --dev: #f05a98; --bundle: #f0b429; --sniper: #ff8a4c; --whale: #3fc7d8; --kol: #6aa8ff; --bot: #7d8796; --me: #e9edf2;
  --r: 6px; --r2: 4px;
  --hd: 52px;
  --f: 'Pretendard', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --m: 'SUSE Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
  /* names Swap & chat's modules read (shared/swapchat.md) */
  --text: var(--ink); --muted: var(--ink3); --accent: var(--acc); --down: var(--dn); --warn: var(--bundle); --font: var(--f); --mono: var(--m); --radius: var(--r);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 400 13px/1.35 var(--f); font-feature-settings: 'tnum' 1, 'ss01' 1; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
::selection { background: var(--acc-line); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; border-radius: 3px; }
.is-hidden { display: none !important; }
.mono { font-family: var(--m); font-feature-settings: normal; }
.up { color: var(--up); } .dn { color: var(--dn); } .mut { color: var(--ink3); } .mut2 { color: var(--ink2); }

/* scrollbars: thin, themed, no arrows (owner rule) */
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: var(--line3); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) { * { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; } }
.noscroll { scrollbar-width: none; } .noscroll::-webkit-scrollbar { display: none; }

/* ---------- buttons, segmented controls, tabs ---------- */
.btn { height: 32px; padding: 0 14px; border-radius: var(--r2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 13px; white-space: nowrap; transition: background .12s, border-color .12s, color .12s; }
.btn-acc { background: var(--acc); color: #0d1015; }
.btn-acc:hover { background: var(--acc2); }
.btn-ghost { border: 1px solid var(--line2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line3); background: var(--hover); }
.btn[disabled] { opacity: .45; cursor: default; }
.seg { display: inline-flex; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r2); padding: 2px; gap: 2px; height: 30px; flex-shrink: 0; }
.seg button { padding: 0 9px; border-radius: 3px; color: var(--ink3); font-weight: 600; font-size: 12px; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed='true'] { background: var(--panel2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.tabs { display: flex; gap: 2px; align-items: stretch; height: 100%; }
.tabs > * { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; color: var(--ink3); font-weight: 600; font-size: 13px; white-space: nowrap; }
.tabs > *:hover { color: var(--ink); }
.tabs > [aria-selected='true'] { color: var(--ink); }
.tabs > [aria-selected='true']::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--acc); border-radius: 2px; }
.tabs .n { color: var(--ink4); font-weight: 500; font-size: 11.5px; }
.sel { height: 30px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r2); padding: 0 26px 0 10px; color: var(--ink2); font-weight: 600; font-size: 12px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23707b89' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; }
.sel:hover { border-color: var(--line2); color: var(--ink); }
.sel option { background: var(--panel); color: var(--ink); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 40; height: var(--hd); display: flex; align-items: center; gap: 18px; padding: 0 16px; background: rgba(13, 16, 21, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd-brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.hd-mark { width: 26px; height: 26px; display: block; }
.hd-name { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.hd-nav { display: flex; gap: 2px; flex-shrink: 0; }
.hd-nav a { padding: 7px 10px; border-radius: var(--r2); color: var(--ink2); font-weight: 600; font-size: 13px; }
.hd-nav a:hover { color: var(--ink); background: var(--hover); }
.hd-nav a[aria-current='page'] { color: var(--ink); }
.hd-search { position: relative; flex: 1 1 auto; max-width: 560px; margin: 0 auto; height: 34px; display: flex; align-items: center; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r); transition: border-color .12s, background .12s; }
.hd-search:focus-within { border-color: var(--acc-line); background: var(--panel); }
.hd-search .ic { width: 15px; height: 15px; margin: 0 8px 0 11px; color: var(--ink3); flex-shrink: 0; }
.hd-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 13px; }
.hd-search input::placeholder { color: var(--ink4); }
.hd-search input::-webkit-search-cancel-button { display: none; }
.hd-kbd { font: 600 11px var(--m); color: var(--ink3); border: 1px solid var(--line2); border-radius: 3px; padding: 1px 6px; margin-right: 8px; }
.hd-search:focus-within .hd-kbd { visibility: hidden; }
.hd-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hd-ca { display: flex; align-items: center; height: 32px; border: 1px solid var(--line2); border-radius: var(--r2); overflow: hidden; }
.hd-ca-lab { padding: 0 8px; color: var(--acc2); font-weight: 700; font-size: 12px; border-right: 1px solid var(--line2); height: 100%; display: flex; align-items: center; }
.hd-ca-addr { height: 100%; padding: 0 8px; display: flex; align-items: center; gap: 8px; font: 500 12px var(--m); color: var(--ink2); max-width: 170px; }
.hd-ca-addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-ca-addr:hover { color: var(--ink); background: var(--hover); }
.hd-ca-copy { font: 600 11px var(--f); font-style: normal; color: var(--ink3); }
.hd-ca-link { height: 100%; display: flex; align-items: center; padding: 0 9px; border-left: 1px solid var(--line2); font-weight: 600; font-size: 12px; color: var(--ink2); }
.hd-ca-link:hover { color: var(--ink); background: var(--hover); }
.hd-x { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: var(--r2); color: var(--ink2); }
.hd-x:hover { color: var(--ink); background: var(--hover); }
.hd-x svg { width: 14px; height: 14px; }
.hd-wallet { display: flex; align-items: center; }
.hd-sbtn { display: none; width: 34px; height: 34px; place-items: center; color: var(--ink2); }
.hd-sbtn svg { width: 17px; height: 17px; }

/* search results */
.sr { position: absolute; top: 40px; left: 0; right: 0; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); box-shadow: 0 18px 48px rgba(0, 0, 0, .55); overflow: hidden; max-height: min(560px, 70vh); overflow-y: auto; z-index: 60; }
.sr-h { padding: 8px 12px 6px; font: 600 10.5px var(--m); letter-spacing: .08em; text-transform: uppercase; color: var(--ink4); }
.sr-i { display: grid; grid-template-columns: 30px minmax(0, 1fr) 70px 74px 70px 42px; gap: 10px; align-items: center; height: 46px; padding: 0 12px; cursor: pointer; }
.sr-th { height: 28px; cursor: default; font: 600 10px var(--m); letter-spacing: .06em; text-transform: uppercase; color: var(--ink4); border-bottom: 1px solid var(--line); }
.sr-th:hover { background: none !important; }
.sr-i[aria-selected='true'], .sr-i:hover { background: var(--hover); }
.sr-i .tk { min-width: 0; display: block; }
.sr-i .tk b { font-weight: 700; } .sr-i .vt { width: 12px; height: 12px; vertical-align: -1.5px; margin-left: 4px; } .sr-i .tk span { color: var(--ink3); margin-left: 6px; }
.sr-i .tk div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-i .tk small { display: block; font: 500 11px var(--m); color: var(--ink4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-i .num { text-align: right; } .sr-i .num small { display: block; color: var(--ink4); font-size: 10.5px; }
.sr-empty { padding: 16px 12px; color: var(--ink3); }
.sr-foot { display: flex; gap: 14px; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--ink4); font-size: 11px; }
.sr-foot kbd { font: 600 10.5px var(--m); border: 1px solid var(--line2); border-radius: 3px; padding: 0 4px; color: var(--ink3); }

/* ---------- token avatar ---------- */
.av { position: relative; width: 28px; height: 28px; border-radius: 6px; background: var(--panel2); flex-shrink: 0; overflow: hidden; display: grid; place-items: center; font: 700 11px var(--f); color: var(--ink3); }
.av i { font-style: normal; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .15s; }
.av img.ok { opacity: 1; }
.av.lg { width: 40px; height: 40px; border-radius: 8px; font-size: 14px; }
.av.sm { width: 22px; height: 22px; border-radius: 5px; font-size: 9px; }

/* ---------- views ---------- */
.view { flex: 1 0 auto; min-width: 0; }
.ft { height: 34px; display: flex; align-items: center; justify-content: center; color: var(--ink4); font-size: 11.5px; border-top: 1px solid var(--line); }
.mnav { display: none; }

/* ---------- home: stats strip, controls, promoted, table ---------- */
.strip { height: 36px; display: flex; align-items: center; gap: 22px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--ink3); font-size: 12px; overflow: hidden; white-space: nowrap; }
.strip b { color: var(--ink); font-weight: 600; margin-left: 6px; }
.strip .sep { width: 1px; height: 14px; background: var(--line2); }
.strip .live { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(18, 185, 140, .14); display: inline-block; }
.dot.off { background: var(--ink4); box-shadow: none; }
.dot.late { background: var(--bundle); box-shadow: 0 0 0 3px rgba(240, 180, 41, .14); }
.card-h .x.late { color: var(--bundle); }
.ctl { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 6px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: var(--hd); z-index: 20; }
.ctl .tabs { flex: 1 1 auto; min-width: 0; overflow-x: auto; }
.ctl-r { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.viewsel, .tfsel { display: none; }
.promo { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.promo-lab { font: 600 10.5px var(--m); letter-spacing: .08em; text-transform: uppercase; color: var(--acc2); margin-right: 4px; flex-shrink: 0; }
.promo a { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 4px; border: 1px solid var(--line2); border-radius: var(--r); flex-shrink: 0; }
.promo a:hover { background: var(--hover); }

.tbl { --cols: 44px minmax(210px, 300px) minmax(88px, 1fr) minmax(70px, 1fr) minmax(72px, 1fr) minmax(76px, 1fr) minmax(92px, 1.1fr) minmax(58px, .8fr) minmax(58px, .8fr) minmax(58px, .8fr) minmax(58px, .8fr) minmax(58px, .8fr) minmax(56px, .8fr) minmax(62px, .8fr) minmax(84px, 1fr) 34px; min-width: 0; }
.tr { display: grid; grid-template-columns: var(--cols); align-items: center; height: 46px; padding: 0 8px 0 4px; border-bottom: 1px solid var(--line); position: relative; }
.th { position: sticky; top: calc(var(--hd) + 46px); z-index: 10; height: 34px; background: var(--bg2); color: var(--ink3); font: 600 10.5px var(--m); letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.th > div { cursor: default; user-select: none; }
.th > [data-sort] { cursor: pointer; } .th > [data-sort]:hover { color: var(--ink); }
.th > .on { color: var(--ink); }
.tr > div { min-width: 0; padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr .r { text-align: right; }
a.tr { color: var(--ink); transition: background .12s; }
a.tr:hover { background: var(--panel); }
.tr > .m-r { display: none; }
.tk-2 .m-meta { display: none; }
.rk { color: var(--ink4); font-size: 12px; text-align: right; padding-right: 4px !important; }
.tk { display: flex; align-items: center; gap: 10px; }
.tk-t { min-width: 0; line-height: 1.25; }
.tk-1 { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.tk-1 b { font-weight: 700; font-size: 13.5px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.tk-1 .vt { width: 13px; height: 13px; flex-shrink: 0; align-self: center; margin-left: -2px; }
.tk-1 span { color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-size: 12.5px; }
.tk-2 { display: flex; align-items: center; gap: 6px; color: var(--ink4); font-size: 11.5px; margin-top: 1px; }
.dex { font: 600 10px var(--m); letter-spacing: .03em; color: var(--ink3); border: 1px solid var(--line2); border-radius: 3px; padding: 0 4px; line-height: 14px; }
.cell2 { line-height: 1.2; }
.cell2 small { display: block; color: var(--ink4); font-size: 11px; margin-top: 2px; }
.bs { display: flex; height: 3px; border-radius: 2px; overflow: hidden; margin: 5px 0 0 auto; width: 54px; background: var(--dn); opacity: .9; }
.bs i { display: block; height: 100%; background: var(--up); }
.curve { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.curve .bar { width: 36px; height: 4px; border-radius: 2px; background: var(--line2); overflow: hidden; }
.curve .bar i { display: block; height: 100%; background: var(--acc); border-radius: 2px; }
.bonded { color: var(--ink3); font-size: 12px; }
.star { width: 26px; height: 26px; display: grid; place-items: center; color: var(--ink4); border-radius: 4px; }
.star:hover { color: var(--ink2); background: var(--hover); }
.star svg { width: 14px; height: 14px; }
.star.on { color: var(--bundle); }
.star.on svg path { fill: currentColor; }
.star.bell.on { color: var(--acc2); } .star.bell.on svg path { fill: none; }
.aled { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel); flex-wrap: wrap; }
.aled label { display: grid; gap: 4px; color: var(--ink3); font-size: 11.5px; font-weight: 600; }
.aled .inp { height: 32px; width: 150px; }
.aled .ck { display: flex; align-items: center; gap: 6px; height: 32px; color: var(--ink2); font-size: 12.5px; }
.flash-up { animation: fu .9s var(--ease); } .flash-dn { animation: fd .9s var(--ease); }
@keyframes fu { from { color: var(--up); } to { color: inherit; } }
@keyframes fd { from { color: var(--dn); } to { color: inherit; } }
.sk { display: block; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--panel) 0, var(--panel2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.empty { padding: 48px 16px; text-align: center; color: var(--ink3); }
.empty b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 6px; }

/* ---------- token page ---------- */
.tp { display: grid; grid-template-columns: minmax(0, 1fr) 372px; height: calc(100vh - var(--hd) - 34px); min-height: 640px; } /* header + page + footer = one screen */
.tp-main { display: grid; grid-template-rows: auto auto 38px minmax(280px, 1fr) minmax(220px, 34%); min-width: 0; min-height: 0; border-right: 1px solid var(--line); }
.tp-side { min-height: 0; overflow-y: auto; background: var(--bg); }
.th2 { display: flex; align-items: center; gap: 22px; padding: 10px 16px; border-bottom: 1px solid var(--line); min-width: 0; height: 64px; }
.th2-id { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 0 1 auto; }
.th2-n { min-width: 0; }
.th2-n .a { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.th2-n .a b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.th2-n .a span { color: var(--ink3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.th2-n .b { display: flex; align-items: center; gap: 8px; margin-top: 3px; color: var(--ink3); font-size: 11.5px; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 6px; border-radius: 3px; border: 1px solid var(--line2); color: var(--ink2); font: 500 11px var(--m); }
.chip:hover { color: var(--ink); border-color: var(--line3); }
.chip svg { width: 11px; height: 11px; }
.th2-p { flex-shrink: 0; min-width: 168px; }
.th2-p .px { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.th2-p .ch { font-size: 12px; font-weight: 600; margin-top: 2px; }
.th2-s { display: flex; gap: 0; flex-shrink: 1; min-width: 0; overflow: hidden; }
.th2-s > div { padding: 0 14px; border-left: 1px solid var(--line); line-height: 1.25; white-space: nowrap; min-width: 86px; }
.th2-s label { display: block; color: var(--ink3); font-size: 11px; }
.th2-s b { font-weight: 600; font-size: 14px; }
.th2-s small { color: var(--ink4); font-size: 11px; margin-left: 4px; }
.cbar { display: flex; align-items: center; gap: 10px; padding: 0 10px; border-bottom: 1px solid var(--line); min-width: 0; overflow-x: auto; }
.cbar .seg { height: 28px; } .cbar .seg button { padding: 0 7px; font-size: 11.5px; }
.cbar .vr { width: 1px; height: 18px; background: var(--line); flex-shrink: 0; }
.mk { display: inline-flex; gap: 2px; flex-shrink: 0; }
.mk button { height: 24px; min-width: 24px; padding: 0 6px; border-radius: 3px; font: 700 11px var(--m); color: var(--ink4); border: 1px solid transparent; display: inline-flex; align-items: center; gap: 5px; }
.mk button i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; }
.mk button[aria-pressed='true'] { color: var(--c); border-color: color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 9%, transparent); }
.mk button[aria-pressed='true'] i { opacity: 1; }
.tgl { display: inline-flex; align-items: center; gap: 7px; color: var(--ink2); font-weight: 600; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
.tgl .sw { width: 26px; height: 15px; border-radius: 8px; background: var(--line2); position: relative; transition: background .15s; }
.tgl .sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink2); transition: transform .15s var(--ease), background .15s; }
.tgl[aria-pressed='true'] .sw { background: var(--acc); } .tgl[aria-pressed='true'] .sw::after { transform: translateX(11px); background: #0d1015; }
.cwrap { position: relative; min-height: 0; min-width: 0; }
.chart { position: absolute; inset: 0; }
.ohlc { position: absolute; left: 12px; top: 8px; z-index: 3; display: flex; gap: 12px; font: 500 11.5px var(--m); color: var(--ink3); pointer-events: none; height: 16px; white-space: nowrap; }
.ohlc b { font-weight: 500; color: var(--ink2); }
.cnote { position: absolute; left: 12px; top: 28px; z-index: 3; font-size: 11px; color: var(--ink4); pointer-events: none; }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--panel2); border: 1px solid var(--line2); border-radius: var(--r2); padding: 6px 8px; font-size: 11.5px; box-shadow: 0 8px 24px rgba(0,0,0,.5); white-space: nowrap; }
.tip div { display: flex; align-items: center; gap: 6px; } .tip i { width: 7px; height: 7px; border-radius: 50%; }
.bot-p { display: grid; grid-template-rows: 40px minmax(0, 1fr); min-height: 0; border-top: 1px solid var(--line); }
.bot-h { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-right: 10px; }
.bot-b { overflow: auto; min-height: 0; }
.tape { --cols: 64px 54px 92px 84px 104px 100px 84px minmax(170px, 1fr) 34px; }
.tape .tr { height: 32px; font-size: 12.5px; }
.tape .th { position: sticky; top: 0; height: 30px; }
.tape .tr.flt { opacity: .42; }
.tape .tr.new { animation: tn .8s var(--ease); }
@keyframes tn { from { background: var(--acc-bg); } to { background: transparent; } }
.wl { display: flex; align-items: center; gap: 6px; min-width: 0; }
.wl a { font: 500 12px var(--m); color: var(--ink2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl a:hover { color: var(--ink); text-decoration: underline; }
.lb { font: 700 9.5px var(--m); letter-spacing: .04em; text-transform: uppercase; padding: 0 4px; line-height: 15px; border-radius: 3px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); flex-shrink: 0; }
.lb.dev { --c: var(--dev); } .lb.bundle { --c: var(--bundle); } .lb.sniper { --c: var(--sniper); } .lb.whale { --c: var(--whale); } .lb.kol { --c: var(--kol); } .lb.bot { --c: var(--bot); } .lb.dust, .lb.bagswap, .lb.wash, .lb.mev { --c: var(--ink3); }
.txl { color: var(--ink4); display: grid; place-items: center; } .txl:hover { color: var(--ink2); } .txl svg { width: 12px; height: 12px; }

/* side cards */
.card { border-bottom: 1px solid var(--line); padding: 14px 16px; }
.card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.card-h h3 { margin: 0; font-size: 12px; font-weight: 700; color: var(--ink2); letter-spacing: .01em; }
.card-h .x { color: var(--ink4); font-size: 11.5px; }
.card-sub { margin: -6px 0 10px; color: var(--ink4); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; column-gap: 12px; font-size: 12.5px; }
.kv > span { color: var(--ink3); }
.kv > b { font-weight: 600; text-align: right; display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.st { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.st.ok { background: var(--up); } .st.bad { background: var(--dn); } .st.warn { background: var(--bundle); } .st.na { background: var(--ink4); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 10px; }
.grid4 button { padding: 7px 0 6px; text-align: center; border-left: 1px solid var(--line); line-height: 1.2; }
.grid4 button:first-child { border-left: 0; }
.grid4 button small { display: block; color: var(--ink3); font-size: 10.5px; font-weight: 600; }
.grid4 button b { font-size: 12.5px; font-weight: 600; }
.grid4 button[aria-pressed='true'] { background: var(--panel2); }
.bsrow { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 12px; margin-top: 8px; }
.bsrow .l { color: var(--ink3); } .bsrow .rr { text-align: right; }
.bar2 { grid-column: 1 / -1; display: flex; height: 4px; border-radius: 2px; overflow: hidden; background: var(--dn); }
.bar2 i { background: var(--up); height: 100%; }
.vbar { grid-column: 1 / -1; display: flex; height: 4px; border-radius: 2px; overflow: hidden; background: var(--line2); }
.vbar i { background: var(--acc); height: 100%; }

/* swap */
.swap .seg { width: 100%; height: 34px; margin-bottom: 10px; }
.swap .seg button { flex: 1; font-size: 13px; }
.swap .seg button[data-side='buy'][aria-pressed='true'] { color: var(--up); }
.swap .seg button[data-side='sell'][aria-pressed='true'] { color: var(--dn); }
.amt { display: flex; align-items: center; height: 42px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--bg2); padding: 0 12px; gap: 8px; }
.amt:focus-within { border-color: var(--acc-line); }
.amt input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 16px; font-weight: 600; }
.amt span { color: var(--ink3); font-weight: 600; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0; }
.quick button { height: 28px; border: 1px solid var(--line); border-radius: var(--r2); color: var(--ink2); font-weight: 600; font-size: 12px; }
.quick button:hover { border-color: var(--line3); color: var(--ink); }
.swap-o { display: flex; justify-content: space-between; color: var(--ink3); font-size: 11.5px; margin: 2px 0 10px; }
.swap-o b { color: var(--ink2); font-weight: 600; }
.swap .go { width: 100%; height: 40px; font-size: 14px; }
.swap .go.buy { background: var(--up); color: #07120e; } .swap .go.sell { background: var(--dn); color: #19060a; }
.swap .note { margin-top: 8px; color: var(--ink4); font-size: 11.5px; text-align: center; }
.upd-ban { height: 92px; border-radius: var(--r); background: var(--panel2) center/cover; margin-bottom: 10px; }
.upd-d { color: var(--ink2); font-size: 12.5px; line-height: 1.45; margin: 0 0 10px; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
.links a { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line2); border-radius: var(--r2); color: var(--ink2); font-weight: 600; font-size: 12px; }
.links a:hover { color: var(--ink); background: var(--hover); }
.links svg { width: 12px; height: 12px; }
.locked { border: 1px dashed var(--line2); border-radius: var(--r); padding: 12px; color: var(--ink3); font-size: 12px; line-height: 1.45; }
.locked b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 13px; }
.locked a { color: var(--acc2); font-weight: 600; }
.rugbar { background: var(--dn-bg); border-bottom: 1px solid rgba(242, 73, 92, .35); color: var(--dn); font-weight: 700; padding: 8px 16px; }
.ptabs { display: none; }

/* ---------- plain pages ---------- */
.pg { max-width: 1180px; margin: 0 auto; padding: 28px 20px 48px; }
.pg-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pg-h h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.pg-h p { margin: 6px 0 0; color: var(--ink2); max-width: 640px; line-height: 1.5; }
.eyebrow { font: 600 10.5px var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 22px; }
.nums > div { padding: 14px 16px; border-left: 1px solid var(--line); }
.nums > div:first-child { border-left: 0; }
.nums label { display: block; color: var(--ink3); font-size: 11.5px; margin-bottom: 4px; }
.nums b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.nums small { display: block; color: var(--ink4); font-size: 11.5px; margin-top: 2px; }
.box { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); }
.box-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.box-h h2 { margin: 0; font-size: 14px; font-weight: 700; }
.rules { display: grid; grid-template-columns: 34px minmax(0, 1fr) 120px 110px; }
.rules > div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.rules .n { font: 600 11px var(--m); color: var(--ink4); }
.rules b { display: block; margin-bottom: 3px; }
.rules p { margin: 0; color: var(--ink3); font-size: 12.5px; line-height: 1.45; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.price-tbl { display: grid; grid-template-columns: minmax(0, 1fr) 112px 112px; }
.price-tbl > div { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.price-tbl .h { color: var(--ink3); font: 600 10.5px var(--m); letter-spacing: .06em; text-transform: uppercase; }
.price-tbl .y { color: var(--up); font-weight: 600; } .price-tbl .no { color: var(--ink4); }
.form { display: grid; gap: 12px; padding: 16px; }
.form label { display: grid; gap: 6px; color: var(--ink2); font-weight: 600; font-size: 12px; }
.inp { height: 38px; background: var(--bg); border: 1px solid var(--line2); border-radius: var(--r2); padding: 0 12px; outline: 0; font-size: 13px; }
.inp:focus { border-color: var(--acc-line); }
.steps { counter-reset: s; display: grid; gap: 0; }
.steps > div { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.steps > div::before { counter-increment: s; content: counter(s); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line3); display: grid; place-items: center; font: 600 11px var(--m); color: var(--ink2); }
.steps b { display: block; margin-bottom: 2px; } .steps p { margin: 0; color: var(--ink3); font-size: 12.5px; line-height: 1.45; }
pre.code { margin: 0; padding: 12px 14px; background: var(--bg); border-top: 1px solid var(--line); font: 12px/1.5 var(--m); color: var(--ink2); overflow-x: auto; }
.ep { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 12px; padding: 12px 16px 0; }
.ep .m { font: 700 11px var(--m); color: var(--up); padding-top: 2px; } .ep code { font: 600 13px var(--m); }
.ep p { grid-column: 2; margin: 4px 0 10px; color: var(--ink3); font-size: 12.5px; }


/* /update: source line + preview */
.src { margin: 0; padding: 10px 14px; color: var(--ink4); font-size: 11px; line-height: 1.45; }
.src a { color: var(--ink3); text-decoration: underline; text-underline-offset: 2px; }
.prev { margin-top: 20px; }
.prev-g { display: grid; grid-template-columns: minmax(0, 1fr) 372px; min-height: 300px; }
.prev-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; border-right: 1px solid var(--line); }
.prev-main .th2 { flex-wrap: wrap; row-gap: 12px; }
.prev-main .th2-n .a span { max-width: none; }
.prev-main .th2-s { margin-left: 0; overflow: visible; }
.prev-main .th2-s > div { min-width: 0; }
.prev-side { padding: 14px 16px; min-width: 0; }
.spark { position: relative; flex: 1; min-height: 150px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); overflow: hidden; }
.spark svg { position: absolute; inset: 8px 0 22px; width: 100%; height: calc(100% - 30px); }
.spark span { position: absolute; left: 10px; bottom: 5px; font-size: 11px; }
.slot { display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 8px 10px; margin-bottom: 10px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--ink4); font-size: 12px; text-align: center; }
.slot.ban { height: 92px; }
.slot.chat { min-height: 64px; margin-bottom: 0; }


/* token page: teams map */
.teams { display: grid; grid-template-columns: minmax(0, 1fr) 330px; min-height: 100%; }
.tmap { display: block; width: 100%; height: auto; max-height: 100%; cursor: default; }
.tmap circle[data-w] { cursor: pointer; transition: fill-opacity .12s; } .tmap circle[data-w]:hover { fill-opacity: 1; stroke: #fff; }
.tmap .tp { font: 600 10px var(--f); fill: #0d1015; pointer-events: none; } .tmap .tp.lt { fill: #c9d0da; }
.tmap .tg { font: 700 11px var(--m); pointer-events: none; }
.tside { border-left: 1px solid var(--line); padding: 10px 14px; overflow-y: auto; }
.trow { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.trow i { width: 10px; height: 10px; border-radius: 50%; }
.trow small { display: block; color: var(--ink3); font-size: 11.5px; margin-top: 2px; }
.trow small a { color: var(--ink2); } .trow small a:hover { text-decoration: underline; }
.trow .tp2 { font-size: 15px; }
.tnote { color: var(--ink4); font-size: 11.5px; line-height: 1.45; margin-top: 10px; }


/* /embed/<mint>: the chart alone, any iframe size */
body.emb { min-height: 0; height: 100vh; overflow: hidden; background: var(--bg); }
.eb { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100vh; }
.eb-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.eb-id { display: flex; align-items: baseline; gap: 7px; min-width: 0; white-space: nowrap; }
.eb-id .av { align-self: center; }
.eb-id .px { font-size: 14px; margin-left: 4px; } .eb-id .mc { font-size: 12px; }
.eb-c { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.eb-c .seg { height: 26px; } .eb-c .seg button { padding: 0 6px; font-size: 11px; }
.eb-c2 { min-height: 120px; }
.eb-by { position: absolute; right: 74px; bottom: 30px; z-index: 6; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px 3px 4px; border-radius: 4px; background: rgba(13, 16, 21, .78); border: 1px solid var(--line2); color: var(--ink2); font-weight: 700; font-size: 11px; }
.eb-by:hover { color: var(--ink); border-color: var(--line3); }
.eb-by svg { width: 14px; height: 14px; }
@media (max-width: 520px) { .eb-c .mk, .eb-id .mc { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1500px) {
  .tbl { --cols: 38px minmax(180px, 250px) minmax(84px, 1fr) minmax(66px, 1fr) minmax(66px, 1fr) minmax(70px, 1fr) minmax(86px, 1.1fr) minmax(52px, .8fr) minmax(54px, .8fr) minmax(54px, .8fr) minmax(54px, .8fr) minmax(54px, .8fr) minmax(52px, .8fr) minmax(58px, .8fr) minmax(78px, 1fr) 32px; }
  .hd-nav a[data-nav='api'] { display: none; }
}
@media (max-width: 1360px) {
  .tbl { --cols: 34px minmax(160px, 220px) minmax(82px, 1fr) minmax(64px, 1fr) minmax(64px, 1fr) minmax(66px, 1fr) minmax(84px, 1.1fr) minmax(50px, .8fr) minmax(52px, .8fr) minmax(52px, .8fr) 0 minmax(52px, .8fr) minmax(50px, .8fr) minmax(56px, .8fr) minmax(74px, 1fr) 30px; }
  .tbl .c-6h { visibility: hidden; padding: 0; }
  .hd-nav { display: none; }
  .tp { grid-template-columns: minmax(0, 1fr) 340px; }
  .th2-s > div:nth-child(n+5) { display: none; }
}
@media (max-width: 1100px) {
  .hd-upd { display: none; }
  .tbl { --cols: 32px minmax(150px, 220px) minmax(80px, 1fr) minmax(64px, 1fr) 0 minmax(66px, 1fr) minmax(80px, 1fr) 0 minmax(52px, .8fr) minmax(52px, .8fr) 0 minmax(52px, .8fr) 0 0 minmax(70px, 1fr) 28px; }
  .tbl .c-liq, .tbl .c-mk, .tbl .c-6h, .tbl .c-bundle, .tbl .c-dev { visibility: hidden; padding: 0; }
  .th2-s { display: none; }
}
@media (max-width: 760px) {
  :root { --hd: 50px; }
  body { font-size: 13px; }
  .hd { gap: 10px; padding: 0 10px; }
  .hd-name { font-size: 16px; }
  .hd-search { position: absolute; left: 8px; right: 8px; top: 8px; max-width: none; z-index: 2; display: none; }
  .sr-i { grid-template-columns: 26px minmax(0, 1fr) 62px 64px 36px; gap: 8px; padding: 0 10px; } .sr-i > :nth-child(5) { display: none; }
  .hd.searching .hd-search { display: flex; }
  .hd-sbtn { display: grid; }
  .hd-kbd, .hd-ca, .hd-x { display: none; }
  .hd-right { margin-left: auto; gap: 4px; }
  .hd-right .btn-acc { height: 30px; padding: 0 12px; }
  .strip { gap: 14px; padding: 0 12px; font-size: 11.5px; }
  .strip .xs { display: none; }
  .ctl { flex-wrap: wrap; height: auto; padding: 0; gap: 0; }
  .ctl .tabs { flex: 1 1 100%; height: 42px; border-bottom: 1px solid var(--line); }
  .ctl .tabs { display: none; }
  .ctl-r { width: 100%; padding: 7px 8px; gap: 6px; justify-content: space-between; }
  .ctl-r .sel.dexsel { display: none; }
  .ctl-r .viewsel { display: block; min-width: 0; flex: 1 1 auto; max-width: 140px; }
  .ctl-r .seg button { padding: 0 7px; }
  .th { display: none; }
  .tbl { --cols: none; }
  .tr.row > .rk { font-size: 11px; padding-right: 2px !important; overflow: visible; }
  .tr.row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-rows: 1fr; height: 62px; padding: 0 10px 0 6px; column-gap: 0; }
  .tr.row > div { display: none; }
  .tr.row > .rk, .tr.row > .c-tok, .tr.row > .m-r { display: block; }
  .tr.row > .c-tok { display: flex; padding-left: 4px; }
  .m-r { text-align: right; line-height: 1.25; }
  .m-r .p { font-weight: 600; font-size: 13.5px; }
  .m-r small { display: block; color: var(--ink3); font-size: 11.5px; margin-top: 2px; }
  .m-r small.up { color: var(--up); } .m-r small.dn { color: var(--dn); }
  .tr.row .tk-2 .dex { display: none; }
  .strip .xm { display: none; }
  .tk-2 .m-meta { display: inline; }
  .ft { margin-bottom: 58px; }
  .mnav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(16, 20, 26, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink3); font-size: 10.5px; font-weight: 600; }
  .mnav a svg { width: 19px; height: 19px; }
  .mnav a[aria-current='page'] { color: var(--ink); }
  body.on-token .mnav { display: none; }
  body.on-token .ft { display: none; }
  /* token page on a phone: one panel at a time, tabs at the foot */
  .tp { display: block; height: auto; min-height: 0; }
  .tp-main { display: block; border: 0; }
  .th2 { height: auto; padding: 10px 12px; flex-wrap: wrap; gap: 8px 14px; }
  .th2-id, .th2-n { min-width: 0; max-width: 100%; } .th2-n .b { flex-wrap: wrap; row-gap: 4px; } .th2-n .b [data-embed] { display: none; }
  .th2-p { margin-left: auto; text-align: right; }
  .th2-p .px { font-size: 19px; }
  .ptabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: calc(52px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(16, 20, 26, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .ptabs button { color: var(--ink3); font-weight: 700; font-size: 12.5px; position: relative; }
  .ptabs button[aria-selected='true'] { color: var(--ink); }
  .ptabs button[aria-selected='true']::before { content: ''; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; background: var(--acc); border-radius: 2px; }
  .tp[data-ptab] .cbar, .tp[data-ptab] .cwrap, .tp[data-ptab] .bot-p, .tp[data-ptab] .tp-side > * { display: none; }
  .tp[data-ptab='chart'] .cbar { display: flex; flex-wrap: wrap; height: auto; padding: 7px 8px; gap: 7px 6px; overflow: visible; border-bottom: 1px solid var(--line); }
  .cbar .vr, #ctf, .tgl .long { display: none; }
  .cbar .tfsel { display: block; height: 28px; }
  .cbar .mk { order: 5; width: 100%; justify-content: space-between; }
  .cbar .mk button { flex: 1; justify-content: center; }
  .ohlc { font-size: 10.5px; gap: 8px; right: 64px; overflow: hidden; } .ohlc > span:nth-child(n+6) { display: none; }
  .tp[data-ptab='chart'] .cwrap { display: block; height: calc(100dvh - 330px); min-height: 300px; }
  .tp { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .prev-g { grid-template-columns: 1fr; } .prev-main { border-right: 0; border-bottom: 1px solid var(--line); } .prev-main .th2 { flex-wrap: wrap; } .prev-main .th2-s { display: flex; } .prev-main .th2-s > div:first-child { border-left: 0; padding-left: 0; }
  .tp[data-ptab='chart'] .tp-side .c-stats { display: block; }
  .tp[data-ptab='trades'] .bot-p { display: grid; grid-template-rows: 40px auto; border-top: 0; }
  .tp[data-ptab='trades'] .bot-b { overflow: visible; }
  .tp[data-ptab='swap'] .tp-side .c-swap, .tp[data-ptab='swap'] .tp-side .c-stats { display: block; }
  .tp[data-ptab='info'] .tp-side .c-info, .tp[data-ptab='info'] .tp-side .c-sec { display: block; }
  .tp[data-ptab='chat'] .tp-side .c-chat { display: block; }
  .tp-side { overflow: visible; padding-bottom: 60px; }
  .tp-main { padding-bottom: 0; }
  .bot-p { grid-template-columns: minmax(0, 1fr); } .bot-h { min-width: 0; gap: 8px; } .bot-h .tabs { min-width: 0; flex: 1 1 auto; } .bot-h .tgl { flex-shrink: 0; } .bot-h .tgl .long { display: none; }
  .bot-h .tabs { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); } .bot-h .tabs::-webkit-scrollbar { display: none; } .bot-h .tabs > * { padding: 0 9px; }
  .teams { grid-template-columns: 1fr; } .tside { border-left: 0; border-top: 1px solid var(--line); }
  .tape .tr { padding: 0 6px; font-size: 12px; }
  .tape .tr > div { padding: 0 4px; }
  .tape.tt { --cols: 40px 36px minmax(58px, 1fr) minmax(50px, .8fr) minmax(58px, 1fr) minmax(96px, 1.4fr); }
  .tape.tt .tr > :nth-child(5), .tape.tt .tr > :nth-child(6), .tape.tt .tr > :nth-child(9) { display: none; }
  .tape.tt .wl { justify-content: flex-end; }
  .tape.tt .wl .lb:nth-of-type(n+2) { display: none; }
  .pg { padding: 18px 12px 40px; }
  .pg #body { overflow-x: auto; } /* a module wider than the phone scrolls instead of being cut */
  .cols2 { grid-template-columns: minmax(0, 1fr); } .cols2 > * { min-width: 0; }
  .wtr { --cols: 44px minmax(0, 1fr) 40px minmax(58px, auto) 26px !important; } .wtr .tr > :nth-child(5) { display: none; }
  .wtk { --cols: minmax(0, 1.4fr) minmax(52px, 1fr) minmax(52px, 1fr) minmax(60px, 1fr) !important; } .wtk .tr > :nth-child(5) { display: none; } .wtk .th { display: grid; }
  .pg-h { flex-direction: column; align-items: flex-start; }
  .pg-h h1 { font-size: 22px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); } .nums > div:nth-child(4) { border-top: 1px solid var(--line); }
  .cols2 { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 26px minmax(0, 1fr) 84px; } .rules .c4 { display: none; }
  .price-tbl { grid-template-columns: minmax(0, 1fr) 92px 92px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
