:root {
  --bg: #08090b;
  --bg-elevated: #0d1114;
  --surface: #151719;
  --surface-2: #1b1e21;
  --surface-3: #24272b;
  --border: #2b2e32;
  --border-soft: rgba(255,255,255,.075);
  --text: #f8f8f8;
  --muted: #929397;
  --muted-2: #696b70;
  --accent: #f86d09;
  --accent-bright: #ff8a38;
  --accent-soft: rgba(248,109,9,.15);
  --accent-border: rgba(248,109,9,.52);
  --success: #59d697;
  --warning: #ffbe55;
  --danger: #ff7378;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --safe-top: max(env(safe-area-inset-top), var(--tg-safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px), 12px);
  --safe-bottom: max(env(safe-area-inset-bottom), var(--tg-safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px), 10px);
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { min-height: 100%; margin: 0; background: var(--bg); color: var(--text); }
body { overflow-x: hidden; font-size: 16px; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: fixed; width: 0; height: 0; overflow: hidden; }
.is-hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.app-shell { --content-gutter: 20px; width: min(100%, 760px); min-height: var(--tg-viewport-stable-height, 100dvh); margin: 0 auto; padding-bottom: calc(105px + var(--safe-bottom)); }
.topbar { position: sticky; top: 0; z-index: 20; height: calc(76px + var(--safe-top)); padding: var(--safe-top) var(--content-gutter) 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; background: linear-gradient(180deg, var(--bg) 66%, rgba(8,9,11,0)); }
.brand { grid-column: 2; justify-self: center; display: inline-flex; gap: 12px; align-items: center; border: 0; background: transparent; font-size: 24px; font-weight: 800; letter-spacing: -.6px; padding: 8px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: transparent; box-shadow: none; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-mark.large { width: 72px; height: 72px; }
.icon-button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); }
.back-button { grid-column: 1; grid-row: 1; }
.connect-telegram-button { position: absolute; right: var(--content-gutter); bottom: 7px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border: 0; border-radius: 14px; background: #26313d; color: #fff; font-size: 15px; font-weight: 780; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.connect-telegram-button svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; }

.main { padding: 8px var(--content-gutter) 24px; }
.view { display: none; animation: view-in .28s ease both; }
.view.is-active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(32px, 8vw, 46px); line-height: 1.02; letter-spacing: -1.65px; }
h2 { margin: 0; font-size: 21px; letter-spacing: -.55px; }
h3 { margin: 0; font-size: 18px; letter-spacing: -.3px; }
p { color: var(--muted); line-height: 1.45; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 13px; color: var(--accent-bright); font-size: 13px; font-weight: 760; letter-spacing: .02em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(89,214,151,.09); }

