/* Stillwater - 10-Year Life Currents & Seasonal Timing (十年大运 · 阴阳消长) Styles */

.sample-currents-wrap,
.custom-currents-wrap {
  margin: 24px 0;
  background: #ffffff;
  border: 1px solid #dbe6dc;
  border-radius: 6px;
  padding: 24px 26px;
  box-shadow: 0 4px 16px rgba(30, 52, 40, 0.04);
  position: relative;
  overflow: hidden;
}

.sample-currents-wrap::before,
.custom-currents-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2e5b44 0%, #b37834 50%, #3d6c54 100%);
}

.currents-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid #e7efe5;
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.currents-title-group .currents-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #274b38;
  background: #eaf3ea;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.currents-header h4 {
  font: 24px 'Newsreader', serif;
  color: #173628;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.currents-header p {
  font-size: 13px;
  line-height: 1.6;
  color: #557262;
  margin: 0;
  max-width: 60ch;
}

.currents-status-bar {
  display: flex;
  gap: 12px;
  background: #f7f9f6;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid #dce8db;
}

.currents-status-item {
  display: flex;
  flex-direction: column;
}

.currents-status-item span {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #728d80;
  font-weight: 600;
}

.currents-status-item strong {
  font-size: 12.5px;
  color: #1f3f31;
}

.currents-chart-stage {
  position: relative;
  width: 100%;
  margin: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.currents-svg {
  width: 100%;
  height: auto;
  min-width: 580px;
  display: block;
}

/* Pillar Animations & Hover States */
.currents-pillar-group {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.currents-pillar-group:hover .currents-rect {
  fill-opacity: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.currents-pillar-group.selected .currents-rect {
  stroke: #123020;
  stroke-width: 2.5px;
  fill-opacity: 1;
}

.pulse-marker {
  animation: currentsPulse 2.4s infinite ease-in-out;
  transform-origin: center;
}

@keyframes currentsPulse {
  0% { r: 5px; opacity: 0.8; }
  50% { r: 10px; opacity: 0.15; }
  100% { r: 5px; opacity: 0.8; }
}

/* Inspector Box */
.currents-inspector-inner {
  background: #fbfdfa;
  border: 1px solid #dce8db;
  border-left: 4px solid #2e5b44;
  border-radius: 4px;
  padding: 16px 20px;
  margin-top: 14px;
}

.inspector-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.season-phase-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.03em;
}

.season-phase-pill.bloom {
  background: #e5f2e8;
  color: #215338;
}

.season-phase-pill.rooting {
  background: #f7ede0;
  color: #8c561b;
}

.active-decade-pill {
  font-size: 11px;
  font-weight: 700;
  background: #204734;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 12px;
}

.inspector-pillar-tag {
  font-size: 11.5px;
  color: #607b6f;
  margin-left: auto;
}

.inspector-season-title {
  font: 18px 'Newsreader', serif;
  color: #173628;
  margin: 0 0 4px;
}

.inspector-theme-sub {
  font: 13.5px 'DM Sans', sans-serif;
  font-weight: 600;
  color: #294c3c;
  margin: 0 0 8px;
}

.inspector-desc-text {
  font-size: 13px;
  line-height: 1.65;
  color: #496356;
  margin: 0 0 12px;
}

.inspector-action-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f2f7f1;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #264a38;
}

.inspector-action-box .action-icon {
  font-size: 16px;
  color: #2e5b44;
  line-height: 1.2;
}

.inspector-action-box p {
  margin: 0;
}

/* Preliminary Chart Transition Note */
.currents-preview-banner {
  margin-top: 24px;
  background: #f6faf5;
  border: 1px dashed #c8dbca;
  border-radius: 6px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.currents-preview-banner .preview-seal {
  font-size: 26px;
  color: #2d5a43;
}

.currents-preview-banner div {
  flex: 1;
  min-width: 260px;
}

.currents-preview-banner strong {
  font: 16px 'Newsreader', serif;
  color: #183829;
  display: block;
  margin-bottom: 3px;
}

.currents-preview-banner p {
  font-size: 12.5px;
  line-height: 1.55;
  color: #557163;
  margin: 0;
}

.preview-jump-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #204734;
  background: #ffffff;
  border: 1px solid #b7ccb9;
  padding: 7px 14px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.preview-jump-link:hover {
  background: #204734;
  color: #ffffff;
}

@media (max-width: 640px) {
  .sample-currents-wrap,
  .custom-currents-wrap {
    padding: 18px 16px;
  }
  .currents-header h4 {
    font-size: 20px;
  }
  .inspector-pillar-tag {
    margin-left: 0;
    width: 100%;
  }
}
