:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1a1b1e;
  --elev: #202126;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --text-2: #9b9ba4;
  --text-3: #66666e;
  --white: #ffffff;
  --ink: #0a0a0b;
  --accent: #5e8bff;
  --accent-dim: rgba(94, 139, 255, 0.14);
  --danger: #ff4d5e;
  --up: #5e8bff;
  --maxw: 600px;
  --nav-h: 66px;
  --font: "Inter", "SF Pro Text", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Consolas, monospace;
  --shadow: 0 30px 80px -28px rgba(0, 0, 0, 0.82);
  --ease: cubic-bezier(0.22, 0.78, 0.26, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--accent-dim); }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: #26272c; border-radius: 9px; border: 2px solid var(--bg); }
button { font-family: inherit; color: inherit; }
input, textarea { font-family: inherit; }
.icon { display: inline-flex; flex: none; }
.icon svg { display: block; width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

#app { max-width: var(--maxw); margin: 0 auto; min-height: 100vh; border-inline: 1px solid var(--line); padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }

/* ───────── logo (моно-вордмарк + акцентный радар) ───────── */
.logo { display: inline-flex; align-items: center; gap: 9px; user-select: none; }
.logo-mark { width: 25px; height: 25px; flex: none; color: var(--accent); }
.logo-word { font-family: "Unbounded", var(--font); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; }
.onb .logo-word { font-size: 23px; }

/* ───────── avatar ───────── */
.av { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 17px; text-transform: uppercase; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.av::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.26), transparent 60%); }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av.sm { width: 34px; height: 34px; font-size: 14px; }
.av.lg { width: 76px; height: 76px; font-size: 30px; }
.av .glyph { width: 44%; height: 44%; color: rgba(255, 255, 255, 0.92); position: relative; z-index: 1; }

/* ───────── top bar ───────── */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: rgba(10, 10, 11, 0.72); backdrop-filter: saturate(160%) blur(20px); border-bottom: 1px solid var(--line); }
.radius-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 550; font-size: 13.5px; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.12s var(--ease); }
.radius-pill:hover { border-color: var(--accent); }
.radius-pill:active { transform: scale(0.96); }
.radius-pill .icon { width: 16px; height: 16px; color: var(--accent); }
.radius-pill .chev { width: 14px; height: 14px; color: var(--text-3); }

/* ───────── tabs ───────── */
.tabs { position: sticky; top: 60px; z-index: 25; display: flex; background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.tab { flex: 1; border: none; background: none; color: var(--text-2); font-weight: 550; font-size: 14px; padding: 14px 0; cursor: pointer; position: relative; transition: color 0.2s; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); }
.tab.active::after { content: ""; position: absolute; bottom: -1px; left: 50%; width: 30px; height: 3px; border-radius: 3px; background: var(--text); transform: translateX(-50%); animation: growLine 0.3s var(--ease); }

/* ───────── post ───────── */
.feed { min-height: 60vh; }
.post { display: flex; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; transition: background 0.14s; }
.post:hover { background: rgba(255, 255, 255, 0.022); }
.post.root, .post.root:hover { cursor: default; background: none; }
.post.root::after { content: ""; position: absolute; left: 37px; top: 62px; bottom: -1px; width: 2px; background: var(--line-2); }
.pmain { flex: 1; min-width: 0; }
.phead { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 2px; flex-wrap: wrap; }
.phead .name { font-weight: 600; cursor: pointer; }
.phead .name[data-user]:hover { text-decoration: underline; text-underline-offset: 2px; }
.phead .uname { color: var(--text-3); font-weight: 400; }
.phead .dot { color: var(--text-3); }
.phead .time { color: var(--text-2); }
.op-tag { font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-dim); padding: 1px 7px; border-radius: 999px; }
.dist { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--text-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.dist .icon { width: 13px; height: 13px; color: var(--accent); }
.ptext { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; color: #ececed; margin-top: 2px; }

.actions { display: flex; align-items: center; gap: 8px; margin-top: 13px; }
.vote { display: inline-flex; align-items: center; gap: 2px; }
.vote button { display: grid; place-items: center; border: none; background: none; color: var(--text-2); cursor: pointer; width: 30px; height: 30px; border-radius: 999px; transition: color 0.14s, background 0.14s, transform 0.14s var(--ease); }
.vote button .icon { width: 19px; height: 19px; }
.vote button:hover { background: var(--surface-2); color: var(--text); }
.vote button:active { transform: scale(0.78); }
.vote .up.on { color: var(--up); }
.vote .down.on { color: var(--danger); }
.vote .score { min-width: 18px; text-align: center; font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.vote .score.neg { color: var(--danger); }
.vote .score.bump { animation: pop 0.32s var(--ease); }
.act { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; color: var(--text-2); cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; padding: 6px 10px; border-radius: 999px; transition: color 0.14s, background 0.14s; }
.act .icon { width: 18px; height: 18px; }
.act:hover { color: var(--text); background: var(--surface-2); }

.hidden-stub { display: flex; align-items: center; gap: 11px; padding: 16px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.hidden-stub .icon { width: 18px; height: 18px; color: var(--text-3); }
.hidden-stub button { margin-left: auto; background: none; border: none; color: var(--text); cursor: pointer; font: inherit; font-weight: 550; text-decoration: underline; text-underline-offset: 2px; }

/* ───────── buttons ───────── */
.btn { border: none; cursor: pointer; font-weight: 600; font-size: 15px; border-radius: 12px; transition: opacity 0.16s, transform 0.12s var(--ease), background 0.16s; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--white); color: var(--ink); padding: 13px 22px; border-radius: 999px; }
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.3; cursor: default; }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); padding: 13px 22px; border-radius: 999px; }
.btn-block { width: 100%; }
.linkbtn { background: none; border: none; color: var(--text-2); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; margin-top: 14px; }
.linkbtn:hover { color: var(--text); }

