.eclipse-play { margin-top: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--season-line);
  background: transparent; color: var(--fg); font-size: 13px; cursor: pointer;
  font-family: "Nunito", "Noto Sans SC", sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 104px; }
.eclipse-play svg { width: 12px; height: 12px; fill: currentColor; }
.eclipse-play:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.eclipse-anim { margin-top: 10px; text-align: center; }
.eclipse-anim canvas { width: min(78vw, 320px); height: auto; border-radius: 12px; background: #05070d; }
.eclipse-anim-ctrl { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 8px; }
.eclipse-anim-time { font-size: 13px; color: var(--muted); min-width: 120px; }
.eclipse-anim-bar { flex: 1; max-width: 200px; height: 4px; background: var(--bar-bg); border-radius: 2px; cursor: pointer; }
.eclipse-anim-fill { height: 100%; width: 0%; background: var(--season-accent); border-radius: 2px; }
.eclipse-vp { display: inline-flex; border: 1px solid var(--season-line); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.eclipse-vp button { border: 0; background: transparent; color: var(--muted); font-size: 12px; padding: 3px 10px; cursor: pointer;
  font-family: "Nunito", "Noto Sans SC", sans-serif; }
.eclipse-vp button.on { background: var(--season-accent); color: #fff; font-weight: 700; }
.eclipse-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.eclipse-topbar .page-sub { margin-bottom: 16px; }
.eclipse-tabs { display: flex; gap: 10px; margin: 4px 0 18px; }
.eclipse-tab { border: 1px solid var(--season-line); background: transparent; color: var(--muted);
  font-size: 15px; font-weight: 700; padding: 8px 22px; border-radius: 999px; cursor: pointer;
  font-family: "Nunito", "Noto Sans SC", sans-serif; }
.eclipse-tab .eclipse-tab-n { font-size: 12px; font-weight: 400; opacity: .75; margin-left: 4px; }
.eclipse-tab.on { background: var(--season-accent); border-color: var(--season-accent); color: #fff; }
.eclipse-tab:disabled { opacity: .35; cursor: default; }
.eclipse-more { display: block; margin: 6px auto 4px; border: 1px solid var(--season-line);
  background: transparent; color: var(--muted); font-size: 13px; padding: 6px 20px;
  border-radius: 999px; cursor: pointer; font-family: "Nunito", "Noto Sans SC", sans-serif; }
.eclipse-more:hover { color: var(--fg); border-color: var(--season-accent); }
.eclipse-cal-btn { margin-top: 2px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--season-line);
  background: transparent; color: var(--fg); font-size: 14px; font-weight: 700; cursor: pointer; flex-shrink: 0;
  font-family: "Nunito", "Noto Sans SC", sans-serif; display: inline-flex; align-items: center; gap: 7px; }
.eclipse-cal-btn svg { width: 15px; height: 15px; fill: currentColor; }
.eclipse-cal-btn:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.eclipse-cal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 16px; }
.eclipse-cal-overlay[hidden] { display: none; }
.eclipse-cal { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px;
  padding: 16px 16px 12px; width: min(94vw, 360px); color: var(--fg);
  font-family: "Nunito", "Noto Sans SC", sans-serif; }
.eclipse-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.eclipse-cal-title { font-size: 16px; font-weight: 800; }
.eclipse-cal-nav { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--card-border);
  background: transparent; color: var(--fg); cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; }
.eclipse-cal-nav svg { width: 18px; height: 18px; fill: currentColor; }
.eclipse-cal-title { display: flex; gap: 6px; }
.eclipse-cal-title select { font-family: "Nunito", "Noto Sans SC", sans-serif; font-size: 16px; font-weight: 700;
  color: var(--fg); background: transparent; border: 1px solid var(--card-border); border-radius: 8px;
  padding: 4px 6px; cursor: pointer; }
.eclipse-cal-title select:hover { border-color: var(--season-accent); }
.eclipse-cal-nav:hover:not(:disabled) { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.eclipse-cal-nav:disabled { opacity: .25; cursor: default; }
.eclipse-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.eclipse-cal-wd { text-align: center; font-size: 11px; color: var(--muted); padding: 4px 0; font-weight: 700; }
.eclipse-cal-day { aspect-ratio: 1; border-radius: 10px; border: 0; background: transparent; color: var(--fg);
  font-size: 13px; font-family: inherit; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
button.eclipse-cal-day.marked { cursor: pointer; font-weight: 800; }
button.eclipse-cal-day.marked:hover { background: color-mix(in srgb, var(--season-accent) 20%, transparent); }
.eclipse-cal-day .dots { display: flex; gap: 3px; height: 6px; }
.eclipse-cal-day .dot { width: 6px; height: 6px; border-radius: 50%; box-sizing: border-box; }
.eclipse-cal-day .dot.solar { background: #f59e0b; }
.eclipse-cal-day .dot.lunar { background: #fff; border: 1px solid #9a9ab0; }
.eclipse-cal-day .dot.meteor { background: #38bdf8; }
.eclipse-cal-day .dot.occult { background: #a78bfa; }
.eclipse-cal-legend { display: flex; gap: 18px; justify-content: center; margin-top: 10px; font-size: 12px; color: var(--muted); }
.eclipse-cal-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; font-style: normal; box-sizing: border-box; }
.eclipse-cal-legend .dot.solar { background: #f59e0b; }
.eclipse-cal-legend .dot.lunar { background: #fff; border: 1px solid #9a9ab0; }
.eclipse-cal-legend .dot.meteor { background: #38bdf8; }
.eclipse-sec-title { font-size: 20px; font-weight: 800; margin: 26px 0 4px; }
.eclipse-sub-title { font-size: 16px; font-weight: 800; margin: 16px 0 10px; }
.eclipse-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 2px 0 4px; }
.eclipse-filters label { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.eclipse-filters select { font-family: "Nunito", "Noto Sans SC", sans-serif; font-size: 13px; color: var(--fg);
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.eclipse-filter-reset { font-family: "Nunito", "Noto Sans SC", sans-serif; font-size: 13px; color: var(--muted);
  background: transparent; border: 1px solid var(--card-border); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.eclipse-filter-reset:hover { color: var(--fg); border-color: var(--season-line); }
.eclipse-empty { color: var(--muted); font-size: 13px; padding: 6px 2px 12px; }
.eclipse-type.hybrid { background: #b3541e; }
.eclipse-item.flash { animation: eclipse-flash 1.8s ease; }
@keyframes eclipse-flash { 0%, 100% { box-shadow: none; } 25%, 60% { box-shadow: 0 0 0 2px var(--season-accent); } }

.eclipse-planet-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.eclipse-tabs { margin-top: 18px; }
.eclipse-notes { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--season-border); }
.eclipse-notes-title { font-size: 16px; font-weight: 700; margin: 0 0 8px; }

.page-title .title-en { font-size: .62em; font-weight: 600; color: var(--muted); letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 640px) {
  .eclipse-topbar .page-title .title-dash { display: none; }
  .eclipse-topbar .page-title .title-en { display: block; }
  .eclipse-topbar { flex-wrap: wrap; }
  .eclipse-topbtns { flex-basis: 100%; justify-content: flex-end; margin-top: -6px; margin-bottom: 18px; }
  .eclipse-cal-btn { padding: 5px 12px; font-size: 13px; }
}

/* 说明按钮与悬浮窗 */
.eclipse-topbtns { display: flex; gap: 8px; align-items: flex-start; }
.eclipse-info-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; }
.eclipse-info-overlay[hidden] { display: none; }
.eclipse-info { background: var(--card-bg, #14161d); border: 1px solid var(--season-border); border-radius: 14px; max-width: 560px; width: 100%; max-height: 80vh; display: flex; flex-direction: column; box-shadow: 0 12px 48px rgba(0,0,0,0.5); }
.eclipse-info-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--season-border); }
.eclipse-info-title { font-size: 17px; font-weight: 800; }
.eclipse-info-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--muted); padding: 4px 8px; }
.eclipse-info-close:hover { color: var(--text); }
.eclipse-info-body { padding: 6px 18px 18px; overflow-y: auto; font-size: 14px; line-height: 1.7; }
.eclipse-info-body h4 { margin: 14px 0 6px; font-size: 14px; }
.eclipse-info-body p { margin: 0 0 8px; color: var(--muted); }
