/* ═══════════════════════════════════════════════════════════════
   TICKER — Flash News principal + abas
   ═══════════════════════════════════════════════════════════════ */
.secao {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}
.secao:nth-of-type(1) { animation-delay: 0.1s; }
.secao:nth-of-type(2) { animation-delay: 0.2s; }
.secao:nth-of-type(3) { animation-delay: 0.3s; }
.secao:nth-of-type(4) { animation-delay: 0.4s; }

.secao h2 {
  color: var(--cor-cidade);
  font-size: 24px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--borda-suave);
  display: flex;
  align-items: center;
  gap: 8px;
}

#ms-ticker-wrap,
#ms-ticker-wrap * { box-sizing: border-box !important; margin: 0; padding: 0; line-height: 1.3; }

#ms-ticker-wrap {
  --primary: var(--cor-cidade, #0ea5e9);
  --primary-dark: var(--cor-cidade-escura, #1e40af);
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text-dark: #1e293b;
  --text-soft: #475569;
  --text-muted: #64748b;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

#ms-ticker-wrap .ticker-viewport {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--borda-suave, #e2e8f0);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}
#ms-ticker-wrap .ticker-content-wrapper { min-height: 280px; display: flex !important; }
#ms-ticker-wrap .ticker-prefix {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center !important;
  gap: 10px;
  padding: 20px 18px !important;
  border-right: 1px solid #e2e8f0;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--cor-cidade-suave, #eff6ff) 0%, #e0f2fe 100%);
  min-width: 160px;
  position: relative;
}
#ms-ticker-wrap .logo-neon-container {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  flex-shrink: 0;
}
#ms-ticker-wrap .mjc-logo {
  height: 60px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block !important;
  filter: drop-shadow(0 4px 8px rgba(30, 64, 175, 0.25));
}
#ms-ticker-wrap .prefix-group {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  text-align: center !important;
  gap: 4px;
}
#ms-ticker-wrap .flash-upgrade {
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--cor-cidade-escura, #1e40af), var(--cor-cidade, #0ea5e9), var(--cor-cidade-escura, #1e40af));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 3s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
#ms-ticker-wrap .brand-text {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
#ms-ticker-wrap .live-dot {
  width: 10px;
  height: 10px;
  max-width: 10px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: ms_pulse 1.5s infinite;
  flex-shrink: 0;
  display: inline-block;
  margin-top: 4px;
}
@keyframes ms_pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}
#ms-ticker-wrap .thumb-wrapper {
  width: 320px;
  height: 280px;
  flex-shrink: 0;
  border-right: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #e2e8f0;
  position: relative;
}
#ms-ticker-wrap .news-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  animation: editorialZoom 14s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes editorialZoom {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.06) translate(-0.5%, -0.5%); }
}
#ms-ticker-wrap .news-stage { flex-grow: 1; position: relative; overflow: hidden; min-height: 280px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
#ms-ticker-wrap .news-entry {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(30px);
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#ms-ticker-wrap .news-entry.active {
  opacity: 1;
  visibility: visible;
  display: flex !important;
  align-items: center;
  transform: translateX(0);
}
#ms-ticker-wrap .news-entry.exit-left {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-30px);
}
#ms-ticker-wrap .news-headline {
  padding: 16px 20px;
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
}
#ms-ticker-wrap .line-1 {
  color: var(--primary-dark);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
  flex-shrink: 0;
}
#ms-ticker-wrap .giro-global-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  background: var(--cor-cidade-suave, #e0f2fe);
  padding: 2px 10px;
  border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   INDICADOR DE PAÍS / ESTADO
   - País → mostra só a bandeira (🇧🇷, 🇺🇸, 🇩🇪...)
   - Estado → mostra a sigla colorida (AM, SP, RJ...)
   ═══════════════════════════════════════════════════════════════ */
#ms-ticker-wrap .country-indicator {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: var(--cor-cidade-suave, #eff6ff) !important;
  padding: 3px 9px !important;
  border-radius: 10px !important;
  border: 1px solid #bfdbfe !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Bandeira do país (emoji) */
#ms-ticker-wrap .country-flag-icon {
  display: inline-block !important;
  font-size: 15px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* ─── Estado — mostra a SIGLA (ex: AM, SP, RJ) ─── */
#ms-ticker-wrap .country-indicator.estado {
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  border-color: #15803d !important;
  padding: 3px 10px !important;
}

#ms-ticker-wrap .estado-sigla {
  display: inline-block !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  line-height: 1 !important;
  font-family: 'JetBrains Mono', monospace !important;
}

/* Esconde o antigo nome do país (não é mais usado no ticker) */
#ms-ticker-wrap .country-name-text {
  display: none !important;
}

#ms-ticker-wrap .news-date-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-left: auto;
  background: var(--surface-soft);
  padding: 2px 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
