/* 안내엔진.css — 용어 툴팁 (O1/S2). 색·둥글기·그림자는 --dm-* 토큰만. */
.안내-용어 {
  position: relative;
  display: inline;
  margin: 0; padding: 0;
  border: 0;
  border-bottom: 1px dashed var(--dm-accent);
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: help;
  text-align: inherit;
  -webkit-tap-highlight-color: transparent;
}
/* 터치 44px: 보이는 글자·레이아웃은 그대로, 눌리는 투명 면만 넓힌다(D4046) */
.안내-용어::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 100%; height: 100%;
  min-width: 44px; min-height: 44px;
  transform: translate(-50%, -50%);
}
.안내-용어:hover { background: var(--dm-accent-tint); }
.안내-용어:focus-visible { outline: 2px solid var(--dm-accent); outline-offset: 2px; border-radius: var(--dm-r-chk); }

.안내-툴팁 {
  position: fixed;
  z-index: 2147483001;
  box-sizing: border-box;
  max-width: min(280px, calc(100vw - 16px));
  padding: var(--dm-sp-4) var(--dm-sp-5);
  display: flex; flex-direction: column; gap: var(--dm-sp-2);
  background: var(--dm-surface);
  color: var(--dm-ink);
  border: 1px solid var(--dm-line);
  border-radius: var(--dm-r-md);
  box-shadow: var(--dm-shadow-lift);
  font-family: var(--dm-font);
  font-size: var(--dm-fs-sm, 14px);
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.안내-툴팁[hidden] { display: none; }
.안내-툴팁-제목 { color: var(--dm-ink-strong); font-weight: 800; }
.안내-툴팁-더보기 {
  align-self: flex-start;
  display: inline-flex; align-items: center;
  min-height: 44px; min-width: 44px;
  color: var(--dm-ink-strong);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--dm-accent);
  text-underline-offset: 3px;
}
/* 말풍선(S1 소유)에 \n 이 남아 있어도 줄이 바뀌게 */
.물빛안내-말풍선 { white-space: pre-line; }
@media (prefers-reduced-motion: reduce) { .안내-용어, .안내-툴팁 { transition: none; animation: none; } }
