/* 「?」 도움말 · 팝업 · 말풍선 (help.js) — 은하(galaxy.html)와 랜딩(home.html)이 같이 쓴다(2026-10-06).
   랜딩은 variables.css 를 안 읽어서 색은 값으로 적는다(variables.css 와 같은 값). */
.help-q {
  width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: rgba(234, 238, 255, 0.85); font-size: 18px; cursor: pointer;   /* 흰색(2026-10-06 대표 「잘 보이게」) — 노랑은 경고 · 황제 색이라 피함 */
  transition: all 150ms ease;
}
.help-q:hover { background: rgba(100, 140, 255, 0.08); color: #6eb3ff; }
#help-overlay {
  display: none; position: fixed; inset: 0; z-index: 3200;
  background: rgba(3, 4, 14, 0.7); align-items: center; justify-content: center; padding: 16px;
}
#help-overlay.open { display: flex; }
.help-box {
  width: min(560px, 100%); max-height: min(80vh, 720px); display: flex; flex-direction: column;
  background: #080820; border: 1px solid rgba(100, 140, 255, 0.28); border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 20, 0.8);
}
.help-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px 12px; border-bottom: 1px solid rgba(100, 140, 255, 0.12);
  font-size: 16px; font-weight: 700; color: #eaeeff;
}
.help-x {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; color: rgba(130, 160, 255, 0.42); font-size: 16px; cursor: pointer;
}
.help-x:hover { background: rgba(100, 140, 255, 0.08); color: #eaeeff; }
.help-body { overflow-y: auto; padding: 14px 20px 6px; font-size: 13px; line-height: 1.65; color: #c8d2f0; }
.help-intro { margin: 0 0 14px; color: #eaeeff; }
.help-list { margin: 0; }
.help-list dt { font-weight: 700; color: #6eb3ff; margin-top: 12px; }
.help-list dt:first-child { margin-top: 0; }
.help-list dd { margin: 2px 0 0; }
.help-foot { padding: 10px 20px 16px; border-top: 1px solid rgba(100, 140, 255, 0.12); text-align: right; font-size: 12px; }
.help-more { color: #6eb3ff; text-decoration: none; }
.help-more:hover { text-decoration: underline; }
.help-q.sm { width: 20px; height: 20px; font-size: 15px; margin-left: 4px; vertical-align: middle; }
.help-q.on { color: #6eb3ff; background: rgba(100, 140, 255, 0.08); }
.help-tip {
  margin: 4px 0 8px; padding: 10px 12px; border-radius: 10px;
  background: rgba(74, 158, 255, 0.07); border: 1px solid rgba(74, 158, 255, 0.22);
  font-size: 12px; font-weight: 400; line-height: 1.6; color: #c8d2f0; letter-spacing: normal; text-transform: none;
}
.help-tip .ht-row + .ht-row { margin-top: 4px; }
.help-tip .ht-row b { color: #6eb3ff; font-weight: 600; margin-right: 2px; }
.help-tip .ht-sub { padding-left: 12px; position: relative; }
.help-tip .ht-sub::before { content: ''; position: absolute; left: 3px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: rgba(110, 179, 255, 0.6); }
.help-pop {
  position: fixed; z-index: 3300; width: min(320px, calc(100vw - 24px));
  padding: 12px 14px; border-radius: 10px;
  background: #080820; border: 1px solid rgba(100, 140, 255, 0.28);
  box-shadow: 0 10px 36px rgba(0, 0, 20, 0.75);
  font-size: 12px; line-height: 1.6; color: #c8d2f0;
}
.help-pop .ht-row + .ht-row { margin-top: 4px; }
.help-pop .ht-row b { color: #6eb3ff; font-weight: 600; margin-right: 2px; }
.help-pop .ht-sub { padding-left: 12px; position: relative; }
.help-pop .ht-sub::before { content: ''; position: absolute; left: 3px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: rgba(110, 179, 255, 0.6); }
/* 랜딩처럼 단추 기본 모양을 안 지운 화면에서도 같게 */
.help-q { background: none; border: none; padding: 0; }
