:root {
  --bg: #0a0a0c; --card: rgba(18,19,23,.88); --line: rgba(255,255,255,.08); --text: #f4f5f8; --muted: #8b8f9c;
  --accent: #0098ea; --accent2: #3db5ff; --ok: #4ade80; --bad: #f87171; --warn: #fbbf24;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; min-height: 100svh; background: var(--bg); color: var(--text); font: 15px/1.45 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.ok { color: var(--ok); } .bad { color: var(--bad); } .warn { color: var(--warn); }
i.ok { font-style: normal; color: var(--accent2); }

.bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .28; }
.b1 { width: 60vmax; height: 60vmax; background: #0098ea; top: -30vmax; left: -20vmax; }
.b2 { width: 50vmax; height: 50vmax; background: #5a2fd6; bottom: -30vmax; right: -20vmax; }

/* шапка */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 12px max(clamp(14px, 4vw, 32px), calc((100% - 1180px) / 2 + 32px));
  background: linear-gradient(180deg, rgba(10,10,12,.92), rgba(10,10,12,.6)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { font: 800 21px Unbounded, sans-serif; display: flex; align-items: center; gap: 6px; padding: 6px 8px; margin-left: -8px; border-radius: 12px; background: none; border: 0; color: #fff; }
.search { position: relative; flex: 1 1 auto; min-width: 0; max-width: 520px; margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.search:focus-within { border-color: rgba(61,181,255,.5); background: rgba(255,255,255,.08); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 15px; }
.search input::placeholder { color: #5c606b; }
body[data-page="home"] .top .search { visibility: hidden; }

.main { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 18px clamp(14px, 4vw, 32px) 60px; min-height: 70vh; }

/* главная */
.hero { text-align: center; padding: 6vh 0 28px; }
.hero h1 { font: 800 clamp(34px, 7vw, 60px)/1.05 Unbounded, sans-serif; letter-spacing: -.02em; }
.hero p { color: var(--muted); margin: 12px auto 24px; max-width: 460px; }
.search.big { max-width: 680px; margin: 0 auto; height: 60px; border-radius: 20px; padding: 0 8px 0 18px; }
.search.big input { font-size: 16px; }
.search.big button { flex: none; height: 44px; padding: 0 20px; border-radius: 14px; border: 0; background: #fff; color: #0a0a0c; font-weight: 700; }
.examples { margin-top: 14px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.examples a { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #cfd2da; }
.examples a:hover { background: rgba(255,255,255,.12); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stats div { padding: 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.stats span { display: block; font-size: 12px; color: var(--muted); }
.stats b { display: block; font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats b em { font-style: normal; font-size: 13px; }
.stats a:hover { color: var(--accent2); }
.skel { border-radius: 8px; background: linear-gradient(90deg, #1a1c22, #262932, #1a1c22); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { border-radius: 22px; background: var(--card); border: 1px solid var(--line); padding: 18px; margin-bottom: 16px; min-width: 0; }
.live-grid .card { margin: 0; padding: 14px 8px 8px; }
.card-h { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 8px; }
.card-h h2 { font: 700 16px Unbounded, sans-serif; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* строки списков */
.list.card { padding: 6px; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 14px; min-height: 58px; transition: background .15s; }
a.row:hover, a.row:active { background: rgba(255,255,255,.04); }
.row-ico { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 700; background: rgba(255,255,255,.06); }
.row-ico.ok { color: var(--ok); background: rgba(74,222,128,.1); } .row-ico.bad { color: var(--bad); background: rgba(248,113,113,.1); }
.row-ico.blk { color: var(--accent2); background: rgba(0,152,234,.12); font-size: 18px; }
.row-img { width: 38px; height: 38px; flex: none; border-radius: 50%; object-fit: cover; background: #1e2026; }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row-main > b { font-weight: 600; }
.row-main > span, .row-side > span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; flex: none; max-width: 45%; }
.row-side b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank { width: 26px; text-align: center; color: var(--muted); font-weight: 600; flex: none; }

/* адрес */
.acc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.acc-ava { width: 56px; height: 56px; flex: none; border-radius: 18px; object-fit: cover; background: #1e2026; }
.acc-ava.gen { background: conic-gradient(from 90deg, hsl(var(--h, 200) 80% 55%), hsl(calc(var(--h, 200) + 80) 80% 55%), hsl(var(--h, 200) 80% 55%)); }
.acc-id { min-width: 0; flex: 1; }
.acc-id h1, .tx-head h1, .nft-info h1 { font: 700 20px Unbounded, sans-serif; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.addr-line { display: flex; align-items: center; gap: 6px; margin-top: 4px; min-width: 0; }
.addr { font-size: 13px; color: #cfd2da; word-break: break-all; }
.copy { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; border: 0; background: rgba(255,255,255,.06); color: var(--muted); }
.copy:hover { color: #fff; background: rgba(255,255,255,.12); }
.copy svg { width: 16px; height: 16px; }
.fmt { flex: none; height: 32px; padding: 0 10px; border-radius: 10px; border: 0; background: rgba(255,255,255,.06); color: var(--muted); font-size: 12px; font-weight: 600; }
.pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font: 600 11px Inter, sans-serif; letter-spacing: 0; background: rgba(255,255,255,.08); color: #cfd2da; text-transform: capitalize; }
.pill.ok { background: rgba(0,152,234,.15); color: var(--accent2); }
.pill.bad { background: rgba(248,113,113,.15); color: var(--bad); }
.pill.warn { background: rgba(251,191,36,.15); color: var(--warn); }
.balance { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); }
.balance span { color: var(--muted); font-size: 14px; }
.balance b { font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.balance em { font-style: normal; color: var(--muted); }
.kv { display: grid; gap: 0; border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { min-width: 0; font-size: 14px; word-break: break-word; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.desc { color: #cfd2da; font-size: 14px; line-height: 1.55; }
.acc { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; color: var(--accent2); font-weight: 500; min-width: 0; }
.acc:hover { text-decoration: underline; }
.acc .av { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.acc.scam { color: var(--bad); }
.acc em { font-style: normal; font-size: 10px; padding: 1px 5px; border-radius: 6px; background: rgba(248,113,113,.15); }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); width: fit-content; margin-bottom: 14px; }
.tabs button { padding: 9px 18px; border-radius: 12px; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.tabs button.on { background: rgba(255,255,255,.1); color: #fff; }

/* события */
.events { display: grid; gap: 10px; }
.event { display: block; padding: 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.event[data-href] { cursor: pointer; }
.event[data-href]:hover { border-color: rgba(255,255,255,.18); }
.ev-top { display: flex; align-items: center; gap: 8px; padding: 0 4px 6px; font-size: 12px; color: var(--muted); }
.act { display: flex; align-items: center; gap: 12px; padding: 8px 4px; }
.act + .act { border-top: 1px solid rgba(255,255,255,.04); }
.act.failed { opacity: .65; }
.act-ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #22252d; position: relative; }
.act-ico img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.act-ico i { font-style: normal; font-size: 16px; }
.act-ico.in { box-shadow: 0 0 0 2px rgba(74,222,128,.55); } .act-ico.out { box-shadow: 0 0 0 2px rgba(255,255,255,.18); } .act-ico.swap { box-shadow: 0 0 0 2px rgba(61,181,255,.6); }
.act-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.act-main > b { font-weight: 600; font-size: 14px; }
.act-main em { font-style: normal; font-size: 11px; }
.act-parties { display: flex; align-items: center; gap: 6px; font-size: 12px; min-width: 0; flex-wrap: wrap; }
.act-parties .acc { font-weight: 500; max-width: 140px; overflow: hidden; }
.arrow { color: var(--muted); }
.comment { font-size: 12px; color: #cfd2da; font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-val { flex: none; max-width: 42%; text-align: right; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.act-val.in { color: var(--ok); }
.more { display: block; margin: 14px auto 0; padding: 12px 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-weight: 600; }
.more:disabled { opacity: .6; }

/* транзакция */
.tx-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.status { padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.status.ok { background: rgba(74,222,128,.14); color: var(--ok); } .status.bad { background: rgba(248,113,113,.14); color: var(--bad); } .status.warn { background: rgba(251,191,36,.14); color: var(--warn); }
.tx-head + .addr-line { margin-bottom: 12px; }
h2.sec { font: 700 16px Unbounded, sans-serif; margin: 22px 0 10px; }
.trace { padding: 8px; }
.tr-row { display: flex; align-items: center; gap: 10px; padding: 9px 8px 9px calc(8px + var(--d) * 16px); border-radius: 12px; position: relative; }
.tr-row + .tr-row { border-top: 1px solid rgba(255,255,255,.03); }
.tr-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.tr-dot.ok { background: var(--ok); } .tr-dot.bad { background: var(--bad); }
.tr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tr-main b { font-size: 13px; text-transform: capitalize; }
.tr-main .acc { font-size: 12px; }
.tr-side { flex: none; text-align: right; font-size: 13px; font-weight: 600; display: flex; flex-direction: column; }
.tr-side em { font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); }
.nav-blk { display: flex; gap: 16px; }
.nav-blk a { color: var(--accent2); }

/* NFT */
.nft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.nft { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .2s; }
.nft:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.18); }
.nft img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #1a1c22; }
.nft span { padding: 10px 12px 12px; display: flex; flex-direction: column; min-width: 0; }
.nft b, .nft em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nft b { font-size: 14px; }
.nft em { font-style: normal; font-size: 12px; color: var(--muted); }
.nft-page { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 16px; align-items: start; }
.nft-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; background: #1a1c22; border: 1px solid var(--line); }
.coll-link { display: inline-block; margin: 6px 0 10px; color: var(--accent2); font-weight: 600; }
.nft-info .desc { margin-bottom: 12px; }
.attrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.attrs div { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); min-width: 0; }
.attrs span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.attrs b { font-size: 14px; word-break: break-word; }

/* состояния */
.state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 46px 16px; color: var(--muted); text-align: center; }
.state.err b { color: #fff; font: 700 18px Unbounded, sans-serif; }
.state .btn { margin-top: 8px; padding: 11px 20px; border-radius: 14px; background: #fff; color: #0a0a0c; font-weight: 700; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--accent2); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; padding: 6px; border-radius: 18px; background: #16171b; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(0,0,0,.9); text-align: left; animation: pop .2s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; }
.suggest a:hover { background: rgba(255,255,255,.06); }
.suggest img, .suggest i { width: 30px; height: 30px; border-radius: 50%; flex: none; background: #22252d; object-fit: cover; }
.suggest span { display: flex; flex-direction: column; min-width: 0; }
.suggest b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest em { font-style: normal; font-size: 12px; color: var(--muted); }

.foot { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 22px clamp(14px, 4vw, 32px) 40px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #5c606b; border-top: 1px solid var(--line); }
.foot span { margin-right: auto; }
.foot a:hover { color: #fff; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, 16px); opacity: 0; padding: 11px 18px; border-radius: 14px; background: #fff; color: #0a0a0c; font-weight: 600; font-size: 14px; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* телефон */
@media (max-width: 860px) {
  .live-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nft-page { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top { gap: 10px; }
  .brand { font-size: 18px; }
  .search { height: 42px; }
  .search input { font-size: 16px; } /* 16px — iOS не зумит поле при фокусе */
  .hero { padding-top: 3vh; }
  .search.big { height: 54px; }
  .search.big button { padding: 0 14px; }
  .card { padding: 14px; border-radius: 20px; }
  .kv div { grid-template-columns: 1fr; gap: 2px; }
  .acc-ava { width: 48px; height: 48px; border-radius: 15px; }
  .balance b { font-size: 24px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 9px 6px; }
  .nft-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .act-parties .acc { max-width: 110px; }
  .row-side { max-width: 40%; }
  .tr-row { padding-left: calc(6px + var(--d) * 10px); }
}
@media (prefers-reduced-motion: reduce) { .live i, .skel, .spin { animation: none; } }
/* ================= логотип с меню продуктов ================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand-wrap { position: relative; }
.brand {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px; margin-left: -8px; border-radius: 12px;
  background: none; border: 0; color: #fff; cursor: pointer; font: 800 22px Unbounded, sans-serif; letter-spacing: -.01em;
  transition: background .2s;
}
.brand:hover, .brand[aria-expanded="true"] { background: rgba(255,255,255,.08); }
.brand .caret { width: 12px; height: 12px; opacity: .7; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.brand[aria-expanded="true"] .caret { transform: rotate(180deg); }
.brand-menu {
  position: absolute; top: calc(100% + 10px); left: -8px; width: 330px; padding: 14px;
  background: #16171b; border: 1px solid rgba(255,255,255,.08); border-radius: 20px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.9);
  transform-origin: top left;
  /* мягкое появление и исчезновение: прозрачность + лёгкий сдвиг и масштаб */
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); filter: blur(2px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1), filter .35s ease, visibility 0s .45s;
}
.brand-menu.open {
  opacity: 1; visibility: visible; transform: none; filter: none;
  transition: opacity .35s ease, transform .5s cubic-bezier(.22,1,.36,1), filter .35s ease, visibility 0s;
}
/* пункты появляются друг за другом */
.brand-menu > * { opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.brand-menu.open > * { opacity: 1; transform: none; }
.brand-menu.open > :nth-child(2) { transition-delay: .04s; } .brand-menu.open > :nth-child(3) { transition-delay: .08s; }
.brand-menu.open > :nth-child(4) { transition-delay: .12s; } .brand-menu.open > :nth-child(5) { transition-delay: .16s; }
.brand-menu.open > :nth-child(6) { transition-delay: .2s; }
.bm-label { font: 600 12px Inter, sans-serif; color: var(--muted); margin: 2px 8px 8px; }
.bm-item { display: flex; gap: 12px; align-items: center; padding: 9px 8px; border-radius: 14px; transition: background .15s; }
.bm-item:hover { background: rgba(255,255,255,.06); }
.bm-item i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: rgba(0,152,234,.14); color: #3db5ff; }
.bm-item i svg { width: 20px; height: 20px; }
.bm-item span { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.bm-item b { font: 700 14px Inter, sans-serif; color: #fff; display: flex; align-items: center; gap: 8px; }
.bm-item em { font: 600 10px Inter, sans-serif; font-style: normal; color: #3db5ff; background: rgba(0,152,234,.14); padding: 2px 7px; border-radius: 999px; }
.bm-sections { display: none; }
.bm-foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 12px 8px 2px; border-top: 1px solid rgba(255,255,255,.08); }
.bm-foot span { font: 600 12px Inter, sans-serif; color: var(--muted); margin-right: auto; }
.bm-foot a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #c9cbd3; transition: background .15s, color .15s; }
.bm-foot a:hover { background: rgba(255,255,255,.08); color: #fff; }
.bm-foot svg { width: 18px; height: 18px; }

.brand-menu { z-index: 60; }
.bm-item.current { background: rgba(255,255,255,.05); }
.brand-menu > * { opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.brand-menu.open > * { opacity: 1; transform: none; }
.brand-menu.open > :nth-child(2) { transition-delay: .04s; } .brand-menu.open > :nth-child(3) { transition-delay: .08s; }
.brand-menu.open > :nth-child(4) { transition-delay: .12s; } .brand-menu.open > :nth-child(5) { transition-delay: .16s; }
.brand-menu.open > :nth-child(6) { transition-delay: .2s; } .brand-menu.open > :nth-child(7) { transition-delay: .24s; }
@media (max-width: 860px) {
  .bm-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
  .bm-sections a { padding: 9px 8px; border-radius: 10px; font: 600 14px Inter, sans-serif; color: #fff; text-decoration: none; }
  .bm-sections a:hover { background: rgba(255,255,255,.06); }
  .brand-menu { width: min(330px, calc(100vw - 24px)); }
}
.brand-menu .bm-item { color: inherit; text-decoration: none; }


.brand-wrap { position: relative; flex: none; }
.brand-menu { z-index: 60; }
.brand-menu .bm-item { color: inherit; }
.bm-item.current { background: rgba(255,255,255,.05); }
@media (max-width: 560px) { .brand-menu { width: min(330px, calc(100vw - 24px)); } }

/* карточки событий не шире экрана: длинные комментарии и имена обрезаются */
.events > *, .live-grid > *, .main > * { min-width: 0; }
.event { overflow: hidden; }
.act-main > b, .act-parties { overflow: hidden; }
