/* ── 脚注参照（インライン） ─────────────────────────────────────────────────── */
.fn-ref {
  position: relative;
  display: inline;
}

.fn-ref__link {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  color: inherit;
}

.fn-ref__tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  padding: 6px 10px;
  background: #111;
  color: #f0f0ec;
  font-size: 0.8em;
  line-height: 1.5;
  border-radius: 3px;
  z-index: 100;
  pointer-events: none;
  white-space: normal;
}

.fn-ref:hover .fn-ref__tooltip,
.fn-ref:focus-within .fn-ref__tooltip {
  display: block;
}