/* ───────── bottom nav ───────── */
.botnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: flex; }
.botnav-inner { max-width: var(--maxw); width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-around; background: rgba(10, 10, 11, 0.82); backdrop-filter: saturate(160%) blur(22px); border-top: 1px solid var(--line); border-inline: 1px solid var(--line); }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; background: none; border: none; color: var(--text-3); font-size: 10.5px; font-weight: 500; padding: 10px 0; cursor: pointer; transition: color 0.2s; }
.nav-item .icon { width: 24px; height: 24px; transition: transform 0.2s var(--ease); }
.nav-item.active { color: var(--text); }
.nav-item.active .icon { transform: translateY(-1px); }
.nav-create { flex: 0 0 auto; }
.nav-create .fab { width: 50px; height: 50px; border-radius: 16px; background: var(--white); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(255, 255, 255, 0.4); transition: transform 0.15s var(--ease); }
.nav-create .fab .icon { width: 26px; height: 26px; }
.nav-create:hover .fab { transform: translateY(-2px); }
.nav-create:active .fab { transform: scale(0.92); }

/* ───────── sheets ───────── */
.sheet-bg { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); display: grid; place-items: end center; animation: bgfade 0.25s ease; }
.sheet { width: 100%; max-width: var(--maxw); background: var(--surface); border-radius: 24px 24px 0 0; border: 1px solid var(--line); max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow); animation: sheetUp 0.36s var(--ease); }
.sheet-grip { width: 38px; height: 4px; background: var(--line-2); border-radius: 99px; margin: 10px auto 0; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 8px; }
.sheet-top h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.x-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: none; background: var(--surface-2); color: var(--text); cursor: pointer; transition: background 0.15s, transform 0.12s var(--ease); }
.x-btn:hover { background: var(--elev); } .x-btn:active { transform: scale(0.9); }
.x-btn .icon { width: 18px; height: 18px; }

.compose-body { padding: 8px 16px 16px; display: flex; gap: 12px; }
.compose-body textarea { width: 100%; border: none; background: none; color: var(--text); font: inherit; font-size: 18px; line-height: 1.45; resize: none; outline: none; min-height: 96px; max-height: 40vh; }
.compose-body textarea::placeholder { color: var(--text-3); }
.compose-foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

.segtoggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.segtoggle button { display: inline-flex; align-items: center; gap: 6px; border: none; background: none; color: var(--text-2); font: inherit; font-weight: 550; font-size: 13px; padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: color 0.2s, background 0.2s var(--ease); }
.segtoggle button .icon { width: 15px; height: 15px; }
.segtoggle button.on { background: var(--elev); color: var(--text); }

.ring { width: 26px; height: 26px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.5; }
.ring .track { stroke: var(--line-2); }
.ring .bar { stroke: var(--text); transition: stroke-dashoffset 0.2s, stroke 0.2s; stroke-linecap: round; }
.ring.warn .bar { stroke: var(--danger); }
.ring-num { font-size: 12px; font-weight: 600; color: var(--danger); font-variant-numeric: tabular-nums; }

