/* ==========================================================================
   华风爱科全球天气看板 - 太阳时序系统 (SOLAR & DAYLIGHT)
   高端刊物级去卡片化排版 · 晚霞暗红暮色调 · 舒展大弧度拱顶 · 交互式光影工作台
   参考设计原型：Solora 天体预报 (深沉晚霞酒红/暮色暗红/落日珊瑚金)
   ========================================================================== */

#wx-solar-section {
  /* 晚霞暮色高级暗红调设计令牌 (中性文字与全站统一，仅光照元素保留色彩表达) */
  --solar-bg: #1c0b16;
  --solar-card: rgba(36, 14, 26, 0.88);
  --solar-deep: #0f050c;
  --solar-line: rgba(255, 145, 125, 0.18);
  --solar-line-hover: rgba(255, 145, 125, 0.4);
  --solar-text: #fff;
  --solar-muted: #fff;
  --solar-label: #fff;
  --solar-sub: #fff;
  --solar-gold: #ffbe3b;
  --solar-coral: #ff7a59;
  --solar-sunset: #ff5c67;
  --solar-blue-hour: #5bc0be;
  --solar-twilight: #8338ec;
  --solar-horizon: rgba(255, 235, 230, 0.38);

  box-sizing: border-box;
  margin: 28px 0;
  padding: 32px 28px 36px;
  border: 1px solid rgba(255, 130, 110, 0.28);
  border-radius: 10px;
  /* 多重径向晚霞余晖 + 深沉酒红渐变底色，营造 Solora 级暮色氛围 */
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(180, 50, 75, 0.35) 0%, transparent 70%),
    radial-gradient(circle 400px at 85% 20%, rgba(255, 110, 80, 0.16) 0%, transparent 60%),
    radial-gradient(circle 350px at 15% 40%, rgba(140, 40, 80, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(58, 20, 36, 0.94) 0%, rgba(32, 12, 22, 0.98) 60%, rgba(16, 6, 13, 0.99) 100%);
  box-shadow: 0 16px 48px rgba(35, 10, 20, 0.45), inset 0 1px 0 rgba(255, 200, 180, 0.15);
  color: var(--solar-text);
  font-family: var(--wx-font-ui);
  overflow: visible;
  position: relative;
  transition: border-color 0.3s ease;
}

#wx-solar-section * {
  box-sizing: border-box;
  letter-spacing: 0;
}

#wx-solar-section .wx-solar-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
#wx-solar-section .wx-solar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 0 0 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 160, 140, 0.18);
}

#wx-solar-section .wx-solar-title {
  margin: 0;
  color: #fff !important;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

#wx-solar-section .wx-solar-title small {
  margin-left: 10px;
  color: #fff;
  font: 700 11px/1 var(--wx-font-mono, var(--wx-font-mono));
  letter-spacing: 3px;
}

#wx-solar-section .wx-solar-subtitle {
  margin: 8px 0 0;
  color: #fff !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}


/* Main Workbench (更舒展的容器尺寸) */
#wx-solar-section .wx-solar-workbench {
  min-width: 0;
  border: 1px solid var(--solar-line);
  border-radius: 8px;
  background: var(--solar-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 220, 200, 0.08), 0 12px 36px rgba(0, 0, 0, 0.45);
  padding: 24px 26px;
}

#wx-solar-section .wx-solar-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
}

/* Left Column: De-cardified Editorial Data Column */
#wx-solar-section .wx-solar-summary {
  padding-right: 24px;
  border-right: 1px solid var(--solar-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#wx-solar-section .wx-solar-hero-section label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--solar-label);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

#wx-solar-section .wx-solar-hero-val {
  display: flex;
  align-items: flex-start;
  margin: 8px 0 14px;
}

#wx-solar-section .wx-solar-hero-val strong {
  font: 300 56px/1 var(--wx-font-mono, var(--wx-font-mono));
  color: var(--solar-gold);
  letter-spacing: -2px;
  text-shadow: 0 0 28px rgba(255, 190, 59, 0.35);
}

