/* Index strip Tab Menu + rotating clocks / headline panel (sitewide) */

.region-tab-bar,
.nr-region-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  border-top: 1px solid rgba(30, 144, 255, 0.15);
  border-bottom: 1px solid rgba(30, 144, 255, 0.15);
}

.region-tab-bar > .rtab,
.nr-region-bar > .rtab {
  flex: 0 0 7.5rem;
  width: 7.5rem;
  box-sizing: border-box;
  text-align: center;
  padding: 6px 4px;
}

.rtab {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand, #1E90FF);
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.06em;
  background: rgba(30, 144, 255, 0.12);
  border: 1px solid rgba(30, 144, 255, 0.3);
  transition: all 0.15s;
  white-space: nowrap;
}
.rtab:hover:not(.active) {
  background: rgba(30, 144, 255, 0.22);
  border-color: rgba(30, 144, 255, 0.5);
}
.rtab.active {
  background: #1E90FF;
  color: #ffffff;
  font-weight: 800;
  border-color: #1E90FF;
  box-shadow: 0 0 14px rgba(30, 144, 255, 0.7), 0 0 28px rgba(30, 144, 255, 0.3);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.tab-right-panel {
  margin-left: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 42px;
  position: relative;
  display: flex;
  align-items: center;
}
.trp-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: 42px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.trp-slide.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.trp-clocks {
  justify-content: space-between;
  gap: 0;
  width: 100%;
}
.trp-clock {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-right: 1px solid rgba(30, 144, 255, 0.2);
  height: 42px;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}
.trp-clock:last-child { border-right: none; }
.trp-city {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand, #1E90FF);
  letter-spacing: 0.06em;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trp-time {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 1;
  min-width: 0;
}
.trp-status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}
.trp-status.open {
  color: #00FF88;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
}
.trp-status.closed {
  color: #8a9ab0;
  background: rgba(107, 114, 128, 0.12);
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.trp-headline {
  justify-content: stretch;
  align-items: center;
  width: 100%;
}
.trp-hl-box {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 6px;
  padding: 0 14px;
  height: 38px;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.trp-hl-box.level-headline {
  background: rgba(30, 144, 255, 0.07);
  border: 1px solid rgba(30, 144, 255, 0.5);
  box-shadow: 0 0 16px rgba(30, 144, 255, 0.15);
}
.trp-hl-box.level-alert {
  background: rgba(255, 179, 0, 0.08);
  border: 1px solid rgba(255, 179, 0, 0.55);
  box-shadow: 0 0 20px rgba(255, 179, 0, 0.25), inset 0 0 20px rgba(255, 179, 0, 0.04);
}
.trp-hl-box.level-breaking {
  background: rgba(255, 51, 85, 0.08);
  border: 1px solid rgba(255, 51, 85, 0.6);
  box-shadow: 0 0 22px rgba(255, 51, 85, 0.3), inset 0 0 20px rgba(255, 51, 85, 0.05);
  animation: trp-breaking-pulse 2s infinite;
}
@keyframes trp-breaking-pulse {
  0%, 100% { box-shadow: 0 0 22px rgba(255, 51, 85, 0.3), inset 0 0 20px rgba(255, 51, 85, 0.05); }
  50% { box-shadow: 0 0 36px rgba(255, 51, 85, 0.55), inset 0 0 28px rgba(255, 51, 85, 0.1); }
}
.trp-hl-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.level-headline .trp-hl-badge { color: #0a0e17; background: var(--brand, #1E90FF); }
.level-alert .trp-hl-badge { color: #0a0e17; background: var(--amber, #FFB300); }
.level-breaking .trp-hl-badge { color: #fff; background: var(--red, #E8002D); }
.trp-hl-text {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.trp-hl-src {
  font-size: 9px;
  font-weight: 600;
  color: var(--greylt, #8a9ab0);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.trp-hl-time {
  font-size: 9px;
  color: var(--grey, #6b7280);
  white-space: nowrap;
  flex-shrink: 0;
}
.trp-hl-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  margin-left: 10px;
}
.trp-hl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.15s, transform 0.15s;
}
.trp-hl-dot:hover { opacity: 0.8; transform: scale(1.2); }
.trp-hl-dot.active { opacity: 1; }
.trp-hl-dot.d-headline { background: var(--brand, #1E90FF); }
.trp-hl-dot.d-alert { background: var(--amber, #FFB300); }
.trp-hl-dot.d-breaking { background: var(--red, #E8002D); }

@media (max-width: 1100px) {
  .trp-clock { padding: 0 6px; gap: 4px; }
  .trp-city, .trp-time { font-size: 12px; }
  .trp-status { font-size: 8px; padding: 2px 5px; }
  .region-tab-bar > .rtab,
  .nr-region-bar > .rtab {
    flex: 0 0 6.5rem;
    width: 6.5rem;
    font-size: 11px;
  }
}
