/* the fight HUD: health and stamina bars, the flask and spell cards and the spell fan (index.html links the css/ files in cascade order: a later file wins a tie) */
/* --hx (core.js fitUI): 0 at 900 tall, 1 at 1080 and up. The bottom pieces (cards, fan) share one foot, 30px up at 900 and 36px at 1080, and grow 20%; the bars 10%; the left column and quests 10%.
   The bottom left: the flask card (#fslot, 150px by 160px laid out, 180px by 192px drawn at its HUD_PARTS base, 36px in, its foot 30px up); the bottom right the spell card (#sslot) with its fan.
   The player's health and stamina bars (#pbars) stay at one place on the screen, Options › Interface › Health Bars (menu.js BARS_PLACES, a pos-<key> class on #pbars): Left on the flask card's left edge, 12px over it;
   Center Low on the cards' foot; Center Medium (the default) where they sat under the knight's feet with a far foe locked on; Center High a little over that. Each foe's bar floats over its head (#bossbar, hud-foe.css; hud.js floatBarsHUD).
   The health bar 370px by 19px at 100 HP laid out, drawn 160% (PBAR_SIZE.hp), growing with max HP; the stamina bar 295px by 8px under it, drawn 170% (PBAR_SIZE.st). The HUD Scale zooms each bar on top */
#hud{--pb-h:calc((19px * 1.6 * var(--hs-hp,1) + 8px * 1.7 * var(--hs-st,1)) * (1 + .1 * var(--hx)) + 4px);--fs-top:calc(30px + 6px * var(--hx) + 160px * var(--hs-flask,1) * (1 + .2 * var(--hx)))} /* (the bars' drawn height; the flask card's top over the screen's foot) */
#pbars{position:absolute;left:50%;translate:-50% 0;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none}
#pbars.pos-left{left:calc(36px + 4px * var(--hx));translate:none;align-items:flex-start;bottom:calc(var(--fs-top) + 12px)}
#pbars.pos-low{bottom:calc(30px + 6px * var(--hx))}
#pbars.pos-mid{bottom:calc(146px + 36px * var(--hx) - var(--pb-h))}
#pbars.pos-high{bottom:calc(206px + 44px * var(--hx) - var(--pb-h))}
/* HUD Scale (Options › HUD, menu.js HUD_PARTS): each piece's own size, --hs-<key> on :root (1 = as laid out here; 100% in Options is HUD_PARTS' base). The pieces in a flow (bars, lists)
   zoom, so what is under them moves down; the placed ones scale from the corner or edge they are held to (the flask card's scale is in its own rules below) */

#pbars .bar{margin-bottom:0}
body.noHpBar #pbars .bar.hp{display:none} /* (no HP is lost in the Gilded Run or the Spire: hud.js hudNoHpBar) */
/* the bars grow with max HP and stamina (--share, boons.js refreshBoonHUD: --w100, their width at 100), up to a cap so a big build's bar stays on the screen */
#pbars .bar.hp{max-width:663px}#pbars #stBar{max-width:531px}
.bar.hp{zoom:calc(var(--hs-hp,1) * 1.6 * (1 + .1 * var(--hx)))}#stBar{zoom:calc(var(--hs-st,1) * 1.7 * (1 + .1 * var(--hx)))}#boons{zoom:var(--hs-boons,1)}#curseHud,#blessHud{zoom:var(--hs-curses,1)}#twistHud{zoom:var(--hs-twist,1)}
/* the health, stamina and foes' bars, in the HUD's gold-line style (as the flask and spell cards): a thin gold frame with a small diamond cap at each end
   (::before, ::after: they take the frame's colour, so a bar's state that recolours the frame (deny, frozen, healing) recolours them too), a dark inset track,
   and each fill a richer gradient with a soft highlight along its top (.fill::after); the damage trail behind it stays flat gold */
