/* Vetted — тёмное дымчатое стекло поверх гранжа. Один тёмный образ по замыслу. */
:root {
  --ink: #f2f2f0;
  --ink-2: #c9c9c5;
  --dim: #9d9d9a;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.08);
  --smoke: rgba(14, 14, 18, 0.62);
  --good: #3fd68a;
  --good-ink: #8ef0be;
  --good-bg: rgba(63, 214, 138, 0.16);
  --warn-ink: #f6cf80;
  --warn-bg: rgba(242, 190, 92, 0.16);
  --bad-ink: #ffa597;
  --bad-bg: rgba(255, 120, 100, 0.16);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* фон отдельным слоем: background-attachment: fixed не работает на iPhone */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: #141414 url(/bg.jpg) center / cover no-repeat; pointer-events: none; }
html, body { margin: 0; }
body {
  background: #141414;
  color: var(--ink);
  font: 14px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--good); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grow { flex: 1 1 20px; }
.dim { color: var(--dim); }
.small { font-size: 12px; }

.page { max-width: 1680px; margin: 0 auto; padding: 32px 24px 48px; display: flex; flex-direction: column; gap: 22px; }
main { display: flex; flex-direction: column; gap: 22px; }

.glass { background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.card-dark { background: var(--smoke); border: 1px solid var(--line); border-radius: 34px; padding: 28px; backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -40px rgba(0, 0, 0, 0.8); }

/* навигация */
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 12px 18px 12px 16px; border-radius: 999px; position: sticky; top: max(12px, env(safe-area-inset-top)); z-index: 10; }
.nav a { text-decoration: none; font-size: 13px; font-weight: 500; }
.nav a:hover { color: var(--good-ink); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { transform: rotate(-8deg); }
.brand span { font: 800 28px/1 var(--display); letter-spacing: 0.02em; }
.nav-meta { text-align: right; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.35; }


/* $VETTED launch teaser */
.token-nav { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px 7px 13px; border: 1px solid rgba(142, 240, 190, 0.3); border-radius: 999px; background: rgba(63, 214, 138, 0.07); }
.token-nav b { color: var(--good-ink); font: 700 11px var(--mono); }
.token-nav span { padding: 3px 6px; border-radius: 999px; background: rgba(142, 240, 190, 0.14); color: var(--good-ink); font: 800 8px var(--body); letter-spacing: 0.12em; }
.token-tease { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; min-height: 112px; padding: 12px 20px 12px 12px; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 26px; background: linear-gradient(105deg, rgba(255, 255, 255, 0.075), rgba(63, 214, 138, 0.04) 55%, rgba(0, 0, 0, 0.18)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.token-tease::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(147, 255, 224, 0.06), transparent 35%); }
.token-art { position: relative; z-index: 1; width: 104px; height: 104px; flex: none; object-fit: cover; border-radius: 50%; clip-path: circle(49%); filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.48)); }
.token-message { position: relative; z-index: 1; min-width: 0; }
.token-kicker { color: var(--dim); font: 600 9px var(--mono); letter-spacing: 0.16em; }
.token-name { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 5px; }
.token-name strong { font: 800 clamp(30px, 3vw, 43px)/0.94 var(--display); letter-spacing: 0.01em; }
.token-name em { padding: 6px 9px; border: 1px solid rgba(142, 240, 190, 0.38); border-radius: 999px; background: rgba(63, 214, 138, 0.1); color: var(--good-ink); font: 800 8.5px var(--body); font-style: normal; letter-spacing: 0.13em; }
.token-message p { margin: 7px 0 0; color: var(--ink-2); font-size: 12px; }
.token-status { position: relative; z-index: 1; margin-left: auto; align-self: flex-end; display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--dim); font: 600 8.5px var(--mono); letter-spacing: 0.1em; }
.token-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: pulse 2s ease-in-out infinite; }