.lookup-card { margin-top: 14px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 15px; background: #0f1113; border: 1px solid var(--border-soft); }
.segmented.wide { grid-template-columns: 1fr 1fr; margin: 18px 0; }
.segment { min-height: 44px; padding: 8px 4px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.segment.is-active { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 8px rgba(0,0,0,.25); }
.count-pill { display: inline-grid; min-width: 20px; height: 20px; place-items: center; padding: 0 5px; margin-left: 4px; border-radius: 10px; background: var(--border); color: var(--muted); font-size: 11px; }
.segment.is-active .count-pill { background: var(--accent-soft); color: var(--accent-bright); }
.search-field { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; min-height: 68px; margin: 12px 0; padding: 10px 12px 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #101214; }
.search-field > svg { color: var(--muted); }
.search-field textarea, .search-field input { width: 100%; max-height: 96px; resize: none; overflow: auto; border: 0; outline: 0; background: transparent; color: var(--text); line-height: 1.4; }
.search-field textarea::placeholder, .search-field input::placeholder, .form-field input::placeholder { color: var(--muted-2); }
.field-action, .text-button { min-height: 44px; border: 0; background: transparent; color: var(--accent-bright); font-size: 14px; font-weight: 720; padding: 10px; }

.primary-button, .secondary-button, .danger-button { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 17px; padding: 12px 20px; font-weight: 800; }
.primary-button { background: linear-gradient(135deg, var(--accent-bright), var(--accent)); color: #1a0b01; box-shadow: 0 12px 26px rgba(248,109,9,.16); }
.primary-button:disabled { opacity: .55; box-shadow: none; }
.secondary-button { border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }
.secondary-button.full { margin-top: 16px; }
.danger-button { background: rgba(255,115,120,.12); color: var(--danger); border: 1px solid rgba(255,115,120,.24); }
.small-button { min-height: 44px; width: auto; padding: 9px 14px; border-radius: 13px; }

.section-heading { min-height: 54px; display: flex; align-items: end; justify-content: space-between; padding: 18px 7px 10px; }
.compact-heading { padding-top: 24px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-card { min-height: 142px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 17px; background: var(--surface); }
.quick-icon, .menu-icon, .asset-icon, .status-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px; color: var(--accent-bright); background: var(--accent-soft); }
.crypto-icon { padding: 0; overflow: visible; border-radius: 0; background: transparent; }
.crypto-icon img { display: block; width: 42px; height: 42px; object-fit: contain; border-radius: 0; image-rendering: auto; }
.coin-icon-fallback { display: grid; place-items: center; width: 100%; height: 100%; }
.coin-icon-fallback[hidden] { display: none; }
.coin-icon-fallback svg { width: 21px; height: 21px; }
.coin-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.quick-card > span:nth-child(2) { margin-top: 22px; }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { font-size: 16px; }
.quick-card small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.25; }
.quick-card .chevron { position: absolute; opacity: 0; }
.quick-card.recent-transactions-card { grid-column: 1 / -1; min-height: 104px; flex-direction: row; align-items: center; gap: 14px; }
.quick-card.recent-transactions-card > span:nth-child(2) { margin-top: 0; }
.dedicated-lookup-card { margin-top: 18px; }

.page-intro { padding: 19px 5px 4px; }
.page-intro h1 { margin-bottom: 5px; }
.page-intro p { margin: 0; }
.panel-stack { display: grid; gap: 12px; }
.list-card, .content-card, .menu-card, .profile-card, .tracked-card, .watch-card, .result-card, .empty-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.content-card, .result-card, .empty-card { padding: 20px; }
.empty-card { text-align: center; padding: 38px 22px; }
.empty-card .status-icon { margin: 0 auto 18px; width: 54px; height: 54px; border-radius: 18px; }
.empty-card p { margin: 8px auto 0; max-width: 300px; }

.menu-row, .list-row { width: 100%; min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 13px 16px; border: 0; border-bottom: 1px solid var(--border-soft); text-align: left; background: transparent; }
.menu-row:last-child, .list-row:last-child { border-bottom: 0; }
.menu-row strong, .menu-row small, .list-row strong, .list-row small { display: block; }
.menu-row small, .list-row small { margin-top: 3px; color: var(--muted); font-size: 13px; }
.chevron { width: 20px; height: 20px; color: var(--muted-2); }

.profile-card { display: flex; gap: 17px; align-items: center; margin-top: 14px; padding: 23px; background: radial-gradient(circle at 100% 0, var(--accent-soft), transparent 58%), var(--surface); }
.profile-avatar { width: 72px; height: 72px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 24px; background: linear-gradient(145deg, var(--accent-bright), var(--accent)); color: #1c0b00; font-size: 27px; font-weight: 850; }
.profile-card .eyebrow { margin-bottom: 6px; }
.profile-card h1 { margin-bottom: 3px; font-size: 27px; letter-spacing: -.9px; }
.profile-card p { margin: 0; font-size: 14px; }
.version-label { margin: 16px 0 0; text-align: center; color: var(--muted-2); font-size: 12px; }

.bottom-nav { position: fixed; z-index: 30; left: max(12px, calc((100% - 736px)/2)); right: max(12px, calc((100% - 736px)/2)); bottom: var(--safe-bottom); height: 76px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 5px; border: 1px solid var(--border); border-radius: 26px; background: rgba(20,22,25,.93); box-shadow: 0 16px 50px rgba(0,0,0,.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-item { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; border: 0; border-radius: 19px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 670; }
.nav-item svg { width: 23px; height: 23px; }
.nav-item.is-active { color: var(--accent-bright); background: var(--accent-soft); }

.result-header { padding: 20px 5px 17px; }
.result-header .result-kicker { display: flex; gap: 8px; align-items: center; color: var(--success); font-size: 13px; font-weight: 750; text-transform: uppercase; }
.result-header h1 { margin: 12px 0 6px; overflow-wrap: anywhere; font-size: 31px; }
.result-header p { margin: 0; }
.address-box { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 10px; min-height: 58px; border-radius: 15px; background: #101214; border: 1px solid var(--border-soft); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow: hidden; }
.address-box span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.address-box button { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--accent-bright); }
.asset-select-grid { display: grid; gap: 9px; margin-top: 14px; }
.asset-choice { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 72px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); text-align: left; }
.asset-choice.is-selected { border-color: var(--accent-border); background: var(--accent-soft); }
.asset-choice .check-circle { width: 24px; height: 24px; border: 1px solid var(--muted-2); border-radius: 50%; }
.asset-choice.is-selected .check-circle { display: grid; place-items: center; background: var(--accent); border-color: var(--accent); color: #1b0a00; }
.asset-choice.is-selected .check-circle::after { content: "✓"; font-weight: 900; }
.asset-meta strong, .asset-meta small { display: block; }
.asset-meta small { margin-top: 3px; color: var(--muted); font-size: 12px; }

.balance-hero { padding: 18px 20px; border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(circle at 100% 0, rgba(248,109,9,.12), transparent 48%), var(--surface); }
.balance-hero .balance-label { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.balance-value { margin: 6px 0 1px; font-size: clamp(32px, 9vw, 50px); font-weight: 830; letter-spacing: -2.3px; }
.balance-usd { color: var(--muted); }
.balance-pending { display: inline-flex; margin-top: 13px; padding: 8px 11px; border-radius: 11px; background: rgba(255,190,85,.1); color: var(--warning); font-size: 12px; font-weight: 700; }
.balance-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 13px 1px 4px; scrollbar-width: none; }
.balance-tabs::-webkit-scrollbar { display: none; }
.asset-chip { flex: 0 0 auto; min-height: 44px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--muted); font-weight: 700; }
.asset-chip.is-active { color: #1b0b01; background: var(--accent); border-color: var(--accent); }
.action-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9px; margin-top: 13px; }
.action-row.single { grid-template-columns: 1fr; }
.action-row.single .primary-button { min-height: 50px; }

.transaction-row { appearance: none; -webkit-appearance: none; width: 100%; min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 15px; border: 0; border-bottom: 1px solid var(--border-soft); border-radius: 0; text-align: left; background: transparent; color: inherit; }
.transaction-row:last-child { border-bottom: 0; }
.transaction-copy { min-width: 0; }
.transaction-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transaction-copy small { display: block; margin-top: 4px; color: var(--muted); }
.amount { text-align: right; font-weight: 760; }
.amount small { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; }
.status-icon.incoming { color: var(--success); background: rgba(89,214,151,.1); }
.status-icon.outgoing { color: var(--danger); background: rgba(255,115,120,.1); }
.status-icon.pending { color: var(--warning); background: rgba(255,190,85,.1); }
.status-icon.failed { color: var(--danger); background: rgba(255,115,120,.1); }
.status-icon svg { width: 20px; height: 20px; }

.tracked-card, .watch-card { padding: 18px; }
.card-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-topline h3 { overflow-wrap: anywhere; }
.card-topline p { margin: 5px 0 0; font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.status-pill { flex: 0 0 auto; padding: 7px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-bright); font-size: 11px; font-weight: 800; }
.status-pill.confirmed { color: var(--success); background: rgba(89,214,151,.1); }
.status-pill.pending { color: var(--warning); background: rgba(255,190,85,.1); }
.status-pill.failed { color: var(--danger); background: rgba(255,115,120,.1); }
.asset-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.asset-tag { padding: 7px 9px; border: 1px solid var(--border-soft); border-radius: 10px; background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 720; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; }
.card-actions.three { grid-template-columns: 1fr 1fr auto; }
.icon-danger { width: 48px; min-height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,115,120,.22); border-radius: 15px; background: rgba(255,115,120,.08); color: var(--danger); }

.detail-grid { display: grid; gap: 0; margin-top: 13px; border: 1px solid var(--border-soft); border-radius: 18px; overflow: hidden; }
.detail-row { display: grid; grid-template-columns: minmax(90px, .7fr) 1.3fr; gap: 14px; padding: 13px 14px; border-bottom: 1px solid var(--border-soft); }
.detail-row:last-child { border-bottom: 0; }
.detail-row > span:first-child { color: var(--muted); }
.detail-row > span:last-child { text-align: right; overflow-wrap: anywhere; }
.detail-value { min-width: 0; display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; }
.party-address { min-width: 0; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.inline-detail-button { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; flex: 0 0 auto; padding: 7px 11px; border: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent-bright); font-weight: 760; }
.inline-detail-button.icon-only { width: 44px; padding: 0; }
.inline-detail-button svg { width: 18px; height: 18px; }
.external-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-bright); text-decoration: none; font-weight: 730; }
.external-link svg { width: 17px; height: 17px; }

.form-stack { display: grid; gap: 12px; }
.form-field { display: grid; gap: 8px; }
.form-field > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.form-field input { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 16px; outline: 0; background: #101214; color: var(--text); }
.form-field input:focus { border-color: var(--accent-border); }
.helper { margin: 0; color: var(--muted); font-size: 12px; }

.sheet-backdrop { position: fixed; z-index: 49; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.bottom-sheet { position: fixed; z-index: 50; left: 50%; bottom: 0; width: min(100%, 760px); max-height: min(88dvh, calc(var(--tg-viewport-stable-height, 100dvh) - var(--safe-top))); overflow: auto; transform: translateX(-50%); padding: 9px 20px calc(24px + var(--safe-bottom)); border: 1px solid var(--border); border-bottom: 0; border-radius: 30px 30px 0 0; background: #111315; box-shadow: 0 -24px 70px rgba(0,0,0,.5); animation: sheet-up .28s cubic-bezier(.2,.75,.3,1); }
.sheet-handle { width: 42px; height: 5px; margin: 0 auto 20px; border-radius: 9px; background: var(--border); }
.sheet-close { position: absolute; top: 15px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface-2); color: var(--muted); }
.sheet-close svg { width: 21px; height: 21px; transform: rotate(45deg); }
@keyframes sheet-up { from { transform: translate(-50%, 100%); } }
.sheet-title { margin-bottom: 6px; padding-right: 52px; font-size: 27px; }
.sheet-subtitle { margin-bottom: 20px; }
.sheet-actions { display: grid; gap: 9px; margin-top: 18px; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(102px + var(--safe-bottom)); max-width: calc(100% - 40px); transform: translate(-50%, 20px); padding: 12px 17px; border: 1px solid var(--border); border-radius: 14px; background: #25282c; color: var(--text); font-size: 14px; opacity: 0; pointer-events: none; transition: .22s ease; box-shadow: 0 12px 38px rgba(0,0,0,.42); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.boot-screen { position: fixed; z-index: 100; inset: 0; display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center; background: var(--bg); transition: opacity .35s ease, visibility .35s ease; }
.boot-screen strong { font-size: 28px; letter-spacing: -.8px; }
.boot-screen.is-done { opacity: 0; visibility: hidden; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.button-spinner { width: 18px; height: 18px; border-width: 2px; }

.notice { padding: 13px 15px; border: 1px solid var(--border-soft); border-radius: 15px; background: var(--surface-2); color: var(--muted); font-size: 13px; line-height: 1.4; }
.notice.warning { border-color: rgba(255,190,85,.25); background: rgba(255,190,85,.07); color: #eac48a; }
.spaced-notice { margin-top: 14px; }
.retry-button { margin-top: 20px; }
.asset-directory { display: grid; gap: 12px; }
.network-group h3 { padding: 10px 4px; color: var(--muted); font-size: 14px; }
.network-assets { display: flex; flex-wrap: wrap; gap: 7px; }
.history-heading { align-items: center; gap: 10px; padding-left: 0; padding-right: 0; }
.history-heading h2 { flex: 0 1 auto; font-size: 20px; }
.history-heading .filter-toggle { min-height: 44px; gap: 6px; padding: 6px 9px; font-size: 11px; }
.history-heading .filter-toggle input { width: 16px; height: 16px; }
.history-summary { margin: 10px 4px 0; color: var(--muted); font-size: 13px; text-align: center; }
.filter-toggle { min-height: 50px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 720; white-space: nowrap; }
.filter-toggle input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.unavailable-value { color: var(--warning); font-size: clamp(31px, 9vw, 48px); letter-spacing: -1.4px; }
.result-match-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.result-match-heading p { margin: 4px 0 0; font-size: 13px; }
.result-card + .result-card { margin-top: 12px; }
.transaction-actions { display: grid; gap: 9px; margin-top: 14px; }
.chart-link { display: block; padding: 4px 0 0; margin-left: auto; }

@media (min-width: 640px) {
  .app-shell { --content-gutter: 26px; }
  .quick-card { min-height: 150px; }
}

@media (max-width: 370px) {
  .app-shell { --content-gutter: 14px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 104px; }
  .quick-card > span:nth-child(2) { margin-top: 12px; }
}

@media (max-width: 540px) {
  .connect-telegram-button { width: 46px; padding: 0; border-radius: 50%; }
  .connect-telegram-button span { display: none; }
}

@media (max-width: 430px) {
  .action-row { grid-template-columns: 1fr; }
  .filter-toggle { justify-content: center; }
  .card-actions.three { grid-template-columns: 1fr auto; }
  .card-actions.three .view-button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
