/* ==========================================================================
   世界时钟表盘缓动样式 (World Clock Dial & Timezone Framework 87)
   ========================================================================== */

.chrono-viewport {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

/* 装饰性外部标尺与天文网格 */
.chrono-halo-ring {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
  animation: rotateSlow 180s linear infinite;
}

.chrono-halo-outer {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 主表盘容器 */
.chrono-dial-box {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(245, 158, 11, 0.15),
    inset 0 0 20px rgba(0, 0, 0, 0.9);
}

/* 缓动外圈刻度盘 (Bezel) */
.chrono-bezel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform 0.85s cubic-bezier(0.2, 0.9, 0.3, 1.15);
  will-change: transform;
}

/* 城市时区快速切换控制器 */
.chrono-city-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 4px;
  background: rgba(18, 19, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  overflow-x: auto;
  max-width: 100%;
}

.chrono-city-pill {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.chrono-city-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.chrono-city-pill.active {
  background: var(--text-primary);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* 时区指示卡片 */
.active-city-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 340px;
  margin-top: 14px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.active-city-title {
  color: var(--gold-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.active-city-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
}

.active-city-offset {
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .chrono-halo-ring, .chrono-halo-outer {
    display: none;
  }

  .chrono-dial-box {
    width: 270px;
    height: 270px;
  }
}
