/* Bilgi tooltip — ? ikonu + popup */

/* ? ikonu */
.hint-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--border2);
  color: var(--text3); font-size: 11px; font-weight: 700;
  cursor: pointer; vertical-align: middle; margin-left: 4px;
  transition: background .2s, color .2s; line-height: 1;
  font-family: var(--serif); user-select: none; flex-shrink: 0;
}
.hint-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Metrik icerisinde */
.metric .hint-btn { width: 14px; height: 14px; font-size: 9px; margin-left: 2px; }

/* Choice kartinda */
.choice-card .hint-btn {
  position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px; font-size: 12px; z-index: 2;
}
.choice-card { position: relative; }

/* Overlay */
.hint-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(42,37,32,.45); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.hint-overlay.visible { opacity: 1; pointer-events: auto; }

/* Popup kart */
.hint-popup {
  background: var(--card); border-radius: 12px;
  border: 1px solid var(--border2);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  max-width: 420px; width: 100%; max-height: 80vh;
  overflow-y: auto; padding: 20px 20px 16px;
  transform: translateY(8px); transition: transform .2s;
}
.hint-overlay.visible .hint-popup { transform: translateY(0); }

.hint-popup-title {
  font-family: var(--serif); font-size: 17px; font-weight: 600;
  color: var(--text); margin-bottom: 8px; padding-right: 28px;
}
.hint-popup-text {
  font-size: 14px; line-height: 1.65; color: var(--text2); margin-bottom: 12px;
}
.hint-popup-text p { margin-bottom: 8px; }
.hint-popup-text p:last-child { margin-bottom: 0; }

/* Kaynak link */
.hint-source {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-decoration: none; border-bottom: 1px solid rgba(193,95,60,.25);
  padding-bottom: 1px; transition: border-color .2s;
}
.hint-source:hover { border-color: var(--accent); }
.hint-source::before { content: '\2197'; font-size: 11px; }

.hint-sources { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }

/* Kapat butonu */
.hint-close {
  position: absolute; top: 14px; right: 14px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text3); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.hint-close:hover { background: var(--border2); }

.hint-popup { position: relative; }

/* Briefing icinde terim vurgusu */
.hint-term {
  border-bottom: 1px dashed var(--text3); cursor: help;
  transition: border-color .2s, color .2s;
}
.hint-term:hover { color: var(--accent); border-color: var(--accent); }

/* Arz durumu grafik kaynak linki */
.wf-source {
  text-align: right; margin-top: 8px; font-size: 11px;
}
.wf-source a {
  color: var(--text3); text-decoration: none;
  border-bottom: 1px dashed var(--border2); transition: color .2s;
}
.wf-source a:hover { color: var(--accent); }

/* Impact context satiri */
.impact-context {
  font-family: var(--serif); font-size: 14px; font-style: italic;
  color: var(--text); line-height: 1.55; padding: 8px 0 10px;
  border-bottom: 1px solid var(--border); margin-bottom: 10px;
}
