/* ==================================================================
   custom.css — кастомная тема поверх Framework7
   Светлая тема, фиолетовый акцент, карточки со скруглением 12px.
   ================================================================== */

:root {
  --ttp-accent: #7C3AED;
  --ttp-accent-soft: #EDE9FE;
  --ttp-accent-dark: #6D28D9;

  --ttp-bg: #F6F7FB;
  --ttp-surface: #FFFFFF;
  --ttp-border: #E9EAF0;
  --ttp-text: #0F172A;
  --ttp-text-muted: #64748B;

  --ttp-hot: #EF4444;
  --ttp-mid: #3B82F6;
  --ttp-low: #94A3B8;

  --ttp-radius: 12px;
  --ttp-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .06);

  /* Переопределяем переменные Framework7 */
  --f7-theme-color: #7C3AED;
  --f7-theme-color-rgb: 124, 58, 237;
  --f7-theme-color-shade: #6D28D9;
  --f7-theme-color-tint: #8B5CF6;
  --f7-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f7-page-bg-color: #F6F7FB;
  --f7-bars-bg-color: #FFFFFF;
  --f7-bars-text-color: #0F172A;
  --f7-navbar-title-font-weight: 700;
  --f7-block-title-text-color: #0F172A;
}

.theme-dark {
  --ttp-bg: #0F1117;
  --ttp-surface: #171A23;
  --ttp-border: #262B37;
  --ttp-text: #E2E8F0;
  --ttp-text-muted: #94A3B8;
  --ttp-accent-soft: #2A1F52;
  --ttp-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .28);

  --f7-page-bg-color: #0F1117;
  --f7-bars-bg-color: #171A23;
  --f7-bars-text-color: #E2E8F0;
  --f7-block-title-text-color: #E2E8F0;
}

body {
  font-family: var(--f7-font-family);
  -webkit-font-smoothing: antialiased;
  color: var(--ttp-text);
}

.page-content { background: var(--ttp-bg); }

/* ---------- Навбар ---------- */
.navbar .title { letter-spacing: -0.02em; }
.navbar-brand { display: flex; align-items: center; gap: 8px; }
.navbar-brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ttp-accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .16);
}

/* ---------- Карточки ---------- */
.ttp-card {
  background: var(--ttp-surface);
  border: 1px solid var(--ttp-border);
  border-radius: var(--ttp-radius);
  box-shadow: var(--ttp-shadow);
  margin: 12px 16px;
  padding: 16px;
}
.ttp-card--flush { padding: 0; overflow: hidden; }

.ttp-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.ttp-card-title {
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ttp-text); margin: 0;
}
.ttp-card-sub { font-size: 12px; color: var(--ttp-text-muted); margin: 2px 0 0; }

.ttp-section-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ttp-text-muted);
  margin: 22px 16px 6px;
}

/* ---------- Поле ввода ключевого слова ---------- */
/* Framework7 задаёт всем <button> width:100%.
   Возвращаем авто-ширину своим кнопкам (селектор по классу перебивает
   элементный селектор фреймворка). */
.btn-primary, .btn-ghost, .post-toggle, .icon-btn, .chip-btn { width: auto; }

.keyword-form { display: flex; gap: 8px; align-items: stretch; }
/* Селектор с тегом нужен, чтобы перебить сброс Framework7 для input[type=text] */
input.keyword-input {
  flex: 1 1 auto; min-width: 0; width: 100%;
  height: 44px; padding: 0 14px;
  font-size: 15px; font-family: inherit;
  color: var(--ttp-text);
  background: var(--ttp-bg);
  border: 1px solid var(--ttp-border);
  border-radius: 10px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input.keyword-input::placeholder { color: var(--ttp-text-muted); }
input.keyword-input:focus {
  border-color: var(--ttp-accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .14);
}
.btn-primary {
  height: 44px; padding: 0 20px;
  border: none; border-radius: 10px;
  background: var(--ttp-accent); color: #fff;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .1s;
}
.btn-primary:hover { background: var(--ttp-accent-dark); }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.btn-ghost {
  height: 36px; padding: 0 14px;
  border: 1px solid var(--ttp-border); border-radius: 9px;
  background: var(--ttp-surface); color: var(--ttp-text);
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--ttp-accent); color: var(--ttp-accent); }