#wx-solar-section .wx-solar-hero-val small {
  margin-left: 3px;
  margin-top: 4px;
  font-size: 26px;
  color: var(--solar-gold);
  font-weight: 300;
  line-height: 1;
}

#wx-solar-section .wx-solar-trend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#wx-solar-section .wx-solar-stage-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(255, 190, 59, 0.16);
  color: #ffbe3b;
  border: 1px solid rgba(255, 190, 59, 0.4);
}

#wx-solar-section .wx-solar-stage-pill.is-night {
  background: rgba(131, 56, 236, 0.18);
  color: #b588ff;
  border-color: rgba(131, 56, 236, 0.45);
}

#wx-solar-section .wx-solar-stage-pill.is-golden {
  background: rgba(255, 122, 89, 0.22);
  color: #ff8e72;
  border-color: rgba(255, 122, 89, 0.55);
  box-shadow: 0 0 14px rgba(255, 122, 89, 0.3);
}

#wx-solar-section .wx-solar-stage-pill.is-blue {
  background: rgba(91, 192, 190, 0.2);
  color: #5bc0be;
  border-color: rgba(91, 192, 190, 0.45);
}

#wx-solar-section .wx-solar-countdown {
  font: 500 12px var(--wx-font-mono, var(--wx-font-mono));
  color: var(--solar-muted);
}

#wx-solar-section .wx-solar-sep {
  height: 1px;
  background: var(--solar-line);
  margin: 18px 0;
}

/* 下一摄影光影阶段卡 */
#wx-solar-section .wx-solar-next-section {
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 140, 120, 0.14);
}

#wx-solar-section .wx-solar-next-section span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--solar-label);
}

#wx-solar-section .wx-solar-next-val {
  margin-top: 6px;
  font: 700 16px/1.35 var(--wx-font-mono, var(--wx-font-mono));
  color: #ff9e7d;
}

#wx-solar-section .wx-solar-next-desc {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--solar-muted);
  line-height: 1.5;
}

/* 单行去卡片化指标列表 */
#wx-solar-section .wx-solar-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#wx-solar-section .wx-solar-metric-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 160, 140, 0.12);
}

#wx-solar-section .wx-solar-metric-line:last-child {
  border-bottom: none;
}

#wx-solar-section .wx-solar-metric-line span {
  font-size: 12px;
  color: var(--solar-muted);
}

#wx-solar-section .wx-solar-metric-line b {
  font: 600 13px var(--wx-font-mono, var(--wx-font-mono));
  color: #fff;
}

#wx-solar-section .wx-solar-metric-line b.is-warn {
  color: #ffbe3b;
}

/* 预览联动模式下的重置按钮 */
#wx-solar-section .wx-solar-restore-btn {
  display: none;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: #ff9e7d;
  background: rgba(255, 122, 89, 0.14);
  border: 1px solid rgba(255, 122, 89, 0.35);
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
}

#wx-solar-section .wx-solar-restore-btn:hover {
  background: rgba(255, 122, 89, 0.28);
}

#wx-solar-section.is-inspecting .wx-solar-restore-btn {
  display: inline-flex;
}

/* Right Column: 24h Arc & Spectrum & Timeline */
#wx-solar-section .wx-solar-chart-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

#wx-solar-section .wx-solar-arc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

#wx-solar-section .wx-solar-head-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

#wx-solar-section .wx-solar-head-left h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fdf5f2;
}

#wx-solar-section .wx-solar-horizon-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
  background: rgba(255, 190, 59, 0.14);
  color: #ffbe3b;
  border: 1px solid rgba(255, 190, 59, 0.3);
}

#wx-solar-section .wx-solar-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  color: #ff9e7d;
  background: rgba(255, 122, 89, 0.15);
  border: 1px solid rgba(255, 122, 89, 0.35);
}