.bar{position:relative;height:12px;background:linear-gradient(rgba(2,2,2,.9),rgba(22,17,11,.85));border:1px solid rgba(214,176,96,.8);margin-bottom:6px;box-shadow:0 0 0 1px rgba(0,0,0,.75),0 0 7px #000,inset 0 2px 4px #000}
.bar::before,.bar::after{content:'';position:absolute;top:50%;z-index:3;width:5px;height:5px;margin-top:-3.5px;background:#17110a;border:1px solid;border-color:inherit;box-shadow:0 0 3px #000;transform:rotate(45deg)}
.bar::before{left:-5px}.bar::after{right:-5px}
.bar .fill,.bar .trail{position:absolute;left:0;top:0;bottom:0}
.bar .fill::after{content:'';position:absolute;left:0;right:0;top:0;height:45%;background:linear-gradient(rgba(255,240,220,.32),rgba(255,240,220,0))}
.bar .num{display:none;position:absolute;inset:0;z-index:2;align-items:center;justify-content:center;font:bold 13px sans-serif;color:#f2ead6;text-shadow:0 0 2px #000,0 0 3px #000;letter-spacing:.02em}
body.barNums .bar .num{display:flex}
#bossbar .bar .num{font-size:15px}#pbars .bar.st .num{font-size:15px}
.trail{background:#d9b25a}
/* Rally: the part of the last blow still to be won back, drawn after the health, fading as its window closes */
.bar .rally{position:absolute;top:0;bottom:0;background:repeating-linear-gradient(135deg,#f0d27a 0 3px,#b8862e 3px 6px);box-shadow:0 0 5px rgba(255,210,110,.7);display:none}
.hp{--w100:370px;width:calc(var(--w100) * var(--share,1))}.hp .fill{background:linear-gradient(#e0474b,#b42a2f 40%,#6e1012)}
.st{--w100:295px;width:calc(var(--w100) * var(--share,1))}.st .fill{background:linear-gradient(#72c476,#3f9446 40%,#1f5a25);transition:background .15s}
.st .debt{position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(#c0503a,#8a2a1c 45%,#55160d)}
.st.exhaust .fill{background:linear-gradient(#a9aba3,#787a73 40%,#4b4d48)}
.st.exhaust{animation:exflash .5s infinite}
/* Last Stand held (.wrathHeld): a small diamond ☠ token on the health bar's half mark (.wrg); active, under half HP (.wrath): the token lit and the bar breathes a faint ember glow */
.bar.hp{height:19px;box-sizing:border-box}#pbars .bar.st{height:8px;box-sizing:border-box}#pbars .bar.st::before,#pbars .bar.st::after{display:none} /* (the stamina bar plain: no end diamonds) */
.bar.hp .wrg{display:none;position:absolute;left:50%;top:50%;z-index:4;width:15px;height:15px;margin:-8.5px 0 0 -8.5px;transform:rotate(45deg);background:#17110a;border:1px solid #c88a6a;box-shadow:0 0 4px #000}
.bar.hp .wrg::after{content:'\2620';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transform:rotate(-45deg);font:10px Georgia,serif;color:rgba(240,160,128,.55)}
.bar.hp.wrathHeld .wrg{display:block}
.bar.hp.wrath .wrg{background:#5a1208;border-color:#ffb090;box-shadow:0 0 4px #000,0 0 10px 3px rgba(255,110,60,.85)}
.bar.hp.wrath .wrg::after{color:#ffe0c8}
.bar.hp.wrath{animation:wrathglow 1.6s ease-in-out infinite}
/* a heal (player.js healPlayer, main.js healBarHUD): the part just healed flashes bright green (.healFlash, its opacity set from the clock), what a heal over time has left is a striped ghost after the health (.healPend), a heal on its way a dashed outline (.healPrev); the frame glows green while a flash or a ghost shows */
.bar .healFlash,.bar .healPend,.bar .healPrev{position:absolute;top:0;bottom:0;display:none;box-sizing:border-box}
.bar .healFlash{background:linear-gradient(#eaffef,#7dff9a 45%,#2a9a48);box-shadow:0 0 10px 2px rgba(125,255,154,.85)}
.bar .healPend{background:repeating-linear-gradient(135deg,rgba(125,255,154,.42) 0 4px,rgba(125,255,154,.16) 4px 8px);border-right:2px solid #bfffd0;animation:healPend 1s ease-in-out infinite alternate}
.bar .healPrev{background:rgba(125,255,154,.12);border:2px dashed rgba(190,255,205,.85);border-left:0}
.bar.hp.healGlow{animation:none;box-shadow:0 0 0 1px rgba(125,255,154,.55),0 0 14px 2px rgba(90,230,130,.55)}
@keyframes healPend{from{opacity:.6}to{opacity:1}}
/* temporary HP (player.tempHp, spells-divine.js; main.js tempBarHUD): a pale blue (#bfe0ff) shield segment where the red ends (.temp); what is past the bar's end wraps back over the red from the right, the same segment a little see-through (.tempOver: every source alike, Ole 2026-11-04); a silver halo on the frame while it is up (.temped); the part a blow just took lit white (.tempLost) and the frame flaring (.tempHit); the total in a small tag over the bar's inner (right) end (.tempTag: no cap, so the bar alone cannot show it) and as +N after the health number (#hpTempNum) */
.bar.hp .temp,.bar.hp .tempOver,.bar.hp .tempLost{position:absolute;top:0;bottom:0;display:none;box-sizing:border-box;z-index:1}
.bar.hp .temp,.bar.hp .tempOver{background:linear-gradient(#e8f4ff,#bfe0ff 45%,#7fb0dc);box-shadow:0 0 6px rgba(191,224,255,.7)}
.bar.hp .temp::after,.bar.hp .tempOver::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(60,80,110,0) 0 9px,rgba(60,80,110,.35) 9px 10px)}
.bar.hp .tempOver{opacity:.85;border-left:2px solid #fff}
.bar.hp .tempLost{background:#fff;box-shadow:0 0 14px 4px rgba(210,230,255,.95)}
.bar.hp.temped{animation:none;border-color:#e6eefa;box-shadow:0 0 0 1px rgba(0,0,0,.75),0 0 0 2px rgba(200,220,255,.45),0 0 10px 2px rgba(170,200,255,.45),inset 0 2px 4px #000}
.bar.hp .hpTxt{position:absolute;left:0;right:0;top:0;bottom:0;justify-content:center;z-index:6;display:flex;align-items:center;gap:8px;font:bold 15px Georgia,serif;letter-spacing:.02em;color:#f6ecd8;text-shadow:0 0 2px #000,0 0 3px #000,0 0 5px #000;white-space:nowrap}
body.barNums .bar.hp .hpTxt .num{display:block}.bar.hp .hpTxt .num{position:static;display:none;font:inherit;color:inherit;text-shadow:inherit;letter-spacing:inherit}.bar.hp .hpTxt .tempNum{color:#bfe0ff}.bar.hp .hpTxt .tempNum:empty{display:none}
.bar.hp.tempHit{border-color:#fff;box-shadow:0 0 0 1px #000,0 0 0 2px rgba(230,240,255,.9),0 0 18px 5px rgba(200,225,255,.85),inset 0 2px 4px #000}
.bar.hp .tempTag{display:none;position:absolute;right:0;bottom:calc(100% + 5px);z-index:5;height:20px;align-items:center;gap:4px;font:bold 15px Georgia,serif;color:#eef4ff;text-shadow:0 0 3px #000,0 0 4px #000;white-space:nowrap}
.bar.hp.temped .tempTag{display:flex}
.bar.hp .tempTag svg{width:16px;height:18px;filter:drop-shadow(0 0 3px rgba(190,215,255,.8))}
@keyframes wrathglow{50%{box-shadow:0 0 9px 1px rgba(255,90,40,.55)}}
@keyframes exflash{50%{border-color:rgba(230,225,210,.95);box-shadow:0 0 10px rgba(220,220,210,.6)}}
.st.deny{border-color:#ff5040;box-shadow:0 0 12px #ff3020}
/* the flask card, bottom left (#fslot): 150px by 160px, its foot 30px up like the bars'. The bottle (flaskSVG, main.js) with its liquid at charges / capacity and the charges left beside it (never the capacity: the bottle and
   the pips show that), the word FLASK over it, one row of pips under it (#fslotPips: capacity many, the charges left lit), the drink key in the top corner. A drink fills the card from the bottom (.fb, --cb);
   the word reads Interrupted (#fslotName) when a blow stops it */
#fslot{position:absolute;left:calc(36px + 4px * var(--hx));bottom:calc(30px + 6px * var(--hx));width:150px;height:160px;box-sizing:border-box;border:2px solid rgba(221,213,195,.6);border-radius:10px;background:radial-gradient(circle at 50% 40%,rgba(40,30,16,.85),rgba(8,9,6,.88) 75%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(221,213,195,.12);scale:calc(var(--hs-flask,1) * (1 + .2 * var(--hx)));transform-origin:0 100%;transition:border-color .4s,box-shadow .4s}
#fslot.low{border-color:rgba(255,170,70,.95);box-shadow:0 0 22px rgba(255,140,40,.55),inset 0 0 18px rgba(255,140,40,.25)}
#fslotSvg{position:absolute;left:20px;top:36px;width:60px;height:84px;display:flex;align-items:center;justify-content:center}
#fslotSvg svg{width:100%;height:100%;overflow:visible}#fslotSvg svg.full{filter:drop-shadow(0 0 6px rgba(255,150,40,.75))}
#fslot .fword,#fslotName{position:absolute;left:14px;top:11px;white-space:nowrap;font-family:Georgia,serif;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:#d0c9b6;text-shadow:0 0 6px #000;line-height:1}
#fslotName{letter-spacing:.02em}
#fslotN{position:absolute;left:86px;top:56px;width:50px;text-align:center;white-space:nowrap;text-shadow:0 0 8px #000,0 0 3px #000;line-height:1}
#fslotN b{font-weight:normal;font-size:44px;color:#e5e1d7}
#fslot.none #fslotN b{color:#b0503e}
#fslot.two #fslotN b{font-size:32px}
#fslotPips{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:4px}
#fslotPips i{width:9px;height:13px;border-radius:2px 2px 4px 4px;box-sizing:border-box;border:1px solid rgba(201,161,90,.6);background:rgba(20,16,10,.8)}
#fslotPips i.on{border-color:#ffd27a;background:linear-gradient(#ffd890,#e0842a 55%,#8a3c10);box-shadow:0 0 5px rgba(255,170,70,.55)}
#fslot.none #fslotPips i{border-color:rgba(176,80,62,.6)}
#fslotKey{position:absolute;right:7px;top:6px;font-size:15px;white-space:nowrap}
#fslotKey .kk kbd,#sslotKey .kk kbd,#sslotCycKey .kk kbd{padding:0 .5em;min-width:1.4em;border:1px solid;border-bottom-width:3px;border-radius:4px;font-family:"Segoe UI",Arial,sans-serif;font-size:.92em} /* the slots' keys keep their caps: small badges over the fight */
#fslotKey .kk kbd{color:#ebe8e0;border-color:#bfb49c;background:rgba(221,213,195,.12)}#fslotKey .kp.pb{color:#ebe8e0;box-shadow:0 0 0 1px #bfb49c}
/* the spell card, bottom right (#sslot; spellHUD, spells.js): the equipped spell as a card 150px by 160px on the same foot (30px) as the flask card and the bars, 36px in from the right. Its name (#sslotWord) over the icon, the cast key under it;
   the charge (--cd, 1 to 0, the share not yet charged) rises from the bottom (.sweep: the charged share tinted in the spell's colour, a bright edge where it ends, the rest dark) with the percentage or Ready under the icon (#sslotPct);
   full (.ready): the icon bright, a slow pulse and a one-off flash (.pop) as it fills; channelling (.chan, .cast): frost fills the card, its number (#sslotN) the seconds left of the channel. The other spells are small icons in a row to its left, beside the cycle key (#sslotCyc, spellCycleHUD) */
#sslot{position:absolute;right:calc(36px + 4px * var(--hx));bottom:calc(30px + 6px * var(--hx));width:150px;height:160px;display:none;pointer-events:none;scale:calc(var(--hs-spell,1) * (1 + .2 * var(--hx)));transform-origin:100% 100%}
#sslot.on{display:block}
#sslot .dia{position:absolute;inset:0;overflow:hidden;box-sizing:border-box;border:2px solid rgba(150,205,240,.55);border-radius:10px;background:radial-gradient(circle at 50% 40%,rgba(18,32,44,.88),rgba(5,8,12,.9) 75%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(150,205,240,.12);transition:border-color .3s,box-shadow .3s}
#sslotIco{position:absolute;left:0;right:0;top:36px;height:58px;z-index:2;display:flex;align-items:center;justify-content:center;color:#9fcfee;opacity:.8;filter:drop-shadow(0 0 3px rgba(0,0,0,.9));transition:opacity .3s,color .3s}
#sslotIco svg{width:56px;height:56px}
/* the charge (--cd, the share not yet charged; spellHUD): rising from the bottom, the charged share tinted in the spell's colour (--sc), a bright 2px edge where it ends (--fl), the rest in deep shadow.
   Charging, the tint is faint (40% of --sc), so a bar at 99% still reads as not full; full (.ready), the card fills solid (--fc rising into --sc) with the pop and pulse below (Ole, 2026-11-07).
   Not ready: the icon grey and faint, brightening and taking its colour as the charge grows, the frame and name grey; drained (.empty): fully grey, the frame dimly pulsing, so an unusable spell reads at a glance (issue #369) */
#sslot .sweep{position:absolute;inset:0;background:linear-gradient(to top,color-mix(in srgb,var(--sc) 40%,transparent) calc((1 - var(--cd,1)) * 100%),var(--fl) 0 calc((1 - var(--cd,1)) * 100% + 2px),rgba(0,0,0,.78) 0)}
#sslot.empty .sweep{background:rgba(0,0,0,.78)}
#sslot.ready .sweep{background:linear-gradient(to top,color-mix(in srgb,var(--fc) 85%,transparent),var(--sc) 75%)}
#sslot:not(.ready):not(.chan):not(.deny) #sslotIco{filter:grayscale(var(--cd,1)) drop-shadow(0 0 3px rgba(0,0,0,.9));opacity:calc(.35 + (1 - var(--cd,1)) * .45)}
#sslot:not(.ready):not(.chan):not(.deny):not(.cut) .dia{border-color:rgba(150,160,170,.35)}
#sslot:not(.ready):not(.chan):not(.deny):not(.cut) .lbl{color:#8d959c}
#sslot.empty:not(.deny):not(.cut) .dia{animation:sslotEmpty 2.4s ease-in-out infinite}
@keyframes sslotEmpty{50%{border-color:rgba(150,160,170,.12);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(0,0,0,.6)}}
#sslotN,#sslotPct{position:absolute;left:0;right:0;bottom:40px;z-index:2;text-align:center;white-space:nowrap;color:#e4f2fb;text-shadow:0 0 8px #000,0 0 3px #000;line-height:1}
#sslotN{font-size:30px}
#sslotPct{font:bold 24px Georgia,serif;color:#a9c9dc}
#sslotN:not(:empty)+#sslotPct{display:none}
#sslot.ready #sslotPct{color:var(--fl);font-size:22px}
#sslotN:not(:empty)::after{content:'s';font-size:.6em} /* the seconds a running spell has left (Haste), read as time, not a count */
#sslot .lbl{position:absolute;left:8px;right:8px;top:8px;z-index:2;text-align:center;text-wrap:balance;font-family:Georgia,serif;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:#a9c9dc;text-shadow:0 0 6px #000;line-height:1}
#sslot.cut #sslotWord{visibility:hidden}
#sslotKey{position:absolute;left:50%;bottom:8px;z-index:2;transform:translateX(-50%);font-size:15px;white-space:nowrap}
#sslotKey .kk kbd,#sslotKey .kp.pw{color:#cfe9fa;border-color:#7fb2d4;background:rgba(150,205,240,.12)}
#sslot.ready #sslotIco{opacity:1;color:#d8f2ff;filter:drop-shadow(0 0 6px rgba(150,215,255,.9))}
#sslot.ready .dia{border-color:rgba(190,230,255,.95);animation:sslotPulse 1.6s ease-in-out infinite}
@keyframes sslotPulse{50%{box-shadow:0 0 22px rgba(140,205,255,.6),inset 0 0 16px rgba(150,215,255,.3)}}
#sslot.pop .dia::after{content:'';position:absolute;inset:0;background:rgba(220,244,255,.85);animation:sslotFlash .5s ease-out forwards}
@keyframes sslotFlash{to{opacity:0}}
/* a quick slot's fill (.cast, main.js slotFill: the spell's channel, the flask's drink until the heal lands): it rises inside the card from its bottom
   corner by --cb (0 to 1), a bright line at its top, frost in the spell's, amber in the flask's; .done: full, a flash, then it fades; .cut: stopped where it
   was, red, the frame red and shaking once, the name "Interrupted", then it fades. The spell's frame is lit while channelling (.chan) */
#fslot .fr{position:absolute;inset:0;border-radius:8px;opacity:0;transition:opacity .35s;background:linear-gradient(to top,rgba(240,170,70,.32) calc(var(--rf,0) * 100%),rgba(255,220,150,.85) calc(var(--rf,0) * 100% + 1.5px),transparent calc(var(--rf,0) * 100% + 2.5px))} /* a Flask Refill's count at 0 charges (--rf: its share, hud.js): the card fills from the bottom */
#fslot.refill .fr{opacity:1}
#fslot .fb{position:absolute;inset:0;border-radius:8px;opacity:0;transition:opacity .35s;background:linear-gradient(to top,var(--fc) calc(var(--cb,0) * 100%),var(--fl) calc(var(--cb,0) * 100% + 2px),transparent calc(var(--cb,0) * 100% + 3px));box-shadow:inset 0 0 18px var(--fg)}
#sslot .fb{position:absolute;inset:0;z-index:1;opacity:0;transition:opacity .35s;background:linear-gradient(to top,var(--fc) calc(var(--cb,0) * 100%),var(--fl) calc(var(--cb,0) * 100% + 2px),transparent calc(var(--cb,0) * 100% + 3px));box-shadow:inset 0 0 18px var(--fg)}
#sslot{--fc:rgba(160,215,255,.6);--fl:rgba(230,248,255,.95);--fg:rgba(170,225,255,.5);--sc:rgba(120,195,255,.32);--rim:rgba(175,228,255,.95)}
/* the slot in Fireball's colours (.fire, .ignite, .bolt; spells.js spellHUD: each spell's key is a class on the slot): ember orange in place of frost blue */
#sslot.fire,#sslot.ignite,#sslot.bolt{--fc:rgba(255,150,60,.6);--fl:rgba(255,225,170,.95);--fg:rgba(255,140,60,.5);--sc:rgba(255,130,50,.32);--rim:rgba(255,190,120,.95)}
#sslot.fire .dia,#sslot.ignite .dia,#sslot.bolt .dia{border-color:rgba(240,160,90,.55);background:radial-gradient(circle,rgba(44,24,14,.88),rgba(12,7,5,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(240,150,80,.12)}
#sslot.fire #sslotIco,#sslot.ignite #sslotIco,#sslot.bolt #sslotIco{color:#f0b07a}
#sslot.fire .lbl,#sslot.ignite .lbl,#sslot.bolt .lbl{color:#dcb89a}
#sslot.fire #sslotKey .kk kbd,#sslot.fire #sslotKey .kp.pw,#sslot.ignite #sslotKey .kk kbd,#sslot.ignite #sslotKey .kp.pw,#sslot.bolt #sslotKey .kk kbd,#sslot.bolt #sslotKey .kp.pw{color:#fae2cc;border-color:#d49a6a;background:rgba(240,160,90,.12)}
#sslot.fire.ready #sslotIco,#sslot.ignite.ready #sslotIco,#sslot.bolt.ready #sslotIco{color:#ffe0b8;filter:drop-shadow(0 0 6px rgba(255,170,90,.9))}
#sslot.fire.ready .dia,#sslot.ignite.ready .dia,#sslot.bolt.ready .dia{border-color:rgba(255,200,140,.95);animation-name:sslotPulseFire}
@keyframes sslotPulseFire{50%{box-shadow:0 0 22px rgba(255,150,70,.6),inset 0 0 16px rgba(255,170,90,.3)}}
#sslot.fire.chan .dia,#sslot.ignite.chan .dia,#sslot.bolt.chan .dia{border-color:#ffe6cc;box-shadow:0 0 22px rgba(255,150,70,.7)}
/* the slot in Throw Boulder's colours (.boulder): weathered stone in place of frost blue */
#sslot.boulder{--fc:rgba(190,165,125,.6);--fl:rgba(240,228,200,.95);--fg:rgba(200,175,130,.45);--sc:rgba(210,180,130,.3);--rim:rgba(235,215,175,.9)}
#sslot.boulder .dia{border-color:rgba(200,180,145,.55);background:radial-gradient(circle,rgba(38,33,26,.88),rgba(10,9,7,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(200,180,140,.12)}
#sslot.boulder #sslotIco{color:#d6c4a2}
#sslot.boulder .lbl{color:#cbbb9e}
#sslot.boulder #sslotKey .kk kbd,#sslot.boulder #sslotKey .kp.pw{color:#efe4cf;border-color:#b09a78;background:rgba(200,180,140,.12)}
#sslot.boulder.ready #sslotIco{color:#f4e8d0;filter:drop-shadow(0 0 6px rgba(230,205,160,.85))}
#sslot.boulder.ready .dia{border-color:rgba(235,215,175,.95);animation-name:sslotPulseStone}
@keyframes sslotPulseStone{50%{box-shadow:0 0 22px rgba(220,190,140,.55),inset 0 0 16px rgba(230,205,160,.28)}}
#sslot.boulder.chan .dia{border-color:#f2e6cc;box-shadow:0 0 22px rgba(220,190,140,.65)}
/* the slot in Bubble Shield's colours (.bubble): a pale lilac sheen in place of frost blue */
#sslot.bubble{--fc:rgba(200,170,255,.6);--fl:rgba(240,228,255,.95);--fg:rgba(205,175,255,.45);--sc:rgba(195,160,255,.3);--rim:rgba(226,204,255,.95)}
#sslot.bubble .dia{border-color:rgba(205,180,250,.55);background:radial-gradient(circle,rgba(32,24,46,.88),rgba(9,7,14,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(205,175,255,.12)}
#sslot.bubble #sslotIco{color:#d9c6ff}
#sslot.bubble .lbl{color:#cdbfe6}
#sslot.bubble #sslotKey .kk kbd,#sslot.bubble #sslotKey .kp.pw{color:#efe6ff;border-color:#a68ad6;background:rgba(205,175,255,.12)}
#sslot.bubble.ready #sslotIco{color:#f1e8ff;filter:drop-shadow(0 0 6px rgba(215,185,255,.9))}
#sslot.bubble.ready .dia{border-color:rgba(228,212,255,.95);animation-name:sslotPulseBubble}
@keyframes sslotPulseBubble{50%{box-shadow:0 0 22px rgba(200,165,255,.55),inset 0 0 16px rgba(220,195,255,.28)}}
#sslot.bubble.chan .dia{border-color:#f1e8ff;box-shadow:0 0 22px rgba(200,165,255,.65)}
/* the slot in Haste's colours (.haste): a warm gold */
#sslot.haste{--fc:rgba(240,195,90,.6);--fl:rgba(255,240,195,.95);--fg:rgba(250,200,100,.45);--sc:rgba(240,190,80,.3);--rim:rgba(255,215,122,.95)}
#sslot.haste .dia{border-color:rgba(235,200,120,.55);background:radial-gradient(circle,rgba(44,36,16,.88),rgba(12,10,5,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(240,200,110,.12)}
#sslot.haste #sslotIco{color:#f0d08a}
#sslot.haste .lbl{color:#e0cc9c}
#sslot.haste #sslotKey .kk kbd,#sslot.haste #sslotKey .kp.pw{color:#fbeccb;border-color:#c9a560;background:rgba(240,200,110,.12)}
#sslot.haste.ready #sslotIco{color:#ffeab8;filter:drop-shadow(0 0 6px rgba(255,205,110,.9))}
#sslot.haste.ready .dia{border-color:rgba(255,222,150,.95);animation-name:sslotPulseHaste}
@keyframes sslotPulseHaste{50%{box-shadow:0 0 22px rgba(255,195,90,.55),inset 0 0 16px rgba(255,210,120,.28)}}
/* the slot in Divine Protection's colours (.divine): a holy white-gold */
#sslot.divine{--fc:rgba(250,232,180,.6);--fl:rgba(255,250,232,.95);--fg:rgba(255,238,190,.45);--sc:rgba(245,225,170,.3);--rim:rgba(255,244,210,.95)}
#sslot.divine .dia{border-color:rgba(245,230,190,.6);background:radial-gradient(circle,rgba(42,38,28,.88),rgba(12,11,8,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(255,240,200,.14)}
#sslot.divine #sslotIco{color:#fbefcf}
#sslot.divine .lbl{color:#ece2c6}
#sslot.divine #sslotKey .kk kbd,#sslot.divine #sslotKey .kp.pw{color:#fff8e6;border-color:#d8c48e;background:rgba(255,240,200,.12)}
#sslot.divine.ready #sslotIco{color:#fffaf0;filter:drop-shadow(0 0 6px rgba(255,240,190,.95))}
#sslot.divine.ready .dia{border-color:rgba(255,246,220,.95);animation-name:sslotPulseDivine}
@keyframes sslotPulseDivine{50%{box-shadow:0 0 22px rgba(255,235,180,.55),inset 0 0 16px rgba(255,244,210,.3)}}
#sslot.divine.chan .dia{border-color:#fffaf0;box-shadow:0 0 22px rgba(255,235,180,.65)}
/* the slot in Pocket Sand's colours (.sand): a dusty sand-gold */
#sslot.sand{--fc:rgba(224,196,138,.6);--fl:rgba(248,243,231,.95);--fg:rgba(224,196,138,.45);--sc:rgba(224,196,138,.3);--rim:rgba(233,213,173,.95)}
#sslot.sand .dia{border-color:rgba(224,196,138,.6);background:radial-gradient(circle,rgba(40,35,24,.88),rgba(11,9,6,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(224,196,138,.14)}
#sslot.sand #sslotIco{color:#e9d5ad}
#sslot.sand .lbl{color:#e4cc9b}
#sslot.sand #sslotKey .kk kbd,#sslot.sand #sslotKey .kp.pw{color:#f5eddb;border-color:#b39c6e;background:rgba(224,196,138,.12)}
#sslot.sand.ready #sslotIco{color:#f7f0e1;filter:drop-shadow(0 0 6px rgba(224,196,138,.95))}
#sslot.sand.ready .dia{border-color:rgba(236,219,184,.95);animation-name:sslotPulseSand}
@keyframes sslotPulseSand{50%{box-shadow:0 0 22px rgba(224,196,138,.55),inset 0 0 16px rgba(233,213,173,.3)}}
#sslot.sand.chan .dia{border-color:#f7f0e1;box-shadow:0 0 22px rgba(224,196,138,.65)}
/* the slot in Flash Heal's colours (.flash): a bright green */
#sslot.flash{--fc:rgba(157,255,184,.6);--fl:rgba(235,255,240,.95);--fg:rgba(157,255,184,.45);--sc:rgba(157,255,184,.3);--rim:rgba(186,255,205,.95)}
#sslot.flash .dia{border-color:rgba(157,255,184,.6);background:radial-gradient(circle,rgba(28,45,33,.88),rgba(7,12,9,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(157,255,184,.14)}
#sslot.flash #sslotIco{color:#baffcd}
#sslot.flash .lbl{color:#abffc2}
#sslot.flash #sslotKey .kk kbd,#sslot.flash #sslotKey .kp.pw{color:#e1ffe9;border-color:#7dcc93;background:rgba(157,255,184,.12)}
#sslot.flash.ready #sslotIco{color:#e6ffed;filter:drop-shadow(0 0 6px rgba(157,255,184,.95))}
#sslot.flash.ready .dia{border-color:rgba(196,255,212,.95);animation-name:sslotPulseFlash}
@keyframes sslotPulseFlash{50%{box-shadow:0 0 22px rgba(157,255,184,.55),inset 0 0 16px rgba(186,255,205,.3)}}
#sslot.flash.chan .dia{border-color:#e6ffed;box-shadow:0 0 22px rgba(157,255,184,.65)}
/* the slot in Regenerate's colours (.regen): a deep leaf green */
#sslot.regen{--fc:rgba(127,224,138,.6);--fl:rgba(229,248,231,.95);--fg:rgba(127,224,138,.45);--sc:rgba(127,224,138,.3);--rim:rgba(165,233,173,.95)}
#sslot.regen .dia{border-color:rgba(127,224,138,.6);background:radial-gradient(circle,rgba(22,40,24,.88),rgba(6,11,6,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(127,224,138,.14)}
#sslot.regen #sslotIco{color:#a5e9ad}
#sslot.regen .lbl{color:#92e49b}
#sslot.regen #sslotKey .kk kbd,#sslot.regen #sslotKey .kp.pw{color:#d8f5db;border-color:#65b36e;background:rgba(127,224,138,.12)}
#sslot.regen.ready #sslotIco{color:#dff7e1;filter:drop-shadow(0 0 6px rgba(127,224,138,.95))}
#sslot.regen.ready .dia{border-color:rgba(178,236,184,.95);animation-name:sslotPulseRegen}
@keyframes sslotPulseRegen{50%{box-shadow:0 0 22px rgba(127,224,138,.55),inset 0 0 16px rgba(165,233,173,.3)}}
#sslot.regen.chan .dia{border-color:#dff7e1;box-shadow:0 0 22px rgba(127,224,138,.65)}
/* the slot in Brew Potion's colours (.brew): a warm amber */
#sslot.brew{--fc:rgba(255,176,80,.6);--fl:rgba(255,239,220,.95);--fg:rgba(255,176,80,.45);--sc:rgba(255,176,80,.3);--rim:rgba(255,199,132,.95)}
#sslot.brew .dia{border-color:rgba(255,176,80,.6);background:radial-gradient(circle,rgba(45,31,14,.88),rgba(12,8,4,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(255,176,80,.14)}
#sslot.brew #sslotIco{color:#ffc784}
#sslot.brew .lbl{color:#ffbb6a}
#sslot.brew #sslotKey .kk kbd,#sslot.brew #sslotKey .kp.pw{color:#ffe7ca;border-color:#cc8c40;background:rgba(255,176,80,.12)}
#sslot.brew.ready #sslotIco{color:#ffebd3;filter:drop-shadow(0 0 6px rgba(255,176,80,.95))}
#sslot.brew.ready .dia{border-color:rgba(255,207,150,.95);animation-name:sslotPulseBrew}
@keyframes sslotPulseBrew{50%{box-shadow:0 0 22px rgba(255,176,80,.55),inset 0 0 16px rgba(255,199,132,.3)}}
#sslot.brew.chan .dia{border-color:#ffebd3;box-shadow:0 0 22px rgba(255,176,80,.65)}
/* the slot in Sharpen Blade's colours (.sharpen): a cold steel-white */
#sslot.sharpen{--fc:rgba(220,236,255,.6);--fl:rgba(248,251,255,.95);--fg:rgba(220,236,255,.45);--sc:rgba(220,236,255,.3);--rim:rgba(230,241,255,.95)}
#sslot.sharpen .dia{border-color:rgba(220,236,255,.6);background:radial-gradient(circle,rgba(39,42,45,.88),rgba(11,11,12,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(220,236,255,.14)}
#sslot.sharpen #sslotIco{color:#e6f1ff}
#sslot.sharpen .lbl{color:#e1eeff}
#sslot.sharpen #sslotKey .kk kbd,#sslot.sharpen #sslotKey .kp.pw{color:#f4f9ff;border-color:#b0bccc;background:rgba(220,236,255,.12)}
#sslot.sharpen.ready #sslotIco{color:#f6faff;filter:drop-shadow(0 0 6px rgba(220,236,255,.95))}
#sslot.sharpen.ready .dia{border-color:rgba(234,243,255,.95);animation-name:sslotPulseSharpen}
@keyframes sslotPulseSharpen{50%{box-shadow:0 0 22px rgba(220,236,255,.55),inset 0 0 16px rgba(230,241,255,.3)}}
#sslot.sharpen.chan .dia{border-color:#f6faff;box-shadow:0 0 22px rgba(220,236,255,.65)}
/* the slot in Molten Blade's colours (.molten): a molten orange */
#sslot.molten{--fc:rgba(255,122,48,.6);--fl:rgba(255,228,213,.95);--fg:rgba(255,122,48,.45);--sc:rgba(255,122,48,.3);--rim:rgba(255,161,110,.95)}
#sslot.molten .dia{border-color:rgba(255,122,48,.6);background:radial-gradient(circle,rgba(45,21,8,.88),rgba(12,6,2,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(255,122,48,.14)}
#sslot.molten #sslotIco{color:#ffa16e}
#sslot.molten .lbl{color:#ff8d4f}
#sslot.molten #sslotKey .kk kbd,#sslot.molten #sslotKey .kp.pw{color:#ffd7c0;border-color:#cc6126;background:rgba(255,122,48,.12)}
#sslot.molten.ready #sslotIco{color:#ffddcb;filter:drop-shadow(0 0 6px rgba(255,122,48,.95))}
#sslot.molten.ready .dia{border-color:rgba(255,175,130,.95);animation-name:sslotPulseMolten}
@keyframes sslotPulseMolten{50%{box-shadow:0 0 22px rgba(255,122,48,.55),inset 0 0 16px rgba(255,161,110,.3)}}
#sslot.molten.chan .dia{border-color:#ffddcb;box-shadow:0 0 22px rgba(255,122,48,.65)}
/* the slot in Chain Lightning's colours (.chain): a pale electric blue */
#sslot.chain{--fc:rgba(150,185,255,.6);--fl:rgba(235,242,255,.95);--fg:rgba(150,185,255,.45);--sc:rgba(150,185,255,.3);--rim:rgba(184,212,255,.95)}
#sslot.chain .dia{border-color:rgba(150,185,255,.6);background:radial-gradient(circle,rgba(18,26,48,.88),rgba(5,7,14,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(150,185,255,.14)}
#sslot.chain #sslotIco{color:#b8d4ff}
#sslot.chain .lbl{color:#a9c4f5}
#sslot.chain #sslotKey .kk kbd,#sslot.chain #sslotKey .kp.pw{color:#e2ecff;border-color:#6f8fcc;background:rgba(150,185,255,.12)}
#sslot.chain.ready #sslotIco{color:#eef4ff;filter:drop-shadow(0 0 6px rgba(150,185,255,.95))}
#sslot.chain.ready .dia{border-color:rgba(200,222,255,.95);animation-name:sslotPulseChain}
@keyframes sslotPulseChain{50%{box-shadow:0 0 22px rgba(150,185,255,.55),inset 0 0 16px rgba(190,215,255,.3)}}
#sslot.chain.chan .dia{border-color:#eef4ff;box-shadow:0 0 22px rgba(150,185,255,.65)}
/* the slot in Land Mine's colours (.mine): the armed lamp's hot red */
#sslot.mine{--fc:rgba(255,90,55,.6);--fl:rgba(255,225,205,.95);--fg:rgba(255,90,55,.45);--sc:rgba(255,90,55,.3);--rim:rgba(255,130,95,.95)}
#sslot.mine .dia{border-color:rgba(255,90,55,.6);background:radial-gradient(circle,rgba(46,16,12,.88),rgba(12,5,4,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(255,90,55,.14)}
#sslot.mine #sslotIco{color:#ff8a66}
#sslot.mine .lbl{color:#f29a80}
#sslot.mine #sslotKey .kk kbd,#sslot.mine #sslotKey .kp.pw{color:#ffe2d8;border-color:#c25a40;background:rgba(255,90,55,.12)}
#sslot.mine.ready #sslotIco{color:#ffe8e0;filter:drop-shadow(0 0 6px rgba(255,90,55,.95))}
#sslot.mine.ready .dia{border-color:rgba(255,150,120,.95);animation-name:sslotPulseMine}
@keyframes sslotPulseMine{50%{box-shadow:0 0 22px rgba(255,90,55,.55),inset 0 0 16px rgba(255,150,120,.3)}}
#sslot.mine.chan .dia{border-color:#ffe2d8;box-shadow:0 0 22px rgba(255,90,55,.65)}
/* the slot in Frost Bolt's colours (.frostbolt): a cold cyan, paler than the frost blue of Freeze */
#sslot.frostbolt{--fc:rgba(130,228,238,.6);--fl:rgba(232,252,255,.95);--fg:rgba(130,228,238,.45);--sc:rgba(130,228,238,.3);--rim:rgba(170,238,245,.95)}
#sslot.frostbolt .dia{border-color:rgba(130,228,238,.6);background:radial-gradient(circle,rgba(16,38,44,.88),rgba(5,12,14,.9) 70%);box-shadow:0 0 18px rgba(0,0,0,.9),inset 0 0 14px rgba(130,228,238,.14)}
#sslot.frostbolt #sslotIco{color:#b4f0f6}
#sslot.frostbolt .lbl{color:#a6e6ee}
#sslot.frostbolt #sslotKey .kk kbd,#sslot.frostbolt #sslotKey .kp.pw{color:#e0fbff;border-color:#6cb8c4;background:rgba(130,228,238,.12)}
#sslot.frostbolt.ready #sslotIco{color:#ecfdff;filter:drop-shadow(0 0 6px rgba(130,228,238,.95))}
#sslot.frostbolt.ready .dia{border-color:rgba(190,242,248,.95);animation-name:sslotPulseFrostbolt}
@keyframes sslotPulseFrostbolt{50%{box-shadow:0 0 22px rgba(130,228,238,.55),inset 0 0 16px rgba(170,238,245,.3)}}
#sslot.frostbolt.chan .dia{border-color:#ecfdff;box-shadow:0 0 22px rgba(130,228,238,.65)}
/* Brew Potion's charge landing (brewFx, spells-heal.js): the flask card glows amber, the number pops */
#fslot.brew{animation:flaskBrew .7s ease-out .36s}
#fslot.brew #fslotN b{display:inline-block;animation:flaskBrewN .7s ease-out .36s}
/* the streak of light flying to the card (brewTick, spells-brew-fx.js): dots placed in page px, each a hot amber glow */
.brewDot{position:fixed;left:0;top:0;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;pointer-events:none;z-index:60;display:none;background:radial-gradient(circle,#fff8dc 0,#ffcb62 30%,rgba(255,140,30,.6) 56%,rgba(255,120,20,0) 72%)}
@keyframes flaskBrew{30%{border-color:#ffd08a;box-shadow:0 0 34px rgba(255,180,80,.95),inset 0 0 22px rgba(255,200,110,.5)}}
@keyframes flaskBrewN{0%{transform:scale(1)}30%{transform:scale(1.6);color:#ffe2a8}100%{transform:scale(1)}}
/* its effect running (.run, spellHUD: no charging till it ends, Ole 2026-10-25): the card drains with the effect (--el, the share of it left, in the spell's colour), the icon lit and the frame breathing in its glow, its whole seconds left in place of the percentage
   (the .dia keeps its look) */
#sslot.run .sweep{background:linear-gradient(to top,var(--sc) calc(var(--el,1) * 100%),rgba(0,0,0,.55) 0)}
#sslot.run:not(.ready):not(.chan):not(.deny):not(.cut) .dia{border-color:transparent;animation:sslotLive 1.4s ease-in-out infinite}
@keyframes sslotLive{50%{box-shadow:0 0 26px var(--fg),inset 0 0 18px var(--fg)}}
#sslot.run:not(.ready):not(.chan):not(.deny) #sslotIco{opacity:1;filter:drop-shadow(0 0 8px var(--fg)) drop-shadow(0 0 3px rgba(0,0,0,.9))}
#sslot.run:not(.ready):not(.chan):not(.deny):not(.cut) .lbl{color:var(--rim)}
#sslot.run #sslotN{color:var(--fl)}
/* his other spells (#sslotCyc, spellCycleHUD in spells.js: shown with two or more spells), left of the big card, on its foot and right-aligned to it: a row of at most four small icons (#sslotFan,
   the next in the cycle last, so nearest the card), and under it the Hub (#sslotCycHub): the round cycle mark beside its key (keyHint, the Button Labels setting). Each icon a 36px tile in its spell's
   colour (--c, r,g,b), its charge rising from the bottom (--cd as the big card's) and no number; full (.ready) glowing, drained (.empty) grey, its effect running (.run) lit. Kept narrow: a health bar
   at its cap must end clear of it (test/spell-fan.test.js) */
#sslotCyc{position:absolute;right:calc(100% + 12px);bottom:0;width:max-content;display:none;flex-direction:column;align-items:flex-end;gap:8px}
#sslotCyc.on{display:flex}
#sslotFan{display:flex;align-items:flex-end;gap:5px}
#sslotCycHub{display:flex;flex-direction:row;align-items:center;gap:6px}
#sslotCycHub b{display:flex;width:36px;height:36px;box-sizing:border-box;align-items:center;justify-content:center;border-radius:50%;color:#c9d4dd;border:1.5px solid rgba(170,185,200,.55);background:radial-gradient(circle,rgba(20,26,32,.92),rgba(6,8,11,.9));box-shadow:0 0 10px rgba(0,0,0,.9)}
#sslotCycHub>b svg{width:22px;height:22px;filter:drop-shadow(0 0 3px #000)}
#sslotCycKey{font-size:15px;white-space:nowrap}
#sslotCycKey .kk kbd{color:#dde6ee;border-color:#8a97a3;background:rgba(160,175,190,.12)}#sslotCycKey .kp.pb{box-shadow:0 0 0 1px #8a97a3}
.scy{position:relative;flex:none;width:36px;height:36px;box-sizing:border-box;overflow:hidden;border:1.5px solid rgba(var(--c),.45);border-radius:8px;background:radial-gradient(circle at 50% 40%,rgba(16,20,26,.9),rgba(5,7,10,.92) 75%);box-shadow:0 0 10px rgba(0,0,0,.9)}
.scy i{position:absolute;inset:0;background:linear-gradient(to top,rgba(var(--c),.12) calc((1 - var(--cd,1)) * 100%),var(--edge,rgba(var(--c),.8)) 0 calc((1 - var(--cd,1)) * 100% + 2px),rgba(0,0,0,.75) 0)}
.scy b{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;color:rgb(var(--c));opacity:calc(.4 + (1 - var(--cd,1)) * .45);filter:grayscale(var(--cd,1)) drop-shadow(0 0 3px #000)}
.scy b svg{width:22px;height:22px}
.scy.ready,.scy.run{border-color:rgba(var(--c),.95);box-shadow:0 0 12px rgba(var(--c),.5),inset 0 0 8px rgba(var(--c),.25)}
.scy.ready i,.scy.run i{--edge:transparent}
.scy.ready i{background:linear-gradient(to top,rgba(var(--c),.5),rgba(var(--c),.3) 75%)} /* (full: solid, the charging tint faint, as on the big card) */
.scy.ready b,.scy.run b{opacity:1;filter:drop-shadow(0 0 5px rgba(var(--c),.9))}
.scy.run i{background:rgba(var(--c),.22)}
.scy.empty{border-color:rgba(150,160,170,.4)}.scy.empty b{opacity:.45}
#fslot{--fc:rgba(240,170,70,.5);--fl:rgba(229,225,215,.95);--fg:rgba(255,180,80,.4)}
#fslot.cut,#sslot.cut{--fc:rgba(230,120,85,.62);--fl:rgba(255,200,180,.95);--fg:rgba(255,130,90,.45)}
#fslot.cast .fb,#sslot.cast .fb{opacity:1;transition:none}
#sslot.chan .dia{border-color:#dff4ff;box-shadow:0 0 22px rgba(140,205,255,.7)}
#fslot.done .fb,#sslot.done .fb{animation:castDone .5s ease-out}
@keyframes castDone{0%{filter:brightness(1.8)}}
#fslot.cut{border-color:#ff8a6a;box-shadow:0 0 22px rgba(255,110,70,.6);animation:castCutF .3s}
#sslot.cut .dia{border-color:#ff8a6a;box-shadow:0 0 22px rgba(255,110,70,.6);animation:castCut .3s}
#fslot.cut #fslotName,#sslot.cut .lbl{color:#ff9a7e}#fslot.cut .fword,#fslot.cut #fslotKey{visibility:hidden}
#fslot.deny{border-color:#ff4a36;box-shadow:0 0 26px rgba(255,60,40,.8),inset 0 0 20px rgba(255,60,40,.4);animation:castCutF .3s}
#sslot.deny .dia{border-color:#ff4a36;box-shadow:0 0 26px rgba(255,60,40,.8),inset 0 0 20px rgba(255,60,40,.4);animation:castCut .3s}
#fslot.deny .fword,#sslot.deny .lbl{color:#ff8a70}#sslot.deny #sslotIco{color:#ff6a50;opacity:1}
@keyframes castCutF{25%{translate:-3px 0}50%{translate:3px 0}75%{translate:-2px 0}}
@keyframes castCut{25%{translate:-3px 0}50%{translate:3px 0}75%{translate:-2px 0}}
