/* GPSnavy — тёмная тема, адаптив: панель слева на десктопе, лист снизу на телефоне. */
:root {
  --bg: #070d16;
  --bg-soft: #0d1725;
  --card: rgba(17, 27, 42, 0.92);
  --card-solid: #111b2a;
  --line: rgba(120, 160, 210, 0.16);
  --text: #e8f2ff;
  --muted: #8fa6c2;
  --accent: #4da3ff;
  --accent-2: #38d39f;
  --danger: #ff4d5e;
  --warn: #ffb020;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, "Inter", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 700px at 15% -10%, #12213a 0%, var(--bg) 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
.hidden { display: none !important; }
button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font-family: inherit; }

/* ---------- вход ---------- */
.auth {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  padding: 48px clamp(20px, 6vw, 90px);
  align-items: center;
  overflow: auto;
}
.auth-hero .logo {
  width: 64px; height: 64px; border-radius: 20px;
  display: grid; place-items: center; font-size: 34px;
  background: linear-gradient(140deg, #2f7ff0, #16b58a);
  color: #04101c; box-shadow: 0 12px 34px rgba(48, 132, 245, 0.35);
}
.auth-hero h1 { font-size: clamp(38px, 5vw, 56px); margin: 18px 0 6px; letter-spacing: -0.02em; }
.tagline { color: var(--muted); font-size: 18px; margin: 0 0 26px; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 460px; }
.features li {
  padding: 11px 14px; border-radius: 12px; background: rgba(20, 33, 52, 0.6);
  border: 1px solid var(--line); color: #cfe0f5; font-size: 14.5px;
}
.features b { color: #fff; }
.crypto-note { color: #6f8bab; font-size: 12.5px; margin-top: 22px; max-width: 460px; line-height: 1.5; }

.auth-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow); backdrop-filter: blur(14px); max-width: 440px; width: 100%;
}
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(8, 15, 25, 0.7); padding: 5px; border-radius: 12px; margin-bottom: 20px; }
.seg button {
  border: 0; background: transparent; color: var(--muted); padding: 10px; border-radius: 9px; font-weight: 600; font-size: 14px;
}
.seg button.active { background: rgba(77, 163, 255, 0.16); color: #cfe6ff; }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.field em { font-style: normal; color: #62809f; font-size: 11.5px; display: block; margin-top: 2px; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line);
  background: rgba(8, 15, 25, 0.75); color: var(--text); font-size: 15px; outline: none; transition: border-color 0.15s;
}
.field input:focus { border-color: rgba(77, 163, 255, 0.7); }
.hint { color: #7c96b5; font-size: 12px; line-height: 1.45; margin: 4px 0 16px; }
.primary {
  width: 100%; padding: 13px; border: 0; border-radius: 12px; font-weight: 700; font-size: 15px;
  background: linear-gradient(120deg, #3f8ef0, #2bc99a); color: #04121f;
}
.primary:disabled { opacity: 0.6; cursor: wait; }
.error { color: #ff8290; font-size: 13px; min-height: 18px; margin: 10px 0 0; }

/* ---------- каркас ---------- */
.app { position: fixed; inset: 0; display: grid; grid-template-columns: 372px 1fr; }
.panel {
  background: var(--card-solid); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 0; z-index: 5;
}
.panel-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.who { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; }
.avatar {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  font-weight: 800; color: #06111d; background: linear-gradient(140deg, #55a9ff, #2fd0a0); flex: none;
}
.who-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.circle-select {
  max-width: 128px; background: rgba(9, 16, 26, 0.8); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; font-size: 12.5px;
}
.panel-close { display: none; border: 1px solid var(--line); background: rgba(20,33,52,.8); color: #cfe6ff; font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 10px; }

.tabs { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button {
  border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 13px;
  padding: 8px 11px; border-radius: 9px; white-space: nowrap;
}
.tabs button.active { background: rgba(77, 163, 255, 0.14); color: #d5e9ff; }

.panel-body { flex: 1; overflow: auto; padding: 14px; min-height: 0; }
.sheet-body { padding: 0; }

.map-wrap { position: relative; min-width: 0; }
.map { position: absolute; inset: 0; }
.map-canvas { display: block; touch-action: none; cursor: grab; }
.map-canvas:active { cursor: grabbing; }

.map-top { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; flex-wrap: wrap; pointer-events: none; z-index: 3; }
.chip {
  padding: 7px 11px; border-radius: 10px; font-size: 12px; font-weight: 600;
  background: rgba(12, 21, 34, 0.85); border: 1px solid var(--line); color: #cfe0f5;
  backdrop-filter: blur(8px);
}
.chip.ghost { color: var(--muted); font-weight: 500; }
.chip.saver { border-color: rgba(255, 176, 32, 0.5); color: #ffd479; }
.chip.critical { border-color: rgba(255, 77, 94, 0.6); color: #ff9aa4; }
.chip.sos { border-color: rgba(255, 77, 94, 0.8); color: #ffd0d4; background: rgba(80, 10, 18, 0.85); }

.map-zoom {
  position: absolute; right: 14px; top: 14px; display: grid; gap: 6px; z-index: 3;
}
.map-zoom button {
  width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line);
  background: rgba(12, 21, 34, 0.88); color: #d8e8fb; font-size: 18px; font-weight: 700; backdrop-filter: blur(8px);
}
.map-zoom button:hover { background: rgba(24, 39, 60, 0.95); }

.sos {
  position: absolute; right: 18px; bottom: 22px; z-index: 4;
  width: 88px; height: 88px; border-radius: 50%; border: 3px solid rgba(255, 120, 130, 0.55);
  background: radial-gradient(circle at 35% 30%, #ff6a76, #c01226);
  color: #fff; display: grid; place-items: center; line-height: 1.05;
  box-shadow: 0 14px 36px rgba(200, 20, 40, 0.45);
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.sos span { font-size: 19px; font-weight: 900; letter-spacing: 0.06em; }
.sos small { font-size: 9.5px; opacity: 0.85; }
.sos.armed { animation: pulse 1.1s infinite; border-color: #ffd4d8; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.55); } 70% { box-shadow: 0 0 0 22px rgba(255, 77, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); } }

.sos-banner {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  padding: 13px 18px; background: linear-gradient(90deg, #a10d1c, #dc1f34);
  display: flex; align-items: center; gap: 14px; font-weight: 700; box-shadow: 0 8px 30px rgba(180, 0, 20, 0.5);
}
.sos-banner button { margin-left: auto; background: rgba(0, 0, 0, 0.3); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 9px; padding: 8px 12px; font-weight: 700; }

.toasts { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 7; width: min(440px, 92%); }
.toast {
  background: rgba(14, 24, 38, 0.96); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  padding: 11px 14px; border-radius: 11px; font-size: 13px; box-shadow: var(--shadow);
  animation: slideIn 0.18s ease-out;
}
.toast.warn { border-left-color: var(--warn); }
.toast.danger { border-left-color: var(--danger); }
.toast.ok { border-left-color: var(--accent-2); }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- панели ---------- */
.section-title { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #6f8bab; margin: 4px 2px 10px; }
.person {
  display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 13px;
  border: 1px solid var(--line); background: rgba(16, 26, 41, 0.75); margin-bottom: 8px;
  cursor: pointer; transition: background 0.12s, border-color 0.12s;
}
.person:hover { background: rgba(24, 39, 61, 0.9); border-color: rgba(77, 163, 255, 0.35); }
.person .avatar { width: 36px; height: 36px; border-radius: 11px; font-size: 13px; }
.person-main { flex: 1; min-width: 0; }
.person-name { font-weight: 650; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #44586f; flex: none; }
.dot.online { background: var(--accent-2); box-shadow: 0 0 0 3px rgba(56, 211, 159, 0.18); }
.person-sub { font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-meta { text-align: right; font-size: 11.5px; color: var(--muted); flex: none; }
.batt { display: inline-flex; align-items: center; gap: 4px; }
.batt i { width: 16px; height: 9px; border: 1px solid currentColor; border-radius: 2px; position: relative; display: inline-block; }
.batt i::after { content: ""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: var(--lvl, 60%); background: currentColor; border-radius: 1px; }
.batt.low { color: var(--warn); }
.batt.crit { color: var(--danger); }

.empty { color: var(--muted); font-size: 13px; line-height: 1.55; padding: 18px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }
.form-row { display: grid; gap: 9px; margin-bottom: 12px; }
.form-row label { font-size: 12px; color: var(--muted); display: grid; gap: 5px; }
.form-row input, .form-row select {
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(8, 15, 25, 0.8); color: var(--text); font-size: 14px;
}
.btn {
  border: 1px solid var(--line); background: rgba(24, 39, 61, 0.9); color: var(--text);
  padding: 10px 14px; border-radius: 10px; font-weight: 650; font-size: 13.5px;
}
.btn:hover { background: rgba(33, 52, 79, 0.95); }
.btn.primary { background: linear-gradient(120deg, #3f8ef0, #2bc99a); color: #04121f; border: 0; }
.btn.ghost { background: transparent; }
.btn.danger { border-color: rgba(255, 77, 94, 0.5); color: #ff9aa4; background: rgba(60, 12, 20, 0.5); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.small { padding: 6px 10px; font-size: 12px; }

.place { display: flex; gap: 10px; align-items: center; padding: 10px 11px; border-radius: 12px; border: 1px solid var(--line); background: rgba(16, 26, 41, 0.7); margin-bottom: 8px; }
.place-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(77, 163, 255, 0.16); font-size: 16px; flex: none; }
.place-main { flex: 1; min-width: 0; }
.place-name { font-weight: 650; font-size: 13.5px; }
.place-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.msg { display: flex; width: 100%; gap: 8px; margin-bottom: 9px; }
.msg .bubble { max-width: 82%; padding: 9px 12px; border-radius: 13px; background: rgba(28, 44, 68, 0.9); font-size: 13.5px; line-height: 1.4; word-break: break-word; }
.msg.mine { flex-direction: row-reverse; }
.msg.mine .bubble { background: linear-gradient(135deg, rgba(52, 118, 210, 0.85), rgba(28, 130, 105, 0.8)); }
.msg .meta { font-size: 10.5px; color: #7f97b4; margin-top: 4px; }
.msg-author { font-size: 11px; color: #8fb2d8; margin-bottom: 3px; }
.composer { display: flex; gap: 8px; margin-top: 12px; }
.composer input { flex: 1; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line); background: rgba(8, 15, 25, 0.85); color: var(--text); font-size: 14px; }
.ptt { width: 100%; padding: 13px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(40, 60, 88, 0.9); color: var(--text); font-weight: 700; margin-top: 10px; touch-action: none; }
.ptt.rec { background: linear-gradient(120deg, #c02234, #ff5c6c); border-color: #ffb0b8; }
.radio-ptt { background: linear-gradient(120deg, #1f5fa8, #2b8f7a); border-color: rgba(120, 220, 190, 0.35); }
.radio-ptt.rec { background: linear-gradient(120deg, #c02234, #ff5c6c); }
.radio-status { font-size: 12.5px; color: #a9c2dd; padding: 8px 10px; border-radius: 10px; background: rgba(20, 33, 52, 0.7); border: 1px solid var(--line); }
.radio-peers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.radio-peer { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 20px; padding: 5px 9px; }
.radio-peer.on { color: #b8f0d8; border-color: rgba(56, 211, 159, 0.4); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.voice-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px; background: rgba(20, 33, 52, 0.75); border: 1px solid var(--line); margin-bottom: 7px; font-size: 12.5px; }
.voice-item button { border: 0; background: rgba(77, 163, 255, 0.2); color: #cfe6ff; width: 30px; height: 30px; border-radius: 9px; }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(120, 160, 210, 0.1); font-size: 13.5px; }
.toggle small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.switch { width: 42px; height: 24px; border-radius: 20px; background: #2a3a50; border: 0; position: relative; flex: none; transition: background 0.15s; }
.switch::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #cfe0f5; top: 3px; left: 3px; transition: transform 0.15s; }
.switch.on { background: linear-gradient(120deg, #3f8ef0, #2bc99a); }
.switch.on::after { transform: translateX(18px); background: #07131f; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid rgba(120, 160, 210, 0.08); }
.kv span:first-child { color: var(--muted); }
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12px; letter-spacing: 0.04em; }
.warn-box { border: 1px solid rgba(255, 176, 32, 0.35); background: rgba(60, 44, 8, 0.35); color: #ffd58a; padding: 10px 12px; border-radius: 11px; font-size: 12px; line-height: 1.5; margin: 10px 0; }

/* ---------- лист / модалка ---------- */
.sheet {
  position: absolute; z-index: 8; left: 12px; right: 12px; bottom: 12px; max-height: 72%;
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden;
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sheet-head button { border: 0; background: transparent; color: var(--muted); font-size: 16px; }
.sheet-body { padding: 12px; overflow: auto; }

.modal { position: fixed; inset: 0; z-index: 50; background: rgba(4, 9, 16, 0.72); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(4px); }
.modal-card { background: var(--card-solid); border: 1px solid var(--line); border-radius: 18px; padding: 22px; width: min(420px, 100%); box-shadow: var(--shadow); }
.modal-card h3 { margin: 0 0 10px; font-size: 17px; }
.modal-card p { color: #b9cde5; font-size: 13.5px; line-height: 1.5; margin: 0 0 8px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }

.bottom-nav { display: none; }

/* ---------- мобильный ---------- */
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; padding: 26px 18px 40px; gap: 22px; }
  .auth-hero h1 { font-size: 40px; }
  .features { display: none; }

  .app { grid-template-columns: 1fr; }
  .panel { position: absolute; inset: 0 0 64px 0; z-index: 14; transform: translateY(100%); visibility: hidden; pointer-events: none; transition: transform 0.22s ease, visibility 0.22s; border: 0; }
  .panel.open { transform: none; visibility: visible; pointer-events: auto; }
  .tabs { display: none; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: absolute; left: 0; right: 0; bottom: 0;
    height: 64px; background: rgba(10, 18, 29, 0.97); border-top: 1px solid var(--line); z-index: 12;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav button { border: 0; background: transparent; color: #6f8bab; display: grid; place-items: center; gap: 2px; font-size: 10.5px; }
  .bottom-nav button i { font-style: normal; font-size: 19px; }
  .bottom-nav button.active { color: #cfe6ff; }
  .sos { width: 74px; height: 74px; bottom: 88px; z-index: 13; }
  .toasts { bottom: 92px; z-index: 15; }
  .panel-close { display: block; }
  .sheet { display: none; }
  .map-top { right: 12px; }
  .chip { font-size: 11px; }
}

/* ---------- чат в стиле WhatsApp (тёмная тема) ---------- */
.tabs button, .bottom-nav button { position: relative; }
.chat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 10%, rgba(77, 163, 255, 0.06), transparent 45%),
    #0b141a;
}
.chat-empty { color: #8696a0; font-size: 13px; text-align: center; padding: 22px 12px; }
.chat-date {
  align-self: center;
  background: #182229;
  color: #8696a0;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 8px;
  margin: 8px 0 6px;
}
.msg { display: flex; width: 100%; gap: 6px; margin: 1px 0; align-items: flex-end; }
.msg .avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #06111d;
}
.msg .avatar.ghost { background: transparent; }
.msg .bubble {
  position: relative;
  max-width: 78%;
  padding: 6px 9px 16px;
  border-radius: 10px;
  background: #202c33;
  color: #e9edef;
  font-size: 13.5px;
  line-height: 1.38;
  word-break: break-word;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.msg .msg-text { white-space: pre-wrap; }
.msg.mine { flex-direction: row-reverse; }
.msg.mine .bubble { background: #005c4b; border-bottom-right-radius: 3px; padding-right: 52px; }
.msg.other .bubble { border-bottom-left-radius: 3px; }
.msg.grouped .bubble { border-top-left-radius: 4px; }
.msg.mine.grouped .bubble { border-top-right-radius: 4px; }
.msg-author { font-size: 11px; color: #53bdeb; margin-bottom: 2px; font-weight: 600; }
.bubble-time { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: rgba(233, 237, 239, 0.55); }
.tab-badge {
  position: absolute; top: 1px; right: 6px;
  background: #e5484d; color: #fff; border-radius: 9px;
  font-size: 9px; line-height: 1; padding: 2px 5px; font-weight: 700;
}
.composer { position: sticky; bottom: 0; padding-top: 8px; background: linear-gradient(180deg, transparent, var(--card-solid) 35%); }
.composer input { border-radius: 22px; padding: 11px 16px; background: #202c33; border: 0; color: #e9edef; }
.composer .btn.primary { width: 44px; height: 44px; border-radius: 50%; padding: 0; font-size: 16px; flex: none; }

.chat-unread {
  align-self: center;
  background: #005c4b;
  color: #d9fdd3;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  margin: 8px 0;
  letter-spacing: 0.02em;
}

/* ---------- v0.9.0: галочки, цитаты, голосовые в ленте ---------- */
.msg { position: relative; }
.msg .ticks {
  position: absolute; right: 36px; bottom: 3px;
  font-size: 10px; letter-spacing: -1px;
  color: rgba(233, 237, 239, 0.55);
}
.msg .ticks.read { color: #53bdeb; }
.bubble-voice { padding-bottom: 16px; }
.voice-row { display: flex; align-items: center; gap: 9px; margin: 2px 0 0; }
.voice-play {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 0; background: rgba(233, 237, 239, 0.14); color: #e9edef;
  font-size: 13px; cursor: pointer; display: grid; place-items: center;
}
.voice-play:hover { background: rgba(233, 237, 239, 0.24); }
.voice-bars { display: flex; align-items: center; gap: 2px; flex: 1; max-width: 120px; }
.voice-bars i { width: 2px; border-radius: 1px; background: rgba(233, 237, 239, 0.45); display: block; }
.voice-dur { font-size: 11px; color: rgba(233, 237, 239, 0.6); }
.quote {
  border-left: 3px solid #53bdeb;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 6px;
  padding: 4px 7px;
  margin-bottom: 4px;
  cursor: pointer;
}
.quote-text {
  font-size: 11.5px; color: #a8bcc7;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 210px;
}
.msg-reply {
  align-self: center; opacity: 0; transition: opacity 0.12s;
  background: none; border: 0; color: #8696a0; font-size: 14px;
  cursor: pointer; padding: 4px 6px;
}
.msg:hover .msg-reply, .msg:focus-within .msg-reply { opacity: 1; }
@media (hover: none) { .msg-reply { opacity: 0.45; } }
.reply-bar {
  display: flex; align-items: center; gap: 8px;
  border-left: 3px solid #53bdeb;
  background: #202c33; border-radius: 8px;
  padding: 6px 10px; margin-top: 8px;
}
.reply-bar-text {
  flex: 1; font-size: 12px; color: #a8bcc7;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.reply-cancel { background: none; border: 0; color: #8696a0; font-size: 14px; cursor: pointer; }
