/* Spell, talent and glyph names with a hover / tap tooltip (see spell-tips-v1.js). Colours follow the in-game link colours. */
.spell{ color:#71d5ff; border-bottom:1px dotted rgba(113,213,255,.55); cursor:help; text-decoration:none; transition:color .15s ease, border-color .15s ease; }
.spell:hover, .spell:focus-visible, .spell.on{ color:#b3ecff; border-bottom-color:#b3ecff; outline:none; }
.spell.talent{ color:#7fb0ff; border-bottom-color:rgba(127,176,255,.55); }
.spell.talent:hover, .spell.talent:focus-visible, .spell.talent.on{ color:#b5d0ff; border-bottom-color:#b5d0ff; }
.spell.glyph{ color:#b8a4ff; border-bottom-color:rgba(184,164,255,.55); }
.spell.glyph:hover, .spell.glyph:focus-visible, .spell.glyph.on{ color:#d9ccff; border-bottom-color:#d9ccff; }

.rn-tip{ position:fixed; left:0; top:0; z-index:2147483000; width:max-content; max-width:min(340px, calc(100vw - 20px)); min-width:210px; box-sizing:border-box; padding:12px 14px 13px;
  background:linear-gradient(180deg, rgba(26,20,15,.985), rgba(13,10,8,.985)); border:1px solid #6b502b; border-radius:7px;
  box-shadow:0 14px 36px rgba(0,0,0,.66), 0 0 0 1px rgba(255,150,40,.10), inset 0 1px 0 rgba(255,255,255,.04);
  color:#fff; font:13px/1.45 "Chakra Petch", system-ui, -apple-system, "Segoe UI", sans-serif; text-align:left; pointer-events:none; opacity:0; transform:translateY(4px); transition:opacity .12s ease, transform .12s ease; }
.rn-tip.on{ opacity:1; transform:none; }
.rn-tip-h{ display:flex; align-items:center; gap:11px; margin-bottom:8px; }
.rn-tip-ico{ width:42px; height:42px; flex:none; border-radius:5px; background:#000; box-shadow:0 0 0 1px #000, 0 0 0 2px #6b502b; object-fit:cover; }
.rn-tip-n{ font-size:15px; font-weight:700; color:#fff; line-height:1.25; }
.rn-tip-s{ margin-top:2px; font-size:12px; color:#a9a39a; }
.rn-tip.talent .rn-tip-s{ color:#8fbaff; }
.rn-tip.glyph .rn-tip-s{ color:#c4b4ff; }
.rn-tip-row{ display:flex; justify-content:space-between; gap:20px; font-size:12.5px; color:#fff; }
.rn-tip-row span:only-child{ margin-right:auto; }
.rn-tip-d{ margin-top:7px; font-size:13px; color:#ffd100; white-space:pre-line; overflow-wrap:anywhere; }
.rn-tip-rows + .rn-tip-d{ margin-top:8px; }
@media (prefers-reduced-motion: reduce){ .spell, .rn-tip{ transition:none; } .rn-tip{ transform:none; } }
