/* Словарь игры в сообщениях (assets/glossary.js): подсветка названий и подсказка как в игре. */
.wg-term { cursor: help; border-bottom: 1px dotted currentColor; font-weight: 600; }
.wg-term.wg-skill, .wg-term.wg-stat { color: #2f6b8f; }
.wg-term.wg-art { color: #8a5a12; }
.wg-term.wg-card { color: #7a2f6b; }
.wg-term:hover { background: rgba(205, 184, 134, .25); }

.wg-tip {
  display: none; position: fixed; z-index: 1000; max-width: 360px; width: max-content;
  padding: 10px 12px; box-sizing: border-box;
  background: linear-gradient(#f7f1e6, #ece2cf); border: 1.5px solid #b88e34; border-radius: 6px;
  box-shadow: 0 6px 18px rgba(40, 28, 10, .35), inset 0 0 0 1px rgba(255, 255, 255, .5);
  color: #3a2e1e; font: 14px/1.4 'EB Garamond', Georgia, serif; text-align: left; pointer-events: none;
}
.wg-tip-item { display: flex; gap: 10px; align-items: flex-start; }
.wg-tip-item + .wg-tip-item { margin-top: 8px; padding-top: 8px; border-top: 1px solid #d8c69c; }
.wg-tip-item img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.wg-tip-card img { width: 72px; height: 96px; object-fit: cover; border-radius: 4px; border: 1px solid #b88e34; }
.wg-tip-item b { display: block; font-family: Cinzel, Georgia, serif; font-size: 15px; color: #3a2e1e; }
.wg-tip-meta { margin-top: 1px; font-size: 12.5px; color: #7a6646; }
.wg-tip-text { margin-top: 5px; }
@media (max-width: 480px) { .wg-tip { max-width: calc(100vw - 16px); } }
