/* Spell explanations in battle (spell-tips-20261112.js). Popup look: gold border, navy panel, small gold label above the name.
   Appears/disappears only; positioned before it is shown (data-fit20261112). */
.spell-tip20261112{position:fixed;z-index:130;left:0;top:0;box-sizing:border-box;width:max-content;max-width:min(300px,calc(100vw - 16px));
 display:grid;gap:3px;padding:9px 12px 10px;border:2px solid #E3B04B;border-radius:8px;background:linear-gradient(180deg,#26333F,#1E2933);
 box-shadow:0 6px 18px rgba(0,0,0,.55);color:#ECE6D6;font-family:inherit;font-size:12px;line-height:1.45;text-align:left;pointer-events:none;visibility:hidden}
.spell-tip20261112[data-fit20261112]{visibility:visible}
.spell-tip20261112[hidden]{display:none}
.spell-tip20261112>small{color:#F4D27A;font-size:11px;font-weight:700;letter-spacing:.02em}
.spell-tip20261112>strong{color:#FFE7A0;font-size:14px;line-height:1.3}
.spell-tip20261112>p{margin:0}
.spell-tip20261112>p.meta{color:#A9B3BA;font-size:11px}
.spell-tip20261112>p.note{color:#A9B3BA;font-size:11px}
.spell-tip20261112>p.lock{color:#ffb5a1;font-size:11px}
.spell-tip20261112>p.tech{color:#9fd3ff;font-size:11px}
.spell-tip20261112>p.how{color:#F4D27A;font-size:11px}
#controls .spell-picker>strong .spell-hold-hint20261112{margin-left:8px;color:#A9B3BA;font-size:11px;font-weight:400}
#bomb,#shield,#controls .spell-picker button[data-spell-select]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* Unit feeds (z-index 4) were drawn over the open spell picker (#controls is position:fixed, so its z-index:90 child stays inside it). */
body:has(#controls .spell-picker:not([hidden])) .merge-feed{visibility:hidden}
/* Large screens: same --ui-k zoom as the battle HUD (ui-consistency-20261017.css). */
.ui-large1017 .spell-tip20261112{zoom:var(--ui-k,1);max-width:min(300px,calc((100vw - 16px) / var(--ui-k,1)))}
