/* 地日模型特有样式（通用样式见 ../shared/base.css） */

/* 画中画 */
#inset { position: absolute; left: 12px; bottom: 12px; width: 300px; height: 300px; z-index: 3;
  border: 1px solid var(--line); border-radius: 10px; pointer-events: none; }
#inset.hidden { display: none; }
.inset-head { display: flex; justify-content: space-between; align-items: center; gap: 6px;
  padding: 6px 8px; font-size: 12px; background: linear-gradient(rgba(10,14,22,.85), rgba(10,14,22,0));
  border-radius: 10px 10px 0 0; }

#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); }

.readout .term { font-size: 13px; font-weight: normal; color: var(--accent); }

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

/* 3D 标签 */
.lbl { font-size: 12px; color: #fff; white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px #000, 0 0 6px #000; }
.lbl-term { pointer-events: auto; cursor: pointer; text-align: center; padding: 3px 8px; border-radius: 8px;
  background: rgba(17,23,35,.8); border: 1px solid var(--line); transform: translateY(28px); line-height: 1.3; }
.lbl-term b { color: var(--accent); font-size: 13px; }
.lbl-term small { display: block; color: var(--muted); font-size: 11px; }
.lbl-term:hover { border-color: var(--accent); }
.lbl-lat { font-size: 11px; padding-left: 4px; transform: translateX(50%); }
.lbl-sun { color: var(--accent); font-size: 14px; font-weight: 600; }
.lbl-pole { font-weight: 700; font-size: 13px; }
.lbl-sub { color: #fff59d; font-size: 11px; transform: translate(50%, -60%); }
.lbl-city { color: #ff8a80; font-size: 11px; transform: translate(50%, -50%); }

@media (max-width: 760px) {
  #resetView { top: 84px; bottom: auto; }
  #inset { width: 170px; height: 170px; left: 8px; top: 84px; bottom: auto; }
}