#ms-ticker-wrap .news-date-time svg { width: 11px; height: 11px; fill: var(--primary); display: inline-block; vertical-align: middle; }
#ms-ticker-wrap .headline-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin: 4px 0 6px 0;
  flex-shrink: 0;
}
#ms-ticker-wrap .line-2 {
  color: var(--text-dark);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  margin-bottom: 4px;
  flex-shrink: 0;
  text-transform: uppercase !important;
  text-align: left !important;
  letter-spacing: -0.2px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#ms-ticker-wrap .line-news-body {
  color: #000000;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 8px 12px;
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  background: var(--surface-soft);
  max-width: 100%;
  word-break: break-word;
}
#ms-ticker-wrap .expand-toggle-btn {
  display: inline-block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 6px;
  padding: 5px 16px;
  border: 1px solid var(--primary);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(14, 165, 233, 0.08);
  text-align: center;
  width: fit-content;
  user-select: none;
  align-self: flex-start;
  flex-shrink: 0;
}
#ms-ticker-wrap .expand-toggle-btn:hover { background: var(--primary); color: #fff; transform: scale(1.03); }

/* ─── ABAS ─── */
#ms-ticker-wrap .ms-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  margin-top: 22px;
  padding: 10px;
  background: #f1f5f9;
  border-radius: 14px;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}
#ms-ticker-wrap .ms-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: 0.2px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  flex: 0 0 calc((100% - 7 * 8px) / 8);
  max-width: calc((100% - 7 * 8px) / 8);
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 72px;
}
#ms-ticker-wrap .ms-tab-btn:nth-child(n+9) {
  flex: 0 0 calc((100% - 6 * 8px) / 7);
  max-width: calc((100% - 6 * 8px) / 7);
}
#ms-ticker-wrap .ms-tab-btn .ms-tab-icon { font-size: 22px; line-height: 1; flex-shrink: 0; display: block; }
#ms-ticker-wrap .ms-tab-btn > span:last-child {
  display: block;
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#ms-ticker-wrap .ms-tab-btn:hover {
  background: #f8fafc;
  color: #334155;
  transform: translateY(-3px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.25);
}
#ms-ticker-wrap .ms-tab-btn.active {
  background: linear-gradient(135deg, var(--cor-cidade-escura, #1e40af), var(--cor-cidade, #0ea5e9));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
  transform: translateY(-2px);
}
#ms-ticker-wrap .ms-tab-btn.active .ms-tab-icon { filter: drop-shadow(0 0 4px rgba(255,255,255,0.6)); }

/* Cores específicas por aba ativa */
#ms-ticker-wrap .ms-tab-btn[data-tab="brasil"].active { background: linear-gradient(135deg, #15803d, #22c55e); box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="esporte"].active { background: linear-gradient(135deg, #c2410c, #f97316); box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="entretenimento"].active { background: linear-gradient(135deg, #7e22ce, #a855f7); box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="saude"].active { background: linear-gradient(135deg, #0e7490, #06b6d4); box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="economia"].active { background: linear-gradient(135deg, #a16207, #eab308); box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="loteria"].active { background: linear-gradient(135deg, #991b1b, #dc2626); box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="internacional"].active { background: linear-gradient(135deg, #1e3a8a, #3b82f6); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="educacao"].active { background: linear-gradient(135deg, #0f766e, #14b8a6); box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="seguranca"].active { background: linear-gradient(135deg, #3730a3, #6366f1); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="automoveis"].active { background: linear-gradient(135deg, #7c2d12, #ea580c); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="imoveis"].active { background: linear-gradient(135deg, #713f12, #ca8a04); box-shadow: 0 4px 12px rgba(202, 138, 4, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="gastronomia"].active { background: linear-gradient(135deg, #9f1239, #e11d48); box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="turismo"].active { background: linear-gradient(135deg, #0369a1, #0284c7); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="games"].active { background: linear-gradient(135deg, #581c87, #9333ea); box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="jogos"].active { background: linear-gradient(135deg, #0f766e, #14b8a6); box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="tirinha"].active { background: linear-gradient(135deg, #be185d, #ec4899); box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="transito"].active { background: linear-gradient(135deg, #16a34a, #22c55e); box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4); }
#ms-ticker-wrap .ms-tab-btn[data-tab="cidade"].active { background: linear-gradient(135deg, #0e7490, #06b6d4); box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4); }

/* ─── PAINÉIS DE ABA ─── */
#ms-ticker-wrap .ms-tab-panels { margin-top: 18px; }
#ms-ticker-wrap .ms-tab-panel { display: none; animation: msTabFade 0.35s ease; }
#ms-ticker-wrap .ms-tab-panel.active { display: block; }
@keyframes msTabFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SOURCE ─── */
.ms-source-text {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-dark, #1e40af);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}
.ms-source-text .ms-source-label { font-weight: 600; opacity: 0.75; }
.ms-source-text .ms-source-name { font-weight: 800; }
.ms-news-modal-source {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--cor-cidade-escura, #1e40af);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ms-news-modal-source .ms-source-label { font-weight: 600; opacity: 0.75; }
.ms-news-modal-source .ms-source-name { font-weight: 800; }
.ms-grid-item-meta .ms-source-text { font-size: 9px; max-width: 140px; }

/* ═══════════════════════════════════════════════════════════════
   PAGINAÇÃO DO TICKER PRINCIPAL
   ═══════════════════════════════════════════════════════════════ */
.ticker-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(30, 64, 175, 0.18);
  border-radius: 999px;
  padding: 3px 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08);
}
.ticker-pager-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--cor-cidade-escura, #1e40af), var(--cor-cidade, #0ea5e9));
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, filter .2s ease;
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.28);
}
.ticker-pager-btn:hover { transform: scale(1.12); filter: brightness(1.12); }
.ticker-pager-btn:active { transform: scale(0.94); }
.ticker-pager-btn:disabled { opacity: .4; cursor: default; transform: none; filter: none; }