/* Curve Viewport (高度提升至 290px，饱满舒展) */
#wx-solar-section .wx-solar-curve-wrap {
  position: relative;
  height: 290px;
  border-radius: 8px;
  /* 优雅的落日暮霞天顶径向发光底图 */
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 110, 65, 0.32) 0%, rgba(68, 22, 42, 0.85) 55%, #12050e 100%);
  border: 1px solid rgba(255, 140, 120, 0.22);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  cursor: crosshair;
}

#wx-solar-section .wx-solar-curve-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 交互 Hover 虚线与吸附高亮圆点 */
#wx-solar-section .wx-solar-hover-line {
  stroke: rgba(255, 230, 220, 0.55);
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
  pointer-events: none;
}

#wx-solar-section .wx-solar-hover-dot {
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255, 190, 59, 0.8));
}

/* 交互式 Tooltip（结构见 live-data-panel-shared.css） */
#wx-solar-section .wx-solar-chart-tooltip {
  z-index: 30;
  min-width: 160px;
  padding: 10px 14px;
  background: rgba(28, 9, 20, 0.97);
  border: 1px solid rgba(255, 150, 130, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  color: #fdf5f2;
  font: 11px/1.5 var(--wx-font-mono, var(--wx-font-mono));
  transition: opacity 0.15s ease, transform 0.15s ease;
}

#wx-solar-section .wx-solar-chart-tooltip .tip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 150, 130, 0.2);
}

#wx-solar-section .wx-solar-chart-tooltip .tip-time {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

#wx-solar-section .wx-solar-chart-tooltip .tip-stage {
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 8px;
  color: #ffbe3b;
  background: rgba(255, 190, 59, 0.15);
  border: 1px solid rgba(255, 190, 59, 0.3);
}

#wx-solar-section .wx-solar-chart-tooltip .tip-line {
  display: block;
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
}

#wx-solar-section .wx-solar-chart-tooltip .tip-line + .tip-line {
  margin-top: 3px;
}

#wx-solar-section .wx-solar-chart-tooltip .tip-line b {
  color: var(--solar-gold);
  font-weight: 700;
}

#wx-solar-section .wx-solar-chart-tooltip .tip-sub {
  display: block;
  color: #ff9e7d;
  font-size: 10px;
  line-height: 1.4;
  margin-top: 6px;
}

/* 实时常驻太阳粒子气泡 (实心不透明背景，高层级置顶，绝不被折线遮挡穿透) */
#wx-solar-section .wx-solar-orb-tag {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -100%);
  padding: 5px 11px;
  border-radius: 5px;
  background: #190714;
  border: 1px solid rgba(255, 190, 59, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85);
  color: #fff;
  font: 600 11px/1.2 var(--wx-font-mono, var(--wx-font-mono));
  white-space: nowrap;
  z-index: 25;
  transition: opacity 0.2s ease;
}

#wx-solar-section .wx-solar-orb-tag:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #ffbe3b;
}

/* Sky Spectrum Ribbon (天空色温光照谱带) */
#wx-solar-section .wx-solar-spectrum-bar-wrap {
  margin-top: 10px;
}

#wx-solar-section .wx-solar-spectrum-bar {
  height: 12px;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 180, 160, 0.15);
}

#wx-solar-section .wx-solar-curve-axis {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  color: var(--solar-muted);
  font: 500 10px var(--wx-font-mono, var(--wx-font-mono));
}

/* Solar Events Milestone Timeline */
#wx-solar-section .wx-solar-events-section {
  margin-top: 18px;
}

#wx-solar-section .wx-solar-events-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--solar-muted);
  margin-bottom: 10px;
}

#wx-solar-section .wx-solar-datum-hint {
  color: var(--solar-sub);
  font-size: 10px;
}

#wx-solar-section .wx-solar-timeline-deck {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

#wx-solar-section .wx-solar-event-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 5px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 140, 120, 0.16);
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#wx-solar-section .wx-solar-event-item:hover {
  background: rgba(255, 122, 89, 0.1);
  border-color: rgba(255, 122, 89, 0.45);
  transform: translateY(-2px);
}

