/* ui.css — общие компоненты главной и карточки */

/* Тултип: один fixed-слой (assets/js/ui.js). Pseudo ::after не используем — они раздувают scrollWidth. */
.site-tip {
  position: fixed;
  z-index: 10000;
  max-width: 240px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  box-shadow: var(--shadow-pop);
  pointer-events: none;
  box-sizing: border-box;
}
.site-tip[hidden] {
  display: none !important;
}

.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.hours-badge.open {
  background: var(--good-soft);
  color: var(--good);
}
.hours-badge svg {
  width: 12px;
  height: 12px;
}
.hours-badge svg circle,
.hours-badge svg path {
  fill: currentColor;
}
/* «Лампочка» статуса Открыто — медленное мигание */
.hours-badge.open svg {
  animation: hours-live-pulse 2.8s ease-in-out infinite;
}
@keyframes hours-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.92);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hours-badge.open svg {
    animation: none;
  }
}

.stamp-closed {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 14px;
  border: 2px solid var(--closed);
  border-radius: 8px;
  color: var(--closed);
  transform: rotate(-6deg);
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12.5px;
  line-height: 1.3;
  white-space: nowrap;
  background: var(--closed-soft);
}
.stamp-closed .stamp-until {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  transition: 0.15s;
}
.chip-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.chip-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.chip-ico svg {
  width: 14px;
  height: 14px;
}
.ico-phone,
.ico-mobile {
  background: #e4eaf0;
  color: var(--navy);
}
.ico-mail {
  background: #eaecee;
  color: var(--steel);
}
.ico-site {
  background: #efeae7;
  color: var(--brown);
}
.ico-wa {
  background: #e7fbef;
  color: var(--wa);
}
.ico-tg {
  background: #e7f5fe;
  color: var(--tg);
}
.ico-vb {
  background: #efebfe;
  color: var(--vb);
}

.mini-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--faint);
  flex: 0 0 auto;
  transition: 0.15s;
  position: relative;
  text-decoration: none;
}
.mini-ico svg {
  width: 14px;
  height: 14px;
}
.mini-ico.c-phone,
.mini-ico.c-mobile {
  color: var(--navy);
}
.mini-ico.c-wa:hover {
  background: var(--wa);
  color: #fff;
}
.mini-ico.c-tg:hover {
  background: var(--tg);
  color: #fff;
}
.mini-ico.c-vb:hover {
  background: var(--vb);
  color: #fff;
}
.mini-ico.c-phone:hover,
.mini-ico.c-mobile:hover {
  background: var(--navy);
  color: #fff;
}

.copy-btn {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  position: relative;
  transition: 0.15s;
  padding: 0;
}
.copy-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.copy-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
}
.copy-btn.done {
  background: var(--good-soft);
  border-color: var(--good);
  color: var(--good);
}

.btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #e03e00;
}
.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
}

.vcf-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: 0.15s;
  cursor: pointer;
}
.vcf-chip:hover {
  background: var(--accent);
  color: #fff;
}
.vcf-chip svg {
  width: 16px;
  height: 16px;
}

[data-empty="true"] {
  display: none !important;
}

/* ---------- общая оболочка страницы (главная = карточка) ---------- */
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 70px;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}
@media (max-width: 720px) {
  .page {
    padding: 16px 12px 60px;
  }
}