/* ---------- Трекеры (теги) ---------- */
.tracker-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tracker-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 6px 0 12px;
  background: var(--ttp-accent-soft);
  color: var(--ttp-accent-dark);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.theme-dark .tracker-chip { color: #C4B5FD; }
.tracker-chip .cnt {
  background: rgba(124, 58, 237, .18);
  border-radius: 999px; padding: 1px 7px;
  font-size: 11px; font-weight: 700;
}
.tracker-chip .chip-btn {
  width: 22px; height: 22px; border: none; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1; opacity: .65;
}
.tracker-chip .chip-btn:hover { opacity: 1; background: rgba(124, 58, 237, .16); }
.tracker-chip.is-loading { opacity: .6; }
.tracker-empty { font-size: 13px; color: var(--ttp-text-muted); margin-top: 12px; }

/* ---------- Статистика ---------- */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px; margin: 12px 16px;
}
.stat-card {
  background: var(--ttp-surface);
  border: 1px solid var(--ttp-border);
  border-radius: var(--ttp-radius);
  padding: 14px;
  box-shadow: var(--ttp-shadow);
}
.stat-value { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ttp-text); }
.stat-label { font-size: 11px; color: var(--ttp-text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Фильтры ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.filter-field { display: flex; flex-direction: column; gap: 4px; min-width: 130px; flex: 1; }
.filter-field label { font-size: 11px; font-weight: 600; color: var(--ttp-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.filter-field select, .filter-field input[type="range"] {
  height: 36px; border-radius: 9px; border: 1px solid var(--ttp-border);
  background: var(--ttp-bg); color: var(--ttp-text);
  font-family: inherit; font-size: 13px; padding: 0 10px; outline: none;
}
.filter-field input[type="range"] { padding: 0; accent-color: var(--ttp-accent); background: transparent; border: none; }

/* ---------- Таблица топа ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.ttp-table {
  width: 100%; border-collapse: collapse; font-size: 13px; min-width: 780px;
}
table.ttp-table th {
  text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--ttp-text-muted);
  padding: 12px 12px; border-bottom: 1px solid var(--ttp-border);
  white-space: nowrap; background: var(--ttp-surface);
  position: sticky; top: 0; z-index: 2;
}
table.ttp-table td {
  padding: 12px; border-bottom: 1px solid var(--ttp-border);
  vertical-align: top; color: var(--ttp-text);
}
table.ttp-table tbody tr:nth-child(even) { background: rgba(124, 58, 237, .025); }
.theme-dark table.ttp-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
table.ttp-table tbody tr:hover { background: var(--ttp-accent-soft); cursor: pointer; }
.theme-dark table.ttp-table tbody tr:hover { background: rgba(124, 58, 237, .16); }
table.ttp-table tbody tr:last-child td { border-bottom: none; }

.col-rank { width: 42px; color: var(--ttp-text-muted); font-weight: 700; }
.col-num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.col-when { white-space: nowrap; color: var(--ttp-text-muted); }

.score-badge {
  display: inline-block; min-width: 46px; text-align: center;
  padding: 4px 8px; border-radius: 8px;
  font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums;
}
.score-hot { background: rgba(239, 68, 68, .12); color: var(--ttp-hot); }
.score-mid { background: rgba(59, 130, 246, .12); color: var(--ttp-mid); }
.score-low { background: rgba(148, 163, 184, .16); color: var(--ttp-low); }

.author-cell { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 30px;
  background: linear-gradient(135deg, #A78BFA, #7C3AED);
  color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  object-fit: cover; overflow: hidden;
}
.author-name { font-weight: 600; white-space: nowrap; }
.author-followers { font-size: 11px; color: var(--ttp-text-muted); }
.verified { color: var(--ttp-accent); font-size: 12px; }

.post-cell { max-width: 380px; min-width: 240px; }
.post-text {
  white-space: pre-wrap; word-break: break-word; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-text.expanded { -webkit-line-clamp: unset; display: block; }
.post-toggle {
  background: none; border: none; padding: 4px 0 0;
  color: var(--ttp-accent); font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.post-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.mini-badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 6px; border-radius: 6px;
  background: var(--ttp-bg); color: var(--ttp-text-muted); border: 1px solid var(--ttp-border);
}
.mini-badge.demo { background: rgba(245, 158, 11, .12); color: #B45309; border-color: transparent; }

.row-actions { display: flex; gap: 6px; white-space: nowrap; }
.icon-btn {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--ttp-border); background: var(--ttp-surface);
  color: var(--ttp-text-muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.icon-btn:hover { border-color: var(--ttp-accent); color: var(--ttp-accent); }

.empty-state { padding: 44px 20px; text-align: center; color: var(--ttp-text-muted); }
.empty-state .emoji { font-size: 34px; display: block; margin-bottom: 10px; }

/* ---------- Анализ поста (popup) ---------- */
.analysis-block { margin: 0 0 18px; }
.analysis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.analysis-item {
  background: var(--ttp-bg); border: 1px solid var(--ttp-border);
  border-radius: 10px; padding: 10px 12px;
}
.analysis-item .k { font-size: 11px; color: var(--ttp-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.analysis-item .v { font-size: 15px; font-weight: 700; margin-top: 3px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--ttp-bg); border: 1px solid var(--ttp-border); color: var(--ttp-text-muted);
}
.tag.on { background: var(--ttp-accent-soft); color: var(--ttp-accent-dark); border-color: transparent; }
.theme-dark .tag.on { color: #C4B5FD; }
.tag.tone-positive { background: rgba(16, 185, 129, .13); color: #047857; border-color: transparent; }
.tag.tone-negative { background: rgba(239, 68, 68, .13); color: #B91C1C; border-color: transparent; }
.tag.tone-provocative { background: rgba(245, 158, 11, .15); color: #B45309; border-color: transparent; }

.rec-item {
  display: flex; gap: 12px; padding: 12px;
  border: 1px solid var(--ttp-border); border-radius: 10px;
  background: var(--ttp-surface); margin-bottom: 8px;
}
.rec-item .rec-icon { font-size: 20px; line-height: 1.2; flex: 0 0 auto; }
.rec-item .rec-title { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.rec-item .rec-text { font-size: 13px; line-height: 1.5; color: var(--ttp-text-muted); }
.rec-item.level-high { border-left: 3px solid var(--ttp-accent); }
.rec-item.level-mid { border-left: 3px solid #A78BFA; }
.rec-item.level-low { border-left: 3px solid var(--ttp-border); }

.post-preview {
  background: var(--ttp-bg); border: 1px solid var(--ttp-border);
  border-radius: 10px; padding: 12px; white-space: pre-wrap;
  font-size: 13px; line-height: 1.55; max-height: 220px; overflow: auto;
}
.media-strip { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.media-strip img {
  height: 90px; border-radius: 8px; border: 1px solid var(--ttp-border); object-fit: cover;
}

/* ---------- Графики ---------- */
.chart-box { position: relative; height: 240px; }
.chart-box canvas { max-height: 240px; }
.chart-empty {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center; text-align: center;
  color: var(--ttp-text-muted); font-size: 13px; padding: 20px;
}

.wordcloud {
  display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline;
  line-height: 1.5; padding: 4px 0;
}
.wc-word { font-weight: 700; letter-spacing: -.01em; }

.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12px; }
.bar-label { flex: 0 0 76px; color: var(--ttp-text-muted); }
.bar-track { flex: 1; height: 8px; background: var(--ttp-bg); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, #A78BFA, #7C3AED); border-radius: 999px; }
.bar-value { flex: 0 0 44px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

.pattern-list { margin: 0; padding: 0; list-style: none; }
.pattern-list li {
  display: flex; gap: 10px; padding: 9px 0;
  border-bottom: 1px dashed var(--ttp-border); font-size: 13px; line-height: 1.45;
}
.pattern-list li:last-child { border-bottom: none; }
.pattern-list .p-key { color: var(--ttp-text-muted); flex: 0 0 130px; }
.pattern-list .p-val { font-weight: 600; }

.topic-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.topic-chip {
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--ttp-accent-soft); color: var(--ttp-accent-dark);
}
.theme-dark .topic-chip { color: #C4B5FD; }
.topic-chip .sh { opacity: .7; font-weight: 500; margin-left: 4px; }

/* ---------- Онбординг ---------- */
.onboard-popup .onboard {
  display: flex; flex-direction: column; height: 100%;
  background: linear-gradient(160deg, #7C3AED 0%, #5B21B6 100%);
  color: #fff; text-align: center;
}
.onboard-slides { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px; }
.onboard-slide { display: none; max-width: 420px; }
.onboard-slide.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.onboard-slide .ic { font-size: 56px; display: block; margin-bottom: 18px; }
.onboard-slide h2 { font-size: 23px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.02em; }
.onboard-slide p { font-size: 15px; line-height: 1.55; opacity: .88; margin: 0; }
.onboard-foot { padding: 20px 24px 34px; }
.onboard-dots { display: flex; gap: 7px; justify-content: center; margin-bottom: 18px; }
.onboard-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); transition: all .2s; }
.onboard-dots span.on { background: #fff; width: 20px; border-radius: 4px; }
.onboard-foot .btn-white {
  width: 100%; height: 46px; border: none; border-radius: 12px;
  background: #fff; color: var(--ttp-accent-dark);
  font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer;
}
.onboard-foot .btn-skip {
  display: block; width: 100%; margin-top: 12px; background: none; border: none;
  color: rgba(255,255,255,.8); font-size: 13px; font-family: inherit; cursor: pointer;
}

/* ---------- Прогресс / лоадер ---------- */
.progress-bar-wrap {
  height: 4px; background: var(--ttp-border); border-radius: 999px; overflow: hidden; margin-top: 12px;
}
.progress-bar-fill {
  height: 100%; width: 0; background: var(--ttp-accent);
  border-radius: 999px; transition: width .3s ease;
}
.progress-note { font-size: 12px; color: var(--ttp-text-muted); margin-top: 6px; }

.notice {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .28);
  border-radius: 10px; padding: 11px 13px; font-size: 13px; line-height: 1.45;
  color: #92400E; margin: 12px 16px;
}
.theme-dark .notice { color: #FCD34D; }
.notice.info { background: rgba(59, 130, 246, .1); border-color: rgba(59, 130, 246, .28); color: #1D4ED8; }
.theme-dark .notice.info { color: #93C5FD; }

/* ---------- Таббар ---------- */
.tabbar {
  --f7-tabbar-link-active-color: var(--ttp-accent);
  --f7-tabbar-link-inactive-color: var(--ttp-text-muted);
  --f7-tabbar-link-active-border-color: var(--ttp-accent);
}
.tabbar .tab-link { color: var(--ttp-text-muted); }
.tabbar .tab-link-active { color: var(--ttp-accent); }
.tabbar-icon { font-size: 19px; line-height: 1; }
.tabbar-label { font-size: 10px; font-weight: 600; margin-top: 2px; }

/* ---------- Мобильные и десктопные элементы таблицы ---------- */
.cell-top, .cell-bottom {
  display: none !important;
}

/* ---------- Печать (экспорт в PDF) ---------- */
@media print {
  .navbar, .toolbar, .tabbar, .filters, .row-actions, .btn-primary, .btn-ghost, .icon-btn { display: none !important; }
  .ttp-card { box-shadow: none; break-inside: avoid; }
  body { background: #fff; }
}

/* ---------- Адаптив для мобильных устройств ---------- */
@media (max-width: 768px) {
  /* Базовые отступы и карточки */
  .ttp-card {
    margin: 8px 10px;
    padding: 13px;
    border-radius: 14px;
  }
  .stat-grid {
    margin: 8px 10px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .stat-card {
    padding: 10px 12px;
    border-radius: 12px;
  }
  .stat-value {
    font-size: 19px;
  }
  .stat-label {
    font-size: 10px;
  }

  .keyword-form {
    flex-direction: column;
    gap: 8px;
  }
  input.keyword-input {
    height: 46px;
    font-size: 16px; /* Предотвращает нежелательный автозум в iOS Safari */
    border-radius: 12px;
  }
  .btn-primary {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    font-size: 15px;
  }

  /* Фильтры в 2 колонки на мобилке */
  .filters {
    gap: 8px;
  }
  .filter-field {
    min-width: calc(50% - 4px);
    flex: 1 1 calc(50% - 4px);
  }
  .filter-field select {
    height: 40px;
    font-size: 14px;
    border-radius: 10px;
  }

  /* Safe Area для нижней навигации iPhone (Notch & Home Bar) */
  .toolbar-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0);
    height: calc(54px + env(safe-area-inset-bottom, 0));
  }
  .page-content {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0)) !important;
  }

  /* Трансформация таблицы в нативные карточки */
  .table-wrap {
    overflow-x: visible;
  }
  table.ttp-table {
    display: block;
    min-width: 0 !important;
    width: 100%;
    border-collapse: separate;
  }
  table.ttp-table thead {
    display: none; /* Скрываем громоздкую шапку */
  }
  table.ttp-table tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px;
  }
  table.ttp-table tbody tr.ttp-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--ttp-surface);
    border: 1px solid var(--ttp-border);
    border-radius: 14px;
    padding: 13px;
    box-shadow: var(--ttp-shadow);
    margin: 0;
  }
  table.ttp-table td {
    padding: 0 !important;
    border: none !important;
  }

  /* Прячем чисто десктопные ячейки таблицы */
  .desktop-only {
    display: none !important;
  }

  /* Верхний ряд карточки */
  .cell-top {
    display: flex !important;
    width: 100%;
  }
  .mobile-row-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .mobile-rank {
    font-size: 13px;
    font-weight: 800;
    color: var(--ttp-text-muted);
    min-width: 22px;
  }
  .mobile-meta-right {
    margin-left: auto;
    display: flex;
    align-items: center;
  }

  /* Текст поста в мобильной карточке */
  .post-cell {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100%;
  }
  .post-text {
    font-size: 13.5px;
    line-height: 1.5;
  }

  /* Нижний ряд карточки (метрики + кнопки) */
  .cell-bottom {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px !important;
    border-top: 1px dashed var(--ttp-border) !important;
  }
  .mobile-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ttp-text-muted);
    flex-wrap: wrap;
  }
  .mobile-stats span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
  }
  .cell-bottom .row-actions {
    display: flex;
    gap: 8px;
  }
  .cell-bottom .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 15px;
  }

  /* Таблица недельных трендов на мобилке */
  #weekly-tbody tr {
    display: table-row;
  }

  /* Графики на мобильных */
  .chart-box {
    height: 200px;
  }
  .chart-box canvas {
    max-height: 200px;
  }

  /* Тач-оптимизации */
  button, .tab-link, .icon-btn, .chip-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