#wx-solar-section .wx-solar-event-item.is-selected {
  background: rgba(255, 122, 89, 0.18) !important;
  border-color: var(--solar-coral) !important;
  box-shadow: 0 0 16px rgba(255, 122, 89, 0.3) !important;
  transform: translateY(-2px);
}

#wx-solar-section .wx-solar-event-item.is-active {
  background: rgba(255, 190, 59, 0.12);
  border-color: var(--solar-gold);
}

#wx-solar-section .wx-solar-event-item.is-past {
  opacity: 0.65;
}

#wx-solar-section .wx-solar-event-item .ev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6f8595;
  margin-bottom: 6px;
  transition: all 0.2s;
}

#wx-solar-section .wx-solar-event-item.is-selected .ev-dot,
#wx-solar-section .wx-solar-event-item.is-active .ev-dot {
  background: var(--solar-gold);
  box-shadow: 0 0 8px var(--solar-gold);
  transform: scale(1.2);
}

#wx-solar-section .wx-solar-event-item .ev-time {
  font: 700 13px var(--wx-font-mono, var(--wx-font-mono));
  color: #fff;
  line-height: 1;
}

#wx-solar-section .wx-solar-event-item .ev-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--solar-muted);
  margin-top: 5px;
}

#wx-solar-section .wx-solar-event-item .ev-meta {
  font: 500 9px var(--wx-font-mono, var(--wx-font-mono));
  color: var(--solar-sub);
  margin-top: 3px;
}

/* Bottom Glow & Twilight Forecast Strip (气象融合特色) */
#wx-solar-section .wx-solar-glow-panel {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--solar-line);
}

#wx-solar-section .wx-solar-glow-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

#wx-solar-section .wx-solar-glow-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#wx-solar-section .wx-solar-glow-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

#wx-solar-section .wx-solar-glow-meta {
  font-size: 11px;
  color: var(--solar-muted);
}

#wx-solar-section .wx-solar-glow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#wx-solar-section .wx-solar-glow-card {
  padding: 16px 18px;
  border-radius: 7px;
  background: rgba(24, 8, 17, 0.78);
  border: 1px solid rgba(255, 140, 120, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#wx-solar-section .wx-solar-glow-card-top {
  display: flex;
  align-items: center;
}

#wx-solar-section .wx-solar-glow-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

#wx-solar-section .wx-solar-glow-icon {
  font-size: 17px;
}

#wx-solar-section .wx-solar-glow-type strong {
  font-size: 14px;
  color: #fff;
}

#wx-solar-section .wx-solar-glow-time {
  font: 600 14px var(--wx-font-mono, ui-monospace, SFMono-Regular, monospace);
  color: var(--solar-gold);
  margin: 0;
}

/* === 全球/全国紫外线强度与太阳辐射通量遥感云图 (UV Map Card & Frosted Glass Gate) === */
#wx-solar-section .wx-solar-uv-map-card {
  margin-top: 20px;
  padding: 18px 22px 22px;
  border: 1px solid var(--solar-line);
  border-radius: 8px;
  background: var(--solar-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 220, 200, 0.08), 0 12px 36px rgba(0, 0, 0, 0.45);
}

#wx-solar-section .wx-solar-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

#wx-solar-section .wx-solar-uv-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#wx-solar-section .wx-solar-uv-head-left h3 {
  margin: 0;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

#wx-solar-section .wx-solar-uv-head-left span {
  color: var(--solar-muted);
  font-size: 12px;
  font-weight: 500;
}

#wx-solar-section .wx-solar-uv-viewport {
  position: relative;
  width: 100%;
  height: 440px;
  margin-top: 14px;
  border: 1px solid rgba(255, 140, 120, 0.25);
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #140710;
}

#wx-solar-section .wx-solar-uv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
  filter: brightness(0.96) contrast(1.05);
  transition: transform 0.6s ease;
}