/* ---------- общая шапка: бренд + навигация + город ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  position: relative;
  flex-wrap: nowrap;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 0 1 auto;
}
.brand:hover {
  color: var(--accent-ink);
}
.brand-identity {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  width:min(221px, 100%);
  min-width:0;
}
.brand-logo {
  display:block;
  width:100%;
  height:auto;
  height:34px;
  max-height:34px;
  object-fit:contain;
  object-position:left center;
}
.brand-subtitle {
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  max-width:none;
  margin-top:2px;
  font-family:var(--font-display);
  font-size:11px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:.01em;
  text-align:center;
  color:var(--ink);
  white-space:nowrap;
  overflow:visible;
}
.brand-subtitle-text {
  display:inline-block;
  width:max-content;
  transform:scaleX(var(--brand-subtitle-scale, 1));
  transform-origin:center center;
}
.topbar-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  flex: 0 0 auto;
  transition: 0.15s;
}
.topbar-menu-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.topbar-menu-btn svg {
  width: 20px;
  height: 20px;
}
.topbar-menu-btn .ico-close {
  display: none;
}
.topbar-menu-btn[aria-expanded="true"] .ico-open {
  display: none;
}
.topbar-menu-btn[aria-expanded="true"] .ico-close {
  display: block;
}
.topbar-nav-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
}
.topbar-nav {
  padding: 7px 12px;
  font-size: 13px;
}
.topbar-nav .chip-ico {
  display: none;
}
.topbar-nav.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.topbar .lang-wrap {
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
}
.topbar .lang-wrap + .city-wrap {
  margin-left: 0;
}
.topbar .city-wrap {
  flex: 0 0 auto;
  margin-left: auto;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: var(--shadow-soft, 0 1px 2px rgba(15, 23, 42, 0.04));
}
.lang-btn:hover {
  border-color: var(--accent);
}
.lang-btn svg.globe {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--accent);
  opacity: 0.95;
}
/* Кнопка языка: десктоп — полное имя, мобильный — код (HI / RU) */
.lang-btn-code {
  display: none;
}
.lang-btn-name {
  display: inline;
}
@media (max-width: 720px) {
  .lang-btn-name {
    display: none;
  }
  .lang-btn-code {
    display: inline;
  }
}
.lang-btn svg.chev {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}
.lang-wrap.open .lang-btn svg.chev {
  transform: rotate(180deg);
}
.lang-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 50;
  min-width: 200px;
  max-height: min(70vh, 420px);
  overflow: auto;
  padding: 6px;
  border-radius: var(--radius-md, 14px);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-pop, 0 12px 28px rgba(15, 23, 42, 0.12));
}
.lang-wrap.open .lang-panel {
  display: block;
}
.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.lang-item:hover {
  background: var(--accent-soft, rgba(249, 115, 22, 0.1));
}
.lang-item.is-active {
  background: var(--accent-soft, rgba(249, 115, 22, 0.14));
  font-weight: 600;
}
.lang-code {
  flex: 0 0 2.2em;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted, #64748b);
}
.lang-item.is-active .lang-code {
  color: var(--accent-ink, var(--accent));
}
.lang-name {
  flex: 1 1 auto;
}

@media (max-width: 1100px) {
  .topbar {
    gap: 6px;
  }
  .brand {
    font-size: 15px;
    flex: 1 1 0;
    min-width: 0;
    align-items: flex-start;
  }
  .brand-identity {
    width:min(160px, 100%);
  }
  .brand-logo {
    max-height:32px;
  }
  .brand-subtitle {
    width:100%;
    font-size:9px;
  }
  #brandTitle {
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .topbar-nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 45;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: var(--radius-md, 14px);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-pop, 0 12px 28px rgba(15, 23, 42, 0.12));
  }
  .topbar-nav-panel.is-open {
    display: flex;
  }
  .topbar-nav-panel .topbar-nav {
    width: 100%;
    justify-content: flex-start;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 14px;
  }
  /* Язык + город + гамбургер — плотная группа справа, место для логотипа */
  .topbar .lang-wrap {
    margin-left: auto;
  }
  .topbar .city-wrap {
    margin-left: 0;
  }
  .lang-btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  .lang-panel {
    right: 0;
    left: auto;
    min-width: 180px;
  }
  .topbar-menu-btn {
    display: inline-flex;
  }
  .city-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    gap: 0;
    max-width: none;
    border-radius: 12px;
  }
  #cityBtnLabel,
  .city-btn svg.chev {
    display: none;
  }
  .city-panel {
    right: 0;
    left: auto;
    width: 280px;
  }
}

/* ---------- лендинг AndroidSender (layout на токенах, без отдельного файла) ---------- */
.lp-hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: #fff;
  margin-bottom: 28px;
  box-shadow: var(--shadow-pop);
}
.lp-hero .lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffd9c2;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.lp-hero h1 {
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.22;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.lp-hero h1 .hl {
  color: var(--accent);
}
.lp-hero .lead {
  font-size: 15.5px;
  color: #c9d4de;
  margin: 0 0 24px;
  max-width: 620px;
}
.lp-hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.lp-hero-cta .btn-accent {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s;
}
.lp-hero-cta .btn-accent:hover {
  background: #e63e00;
  color: #fff;
}
.lp-hero-cta .btn-ghost {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s;
}
.lp-hero-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.lp-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #9fb0c0;
}
.lp-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-trust svg {
  width: 14px;
  height: 14px;
  color: var(--good);
  flex: 0 0 auto;
}