/* обзор */
.overview { display: flex; flex-direction: column; gap: 24px; }
.ov-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.big-num { font: 800 132px/0.82 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; min-width: 1.2ch; }
.ov-meta { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ov-meta .v { font-weight: 500; color: var(--ink-2); text-transform: none; letter-spacing: 0; font-size: 12px; }
.wallet-pill { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 18px; border-radius: 999px; border: 0; background: #fff; color: #121212; font-weight: 600; font-size: 13px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6); }
.wallet-pill .wallet-ico { width: 40px; height: 40px; border-radius: 50%; background: #121212; display: grid; place-items: center; }
.wallet-pill.on { background: var(--good); }

.ov-body { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.left-col { flex: 0 1 280px; max-width: 280px; display: flex; flex-direction: column; gap: 12px; }

/* зелёные флаги */
.green-card { border-radius: 28px; padding: 20px; background: radial-gradient(circle at 75% 15%, #3e7a5e 0%, #1f3e33 45%, #10201a 100%); display: flex; flex-direction: column; gap: 14px; }
.gc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.gc-title { font: 800 30px/0.95 var(--display); letter-spacing: 0.01em; }
.gc-sub { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; margin-top: 6px; opacity: 0.85; }
.gc-count { font: 800 48px/0.85 var(--display); color: var(--good-ink); }
.gc-top { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); cursor: pointer; text-align: left; width: 100%; }
.ring { width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center; text-align: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.14); }
.ring b { display: block; font: 800 34px/0.9 var(--display); }
.ring small { font-size: 8.5px; font-weight: 700; letter-spacing: 0.12em; opacity: 0.8; }
.gc-top .nm { font: 800 22px/1 var(--display); }
.gc-top .why { font-size: 12px; opacity: 0.8; margin-top: 3px; }
.gc-list { display: flex; flex-direction: column; gap: 6px; }
.gc-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 0; width: 100%; text-align: left; }
.gc-row .nm { font-weight: 600; font-size: 13px; }
.gc-row .why { font-size: 11px; opacity: 0.75; }
.gc-row .sc { margin-left: auto; font: 800 20px/1 var(--display); color: var(--good-ink); }
.gc-empty { font-size: 13px; opacity: 0.85; padding: 6px 2px; }

.pill-row { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); width: 100%; }
.pill-row.as-btn:hover { border-color: rgba(255, 255, 255, 0.35); }
.pill-row.on { border-color: var(--good); }
.pill-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.live-dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(63, 214, 138, 0.16); display: grid; place-items: center; }
.live-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.live-dot.off { background: var(--bad-bg); }
.live-dot.off i { background: var(--bad-ink); box-shadow: none; }
.bell { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; font-size: 14px; }

/* лента */
.feed-panel { flex: 999 1 560px; min-width: 0; border-radius: 28px; padding: 18px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.feed-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 6px; }
.feed-title { margin: 0; font: 800 26px/1 var(--display); letter-spacing: 0.02em; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.tabs button { font-size: 12px; font-weight: 600; padding: 7px 13px; border: 0; border-radius: 999px; background: transparent; color: #d9d9d6; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #121212; }
.feed-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 0 6px 6px; }
.feed-tools input[type="search"] { flex: 1 1 200px; min-width: 0; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); outline: none; }
.feed-tools input[type="search"]:focus { border-color: var(--good); }
.toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.toggle input { accent-color: var(--good); }
.feed-scroll { overflow-x: auto; }
.feed-head, .row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.8fr) minmax(0, 0.6fr) minmax(0, 1.1fr) 56px 160px; gap: 14px; align-items: center; min-width: 790px; }
.feed-head { padding: 4px 12px; font: 600 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #8a8a87; }
.feed-head button { all: unset; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; border-radius: 6px; }
.feed-head button:hover, .feed-head button.on { color: var(--ink); }
.feed-head button:focus-visible { outline: 2px solid var(--good); outline-offset: 2px; }
.feed-head button::after { content: attr(data-dir); margin-left: 4px; font-size: 9px; }
.r { text-align: right; }
.feed-list { display: flex; flex-direction: column; gap: 6px; }
.row { padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid transparent; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.row:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); }
.row.fresh { background: rgba(63, 214, 138, 0.09); animation: flash 1.6s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 1px var(--good); } to { box-shadow: 0 0 0 1px transparent; } }
.coin { display: flex; align-items: center; gap: 10px; min-width: 0; }
.coin .meta { min-width: 0; }
.coin .nm { font-weight: 600; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.coin .tk { font: 400 11.5px var(--mono); color: var(--dim); }
.coin .sub { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; padding: 2px 6px; border-radius: 999px; background: var(--good); color: #0c1a12; }

.av { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font: 800 15px var(--display); color: #fff; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 0.2s, transform 0.2s; }
.blur-img .av img { filter: blur(7px); transform: scale(1.15); }
.blur-img .av:hover img, .blur-img .row:hover .av img { filter: none; transform: none; }
.av.lg { width: 76px; height: 76px; font-size: 28px; }

.flags { display: flex; flex-wrap: wrap; gap: 5px; }
.flag { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.flag.good { background: var(--good-bg); color: var(--good-ink); }
.flag.warn { background: var(--warn-bg); color: var(--warn-ink); }
.flag.bad { background: var(--bad-bg); color: var(--bad-ink); }
.num { font: 500 13px var(--mono); font-variant-numeric: tabular-nums; }
.prog { display: flex; flex-direction: column; gap: 5px; }
.prog .top { display: flex; justify-content: space-between; font: 400 12px var(--mono); font-variant-numeric: tabular-nums; }
.bar { height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.score { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 800 19px var(--display); }
.score.green { background: var(--good); color: #0c1a12; }
.score.amber { border: 1.5px solid var(--warn-ink); color: var(--warn-ink); }
.score.red { border: 1.5px solid var(--bad-ink); color: var(--bad-ink); }
.score.wait { border: 1.5px dashed var(--line); color: var(--dim); font-size: 13px; }
.row-acts { display: flex; gap: 6px; justify-content: flex-end; }
.buy-btn { padding: 7px 14px; border: 0; border-radius: 999px; background: var(--good); color: #0c1a12; font-size: 12px; font-weight: 800; }
.buy-btn:hover { filter: brightness(1.08); }
.pons-btn { justify-self: end; display: inline-flex; align-items: center; gap: 4px; padding: 7px 11px; border-radius: 999px; background: var(--ink); color: #121212; text-decoration: none; font-size: 11.5px; font-weight: 700; }
.empty { padding: 30px 10px; text-align: center; color: var(--dim); }

/* портфель */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; font: 800 26px/1 var(--display); letter-spacing: 0.02em; }
.port-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.port { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); cursor: pointer; text-align: left; width: 100%; }
.port.alert { border-color: var(--bad-ink); background: rgba(255, 120, 100, 0.08); }
.port .alert-txt { color: var(--bad-ink); font-weight: 700; font-size: 12px; }

/* держатель */
.holder { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 14px 24px 14px 14px; border-radius: 999px; }
.holder-sticker { transform: rotate(-10deg); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55)); flex: none; }
.holder-title { font: 800 38px/0.95 var(--display); letter-spacing: 0.01em; }
.holder-meta { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.5; }
.holder-meta span { font-weight: 500; opacity: 0.8; }
.holder-copy { max-width: 260px; font-size: 13px; opacity: 0.9; }
.holder-badge { padding: 10px 16px; border-radius: 999px; background: var(--good); color: #0c1a12; font-weight: 800; letter-spacing: 0.06em; }

/* правила */
.rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px 28px; }
.rule { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 13.5px; color: var(--ink-2); }
.rule b { font: 600 13px var(--mono); }
.rule b.p { color: var(--good-ink); }
.rule b.m { color: var(--bad-ink); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); }

/* окно монеты */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: start center; overflow-y: auto; padding: max(24px, env(safe-area-inset-top)) 16px 32px; }
.modal-box { position: relative; width: 100%; max-width: 880px; border-radius: 30px; }
.modal-x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); }
.m-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-right: 50px; }
.m-title { margin: 0; font: 800 44px/0.95 var(--display); letter-spacing: 0.01em; }
.m-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); text-decoration: none; font-size: 12px; font-weight: 600; }
.chip.x { background: #fff; color: #000; }
.chip.pons { background: var(--ink); color: #121212; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 22px; }
.box { border-radius: 20px; padding: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.box h3 { margin: 0 0 10px; font: 600 11px var(--mono); letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: 13px; }
.kv span:nth-child(odd) { color: var(--dim); }
.kv span:nth-child(even) { font-family: var(--mono); text-align: right; }
.fl-list { display: flex; flex-direction: column; gap: 6px; }
.fl { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.fl b { font: 600 12px var(--mono); }
.m-desc { margin: 14px 0 0; color: var(--ink-2); max-width: 70ch; white-space: pre-wrap; overflow-wrap: anywhere; }
.holders-list { display: flex; flex-direction: column; gap: 5px; font: 400 12px var(--mono); }
.holders-list div { display: flex; justify-content: space-between; gap: 10px; }
.dev-tag { font: 700 9.5px var(--body); letter-spacing: 0.08em; padding: 1px 6px; border-radius: 999px; background: var(--warn-bg); color: var(--warn-ink); margin-left: 6px; }

/* быстрая покупка */
.qb { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); }
.qb-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.qb-top b { letter-spacing: 0.1em; }
.qb-in { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); }
.qb-in input { flex: 1 1 auto; min-width: 0; width: 60px; border: 0; background: transparent; font: 800 24px var(--display); outline: none; }
.qb-in { padding-right: 16px; }
.qb-amts { display: flex; flex-wrap: wrap; gap: 6px; }
.qb-amts .amt { flex: 1 1 0; font-size: 11.5px; font-weight: 600; padding: 7px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; }
.qb-amts .amt.on { background: #fff; color: #121212; border-color: #fff; }
.qb-quote { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; font-size: 11.5px; }
.qb-quote span:nth-child(odd) { opacity: 0.75; white-space: nowrap; }
.qb-quote span:nth-child(even) { text-align: right; overflow-wrap: anywhere; }
.qb-quote .warn { color: var(--warn-ink); }
.qb-quote .bad { color: var(--bad-ink); }
.qb-go { padding: 12px 16px; border: 0; border-radius: 999px; background: var(--good); color: #0c1a12; font-size: 13.5px; font-weight: 800; letter-spacing: 0.02em; }
.qb-go:disabled { opacity: 0.5; cursor: not-allowed; }
.qb-note { font-size: 10.5px; opacity: 0.7; }

.toast { overflow-wrap: anywhere; position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: #1b1b1f; border: 1px solid var(--line); font-weight: 600; transition: 0.2s; z-index: 60; max-width: calc(100vw - 32px); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: var(--bad-ink); color: var(--bad-ink); }

@media (max-width: 760px) {
  .page { padding: 16px 16px 40px; gap: 16px; }
  .nav { border-radius: 24px; gap: 14px; }
  .nav a:not(.brand) { display: none; }
  .nav-meta { display: none; }
  .token-nav { display: inline-flex !important; margin-left: auto; padding: 6px 8px 6px 10px; }
  .nav .token-nav + .x-btn { margin-left: 0; }
  .token-tease { gap: 12px; min-height: 0; padding: 10px 12px; border-radius: 22px; }
  .token-art { width: 76px; height: 76px; }
  .token-kicker { font-size: 7.5px; letter-spacing: 0.11em; }
  .token-name { gap: 7px; margin-top: 3px; }
  .token-name strong { font-size: 31px; }
  .token-name em { padding: 4px 7px; font-size: 7px; }
  .token-message p { max-width: 250px; margin-top: 5px; font-size: 10.5px; }
  .token-status { display: none; }
  .card-dark { padding: 18px; border-radius: 26px; }
  .big-num { font-size: 96px; }
  .ov-meta { gap: 20px; }
  .left-col { max-width: none; }
  .holder { border-radius: 28px; gap: 16px; }
  .holder-title { font-size: 30px; }
  .m-title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.nav a.x-btn, .x-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; color: #0b0b0e; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.35); transition: transform .15s ease, box-shadow .15s ease; }
.nav a.x-btn:hover, .x-btn:hover { color: #0b0b0e; transform: translateY(-1px) scale(1.06); box-shadow: 0 4px 16px rgba(0,0,0,.45); }
.x-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.x-btn.sm { width: 30px; height: 30px; }
.x-btn.sm svg { width: 13px; height: 13px; }
.foot { align-items: center; }
@media (max-width: 760px) { .nav a.x-btn { display: inline-grid; width: 36px; height: 36px; margin-left: auto; } }

/* ---- проверка токена и шапка ---- */
.check { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.tagline { margin: 0; font-size: 15px; color: var(--ink-2); }
.check-in { flex: 1 1 380px; max-width: 560px; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.22); }
.check-in:focus-within { border-color: var(--good); }
.check-in input { flex: 1 1 auto; min-width: 0; padding: 8px 12px; border: 0; background: transparent; outline: none; font: 500 13px var(--mono); }
.check-in button { flex: none; padding: 9px 16px; border: 0; border-radius: 999px; background: #fff; color: #121212; font-weight: 700; font-size: 13px; }
.check-in button:hover { background: var(--good); }
.status-v { display: inline-flex; align-items: center; gap: 6px; }
.sdot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: pulse 2s ease-in-out infinite; }
.sdot.off { background: var(--bad-ink); box-shadow: none; animation: none; }
@keyframes pulse { 50% { opacity: 0.4; } }
.sel { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); color: var(--ink); font: inherit; font-size: 12px; }
.check-row { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 12px 14px; border-radius: 18px; border: 1px dashed rgba(255, 255, 255, 0.3); color: var(--ink-2); font-size: 13px; }
.check-row b { color: var(--good-ink); }
.check-row:hover, .check-row:focus-visible { border-color: var(--good); }

/* ---- лента: оценка словом, звезда ---- */
.score-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.sw { font: 700 8.5px var(--body); letter-spacing: 0.1em; text-transform: uppercase; }
.sw.green { color: var(--good-ink); } .sw.amber { color: var(--warn-ink); } .sw.red { color: var(--bad-ink); }
.row-acts { align-items: center; }
.star { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: rgba(255, 255, 255, 0.35); font-size: 14px; line-height: 1; padding: 0; }
.star:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.star.on { color: #f6cf80; border-color: rgba(246, 207, 128, 0.6); background: rgba(246, 207, 128, 0.1); }
.row .lbl { display: none; }
.sell-btn { flex: none; padding: 7px 14px; border: 1px solid var(--bad-ink); border-radius: 999px; background: transparent; color: var(--bad-ink); font-size: 12px; font-weight: 800; }
.sell-btn:hover { background: var(--bad-bg); }
.port { position: relative; }

/* ---- комиссии ---- */
.more { font-size: 12.5px; font-weight: 600; color: var(--good-ink); text-decoration: none; }
.more:hover { text-decoration: underline; }
.fee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.fee { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.fee b { font: 800 44px/1 var(--display); }
.fee span { font-weight: 600; }
.fee small { color: var(--dim); font-size: 12px; margin-top: 4px; }
.fee-note { margin: 14px 0 0; max-width: 80ch; }
.foot-links { display: inline-flex; gap: 16px; }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.sec-head .grow { flex: 1 1 10px; }

/* ---- окно монеты ---- */
.m-ring { width: 96px; height: 96px; }
.m-ring b { font-size: 42px; }
.m-sum { margin: 16px 0 0; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink); line-height: 1.55; }
.m-sum:empty { display: none; }
.copy-warn { margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: var(--warn-bg); color: var(--warn-ink); font-size: 13px; font-weight: 600; }
.copy-warn a { color: inherit; }
.chip.share { background: #000; border-color: rgba(255, 255, 255, 0.4); }
.m-links .star { width: 32px; height: 32px; }
.box.wide { grid-column: 1 / -1; }
.box.focus { box-shadow: 0 0 0 1px var(--good); }
.box h3 .dim { text-transform: none; letter-spacing: 0; font-family: var(--body); }
.chart { position: relative; min-height: 180px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.chart .ax { fill: #8a8a87; font: 400 10.5px var(--mono); }
.chart .line { fill: none; stroke: var(--good-ink); stroke-width: 2; stroke-linejoin: round; }
.chart .area { fill: rgba(142, 240, 190, 0.08); }
.chart .cx { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; }
.chart .cd { fill: var(--good-ink); stroke: #111; stroke-width: 2; }
.chart .hit { cursor: crosshair; touch-action: pan-y; }
.chart .tip { position: absolute; top: 4px; pointer-events: none; display: flex; flex-direction: column; gap: 1px; padding: 6px 10px; border-radius: 10px; background: #1b1b1f; border: 1px solid var(--line); font: 400 11px var(--mono); }
.chart .tip b { font-weight: 600; font-size: 12px; }
.tape { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow-y: auto; }
.tape-row { display: grid; grid-template-columns: 70px 50px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; padding: 6px 8px; border-radius: 10px; font: 400 12px var(--mono); text-decoration: none; }
.tape-row.head { font: 600 10px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #8a8a87; }
a.tape-row:hover { background: rgba(255, 255, 255, 0.05); }
.tape-row.buy .side { color: var(--good-ink); font-weight: 600; }
.tape-row.sell .side { color: var(--bad-ink); font-weight: 600; }
.dev-tag.you { background: var(--good-bg); color: var(--good-ink); }
.dev-coins { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.dc-title { font: 600 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.dc { display: flex; gap: 10px; font-size: 12.5px; text-decoration: none; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.dc:hover span:first-child { color: var(--good-ink); }
.dc .g { margin-left: auto; color: var(--good-ink); font-size: 11.5px; }

/* ---- торговля ---- */
.side-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.side-tabs button { padding: 8px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 13px; color: #d9d9d6; }
.side-tabs button[aria-selected="true"][data-side="buy"] { background: var(--good); color: #0c1a12; }
.side-tabs button[aria-selected="true"][data-side="sell"] { background: var(--bad-ink); color: #2a0d08; }
.qb[data-side="sell"] .qb-go { background: var(--bad-ink); color: #2a0d08; }
.qb .slip { padding: 0 2px; border: 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.4); background: transparent; color: inherit; font: inherit; text-align: right; cursor: pointer; }
.qb .slip option { background: #1b1b1f; }
.qb-note a { color: inherit; }

/* ---- телефон: строки ленты — карточки ---- */
@media (max-width: 760px) {
  .feed-panel { padding: 12px; }
  .feed-head { display: none; }
  .feed-scroll { overflow: visible; }
  .row { min-width: 0; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "coin sc" "flags flags" "prog hold" "acts acts"; gap: 10px 12px; padding: 12px; }
  .row .coin { grid-area: coin; }
  .row .flags { grid-area: flags; }
  .row .hold { grid-area: hold; align-self: end; font-size: 12px; }
  .row .lbl { display: inline; color: var(--dim); font-family: var(--body); }
  .row .prog { grid-area: prog; }
  .row .sc { grid-area: sc; }
  .row .row-acts { grid-area: acts; justify-content: stretch; }
  .row .row-acts .buy-btn { flex: 1 1 auto; padding: 10px; }
  .row .row-acts .pons-btn { padding: 10px 14px; }
  .row .row-acts .star { width: 38px; height: 38px; }
  .check-in button { padding: 9px 12px; }
  .tape-row { grid-template-columns: 56px 40px minmax(0, 1fr) minmax(0, 1fr); }
  .tape-row > :nth-child(5) { display: none; }
  .m-head { position: relative; }
  .m-ring { position: absolute; top: 0; right: 56px; width: 76px; height: 76px; }
  .m-ring b { font-size: 32px; }
}

/* ---- страницы ленты ---- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px 2px; }
.pg { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); font: 600 13px var(--mono); color: var(--ink-2); }
.pg:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.pg.on { background: var(--ink); color: #121212; border-color: var(--ink); }
.pg.nav { font-size: 18px; line-height: 1; }
.pg:disabled { opacity: 0.35; cursor: default; }
.pg-gap { color: var(--dim); padding: 0 2px; }
.pg-info { width: 100%; text-align: center; font-size: 11.5px; color: var(--dim); margin-top: 2px; }

/* ---- телефон: лента первой, всё компактнее ---- */
@media (max-width: 760px) {
  .page { padding: 10px 12px 32px; gap: 12px; }
  .nav { padding: 8px 10px 8px 10px; top: max(8px, env(safe-area-inset-top)); }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 24px; }
  .overview { gap: 14px; }
  .card-dark { padding: 14px; border-radius: 22px; }
  .tagline { font-size: 13.5px; }
  .check-in { flex-basis: 100%; }
  .ov-head { gap: 12px 16px; align-items: center; }
  .big-num { font-size: 64px; }
  .ov-meta { gap: 14px; font-size: 9.5px; flex: 1 1 200px; }
  .ov-meta > div:first-child { display: none; }
  .wallet-pill { width: 100%; justify-content: space-between; }
  .ov-body { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
  .feed-panel { order: 1; flex: none; padding: 10px; border-radius: 22px; }
  .left-col { order: 2; flex: none; }
  .left-col .pill-row:not(.as-btn) { display: none; }
  .left-col .qb { display: none; }
  .left-col #green-top > div[style] { display: none; }
  .gc-title { font-size: 24px; }
  .feed-top { padding: 2px 2px; }
  .feed-title { font-size: 22px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; white-space: nowrap; }
  .feed-tools { padding: 0 2px 4px; gap: 8px; }
  .feed-tools input[type="search"] { flex-basis: 100%; }
  .row { padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); }
  .row .flags .flag:nth-child(n+3) { display: none; }
  .pg { min-width: 40px; height: 40px; }
  /* окно монеты на весь экран, сначала покупка, потом график */
  .modal { padding: 0; }
  .modal-box { max-width: none; min-height: 100%; border-radius: 0; border: 0; padding: 16px 14px 40px; }
  .modal-x { position: sticky; top: 10px; float: right; margin: -4px -2px 0 0; z-index: 2; background: rgba(20, 20, 24, 0.9); }
  .m-head { padding-right: 0; gap: 12px; }
  .m-head .av.lg { width: 56px; height: 56px; font-size: 22px; }
  .m-ring { top: 0; right: 52px; width: 64px; height: 64px; }
  .m-ring b { font-size: 26px; }
  .m-title { font-size: 30px; }
  .m-links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .m-links::-webkit-scrollbar { display: none; }
  .m-links > * { flex: none; }
  .m-sum { font-size: 13.5px; padding: 12px; }
  .m-grid { gap: 10px; margin-top: 14px; }
  .m-grid > .box.wide:first-child { order: 2; }
  .m-grid > .box:nth-child(2) { order: 1; }
  .m-grid > .box:nth-child(n+3) { order: 3; }
  .box { padding: 12px; border-radius: 16px; }
  .qb-go { padding: 14px 16px; font-size: 15px; }
  .qb-amts .amt { padding: 10px 6px; font-size: 13px; }
}
/* длинные ряды кнопок не должны растягивать страницу */
.page > *, main > *, .overview > *, .ov-body > *, .feed-top > *, .m-grid > * { min-width: 0; }
@media (max-width: 760px) {
  .modal { display: block; }
  .modal-box { width: 100%; }
  .m-head > div { min-width: 0; flex: 1 1 100% !important; order: 3; }
  .qb-top { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .ov-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1 1 0; }
  .ov-meta .v { font-size: 11.5px; }
  .big-num { font-size: 58px; }
}
@media (max-width: 760px) {
  .ov-head { flex-wrap: wrap; }
  .ov-head > .grow { display: none; }
  .ov-meta { flex: 1 1 220px; min-width: 0; }
}

/* ---- логотипы: плавное появление ---- */
.av img { opacity: 0; }
.av img.ok { opacity: 1; transition: opacity 0.25s; }

/* ---- мини-график в строке ---- */
.prog .mc { display: inline-flex; align-items: center; gap: 8px; }
.spark { flex: none; overflow: visible; }
.spark path { fill: none; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.spark.up path { stroke: var(--good-ink); }
.spark.dn path { stroke: var(--bad-ink); }

/* ---- подсветка, когда скор изменился ---- */
.row.chg-up { animation: chgUp 1.8s ease-out both; }
.row.chg-down { animation: chgDown 1.8s ease-out both; }
@keyframes chgUp { 0% { background: rgba(63, 214, 138, 0.28); box-shadow: 0 0 0 1px var(--good); } 100% { background: rgba(255, 255, 255, 0.04); box-shadow: 0 0 0 1px transparent; } }
@keyframes chgDown { 0% { background: rgba(255, 120, 100, 0.26); box-shadow: 0 0 0 1px var(--bad-ink); } 100% { background: rgba(255, 255, 255, 0.04); box-shadow: 0 0 0 1px transparent; } }

/* ---- бегущая строка ---- */
.ticker { overflow: hidden; border-radius: 999px; background: rgba(14, 14, 18, 0.6); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk-item { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; white-space: nowrap; text-decoration: none; font-size: 12.5px; font-weight: 600; color: var(--ink-2); border-right: 1px solid rgba(255, 255, 255, 0.08); }
.tk-item span { color: var(--dim); font: 400 11px var(--mono); }
.tk-item:hover { color: #fff; }
.tk-item.green b { color: var(--good-ink); }
.tk-item.devSold b, .tk-item.red b { color: var(--bad-ink); }
.tk-item.grad b { color: var(--warn-ink); }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } .ticker-track { animation: none; } }

/* ---- заглушки при загрузке ---- */
.row.skel { cursor: default; pointer-events: none; }
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.13), rgba(255,255,255,0.06)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
i.sk { height: 11px; margin: 4px 0; }
.sk.w1 { width: 120px; } .sk.w2 { width: 90px; } .sk.w3 { width: 70px; height: 18px; border-radius: 999px; } .sk.w4 { width: 28px; margin-left: auto; }
.av.sk, .score.sk { border: 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---- флаги по группам ---- */
.fl-base { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dim); padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.fl-base b { font: 600 12px var(--mono); color: var(--ink); }
.fl-group { display: flex; flex-direction: column; gap: 5px; padding-top: 8px; }
.fl-h { display: flex; gap: 6px; align-items: center; font: 600 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* ---- держатель: тонкая полоса ---- */
.holder { gap: 18px; padding: 8px 20px 8px 10px; }
.holder-title { font-size: 24px; }
.holder-copy { max-width: none; font-size: 12.5px; }
.holder-meta { font-size: 9.5px; }

/* ---- портфель любого кошелька ---- */
.wallet-look { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(0,0,0,0.3); border: 1px solid var(--line); flex: 0 1 360px; min-width: 0; }
.wallet-look:focus-within { border-color: var(--good); }
.wallet-look input { flex: 1 1 auto; min-width: 0; padding: 7px 10px; border: 0; background: transparent; outline: none; font: 500 12.5px var(--mono); }
.wallet-look button { flex: none; padding: 7px 14px; border: 0; border-radius: 999px; background: #fff; color: #121212; font-weight: 700; font-size: 12.5px; }

/* ---- профиль дева ---- */
.dev-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.dev-stats > div { padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
.dev-stats b { display: block; font: 800 40px/1 var(--display); }
.dev-stats span { font-size: 12px; color: var(--dim); }
.dev-list { display: flex; flex-direction: column; gap: 2px; }
.dev-row { display: grid; grid-template-columns: minmax(0, 2fr) 80px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 8px; border-radius: 10px; text-decoration: none; font-size: 12.5px; }
.dev-row:hover { background: rgba(255,255,255,0.05); }
.dev-row .dn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bad-t { color: var(--bad-ink); } .good-t { color: var(--good-ink); }
@media (max-width: 760px) {
  .dev-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dev-row > :nth-child(3) { display: none; }
  .dev-row > :nth-child(4), .dev-row > :nth-child(5) { font-size: 11.5px; }
  .ticker { border-radius: 16px; }
  .holder { border-radius: 22px; padding: 12px; }
  .wallet-look { flex-basis: 100%; }
}
.feed-head, .row { grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr) minmax(0, 0.5fr) minmax(0, 1.5fr) 56px 160px; }
.prog .top { white-space: nowrap; gap: 8px; }
.prog .top .dim { flex: none; }
@media (max-width: 760px) {
  .row { grid-template-columns: minmax(0, 1fr) auto; }
}
.prog .spark { display: block; width: 100%; height: 16px; margin-top: 2px; }
.prog .spark path { vector-effect: non-scaling-stroke; }

/* saved feed views */
.filter-action { border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,.25); padding: 8px 12px; font-size: 12px; white-space: nowrap; }
.filter-action:hover { border-color: var(--good); }
#saved-filter { max-width: 150px; }

.sell-check { margin-top: 10px; color: var(--warn-ink); font-size: 11.5px; line-height: 1.4; }

/* Keep launches prominent without changing the Vetted visual language. */
.overview { gap: 16px; }
.ov-head { gap: 18px; align-items: center; }
.big-num { font-size: 100px; }
.feed-panel { background: rgba(14, 14, 18, 0.82); }
.feed-head, .row { grid-template-columns: minmax(0, 2fr) minmax(0, 1.45fr) minmax(52px, .5fr) minmax(0, 1.45fr) 56px 160px; column-gap: 10px; }
.feed-head > *, .row > * { min-width: 0; }
@media (min-width: 761px) and (max-width: 1250px) {
  .ov-body { flex-direction: column; align-items: stretch; }
  .feed-panel { order: 0; flex: none; width: 100%; }
  .left-col { order: 1; width: 100%; max-width: none; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(220px, .75fr); align-items: start; }
  .green-card { grid-row: span 4; }
  .feed-head, .row { min-width: 0; grid-template-columns: minmax(145px, 2fr) minmax(125px, 1.45fr) 52px minmax(118px, 1.35fr) 50px 150px; column-gap: 8px; }
  .feed-head { font-size: 9px; letter-spacing: .06em; }
  .row-acts { gap: 4px; }
}
@media (max-width: 760px) {
  .big-num { font-size: 58px; }
  .feed-head, .row { grid-template-columns: minmax(0, 1fr) auto; }
}

/* Keep table labels and actions on one line at compact desktop widths. */
.feed-head { white-space: nowrap; }
.pons-btn, .row-acts { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1250px) {
  .feed-head { font-size: 8.5px; letter-spacing: 0; }
  .feed-head, .row { grid-template-columns: minmax(135px, 2fr) minmax(120px, 1.35fr) 58px minmax(122px, 1.3fr) 48px 150px; column-gap: 9px; }
}

/* Additional feed filters, using the existing dark controls. */
.feed-filters { margin: 0 6px 8px; border-top: 1px solid var(--line); }
.feed-filters summary { padding: 10px 2px; color: var(--ink-2); font-size: 12px; font-weight: 600; cursor: pointer; }
.feed-filters summary span { color: var(--dim); font-weight: 400; margin-left: 8px; }
.feed-filter-grid { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 4px 0 12px; }
.feed-filter-grid label { display: flex; flex-direction: column; gap: 5px; color: var(--ink-2); font-size: 11px; }
.feed-filter-grid input[type="number"], .feed-filter-grid select { width: 150px; min-height: 34px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,.25); color: var(--ink); padding: 6px 10px; }
.feed-filter-grid label.toggle { flex-direction: row; align-items: center; min-height: 34px; }
.flag.info { background: rgba(255,255,255,.08); color: var(--ink-2); }

/* Compact filter trigger: a small control with a distinct green icon. */
.feed-filters { margin: 10px 6px 12px; border-top: 0; }
.feed-filters summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 39px;
  padding: 5px 11px 5px 6px; border: 1px solid rgba(63, 214, 138, .45);
  border-radius: 999px; background: rgba(22, 28, 26, .9); color: var(--ink);
  cursor: pointer; list-style: none; box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
}
.feed-filters summary::-webkit-details-marker { display: none; }
.feed-filters summary .filter-icon {
  display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%;
  background: var(--good); color: #102018; font-size: 19px; line-height: 1;
}
.feed-filters summary strong { font: 700 12px/1 var(--body); letter-spacing: .01em; white-space: nowrap; }
.feed-filters summary small { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px; background: rgba(63, 214, 138, .13); color: var(--good-ink); font: 700 10px/1 var(--mono); }
.feed-filters summary::after { content: "⌄"; color: var(--good-ink); font-size: 17px; line-height: 1; margin: -4px 0 0 1px; }
.feed-filters[open] summary::after { content: "⌃"; margin: 4px 0 0 1px; }
.feed-filters summary:hover, .feed-filters summary:focus-visible { background: rgba(63, 214, 138, .13); border-color: var(--good); outline: none; box-shadow: 0 0 0 3px rgba(63, 214, 138, .13); }
.feed-filters .feed-filter-grid { padding-top: 14px; }
.view-name:not([hidden]) { width: 160px; min-height: 34px; border: 1px solid var(--good); border-radius: 999px; background: rgba(0,0,0,.35); color: var(--ink); padding: 7px 12px; font: inherit; }
@media (max-width: 600px) { .feed-filters summary { min-height: 40px; } }
