/* news/components/CitySelector.vue */

.city-select-root[data-v-9e6d9130] {
  position: relative;
  display: inline-block;
}
.city-select-root--light[data-v-9e6d9130] {
  display: block;
}

/* ================================================
   DESKTOP TRIGGER
   ================================================ */
.city-trigger[data-v-9e6d9130] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: 4px;
  user-select: none;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
}
.city-trigger[data-v-9e6d9130]:hover {
  border-color: var(--brand, #EA8520);
  background: rgba(234,133,32,0.1);
  color: white;
}
.city-trigger[data-v-9e6d9130]:focus-visible {
  box-shadow: 0 0 0 2px rgba(234,133,32,0.3);
}
.city-trigger.is-open[data-v-9e6d9130] {
  border-color: var(--brand, #EA8520);
  background: rgba(234,133,32,0.1);
  color: white;
}
.city-trigger.is-moscow[data-v-9e6d9130] {
  color: rgba(255,255,255,0.5);
}
.city-trigger-icon[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  color: var(--brand, #EA8520);
  flex-shrink: 0;
}
.city-trigger-label[data-v-9e6d9130] {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}
.city-chevron[data-v-9e6d9130] {
  flex-shrink: 0;
  color: rgba(255,255,255,0.35);
  transition: transform 0.25s ease;
}
.city-chevron.rotated[data-v-9e6d9130] {
  transform: rotate(180deg);
  color: var(--brand, #EA8520);
}

/* ================================================
   MOBILE TRIGGER (burger menu)
   ================================================ */
.city-mobile-trigger[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light, #E5E7EB);
  background: var(--bg-warm, #F8F7F4);
  cursor: pointer;
  outline: none;
  border-radius: 12px;
  transition: all 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  color: var(--ink, #1A1A1A);
}
.city-mobile-trigger[data-v-9e6d9130]:hover {
  border-color: var(--brand, #EA8520);
  background: rgba(234,133,32,0.06);
}
.city-mobile-trigger[data-v-9e6d9130]:active {
  transform: scale(0.98);
}
.city-mobile-trigger.is-moscow[data-v-9e6d9130] {
  color: var(--ink-faint, #6B7280);
}
.city-mobile-trigger-icon[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--brand, #EA8520);
}
.city-mobile-trigger-label[data-v-9e6d9130] {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.city-mobile-trigger-arrow[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink-faint, #9CA3AF);
  transition: transform 0.25s ease;
}

/* ================================================
   DESKTOP DROPDOWN PANEL
   ================================================ */
.city-panel[data-v-9e6d9130] {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  max-width: 340px;
  background: var(--bg-white, #FFFFFF);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  z-index: 9999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: cityIn-9e6d9130 0.2s ease-out;
}
@keyframes cityIn-9e6d9130 {
from { opacity: 0; transform: translateY(-4px);
}
to { opacity: 1; transform: translateY(0);
}
}

/* Scrollable city list inside panel */
.city-panel-body[data-v-9e6d9130] {
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border, #E5E7EB) transparent;
}
.city-panel-body[data-v-9e6d9130]::-webkit-scrollbar {
  width: 4px;
}
.city-panel-body[data-v-9e6d9130]::-webkit-scrollbar-track {
  background: transparent;
}
.city-panel-body[data-v-9e6d9130]::-webkit-scrollbar-thumb {
  background: var(--border, #E5E7EB);
  border-radius: 4px;
}
.city-panel-body[data-v-9e6d9130]::-webkit-scrollbar-thumb:hover {
  background: var(--border-dark, #D1D5DB);
}
.city-search[data-v-9e6d9130] {
  position: relative;
  padding: 8px 10px;
}
.city-search-icon[data-v-9e6d9130] {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #9CA3AF;
  pointer-events: none;
}
.city-search-input[data-v-9e6d9130] {
  width: 100%;
  padding: 7px 28px 7px 30px;
  border: 1px solid var(--border-light, #E5E7EB);
  border-radius: 6px;
  background: var(--bg-warm, #F8F7F4);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink, #1A1A1A);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
.city-search-input[data-v-9e6d9130]::placeholder { color: #9CA3AF;
}
.city-search-input[data-v-9e6d9130]:focus {
  border-color: var(--brand, #EA8520);
  box-shadow: 0 0 0 2px rgba(234,133,32,0.1);
  background: var(--bg-white, #FFFFFF);
}
.city-clear[data-v-9e6d9130] {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  background: transparent;
  color: #9CA3AF;
  cursor: pointer;
  font-size: 10px;
  border-radius: 50%;
  padding: 0;
  transition: all 0.15s ease;
}
.city-clear[data-v-9e6d9130]:hover { background: #E5E7EB; color: var(--ink, #1A1A1A);
}
.city-group-label[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9CA3AF;
}
.city-group-label i[data-v-9e6d9130] { font-size: 9px; color: var(--brand, #EA8520);
}
.city-divider[data-v-9e6d9130] {
  height: 1px;
  background: var(--border-light, #F0EFED);
  margin: 2px 10px;
}
.city-option[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink, #1A1A1A);
  transition: background 0.1s ease;
  outline: none;
  user-select: none;
}
.city-option[data-v-9e6d9130]:hover { background: rgba(234,133,32,0.06);
}
.city-option[data-v-9e6d9130]:focus-visible { box-shadow: inset 0 0 0 2px rgba(234,133,32,0.2);
}
.city-option.is-active[data-v-9e6d9130] {
  background: rgba(234,133,32,0.08);
  color: var(--brand, #EA8520);
  font-weight: 600;
}
.city-option-icon[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #9CA3AF;
}
.city-option.is-active .city-option-icon[data-v-9e6d9130] { color: var(--brand, #EA8520);
}
.city-option:hover .city-option-icon[data-v-9e6d9130] { color: var(--brand, #EA8520);
}
.city-option-label[data-v-9e6d9130] { flex: 1; overflow: hidden; text-overflow: ellipsis;
}
.city-option-check[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--brand, #EA8520);
  font-size: 9px;
}
.city-empty[data-v-9e6d9130] {
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
}
.city-footer[data-v-9e6d9130] {
  padding: 6px 14px;
  border-top: 1px solid var(--border-light, #F0EFED);
  background: var(--bg-warm, #F8F7F4);
}
.city-footer-text[data-v-9e6d9130] {
  font-size: 10px;
  color: #9CA3AF;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.city-drop-enter-active[data-v-9e6d9130] { animation: cityIn-9e6d9130 0.2s ease-out;
}
.city-drop-leave-active[data-v-9e6d9130] { animation: cityIn-9e6d9130 0.15s ease-in reverse;
}

/* ================================================
   MOBILE BOTTOM SHEET
   ================================================ */

/* Overlay - fullscreen cover */
.city-sheet-overlay[data-v-9e6d9130] {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@keyframes overlayFadeIn-9e6d9130 {
from { opacity: 0;
}
to { opacity: 1;
}
}

/* Sheet - max 80vh with rounded top corners */
.city-sheet[data-v-9e6d9130] {
  width: 100%;
  max-height: 80vh;
  background: var(--bg-white, #FFFFFF);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  margin-top: auto;
}
@keyframes sheetSlideUp-9e6d9130 {
from { transform: translateY(100%);
}
to { transform: translateY(0);
}
}

/* Handle */
.city-sheet-handle[data-v-9e6d9130] {
  display: flex;
  justify-content: center;
  padding: 18px 0 8px;
  flex-shrink: 0;
}
.city-sheet-handle-bar[data-v-9e6d9130] {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: var(--border-dark, #D1D5DB);
  opacity: 0.5;
}

/* Header */
.city-sheet-header[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 12px;
  flex-shrink: 0;
}
.city-sheet-title[data-v-9e6d9130] {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink, #1A1A1A);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.city-sheet-close[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-warm, #F3F4F6);
  color: var(--ink-faint, #6B7280);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.city-sheet-close[data-v-9e6d9130]:hover {
  background: var(--border-light, #E5E7EB);
  color: var(--ink, #1A1A1A);
  transform: rotate(90deg);
}
.city-sheet-close[data-v-9e6d9130]:active {
  transform: rotate(90deg) scale(0.92);
}

/* Search */
.city-sheet-search-wrap[data-v-9e6d9130] {
  padding: 0 20px 16px;
  flex-shrink: 0;
}
.city-sheet-search[data-v-9e6d9130] {
  position: relative;
  width: 100%;
}
.city-sheet-search-icon[data-v-9e6d9130] {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint, #9CA3AF);
  pointer-events: none;
  transition: color 0.25s ease;
}
.city-sheet-search input:focus ~ .city-sheet-search-icon[data-v-9e6d9130],
.city-sheet-search:focus-within .city-sheet-search-icon[data-v-9e6d9130] {
  color: var(--brand, #EA8520);
}
.city-sheet-search-input[data-v-9e6d9130] {
  width: 100%;
  padding: 13px 40px 13px 42px;
  border: 1.5px solid var(--border-light, #E5E7EB);
  border-radius: 12px;
  background: var(--bg-warm, #F8F7F4);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink, #1A1A1A);
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
  line-height: 1.4;
}
.city-sheet-search-input[data-v-9e6d9130]::placeholder {
  color: var(--ink-faint, #9CA3AF);
  font-weight: 400;
  opacity: 0.7;
}
.city-sheet-search-input[data-v-9e6d9130]:focus {
  border-color: var(--brand, #EA8520);
  background: var(--bg-white, #FFFFFF);
  box-shadow: 0 0 0 4px rgba(234,133,32,0.08), 0 2px 8px rgba(0,0,0,0.04);
}
.city-sheet-search-clear[data-v-9e6d9130] {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--ink-faint, #9CA3AF);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.city-sheet-search-clear[data-v-9e6d9130]:hover {
  background: var(--border-light, #E5E7EB);
  color: var(--ink, #1A1A1A);
}

/* Scrollable body */
.city-sheet-body[data-v-9e6d9130] {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 8px;
}
.city-sheet-body[data-v-9e6d9130]::-webkit-scrollbar {
  width: 3px;
}
.city-sheet-body[data-v-9e6d9130]::-webkit-scrollbar-track {
  background: transparent;
}
.city-sheet-body[data-v-9e6d9130]::-webkit-scrollbar-thumb {
  background: var(--border-dark, #D1D5DB);
  border-radius: 99px;
}

/* Sections */
.city-sheet-section[data-v-9e6d9130] {
  padding: 4px 12px;
}
.city-sheet-group-label[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint, #9CA3AF);
}
.city-sheet-group-label svg[data-v-9e6d9130] {
  color: var(--brand, #EA8520);
  flex-shrink: 0;
}
.city-sheet-divider[data-v-9e6d9130] {
  height: 1px;
  background: var(--border-light, #F0EFED);
  margin: 2px 16px;
}

/* City option */
.city-sheet-option[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink, #1A1A1A);
  transition: all 0.15s ease;
  outline: none;
  user-select: none;
  border-radius: 12px;
}
.city-sheet-option[data-v-9e6d9130]:hover {
  background: rgba(234,133,32,0.06);
}
.city-sheet-option[data-v-9e6d9130]:active {
  background: rgba(234,133,32,0.1);
  transform: scale(0.99);
}
.city-sheet-option.is-active[data-v-9e6d9130] {
  background: rgba(234,133,32,0.08);
}
.city-sheet-option-emoji[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg-warm, #F3F4F6);
  color: var(--ink-faint, #6B7280);
  transition: all 0.2s ease;
}
.city-sheet-option.is-active .city-sheet-option-emoji[data-v-9e6d9130] {
  background: rgba(234,133,32,0.12);
  color: var(--brand, #EA8520);
}
.city-sheet-option:hover .city-sheet-option-emoji[data-v-9e6d9130] {
  background: rgba(234,133,32,0.08);
  color: var(--brand, #EA8520);
}
.city-sheet-option-text[data-v-9e6d9130] {
  flex: 1;
  min-width: 0;
}
.city-sheet-option-name[data-v-9e6d9130] {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, #1A1A1A);
  line-height: 1.3;
}
.city-sheet-option.is-active .city-sheet-option-name[data-v-9e6d9130] {
  color: var(--brand, #EA8520);
}
.city-sheet-option-sub[data-v-9e6d9130] {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-faint, #9CA3AF);
  margin-top: 1px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.city-sheet-option-check[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--brand, #EA8520);
  animation: checkPop-9e6d9130 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes checkPop-9e6d9130 {
0% { transform: scale(0); opacity: 0;
}
50% { transform: scale(1.2);
}
100% { transform: scale(1); opacity: 1;
}
}

/* Empty state */
.city-sheet-empty[data-v-9e6d9130] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px;
  color: var(--ink-faint, #9CA3AF);
  font-size: 14px;
  font-weight: 500;
}

/* Footer */
.city-sheet-footer[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border-light, #F0EFED);
  background: var(--bg-warm, #F8F7F4);
  flex-shrink: 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
}
.city-sheet-footer-city[data-v-9e6d9130] {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted, #6B7280);
}
.city-sheet-footer-city svg[data-v-9e6d9130] {
  color: var(--brand, #EA8520);
  flex-shrink: 0;
}
.city-sheet-footer-count[data-v-9e6d9130] {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-faint, #9CA3AF);
}