.lp-card .vcf-chip[aria-disabled] {
  align-self: flex-start;
  pointer-events: none;
  cursor: default;
}

.lp-section {
  margin: 36px 0;
}
.lp-section .section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}
.lp-section h2 {
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lp-section .sub {
  color: var(--muted);
  font-size: 14px;
  max-width: 560px;
  margin: 0 0 16px;
}

.lp-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-card h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 800;
}
.lp-card p,
.lp-card .d {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}
.lp-card ul {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.lp-card li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.lp-card li svg {
  width: 14px;
  height: 14px;
  color: var(--good);
  flex: 0 0 auto;
  margin-top: 2px;
}
.lp-card .pain-t {
  font-weight: 700;
  font-size: 14px;
  color: var(--closed);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.lp-card .pain-t svg {
  width: 16px;
  height: 16px;
  color: var(--closed);
  flex: 0 0 auto;
}
.lp-card .fix {
  font-size: 13px;
  color: var(--muted);
  padding-left: 24px;
}
.lp-card .fix b {
  color: var(--good);
}
.lp-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
}
.lp-card .price small {
  font-size: 12px;
  color: var(--faint);
  font-weight: 600;
}
.lp-card .biz-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.lp-card .expert-row {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--faint);
}
.lp-card .expert-row b {
  color: var(--ink-2);
}
.lp-card > .chip-link {
  align-self: stretch;
  justify-content: center;
  margin-top: auto;
}

.lp-uniq {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(160deg, #fff6f0, #ffeee3);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.lp-uniq > svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 2px;
}
.lp-uniq h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 800;
}
.lp-uniq p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.lp-offers {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.lp-offer {
  position: relative;
  overflow: hidden;
}
.lp-offer-hl {
  border-color: var(--accent);
}
.lp-ribbon {
  position: absolute;
  top: 14px;
  right: -36px;
  transform: rotate(40deg);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 40px;
  letter-spacing: 0.02em;
}
.lp-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
  max-width: 520px;
}
.lp-mock-title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 2px;
}
.lp-mock-addr {
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 12px;
}
.lp-mock-block {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.lp-mock-block b {
  color: var(--ink-2);
}
.lp-mock-banner {
  margin-top: 10px;
  background: linear-gradient(120deg, var(--accent), #ff7a3d);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lp-mock-banner .tag {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10.5px;
}
.lp-scale {
  text-align: center;
  align-items: center;
}
.lp-scale .price {
  margin: 0;
}
.lp-scale p {
  margin: 4px 0 0;
}

.lp-final {
  text-align: center;
  padding: 28px 20px;
}
.lp-final h2 {
  margin: 0 0 8px;
  font-size: 20px;
}
.lp-final p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 16px;
}
.lp-final .vcf-chip,
.lp-final .btn-accent {
  display: inline-flex;
  width: auto;
  border-radius: 100px;
  padding: 13px 22px;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14.5px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
}
.lp-final .btn-accent:hover {
  background: #e63e00;
  color: #fff;
}

.lp-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-footer a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.lp-footer a:hover {
  color: var(--accent);
}

.city-wrap {
  position: relative;
}
.city-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-2);
  box-shadow: var(--shadow-card);
  transition: 0.15s;
}
.city-btn:hover {
  border-color: var(--ink-2);
}
.city-btn svg.pin {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex: 0 0 auto;
}
.city-btn svg.chev {
  width: 14px;
  height: 14px;
  stroke: var(--faint);
  transition: transform 0.15s;
}
.city-wrap.open .city-btn svg.chev {
  transform: rotate(180deg);
}
.city-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  width: 280px;
  max-height: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 12px;
}
.city-wrap.open .city-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.city-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--paper);
}
.city-search svg {
  width: 15px;
  height: 15px;
  stroke: var(--faint);
  flex: 0 0 auto;
}
.city-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 100%;
  color: var(--ink);
}
.city-list {
  overflow-y: auto;
  max-height: 250px;
  display: flex;
  flex-direction: column;
}
.city-item {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.city-item:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.city-item.active {
  font-weight: 700;
  color: var(--ink);
}
.city-item .n {
  color: var(--faint);
  font-size: 12.5px;
}
.city-detect-hint {
  font-size: 11.5px;
  color: var(--faint);
  padding: 2px 4px 0;
}