#wx-solar-section .wx-solar-uv-viewport:hover .wx-solar-uv-bg {
  transform: scale(1.018);
}

#wx-solar-section .wx-solar-uv-legend {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 140, 120, 0.28);
  border-radius: 6px;
  background: rgba(22, 7, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

#wx-solar-section .wx-solar-uv-legend-bar {
  width: 200px;
  height: 7px;
  border-radius: 3.5px;
  background: linear-gradient(90deg, #40c057 0%, #a9e34b 22%, #fab005 45%, #fd7e14 68%, #fa5252 86%, #be4bdb 100%);
  margin-bottom: 5px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

#wx-solar-section .wx-solar-uv-legend-labels {
  display: flex;
  justify-content: space-between;
  width: 200px;
  color: #dfcad0;
  font: 500 9px var(--wx-font-mono);
}

#wx-solar-section .wx-solar-uv-tags {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

#wx-solar-section .wx-solar-uv-tags span {
  padding: 3px 8px;
  border: 1px solid rgba(255, 140, 120, 0.28);
  border-radius: 4px;
  background: rgba(22, 7, 16, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #f7e1e6;
  font-size: 10px;
  font-weight: 500;
}

#wx-solar-section .wx-solar-uv-gate {
  max-width: 550px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 150, 130, 0.45);
  background: rgba(26, 9, 19, 0.82);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 122, 89, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

#wx-solar-section .wx-solar-gate-badge {
  border: 1px solid rgba(255, 190, 59, 0.55);
  background: rgba(255, 190, 59, 0.14);
  color: var(--solar-gold);
}

#wx-solar-section .wx-solar-gate-badge svg {
  stroke: var(--solar-gold);
}

#wx-solar-section .wx-solar-gate-desc {
  color: var(--solar-muted);
}

#wx-solar-section .wx-solar-gate-btn-primary {
  background: linear-gradient(135deg, #ff7a59 0%, #e8590c 100%);
  box-shadow: 0 4px 14px rgba(255, 122, 89, 0.4);
}

#wx-solar-section .wx-solar-gate-btn-primary:hover {
  background: linear-gradient(135deg, #ff922b 0%, #ff7a59 100%);
  box-shadow: 0 6px 18px rgba(255, 122, 89, 0.55);
  transform: translateY(-1px);
}

#wx-solar-section .wx-solar-gate-btn-secondary {
  border: 1px solid rgba(255, 160, 140, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
}

#wx-solar-section .wx-solar-gate-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 160, 140, 0.6);
  color: #fff !important;
}

#wx-solar-section .wx-solar-gate-foot {
  display: block;
  color: var(--solar-sub);
  font-size: 10px;
}

@media (max-width: 900px) {
  #wx-solar-section .wx-solar-uv-viewport {
    height: 380px;
  }
}

@media (max-width: 520px) {
  #wx-solar-section .wx-solar-uv-viewport {
    height: 320px;
  }
  #wx-solar-section .wx-solar-uv-legend,
  #wx-solar-section .wx-solar-uv-tags {
    display: none;
  }
}

/* Animations */
@keyframes solar-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(255, 190, 59, 0.7));
    opacity: 0.95;
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 122, 89, 0.9));
    opacity: 1;
  }
}

/* Responsive Media Queries */
@media (max-width: 980px) {
  #wx-solar-section .wx-solar-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  #wx-solar-section .wx-solar-summary {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--solar-line);
    padding-bottom: 20px;
  }
  #wx-solar-section .wx-solar-glow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #wx-solar-section {
    padding: 22px 16px;
  }
  #wx-solar-section .wx-solar-header {
    flex-direction: column;
    gap: 12px;
  }
  #wx-solar-section .wx-solar-workbench {
    padding: 18px 16px;
  }
  #wx-solar-section .wx-solar-curve-wrap {
    height: 220px;
  }
  #wx-solar-section .wx-solar-timeline-deck {
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
  }
}