/* ───────── map (radius) ───────── */
.map { position: relative; height: 230px; margin: 6px 16px 6px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0f1117; }
.map .leaflet-container { width: 100%; height: 100%; background: #0f1117; font-family: var(--font); }
.map .leaflet-control-attribution { background: rgba(0, 0, 0, 0.5); color: var(--text-3); font-size: 9px; }
.map .leaflet-control-attribution a { color: var(--text-2); }
.map-badge { position: absolute; z-index: 500; left: 12px; top: 12px; background: rgba(10, 10, 11, 0.78); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 550; pointer-events: none; }
.map-badge b { color: var(--accent); }
.mapfb { position: absolute; inset: 0; }
.mapfb .note { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--text-3); }
.radius-opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); }
.radius-opt { border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 550; font-size: 14px; padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: border-color 0.18s, background 0.18s var(--ease), color 0.18s, transform 0.12s var(--ease); }
.radius-opt:hover { border-color: var(--accent); } .radius-opt:active { transform: scale(0.95); }
.radius-opt.on { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ───────── profile ───────── */
.prof-head { padding: 22px 16px 18px; border-bottom: 1px solid var(--line); }
.prof-top { display: flex; align-items: center; gap: 16px; }
.prof-meta { flex: 1; min-width: 0; }
.prof-name { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; }
.prof-uname { color: var(--text-2); font-size: 14px; }
.prof-bio { margin-top: 12px; font-size: 14.5px; color: #dcdce0; white-space: pre-wrap; }
.prof-stats { display: flex; gap: 20px; margin-top: 14px; }
.prof-stats b { font-weight: 650; }
.prof-stats span { color: var(--text-2); font-size: 13.5px; }
.prof-actions { margin-top: 16px; }
.prof-actions .btn { padding: 10px 18px; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.prof-actions .icon { width: 16px; height: 16px; }

/* ───────── onboarding ───────── */
.screen { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 26px; background: var(--bg); overflow: auto; }
.onb { width: 100%; max-width: 400px; text-align: center; animation: viewIn 0.4s var(--ease); }
.onb .logo { transform: scale(1.3); margin-bottom: 34px; }
.onb h1 { font-size: 29px; font-weight: 650; letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 12px; }
.onb .sub { color: var(--text-2); font-size: 16px; margin-bottom: 32px; line-height: 1.5; }
.onb .card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.check { display: flex; align-items: flex-start; gap: 11px; text-align: left; padding: 13px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; margin-bottom: 14px; transition: border-color 0.18s, background 0.18s; }
.check.on { border-color: var(--line-2); background: var(--surface-2); }
.check .box { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 2px solid var(--line-2); display: grid; place-items: center; transition: all 0.18s var(--ease); }
.check.on .box { background: var(--white); border-color: var(--white); }
.check .box .icon { width: 14px; height: 14px; color: var(--ink); opacity: 0; transform: scale(0.5); transition: all 0.18s var(--ease); }
.check.on .box .icon { opacity: 1; transform: scale(1); }
.check .t { font-size: 13px; color: var(--text-2); line-height: 1.45; }
.check .t b { color: var(--text); font-weight: 600; }
.btn-vk { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #0077ff; color: #fff; padding: 15px; border-radius: 13px; font-size: 15.5px; font-weight: 600; cursor: pointer; border: none; margin-bottom: 12px; transition: opacity 0.16s, transform 0.12s var(--ease); }
.btn-vk:hover { opacity: 0.92; } .btn-vk:active { transform: scale(0.99); }
.btn-vk:disabled { opacity: 0.34; cursor: default; }
.btn-vk .vkmark { font-weight: 800; font-size: 13px; background: rgba(255, 255, 255, 0.22); border-radius: 6px; padding: 2px 6px; letter-spacing: 0.5px; }
.btn-tg { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--white); color: var(--ink); padding: 15px; border-radius: 13px; font-size: 15.5px; font-weight: 600; cursor: pointer; border: none; transition: opacity 0.16s, transform 0.12s var(--ease); }
.btn-tg:hover { opacity: 0.9; } .btn-tg:active { transform: scale(0.99); }
.btn-tg:disabled { opacity: 0.32; cursor: default; }
.btn-tg .icon { width: 21px; height: 21px; }
.tg-mount { display: flex; justify-content: center; min-height: 48px; }
.onb .note { color: var(--text-3); font-size: 12px; margin-top: 16px; line-height: 1.5; }
.dev-badge { display: inline-block; font-size: 11px; font-weight: 600; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; margin-top: 14px; }
.geo-opt { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 16px; border-radius: 14px; cursor: pointer; margin-bottom: 12px; transition: border-color 0.18s, transform 0.12s var(--ease); }
.geo-opt:hover { border-color: var(--accent); } .geo-opt:active { transform: scale(0.99); }
.geo-opt .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; flex: none; color: var(--accent); }
.geo-opt .ic .icon { width: 22px; height: 22px; }
.geo-opt .tt { font-weight: 600; font-size: 15px; display: block; }
.geo-opt .ss { color: var(--text-2); font-size: 13px; }

/* ───────── modal ───────── */
.modal-bg { position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, 0.74); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 22px; animation: bgfade 0.25s ease; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; max-width: 410px; width: 100%; text-align: center; box-shadow: var(--shadow); animation: modalIn 0.3s var(--ease); }
.modal .m-ic { width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); }
.modal .m-ic.care { color: var(--danger); }
.modal .m-ic .icon { width: 26px; height: 26px; }
.modal h2 { font-size: 20px; font-weight: 650; margin-bottom: 9px; letter-spacing: -0.02em; }
.modal p { color: var(--text-2); margin-bottom: 18px; }
.helpline { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; text-align: left; margin-bottom: 18px; }
.helpline .t { font-weight: 500; font-size: 13px; color: var(--text-2); margin-bottom: 4px; }
.helpline .p { font-size: 25px; font-weight: 650; letter-spacing: -0.02em; }
.helpline .n { font-size: 12px; color: var(--text-3); margin-top: 8px; }
.field { text-align: left; margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 550; color: var(--text-2); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); font: inherit; font-size: 15px; padding: 12px 14px; outline: none; resize: none; transition: border-color 0.18s; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }

/* ───────── states ───────── */
.empty { padding: 64px 30px; text-align: center; color: var(--text-2); animation: viewIn 0.35s var(--ease); }
.empty .icon { width: 38px; height: 38px; color: var(--text-3); margin-bottom: 14px; }
.empty h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.skel { display: flex; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.skel .s-av { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.skel .s-main { flex: 1; }
.skel .s-line { height: 12px; border-radius: 6px; margin-bottom: 9px; }
.shimmer { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 18px); transform: translateX(-50%); z-index: 95; background: var(--elev); border: 1px solid var(--line-2); color: var(--text); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 550; box-shadow: var(--shadow); max-width: 90%; animation: toastIn 0.32s var(--ease); }

.appbar-back { position: sticky; top: 0; z-index: 26; display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.appbar-back h2 { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.back-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: none; background: none; color: var(--text); cursor: pointer; transition: background 0.15s, transform 0.12s var(--ease); }
.back-btn:hover { background: var(--surface-2); } .back-btn:active { transform: scale(0.9); }
.back-btn .icon { width: 20px; height: 20px; }
.replies-head { padding: 14px 16px 4px; color: var(--text-2); font-size: 13px; font-weight: 600; }

/* ───────── view transition + анимации ───────── */
.vin { animation: viewIn 0.32s var(--ease); }
#feed .post { animation: riseIn 0.42s var(--ease) both; }
#feed .post:nth-child(1) { animation-delay: 0.02s; }
#feed .post:nth-child(2) { animation-delay: 0.06s; }
#feed .post:nth-child(3) { animation-delay: 0.1s; }
#feed .post:nth-child(4) { animation-delay: 0.14s; }
#feed .post:nth-child(5) { animation-delay: 0.18s; }
#feed .post:nth-child(6) { animation-delay: 0.22s; }
#feed .post:nth-child(7) { animation-delay: 0.26s; }
#feed .post:nth-child(8) { animation-delay: 0.3s; }
#threadReplies .post { animation: riseIn 0.4s var(--ease) both; }

@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes bgfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes modalIn { from { opacity: 0; transform: scale(0.94) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes viewIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes growLine { from { transform: translateX(-50%) scaleX(0.2); opacity: 0; } to { transform: translateX(-50%) scaleX(1); opacity: 1; } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.32); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) { *, *::after, *::before { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; } }
@media (max-width: 640px) { #app { border-inline: none; } .botnav-inner { border-inline: none; } .tabs, .appbar-back { top: 59px; } }