.ticker-pager-info {
  color: var(--cor-cidade-escura, #1e40af);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  min-width: 46px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .ticker-pager {
    margin-top: 6px;
    padding: 2px 5px;
    gap: 5px;
  }
  .ticker-pager-btn {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
  .ticker-pager-info {
    font-size: 10px;
    min-width: 38px;
    letter-spacing: 0.5px;
  }

  /* Estado — mais compacto */
  #ms-ticker-wrap .country-indicator {
    padding: 2px 7px !important;
    gap: 3px !important;
  }
  #ms-ticker-wrap .country-flag-icon {
    font-size: 13px !important;
  }
  #ms-ticker-wrap .country-indicator.estado {
    padding: 2px 8px !important;
  }
  #ms-ticker-wrap .estado-sigla {
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
  }
}
/* ═══════════════════════════════════════════════════════════════
   BARRA DE ABAS — Scroll horizontal + Auto-scroll infinito
   ═══════════════════════════════════════════════════════════════ */

/* ─── Container das abas ─── */
#ms-ticker-wrap .ms-tabs-bar {
  display: flex;
  flex-wrap: nowrap !important;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 10px 12px 10px;
  background: #f1f5f9;
  border-radius: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  user-select: none;
  -webkit-user-select: none;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;

  mask-image: linear-gradient(90deg,
    transparent 0,
    #000 20px,
    #000 calc(100% - 20px),
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0,
    #000 20px,
    #000 calc(100% - 20px),
    transparent 100%);
}

/* Scrollbar discreta */
#ms-ticker-wrap .ms-tabs-bar::-webkit-scrollbar {
  height: 6px;
}
#ms-ticker-wrap .ms-tabs-bar::-webkit-scrollbar-track {
  background: transparent;
  margin: 0 20px;
}
#ms-ticker-wrap .ms-tabs-bar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
#ms-ticker-wrap .ms-tabs-bar::-webkit-scrollbar-thumb:hover {
  background: var(--primary, #0ea5e9);
}

/* ─── Cada aba ─── */
#ms-ticker-wrap .ms-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: 0.2px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);

  flex: 0 0 auto !important;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  min-height: 72px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#ms-ticker-wrap .ms-tab-btn:nth-child(n+9) {
  flex: 0 0 auto !important;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
}

#ms-ticker-wrap .ms-tab-btn .ms-tab-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  display: block;
}

#ms-ticker-wrap .ms-tab-btn > span:last-child {
  display: block;
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ms-ticker-wrap .ms-tab-btn:hover {
  background: #f8fafc;
  color: #334155;
  transform: translateY(-3px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.25);
}

#ms-ticker-wrap .ms-tab-btn.active {
  background: linear-gradient(135deg, var(--cor-cidade-escura, #1e40af), var(--cor-cidade, #0ea5e9));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
  transform: translateY(-2px);
}

#ms-ticker-wrap .ms-tab-btn.active .ms-tab-icon {
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.6));
}

/* ═══════════════════════════════════════════════════════════════
   SETAS DE NAVEGAÇÃO ‹ › (aparecem no hover)
   ═══════════════════════════════════════════════════════════════ */
.tabs-bar-wrapper {
  position: relative;
  width: 100%;
}

.tabs-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--cor-cidade-escura, #1e40af), var(--cor-cidade, #0ea5e9));
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
  padding: 0;
  font-family: Arial, sans-serif;
  opacity: 0;
}

.tabs-nav-arrow:hover {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

.tabs-nav-prev { left: 6px; }
.tabs-nav-next { right: 6px; }

.tabs-bar-wrapper:hover .tabs-nav-arrow {
  opacity: 1;
}

.tabs-nav-arrow[style*="opacity: 0"] {
  pointer-events: none;
}

/* Mobile: esconde as setas (swipe nativo) */
@media (max-width: 768px) {
  .tabs-nav-arrow {
    display: none !important;
  }
}