/* 三圈环流特有样式（通用样式见 ../shared/base.css） */
#panel h2 .h2s { font-size: 11px; color: var(--muted); font-weight: normal; margin-left: 6px; letter-spacing: 0; }
.readout .term { font-size: 13px; font-weight: normal; color: var(--accent); }

.modes, .terms { display: grid; gap: 6px; }
.modes { grid-template-columns: 1fr 1fr; }
.terms { grid-template-columns: repeat(4, 1fr); margin-bottom: 8px; }
.modes button, .terms button { font: inherit; color: var(--text); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 0; cursor: pointer; }
.modes button b { display: block; font-size: 14px; }
.modes button small, .terms button small { display: block; font-size: 11px; color: var(--muted); }
.modes button:hover, .terms button:hover { border-color: var(--accent); }
.modes button.on, .terms button.on { border-color: var(--accent); background: rgba(255,201,74,.14); }

.steps { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
.steps span { text-align: center; color: var(--muted); font-size: 13px; }
.steps button:disabled { opacity: .4; cursor: default; }
#stepExit { margin-top: 8px; width: 100%; }
button.wide { width: 100%; margin-top: 4px; padding: 6px 0; }
button.small.on { border-color: var(--accent); color: var(--accent); }
#yearStrip { display: block; width: 100%; height: 64px; margin-top: 10px; }

#resetView { position: absolute; right: 12px; bottom: 12px; z-index: 3; font: inherit; font-size: 13px;
  padding: 6px 12px; color: var(--text); background: rgba(17,23,35,.85); border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; }
#resetView:hover { border-color: var(--accent); color: var(--accent); }

/* 分步讲解字幕 */
#caption { position: absolute; left: 12px; bottom: 56px; z-index: 4; width: min(420px, calc(100% - 24px));
  padding: 10px 30px 10px 14px; background: rgba(17,23,35,.9); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; font-size: 13px; line-height: 1.65; }
#caption b { color: var(--accent); font-size: 14px; }
#caption p { margin: 4px 0 0; color: #cfd6e0; }
#capClose { position: absolute; top: 4px; right: 6px; font: inherit; font-size: 18px; line-height: 1; color: var(--muted);
  background: none; border: none; cursor: pointer; }
#capClose:hover { color: var(--accent); }

/* 3D 标签 */
.lbl { font-size: 12px; color: #fff; white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px #000, 0 0 6px #000; }
.lbl-belt, .lbl-wind { transform: translateX(50%); padding-left: 6px; transition: opacity .2s; }
.lbl-belt.pole { transform: translate(0, -60%); padding-left: 0; }
.lbl-belt i { display: inline-block; width: 16px; height: 16px; line-height: 16px; margin-right: 4px; border-radius: 50%;
  font-style: normal; font-size: 11px; font-weight: 700; text-align: center; color: #fff; text-shadow: none; }
.lbl-belt.low i { background: #e2483a; }
.lbl-belt.high i { background: #2f7de0; }
.lbl-wind { font-size: 11.5px; }
.lbl-cell { font-size: 11px; font-weight: 600; transition: opacity .2s; }
.lbl-lat { font-size: 10.5px; color: #cfd8dc; transform: translateX(-60%); }
.lbl-sun { font-size: 11px; color: #ffe066; transform: translate(-50%, -110%); }
.lbl-place { font-size: 12px; color: #ff8a80; font-weight: 600; transform: translate(0, -110%); }
.lbl-deflect { font-size: 11px; color: #ffccbc; transform: translateX(-80%); }

@media (max-width: 760px) {
  #resetView { top: 84px; bottom: auto; }
  #caption { bottom: 52px; font-size: 12px; }
  .lbl-belt, .lbl-wind { font-size: 10.5px; }
  .lbl-belt i { width: 13px; height: 13px; line-height: 13px; font-size: 9.5px; }
}
